Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!hsdndev!wuarchive!usc!apple!agate!riacs!danforth From: danforth@riacs.edu (Douglas G. Danforth) Newsgroups: comp.ai.neural-nets Subject: Re: visualization of Weight "meanings" Keywords: partitioning vector space Message-ID: <1990Dec14.235555.15401@riacs.edu> Date: 14 Dec 90 23:55:55 GMT References: <1990Dec14.201607.5832@bradley2.bradley.edu> Sender: news@riacs.edu (James A. Woods) Distribution: usa Organization: RIACS, NASA Ames Research Center Lines: 52 In <1990Dec14.201607.5832@bradley2.bradley.edu> pwh@bradley2.bradley.edu (Pete Hartman) writes: .. >This is probably old news, but I was wondering....has anyone done >any work at representing such partitionings graphically? For example, >in a very simple space where inputs were only 3 dimensional, a set >of units could be envisioned as partitioning the volume into seperate >regions. I would think that these regions could provide insight to >the "meanings" of the weights. Perhaps even after going through a >training process they could be used to analyze the "final" states >to see exactly what was going on. I suppose the hardest part would >be finding a way of graphically representing regions of dimensionality >greater than 3, (from what I've seen, the vast majority of problems >are of higher dimension), since the partitioning seems fairly simple >to find given enough crunching. .. >----- >Pete Hartman pwh@bradley.bradley.edu Haazavaa? Every node (neuron) with n inputs can be considered a POINT in n-space. The COORDINATES of the point are the input WEIGHTS of the neuron. In this picture, inputs and nodes reside in the SAME space and are just points in it (I think of a white sheet of paper with dots scattered on it). A node (point) will be activated strongly if its input (another point) is CLOSE to it. There will be a region of positive activation for a node about it which, for visualization purposes, can be thought of as an ellipse (hyper-ellipse). If one uses a monotonic function of the inner product between coordinates of points to determine activation (the usual case) then the ellipse expands and flattens on one side to cut the full space in two. That is, a HYPERPLANE slices through the origin of the space with the neuron's point (vector) forming a normal to the plane. Boundary conditions on the space, constant offsets, and different activation rules can modify this picture but in general the "egg" around a point suffices quite often to depict the region of activation of a neuron. A neuron is just a point. The OUTPUT of a neuron is another point, a point in m-space. It is a point belonging to the TANGENT space of the neuron. I think of this as hair sticking up from the surface of the paper which has the neuron points. Each point (neuron) has a hair projecting from it. The single hair, fixed at one end, can be tilted in any direction. This shows the degrees of freedom of the information that can be stored in the neuron via its OUTPUT weights. Training a layer of a neural net entails moving the points around on the paper and adjusting the direction of their hairs. Pretty hairy, eh? :) -- Douglas G. Danforth (danforth@riacs.edu) Research Institute for Advanced Computer Science (RIACS) M/S 230-5, NASA Ames Research Center Moffett Field, CA 94035