This invention relates to circuits for determining a best fit to
input signals with a selection of basis functions.
Digital computers are ubiquitous and quite powerful, but that is
not to say that digital computers do not exhibit certain limitations in problem
solving. Many practical problems, in fact, take such an enormous amount of computation
that a solution in real time is not possible. Such difficulties are experienced,
for example, in programs that aim to select from memory the information that best
satisfies known characteristics or descriptors (which may be referred to as "clues")
when the clues are insufficient to completely define the information. Pattern
recognition is another example of where the computational problem is just too great
for digital computers.
Most artisans either suffer the limitations of general purpose digital
computers or develop special purpose digital computers to solve their particular
problems more efficiently.
In a copending application entitled "Electronic Network For Collective
Decision Based On Large Number Of Connections Between Signals", by J. J. Hopfield,
a generalized circuit was disclosed having N amplifiers of high gain and an N x
N interconnection matrix having N input conductors and N output conductors. The
amplifiers exhibit a sigmoid input-output relation, with a minimum and a maximum
possible output which can be thought of as a "0" and a "1". Each input conductor
of the matrix is connected to the input of a separate one of the amplifiers, and
each amplifier has its output terminals (positive and negative) connected to a
separate one of the matrix output conductors. Each amplifier has in addition an
input capacitance Ci and an input resistance Pi. Within the
interconnection matrix each input conductor i is connected to an output conductor
j through a resistor Ri,j. In the disclosed circuit each amplifier satisfies
the circuit equation of motion:
where
where
sgn of amplifier j output, ui is the input voltage to
amplifier i, Vj is the output voltage of an amplifier j, and Ii
is the current into the input terminal of amplifier i (e.g., from a high impedance
source).
The motion of the disclosed circuit (as specified by the above equation)
drives the network to one of a set of predetermined stable states which presents
an output pattern of binary 1's and 0's (since the amplifiers have a high gain).
When used for accessing information in a associative memory, the
input voltages of amplifiers i are set in correspondence with the individual bits
of the input word for each clue (descriptor) known for the information desired.
Alternatively, a constant current Ii can be applied to each input in
proportion to the confidence that the voltage Vi should be at "1" in
the final answer. Once started, the amplifiers drive to a stable state, producing
at the output a unique word that represents the information itself, which could
include the address of a location in another memory which may then yield a block
of words that comprise the information defined by the descriptor used to store
and retrieve the unique word from the associative memory.
When used for problem solutions, all inputs may be set approximately
equal, such as to zero, or held in a pattern representing input information, and
the output pattern of bits "1" and "0" define the solution. In either application,
problem solving or information retrieval, the output in binary form is a very good
solution to the given problem.
Although the disclosed circuit quickly and efficiently reaches a stable
solution state, it is not guaranteed that the optimal solution to a given problem
is obtained. This is because the topology of the solution space is very rough,
with many local minima, and therefore many good solutions are similar to the optimal
solution. In difficult robotics and biological problems of recognition and perception,
very good solutions that are rapidly calculated may provide sufficient information
to be of practical use, but in some applications it is the exact, or best, solution
that is desired.
Proceedings of the National Academy of Sciences USA, Vol. 81, May
1984, pages 3088-3092; J.J. Hopfield: "Neurons with graded response have collective
computational properties like those of two-state neurons" is a mathematical analysis
of the behaviour of two circuits. One is the classic circuit (which is similar
to the circuit to be described later herein with reference to fig. 1) where the
amplifiers have very large gain and basically are bi-state elements (0 and 1),
and the other is the classic circuit where the amplifiers have analog outputs. The
article demonstrates that the behaviour of the two circuits is essentially the
same.
It is an object of this invention to employ a network of analog processors
in connection with decomposition processes.
According to this invention there is provided a circuit as claimed
in claim 1.
In one embodiment of the invention a highly interconnected analog
network is constructed to implement a specific decomposition process. The network
comprises analog amplifiers that are connected with a resistive interconnection
matrix which, like the prior art network, connects each amplifier output to the
input of all other amplifiers. The connections embodied in the matrix are achieved
with conductances whose values are computed in accordance with the set of decomposition
functions for which the solution is sought. In addition to the specified connectivity
implemented with the interconnection matrix, the analog network includes a second
matrix that connects externally applied voltages to the amplifier inputs via resistors
whose values are also computed in accordance with the set of decomposition functions
for which the solution is sought. The circuit may be caused to reach its solution
by a process of simulated annealing, whereby the amplifier gains are initially
set at low values and then slowly increased to their ultimate high value. This
process inhibits the circuit from being directed to a local minimum.
The invention will be described with reference to the accompanying
drawings, in which:
FIG. 1 illustrates a prior art highly interconnected analog network;
FIG. 2 illustrates a network embodying the invention for implementing a four
bit A/D conversion process;
FIG. 3 depicts a sampled signal that may be decomposed by a network embodying
the invention;
FIG. 4 depicts a plurality of gaussian functions that, when combined, form
the sampled signal of FIG. 3;
FIG. 5 illustrates a network for performing a decomposition of a signal comprising
a plurality of samples; and
FIG. 6 describes the behaviour of our circuit in response to varying the magnitude
of amplifier gains.
FIG. 1 is a schematic diagram of a computational multi-processor
network disclosed in the aforementioned co-pending application. It comprises amplifiers
10 which provide positive gain and, optionally, negative gain, whose inputs and
outputs are interconnected via interconnection network 20. A physical embodiment
of an amplifier would necessarily include some impedance at the input that is primarily
resistive and capacitive. It is represented in FIG. 1 by resistors 11 (Pi)
and capacitors 12 (Ci). Each node in interconnection matrix 20
is represented by a heavy black dot 21, each node comprising a resistor Rij
which connects a path of matrix 20 that is connected to an output of amplifier
i, e.g. path 22, with a path of matrix 20 that is connected to an input of amplifier
j, e.g. path 23. In addition, the FIG. 1 circuit allows for externally applied
currents to be fed into paths 23 that connect to inputs of amplifiers 10. Current
Ii
represents the input current to path 23 that connects to amplifier
i. The voltage Vi represents the output voltage of amplifier i.
The equation of motion describing the time evolution of the FIG.
1 circuit is
where ui is the input voltage of amplifier i, gi
is the transfer function of amplifier i, i.e.,
Vj=gj(uj)
, and
It has been shown in the aforementioned co-pending application that
when the equation
is considered, and when the terms Tij and Tji
are equal and the gain of the amplifiers is very large, then the time derivative
of equation (2) reduces to
The parenthetical expression in equation (3) is equal to the right
hand side of equation (1). That means that the change (with time) of input voltage
at amplifier i multiplied by the change (with time) of the output voltage at amplifier
i, summed over all the amplifiers, is equal to the dE/dt of equation (3), and is
equal to:
Since each of the terms in equation (4) non-negative, dE/dt is negative,
and approaches 0 (stability) when dVi/dt approaches 0 for all i.
The above analysis means that a presented problem that meets the
conditions set forth for the above equations can be solved by the circuit of FIG.
1 when the values of Tij and the input currents Ii are appropriately
selected, an initials set of the amplifier input voltages is provided, and the
analog system is allowed some time to converge on a stable state.
One class of problems that can conveniently be solved in this manner
is the class of decomposition problems where it is sought to represent an input
signal with a "best fit" set of other non-orthogonal signals. One example is the
A/D conversion problem. Another example is the decomposition of a complex signal
(as represented by a sequence of voltage samples) into a set of preselected functions.
To more clearly describe our invention, the following describes the
approach taken to solve the A/D conversion problem. Thereafter, the concepts described
are expanded to cover the entire class of decomposition problems.
In connection with the A/D conversion process it is known that conversion
of a signal from analog representation to digital representation means that an
analog signal x is approximately equal to the weighted sum of the developed digital
signals {V&sub1;, V&sub2;, ... VN} that are supposed to represent x.
That is, a signal x', which is an approximation of the signal x can be expressed
as:
One conventional measure of "goodness" of x' is the square of the
difference between the signal x and the signal x'. That concept is embodied in
the following equation:
Equation (6) states that the optimum value of x' results in a minimized
value of E. Expanding equation (6) and rearranging it results in a form similar
to that of equation (1), plus a constant, and that indicates that an A/D converter
might indeed be implemented with a circuit not unlike that of FIG. 1.
Unfortunately, the minima of the function defined by equation (6)
do not necessarily lie near enough to 0 and 1 to be identified as the digital logic
levels that an A/D converter must develop.
We circumvent this problem by adding an additional term to the energy
function of equation (6). We chose the term
because it favors digital representations since it reduces to zero
when all of the Vi terms are restricted to 0 or to 1. When equation
(7) is combined with equation (6) and rearranged, the equation
results, which is also in the form of equation (1) , if we identify
the connection matrix elements and the input currents as:
Tij = -2(i+j)
and
Ii = ( - 2(2i-1) + 2ix).
FIG. 2 depicts a four bit A/D converter circuit that is constructed
with a connection matrix that satisfies equation (8). It comprises inverting amplifiers
10 having input lines 22 and output lines 23, a connection matrix 20 which connects
lines 23 to lines 22 via nodes 21, and a connection matrix 30 which connects a
reference voltage -V (e.g., -1 volt) on line 31, and an input signal x on line
32. Both signals -V and x communicate with lines 22 via nodes 33.
In accordance with the specification of equation (8), each Tij
element takes the value 2i+j
(except where i=j -- where Tij
does not exist). These are the connection strengths depicted in FIG. 2. Also in
accordance with the specification of equation (8), each input current Ii
takes on the value
-22i-1+ 2ix.
Matrix 30 realizes these currents via the depicted connection strengths which represent
conductances of specified value.
As indicated earlier, the A/D conversion process is presented herein
for illustrative purposes only, and many decomposition processes can be achieved
with a circuit like the one of FIG. 2.
If, for example, εk represents a set of basic functions
(such as, for example, gaussian functions) which span the signal space
x (signal samples), then the function
describes a network which has an energy minimum when the "best fit"
digital combination of the basic functions are selected (with Vi=1)
to describe the signal. The term
εk &peseta; εk
, by the way, means the dot products of the signal εk with
itself. Equation (9) can be expanded and rearranged to assume the form
and equation (10) is in the form of equation (1), plus a constant.
This is, as with equation (8), the Tij terms and Ii terms
can be defined to make equation (10) appear identical to equation (1), thereby
yielding a correspondence between the elements in the equation and the physical
parameters of the FIG. 2 network.
Specifically for equation (10),
Tij = -(εi &peseta; εj) where i≠j   (11)
and
Ii = [(x&peseta; εi - 1 / (2)(εiεi)].   (12)
An example may be in order.
Consider the problem of decomposing a time sequence of analog signals
which result from the linear summation of temporally disjoint gaussian pulses of
differing widths. A typical summed signal is shown in FIG. 3 and the different
gaussian pulses of which it is comprised are shown in FIG. 4. The decomposition
process must determine this particular subset of all the possible basis functions
that, when added together, recreate the signal of FIG. 3. As indicated by dots
100 on the curve of FIG. 3, a plurality of samples are available from the signal
of FIG. 3, and those samples comprise the analog data xi, where l=1,2,...,N.
The basis set, defining all possible "pulses" are the gaussian functions of the
form
where the width parameter, σ, takes on a finite number of values,
while the peak position of the pulse, t, can be at any one of the N instances where
the samples of the FIG. 3 signal are taken. Since the basis set is specified by
the two parameters, width and peak position, the amplifiers used in the decomposition
network can be conveniently indexed by the double set of indices σ,t. In
describing the decomposition, each of these basis functions will have digital coefficient
(Vσt) which corresponds to the output of an amplifier in the
network and which represents the presence or absence of this function in the signal
to be decomposed. That is, a V&sub2;&sub0;,&sub1;&sub0;=1, for example, means that
a gaussian function with a peak at the time of sample 20 and a width of 10 is
present in the solution set.
With the above in mind, the energy function which describes an analog
computational network that will solve this particular decomposition problem is:
with the basis function as defined in equation 12. This expression
defines a set of connection strengths Tσt,σ,t,
and input currents Iσt, with:
A computational network for implementing the above processing is
essentially identical to the network shown in FIG. 2. The only difference is that
instead of a single input signal x, there is a plurality of input signal samples
xi, and each is connected to a line 32 which, through connection matrix
30, feeds currents to amplifiers 10 in accordance with equation (16). This circuit
is shown in its general form in FIG. 5, with lines 32-1 through 32-4 comprising
the plurality of input lines, to each of which a signal sample is connected and
through which each signal sample is connected to all amplifiers.
As demonstrated, our circuit seeks a minimum stable state, but is
has a number of other stable states which constitute local minima. This condition
is depicted in FIG. 6 by curve 100, where the lowest stable state occurs at circuit
state S4, at point 104, and local minima exist at states S1, S2, S3, S5, S6, S7,
S8, and S9, corresponding to points 101-109 (exclusive of 104) on curve 100, respectively.
We have discovered that the gain of amplifiers 10 in our circuit
exhibits control over the shape of curve 100 in a manner that is not dissimilar
to the process of annealing. As in some spin glass problems where the effective
field description followed continuously from high temperatures to lower temperatures
is expected to lead to a state near the thermodynamic ground state, in our circuits
we start with low amplifier gains and slowly increase the gains to their ultimate
levels. This yields better computational results.
This behavior can heuristically be understood by observing that curve
110 in FIG. 6, which corresponds to the circuit energy function when the gain is
low, has discontinuities in the slope of the curve at points corresponding to
states S1 through S9 (corners), but the curve is still monotonically increasing
or decreasing on either side of point 114 which is the minimum point of curve
110. The other corners in the curve are not local minima and, therefore, when we
set the gains at a low value our circuit will not come to rest at those points
but would move to point 114. When the gain is increased, our circuit easily and
quickly settles at the minimum point, i.e., point 104.
Beginning a computation in a low gain state initializes the circuit.
In a situation with changing inputs, as for example the A to D converter measuring
a fluctuating voltage, the best operation of the circuit may require re-initializing
the gain for each new decision.
The gain control feature, which can be implemented in a conventional
manner, is illustrated in FIG. 5 by a line 40 that is connected to a gain control
point on all amplifiers 10. Changing the voltage on line 10 changes the gain of
amplifiers 10, yielding the desired "annealing" action or re-initializing.
Anspruch[de]
Schaltungsanordnung zur Bestimmung der besten Anpassung zwischen Eingangssignalen
χ und einer Auswahl von Grundfunktionen εk
mit
einer Vielzahl von Verstärkern (10), von denen jeder Verstärker Ai
einen
Eingangsanschluß zur Einführung eines Stromes Ii und einen Ausgangsanschluß
besitzt, und mit Leitwertelementen Tij (21), die je den Ausgangsanschluß
des Verstärkers Ai mit dem Eingangsanschluß des Verstärkers Aj
verbinden,
gekennzeichnet durch eine Einrichtung (30) zur Einführung eines Stromes Ii
in den Eingangsanschluß des Verstärkers i, wobei gilt: Ii = [(χ.εi-1/2(εi.εj)],
und Tij = -(εi.εj) mit i ≠ j.
Schaltungsanordnung nach Anspruch 1
mit einer Einrichtung (40) zur Veränderung des Gewinns der Verstärker.
Schaltungsanordnung nach Anspruch 1
mit einer Einrichtung zur Einstellung des Gewinns der Verstärker auf einen niedrigen
Wert und Erhöhen des Gewinns auf den höchsten Wert bei stabilem Ausgangssignal
der Schaltungsanordnung, wobei die Verstärker eine Eingangs/Ausgangs-Signalübertragungskennlinie
hoher Verstärkung besitzt.
Schaltungsanordnung nach Anspruch 1, 2 oder 3,
bei der die Stromeinführungseinrichtung eine zweite Verbindungsmatrix (30) zur
Anschaltung eines Teils einer vorgewählten Vorspannung und eines Teils des Eingangssignals
an den Eingangsanschluß jedes Verstärkers aufweist.
Schaltungsanordnung nach Anspruch 4,
bei der die zweite Verbindungsmatrix die vorgewählte Vorspannung und die Eingangssignale
an die Eingangsanschlüsse über Leitwerte verbindet, die in Beziehung zu den Grundfunktionen
stehen.
Schaltungsanordnung nach Anspruch 4,
bei der εi und εj Mitglieder des Satzes
nichtorthogonaler Funktionen εk
sind und die zweite Verbindungsmatrix
die vorgewählte Vorspannung dem Eingangsanschluß jedes Verstärkers Ai
über einen Leitwert zuführt, der eine Funktion des Skalarproduktes von
εi mit sich selbst ist und jedes Eingangssignal dem Eingangsanschluß
jedes Verstärkers Ai über einen Leitwert zuführt, der eine Funktion
von εi ist.
Schaltungsanordnung nach Anspruch 1, 2 oder 3
zur Verwendung als Analog-Digital-Wandler, bei der die Einführungseinrichtung eine
zweite Verbindungsmatrix zur Verbindung einer vorgewählten Vorspannung -v und der
Eingangssignale an den Eingangsanschluß jedes Verstärkers aufweist, wobei der Wert
jedes Leitwertes Tij auf -2(i+j) für i ≠ j und auf 0 für
i = j eingestellt wird, und bei der die zweite Verbindungsmatrix die vorgewählte
Vorspannung -v dem Eingangsanschluß des Verstärkers Ai über einen Leitwert
mit dem Wert 2(2i-1)/v und die Eingangssignale dem Eingangsanschluß
des Verstärkers Ai über einen Leitwert mit dem Wert 2i
zuführt.
Anspruch[en]
A circuit for determining a best fit to input signals x with a selection
of basis functions εk, said circuit comprising a plurality
of amplifiers (10), each amplifier Ai having an input terminal for allowing
a current Ii to he injected into said input terminal, and an output
terminal; and conductances Tij (21), each connecting said output terminal
of amplifier Ai to the input terminal of Amplifier Aj, said
circuit being CHARACTERISED BY means (30) for injecting a current Ii
into said input terminal of amplifier i, where
Ii=[(x&peseta;εi-1/2(εi&peseta;εi)],
and Tij=-(εi&peseta;εj), where i≠j.
A circuit as claimed in claim 1, comprising means (40) for varying the gain
of said amplifiers.
A circuit as claimed in claim 1, comprising means for setting the gain of said
amplifiers at a low level and increasing said gain to its ultimate high level to
obtain a stable output of said circuit wherein said amplifiers have a high gain
signal in input/output transfer character.
A circuit as claimed in claim 1, 2 or 3 wherein the injecting means comprises
a second interconnection matrix (30) for coupling a portion of a preselected bias
voltage and a portion of said input signals to said input terminal of each of said
amplifiers.
A circuit as claimed in claim 4 wherein said second interconnection matrix
serves to connect said preselected bias voltage and said input signals to said
input terminals via conductances that are related to said basis functions.
A circuit as claimed in claim 4 wherein εiandεj
are members of the set of non-orthogonal functions εk, and
said second interconnection matrix serves to connect said preselected bias voltage
to said input terminal of each said amplifier Ai
via a conductance that
is a function of the dot product of εi with itself, and serves
to connect each of said input signals to said input terminal of each said amplifier
Ai via a conductance that is a function of said εi.
A circuit as claimed in claim 1, 2 or 3 for use as an A/D converter, wherein
the injecting means comprises a second interconnection matrix for connecting a
preselected bias voltage -v and said input signals to said input terminal of each
of said amplifiers, the value of each conductance Tij is set to
-2(i+j) for i ≠ j and to 0 for i = j, and said second
interconnection matrix serves to connect said preselected bias voltage -v to said
input terminal of amplifier Ai via a conductance having the value
2(2i-1)/v
, and serves to connect said input signals to said input terminal of amplifier
Ai via a conductance having the value 2i.
Anspruch[fr]
Un circuit destiné à déterminer un meilleur ajustement entre des signaux d'entrée
(x) et une sélection de fonctions de base εk, ce
circuit comprenant un ensemble d'amplificateurs (10), chaque amplificateur Ai
ayant une borne d'entrée pour permettre l'injection d'un courant Ii
dans cette borne d'entrée, et une borne de sortie; et des conductances Tij
(21), chacune d'elles connectant la borne de sortie de l'amplificateur Ai
à la borne d'entrée d'un amplificateur Aj, ce circuit étant CARACTERISE
PAR des moyens (30) pour injecter un courant Ii dans la borne d'entrée
de l'amplificateur i, avec
Ii=[(x. εi-1/2 ( εi. εi)]
,
et Tij=-( εi. εj), avec i ≠ j.
Un circuit selon la revendication 1, comprenant des moyens (40) pour faire
varier le gain des amplificateurs.
Un circuit selon la revendication 1, comprenant des moyens pour fixer le gain
des amplificateurs à un niveau faible et pour augmenter ce gain jusqu'à son niveau
élevé final, afin d'obtenir un signal de sortie stable du circuit lorsque les
amplificateurs ont un gain de signal élevé dans la caractéristique de transfert
entrée/sortie.
Un circuit selon la revendication 1, 2 ou 3, dans lequel les moyens d'injection
comprennent une seconde matrice d'interconnexion (30) pour appliquer à la borne
d'entrée de chacun des amplificateurs une fraction d'une tension de polarisation
présélectionnée et une fraction des signaux d'entrée.
Un circuit selon la revendication 4, dans lequel la seconde matrice d'interconnexion
a pour fonction d'appliquer la tension de polarisation sélectionnée et les signaux
d'entrée aux bornes d'entrée, par l'intermédiaire de conductances qui sont liées
aux fonctions de base précitées.
Un circuit selon la revendication 4, dans lequel εi
et εj sont des membres de l'ensemble de fonctions non orthogonales
εk, et la seconde matrice d'interconnexion a pour fonction
d'appliquer la tension de polarisation présélectionnée à la borne d'entrée de chaque
amplificateur Ai, par l'intermédiaire d'une conductance qui est fonction
du produit scalaire de εi avec elle-même, et elle a pour
fonction d'appliquer chacun des signaux d'entrée à la borne d'entrée de chaque
amplificateur Ai par l'intermédiaire d'une conductance qui est fonction
de εi.
Un circuit selon la revendication 1, 2 ou 3, pour l'utilisation à titre de
convertisseur A/N, dans lequel les moyens d'injection comprennent une seconde
matrice d'interconnexion, pour appliquer une tension de polarisation présélectionnée
-v et les signaux d'entrée à la borne d'entrée de chacun des amplificateurs, la
valeur de chaque conductance Tij est fixée à -2(i+j) pour
i≠j et à 0 pour i=j, et la seconde matrice d'interconnexion a pour fonction
d'appliquer la tension de polarisation présélectionnée -v à la borne d'entrée de
l'amplificateur Ai, par l'intermédiaire d'une conductance ayant la valeur
2(2i-1)/v, et elle a pour fonction d'appliquer les signaux d'entrée
à la borne d'entrée de l'amplificateur Ai par l'intermédiaire d'une
conductance ayant la valeur 2i.