Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
MEMRISTIVE LEARNING FOR NEUROMORPHIC CIRCUITS
Document Type and Number:
WIPO Patent Application WO/2018/081560
Kind Code:
A1
Abstract:
Memristive learning concepts for neuromorphic circuits are described. In one example case, a neuromorphic circuit includes a first oscillatory-based neuron that generates a first oscillatory signal, a diode that rectifies the first oscillatory signal, and a synapse coupled to the diode and including a long-term potentiation (LTP) memristor arranged in parallel with a long-term depression (LTD) memristor. The circuit further includes a difference amplifier coupled to the synapse that generates a difference signal based on a difference between output signals from the LTP and LTD memristors, and a second oscillatory-based neuron electrically coupled to the difference amplifier that generates a second oscillatory signal based on the difference signal. The circuit also includes a feedback circuit that provides a feedback signal to the LTP and LTD memristors based on a difference or error between a target signal and the second oscillatory signal.

Inventors:
KENDALL JACK D (US)
NINO JUAN C (US)
Application Number:
PCT/US2017/058757
Publication Date:
May 03, 2018
Filing Date:
October 27, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
UNIV FLORIDA (US)
International Classes:
G06N3/04; G06N3/08; G11C7/04; G11C11/54; G11C13/04
Foreign References:
US20120194967A12012-08-02
US20120011088A12012-01-12
US20120011090A12012-01-12
US20150106316A12015-04-16
US20120011093A12012-01-12
Other References:
See also references of EP 3533000A4
Attorney, Agent or Firm:
PERILLA, Jason M. (US)
Download PDF:
Claims:
CLAIMS

Therefore, the following is claimed:

1 . A memristive learning neuromorphic circuit, comprising:

a first oscillatory-based neuron that generates a first oscillatory signal; a diode electrically coupled to the first oscillatory-based neuron that rectifies the first oscillatory signal;

a synapse electrically coupled to the diode and comprising a long-term potentiation (LTP) memristor arranged in parallel with a long-term depression (LTD) memristor;

a difference amplifier electrically coupled to the synapse that generates a difference signal based on a difference between output signals from the LTP memristor and the LTD memristor; and

a second oscillatory-based neuron electrically coupled to the difference amplifier that generates a second oscillatory signal based on the difference signal.

2. The memristive learning neuromorphic circuit of claim 1 , further comprising a feedback circuit that provides a feedback signal to the LTP memristor and the LTD memristor based on an error between a target signal and the second oscillatory signal.

3. The memristive learning neuromorphic circuit of claim 2, wherein the feedback circuit provides a first feedback signal to the LTP memristor and provides a second feedback signal to the LTD memristor.

4. The memristive learning neuromorphic circuit of claim 3, wherein the first feedback signal is anti-phase with the second feedback signal.

5. The memristive learning neuromorphic circuit of claim 3, wherein the feedback circuit adjusts a phase of at least one of the first feedback signal and the second feedback signal according to the difference or error between the target signal and the second oscillatory signal.

6. The memristive learning neuromorphic circuit of claim 1 , wherein:

the first oscillatory signal comprises a magnitude and a phase; and in the memristive learning neuromorphic circuit, the magnitude is used to transmit information between the first oscillatory-based neuron and the second oscillatory-based neuron, and the phase is used to modify a connection strength between the first oscillatory-based neuron and the second oscillatory-based neuron.

7. A memristive learning neuromorphic circuit, comprising:

a first oscillatory-based neuron that generates a first oscillatory signal; a synapse electrically coupled to the first oscillatory-based neuron and comprising a plurality of memristors;

a difference amplifier electrically coupled to the synapse that generates a difference signal based on a difference between output signals from the plurality of memristors; and

a second oscillatory-based neuron electrically coupled to the difference amplifier that generates a second oscillatory signal based on the difference signal.

8. The memristive learning neuromorphic circuit of claim 7, further comprising a feedback circuit that provides a feedback signal to synapse based on an error between a target signal and the second oscillatory signal.

9. The memristive learning neuromorphic circuit of claim 8, further comprising a diode electrically coupled to the first oscillatory-based neuron that rectifies the first oscillatory signal

10. The memristive learning neuromorphic circuit of claim 8, wherein the plurality of memristors comprise a long-term potentiation (LTP) memristor arranged in parallel with a long-term depression (LTD) memristor.

1 1 . The memristive learning neuromorphic circuit of claim 10, wherein the feedback circuit provides a first feedback signal to the LTP memristor and provides a second feedback signal to the LTD memristor.

12. The memristive learning neuromorphic circuit of claim 1 1 , wherein the first feedback signal is anti-phase with the second feedback signal.

13. The memristive learning neuromorphic circuit of claim 1 1 , wherein the feedback circuit adjusts a phase of at least one of the first feedback signal and the second feedback signal according to the difference or error between the target signal and the second oscillatory signal.

14. The memristive learning neuromorphic circuit of claim 7, wherein:

the first oscillatory signal comprises a magnitude and a phase; and in the memristive learning neuromorphic circuit, the magnitude is used to transmit information between the first oscillatory-based neuron and the second oscillatory-based neuron and the phase is used to modify a connection strength between the first oscillatory-based neuron and the second oscillatory-based neuron.

15. A method of memristive learning, comprising;

generating a first oscillatory signal;

rectifying the first oscillatory signal to generate a rectified oscillatory signal;

providing the rectified oscillatory signal to an input of a first memristor and to an input of a second memristor, the first memristor being arranged in parallel with the second memristor;

generating a difference signal based on a difference between an output of the first memristor and an output of the second memristor; and

generating a second oscillatory signal based on the difference signal.

16. The method of memristive learning according to claim 15, further comprising:

comparing the second oscillatory signal to a target signal; and providing a feedback signal to one of the first memristor or the second memristor based on an error between the target signal and the second oscillatory signal.

17. The method of memristive learning according to claim 16, wherein providing the feedback signal comprises providing the feedback signal to the first memristor and the second memristor.

18. The method of memristive learning according to claim 16, wherein providing the feedback signal comprises:

providing a first feedback signal to the first memristor; and providing a second feedback signal to the second memristor, wherein the first feedback signal is anti-phase with the second feedback signal.

19. The method of memristive learning according to claim 18, wherein providing the feedback signal further comprises adjusting a phase of at least one of the first feedback signal or the second feedback signal according to the error between the target signal and the second oscillatory signal.

20. The method of memristive learning according to claim 16, wherein the first memristor comprises a long-term potentiation (LTP) memristor and the second memristor comprises a long-term depression (LTD) memristor.

Description:
MEMRISTIVE LEARNING FOR NEUROMORPHIC CIRCUITS

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of priority to U.S. Provisional

Application No. 62/413,666, filed October 27, 2016, the entire contents of which is hereby incorporated herein by reference.

BACKGROUND

[0002] A memristor is a passive non-linear two-terminal electrical component. In a memristor, the electrical resistance of the device depends on a history of current that previously flowed through the device. Thus, the resistance or impedance of a memristor at any given time depends on how much electric charge flowed through the memristor, and in what direction, previously.

[0003] The use of memristors for synaptic networks has been proposed as a promising approach in the field of neuromorphic circuit development. Memristors have been incorporated into crossbar synapse networks with complementary metal oxide semiconductor (CMOS)-based circuitry for presynaptic and postsynaptic voltage control. Those circuits demonstrate that CMOS-based voltage and current control can be used to generate changes in the resistance or impedance (e.g., memory) of memristors.

SUMMARY OF THE INVENTION

[0004] In one example, a memristive learning neuromorphic circuit includes a first oscillatory-based neuron that generates a first oscillatory signal, a diode electrically coupled to the first oscillatory-based neuron that rectifies the first oscillatory signal, a synapse electrically coupled to the diode, a difference amplifier electrically coupled to the synapse, and a second oscillatory-based neuron electrically coupled to the difference amplifier that generates a second oscillatory signal based on a difference signal generated by the difference amplifier. The synapse can include a long-term potentiation (LTP) memristor arranged in parallel with a long-term depression (LTD) memristor, and the difference amplifier can generate the difference signal based on a difference between output signals from the LTP memristor and the LTD memristor.

[0005] According to one aspect, the memristive learning neuromorphic circuit can also include a feedback circuit that provides a feedback signal to the LTP memristor and the LTD memristor based on an error between a target signal and the second oscillatory signal. The feedback circuit can provide a first feedback signal to the LTP memristor and provide a second feedback signal to the LTD memristor, where the first feedback signal is anti-phase with the second feedback signal. The feedback circuit can adjust a phase of at least one of the first feedback signal and the second feedback signal according to the difference or error between a target signal and the second oscillatory signal.

[0006] According to another aspect, the first oscillatory signal can comprise a magnitude and a phase, and the magnitude can be used in the memristive learning neuromorphic circuit to transmit information between the first oscillatory-based neuron and the second oscillatory-based neuron. Further, the phase can be used to modify a connection strength between the first oscillatory-based neuron and the second oscillatory-based neuron.

[0007] In another example, a method of memristive learning includes generating a first oscillatory signal, rectifying the first oscillatory signal to generate a rectified oscillatory signal, and providing the rectified oscillatory signal to an input of a first memristor and to an input of a second memristor. The first memristor can be arranged in parallel with the second memristor. The method can also include generating a difference signal based on a difference between an output of the first memristor and an output of the second memristor, and generating a second oscillatory signal based on the difference signal.

[0008] In other aspects, the method can include comparing the second oscillatory signal to a target signal, and providing a feedback signal to one of the first memristor or the second memristor based on an error between the target signal and the second oscillatory signal. The feedback signal can be provided to both the first and second memristors in some cases. Further, the method can include providing a first feedback signal to the first memristor, and providing a second feedback signal to the second memristor. The first feedback signal can be anti-phase with the second feedback signal in some cases. Providing the feedback signal can include adjusting a phase of at least one of the first feedback signal or the second feedback signal according to the error between the target signal and the second oscillatory signal.

BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Many aspects of the present disclosure can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, with emphasis instead being placed upon clearly illustrating the principles of the disclosure. In the drawings, like reference numerals designate corresponding parts throughout the several views.

[0010] FIGS. 1 A and 1 B illustrate examples of voltage signals that can be used for memristive learning according to various examples described herein.

[0011] FIG. 2 illustrates an example neuromorphic circuit that incorporates the concepts of memristive learning according to various examples described herein.

[0012] FIG. 3 further illustrates the example neuromorphic circuit shown in FIG. 2 according to various examples described herein.

[0013] FIG. 4 illustrates an example process for memristive learning using the neuromorphic circuit shown in FIG. 2 according to various examples described herein.

DETAILED DESCRIPTION

[0014] As noted above, the use of memristors for synaptic networks has been proposed in the field of neuromorphic circuit development. Memristors have been incorporated into crossbar synapse networks, for example, with complementary metal oxide semiconductor (CMOS)-based circuitry for presynaptic and postsynaptic voltage control. Those circuits demonstrate that CMOS-based voltage and current control can be used to generate changes in the resistance or impedance (e.g., memory) of memristors. [0015] The concepts described herein are directed to hardware-based neural networks (e.g., neuromorphic circuits and hardware) using memristive synapses and oscillatory neurons and method for training such networks. The approach is localized and does not require external circuits for weight updates, pulse generation, or event detection. The goal of the learning rules described herein is to approximate the delta rule used for training neural networks. In machine learning, the delta rule is a gradient descent learning rule for updating the weights of the inputs to artificial neurons in a single-layer neural network.

[0016] For linear neurons, the delta rule has the following form:

Awji = a(tj - y } )Xi (1 )

In Equation (1 ), Διν is the change in the weight from neuron i to neuron j, a is a constant learning rate, t 7 - y 7 is the error of neuron j, with y 7 its actual output and t 7 its target output, and x t is the output of neuron i.

[0017] If the actual output of neuron j is less than its target, the weight update is positive. This would effectively increase the output of neuron j if shown the same input again, decreasing the error. Similarly, if the actual output is greater than its target, the weight update is negative. This makes intuitive sense, because the weights should be updated to minimize the magnitude of the error.

[0018] Different types of neurons with different activation functions will yield different versions of the delta rule. However, the dependence on the error t 7 - y 7 remains the same, and is the most critical part of the rule. Therefore,

approximations to the delta rule preserve the dependence on the error t 7 - y 7 .

[0019] Whereas standard rate-based neurons can represent only real-valued numbers in the form of currents or voltages, oscillatory-based neurons are capable of representing complex-valued numbers with both magnitude and phase. The learning concepts described herein use the magnitude of the oscillation of an oscillatory-based neuron to transmit information to other oscillatory-based neurons, representing x t and y 7 , while the phase of the oscillation is used to modify its connection strength to the other oscillatory-based neurons.

[0020] The oscillatory signals of two neurons can be used to update the connection weight between them by exploiting a property of memristors known as the threshold voltage. Below the threshold voltage of a memristor, no change in resistance (and thus weight) occurs. Above this threshold, however, the resistance will either increase or decrease depending on the direction (e.g., polarity) of the voltage drop across the memristor. This property has been exploited in spiking neuron models to implement spike-timing-dependent plasticity (STDP). However, an analogous rule for oscillatory, phase-based neuron models has yet to be described.

[0021] FIGS. 1 A and 1 B illustrate examples of voltage signals that can be used for memristive learning according to various examples described herein. In FIGS. 1 A and 1 B, two voltage signals generated by two different oscillators are

superimposed. The voltage signals respectively correspond to voltages at opposite ends of a memristor (i.e., pre- and post-memristor ends) over time. The pre- memristor synaptic voltage signal is a rectified sine wave (solid line), while the post- memristor synaptic voltage signal is an unrectified sine wave (dashed line).

[0022] In FIG. 1A, the pre- and post-memristor voltage signals are in-phase. The maximum voltage drop across the memristor in that case is 0.5 V, which can be below the threshold voltage of the memristor. Thus, no change in resistance occurs in the memristor. In FIG. 1 B, the pre- and post-memristor voltage signals are out-of- phase. The maximum voltage drop across the memristor in that case is 1 .5 V, which can be greater than the threshold voltage of memristor. Thus, a change in resistance occurs in the memristor for the FIG. 1 B case but not the FIG. 1 A case. Under this construct, whether or not the weight (e.g., operating characteristic or resistance of the memristor) is changed or updated depends on the relative phases of the pre- and post-memristor voltages. This shows that memristance can be changed by changing the relative phase between the two oscillators or oscillatory- based neurons, analogous to STDP.

[0023] In a typical feed-forward neural network, the activities of the neurons are not influenced by the immediate error or future weight updates. Because of this, it is important that the activity of a particular neuron not be influenced by its error, or by the direction in which its weights are changing at a given time. Therefore, in the proposed learning concepts, the magnitude of the oscillation of an oscillatory-based neuron, which determines activity, can be controlled independently of the phase of the oscillation of the oscillatory-based neuron, which governs learning, and is guided by the error.

[0024] If either the pre- or post-memristor voltage signals shown in FIGS. 1 A and 1 B is applied across a memristor, it can be shown that the total current through the memristor is independent of the phase difference between the voltage signals shown in FIGS. 1 A and 1 B. This can be understood by observing FIGS. 1 A and 1 B. To satisfy the above criterion, the current flowing from the pre-synaptic neuron to the post-synaptic neuron should be independent of the relative phases of the two oscillatory-based neurons. This can be conveniently achieved by adding a leaky integrator, low pass filter, or moving average filter immediately after the synaptic memristor, before entering the post-synaptic oscillatory-based neuron. Since the integral of a pure sine wave is zero, only the rectified sine wave from the presynaptic neuron will contribute to the current flowing into the postsynaptic neuron. In other words, since the integrals of the post-memristor voltage signals (dashed line) shown in both FIG. 1 A and FIG. 1 B are the same, the total current will be the same regardless of which pair of the signals shown in FIG. 1 A and FIG. 1 B is applied across the memristor, independent of the relative phases of the pair of the signals.

[0025] Thus, it can been demonstrated that the strength of a memristive connection can be altered by adjusting the relative phase of two oscillatory-based neurons, and that the total input from one oscillatory-based neuron into the other is independent of this relative phase. Based on that finding, an architecture to implement an efficient approximation to the delta rule is described below.

[0026] FIG. 2 illustrates an example neuromorphic circuit 10 that incorporates the concepts of memristive learning according to various examples described herein. As shown in FIG. 2, the architecture can be understood by observing two oscillators, X, and Yj, which are representative of two different neurons. The oscillators X, and Yj can be embodied as any suitable type of oscillator, such as a phase-locked loop. Thus, the oscillators X, and Yj can include a control system that generates an output signal having a phase related to the phase of an input signal. As one example, the oscillators X and Yj can include a variable frequency oscillator and a phase detector coupled in a feedback control loop. The oscillator can generate a periodic, oscillating output signal, and the phase detector can compare the phase of the output signal with the phase of a periodic input signal. The output of the phase detector can be provided as an input to the variable frequency oscillator to keep the phases of the input and output signals matched.

[0027] The two oscillatory-based neurons X and Yj are coupled by a synapse 20 comprising two memristors 21 and 22. The voltage output from both the oscillatory- based neurons X and Yj are assumed in one example to be pure sine waves (e.g., see the A and G waveforms in FIG. 2), although other waveforms could be used. In the structure shown in FIG. 2, the post-synaptic oscillatory-based neuron Yj receives input from the presynaptic oscillatory-based neurons X,. Additionally, the memristors 21 and 22 are representative of a synapse that presents connection "weights" between the two oscillatory-based neurons X, and Yj. The two memristors 21 and 22 represent a single synapse and allow for both positive and negative connections as described below.

[0028] In various embodiments, the memristors 21 and 22 can be embodied as any suitable memristor having a threshold voltage that regulates the flow of electrical current based on or in accordance with the amount of charge that has previously flowed through it. For example, the electrical resistance of each of the memristors 21 and 22 is not constant but depends on a history of the amount of current that had previously flowed through each of them. Thus, the resistance of each of the memristors 21 and 22, at any given time, depends on how much electric charge has previously flowed through the device, and in what direction.

[0029] One of the memristors 21 and 22 in the synapse 20 can be designated the long-term potentiation (LTP) memristor, and the other can be designated the long-term depression (LTD) memristor. By increasing the conductance of the LTP memristor, the connection strength between the two oscillators X, and Yj is strengthened. On the other hand, by increasing the conductance of the LTD memristor, the connection between the two oscillators X, and Yj is weakened.

[0030] A diode 30 is provided at the output of the oscillatory-based neuron X,. The diode 30 rectifies the sine wave output of the oscillator X, as shown in the B waveform in FIG. 2. This rectified signal is then passed to the synapse 20 comprising the two memristors 21 and 22. The memristors 21 and 22 in the synapse 20 also receive separate post-memristor sinusoidal feedback signals based on the error of the oscillatory-based neuron Yj. These feedback signals then modify the resistance of one of the memristors 21 and 22 by changing their phase, depending on whether the synapse 20 is to be strengthened or weakened.

[0031] After the synapse 20, the difference in current flowing between the two memristors 21 and 22 can be determined by a difference amplifier 40 and provided as a difference feedback signal. The output of the difference amplifier 40 can be passed to a low-pass filter 42 which integrates the difference feedback signal and eliminates the effects of phase differences between the input and feedback signals. The relatively constant current from the low-pass filter 42 is then provided as input to the oscillatory-based neuron Yj.

[0032] The neuromorphic circuit 10 uses a two-memristor synapse 20 rather than a single-memristor synapse for two reasons. The first reason is that a two-memristor synapse allows for the practical implementation of both positive and negative weights. By having one memristor (e.g., the LTD memristor) act as a negative weight and the other memristor (e.g., the LTP memristor) act as a positive weight, the currents through each can be subtracted to give a current which is either positive or negative.

[0033] The second reason is that the proposed learning concepts allow for only one of the two memristors 21 and 22 to be either strengthened or weakened at a time, depending on how the voltage at X, is rectified. Having both a positive and a negative memristor allows the synapse 20 be strengthened by simply strengthening the positive memristor. On the other hand, the synapse 20 can be weakened by strengthening the negative memristor. [0034] To prevent the saturation of both the memristors 21 and 22 from constant strengthening, the direction of the voltage rectification (e.g., of the diode 30) can be changed while simultaneously inverting the current from the oscillatory-based neurons X, and Yj. In this way, the dynamics remain the same, however each of the memristors 21 and 22 is now being weakened rather than strengthened. Alternating these two regimes can then prevent saturation.

[0035] FIG. 3 further illustrates the example neuromorphic circuit 10 shown in FIG. 2. To update the connection "weights" between the two oscillatory-based neurons X, and Yj, the comparator 52 determines the difference between the target output, Tj, and the actual output Yj. The output of the comparator 52 is

representative of an error between the target output and the actual output Yj. If this is positive, the feedback signal to the negative memristor 22, for example, remains in phase with its input signal, while the feedback signal to the positive memristor 21 , for example, is passed through a delay stage 54 such that it is anti-phase (i.e., opposite in phase) with its input signal. This will therefore strengthen the synapse 20 as required by the delta rule. In the opposite case, where the difference between Tj and Yj is negative, the feedback signal to the positive memristor 21 remains in phase, while the feedback signal to the negative memristor 22 becomes anti-phase. In this way, the magnitude of the error for each training case will decrease, so long as the learning rate a is sufficiently low. As long as the input signals are synchronized, this can be generalized to the case of multiple input units and multiple output units.

[0036] FIG. 4 illustrates an example process for memristive learning using the neuromorphic circuit shown in FIGS. 2 and 3 according to various examples described herein. At step 102, the process includes generating a first oscillatory signal. For example, the oscillator X, can generate a first oscillatory signal as described above with reference to FIGS. 2 and 3. At step 104, the process includes rectifying the first oscillatory signal generated at step 102 to generate a rectified oscillatory signal. For example, the diode 30 can rectify the output of the oscillator

[0037] At step 106, the process includes providing the rectified oscillatory signal to an input of a first memristor and to an input of a second memristor. As shown in the examples in FIGS. 2 and 3, the output of the diode 30 is provided to the synapse 20, which includes memristor 21 arranged in parallel with the memristor 22.

[0038] At step 108, the process includes generating a difference signal based on a difference between an output of the first memristor and an output of the second memristor. For example, the difference amplifier 40 can generate a difference signal based on a difference between the output of the memristor 21 and an output of the memristor 22.

[0039] At step 1 10, the process includes generating a second oscillatory signal based on the difference signal generated at step 108. As described in the examples above, the oscillator Yj receives the difference signal generated by the difference amplifier 40 and generates a second oscillatory signal based on the difference signal generated by the difference amplifier 40.

[0040] At step 1 12, the process includes comparing the second oscillatory signal generated at step 1 10 to a target signal to provide an error. As shown in FIG. 3, for example, the comparator 52 compares the target output signal, Tj, and the second oscillatory signal output from the oscillator Yj. The output of the comparator 52 is representative of an error between the target signal and the second oscillatory signal. [0041] At step 1 14, the process includes providing a feedback signal to one or both of the memristor 21 and memristor 22 in the synapse 20 based on the error between the target signal and the second oscillatory signal. As described above, if this error is positive, the feedback signal to the memristor 22 remains in phase with its input signal, while the feedback signal to the memristor 21 is passed through a delay stage 54 such that it is anti-phase with its input signal. This will strengthen the synapse 20 as required by the delta rule. In the opposite case, where the difference between Tj and Yj is negative, the feedback signal to the memristor 21 remains in phase, while the feedback signal to the memristor 22 becomes anti-phase. In this way, the magnitude of the error for each training case will decrease, so long as the learning rate a is sufficiently low.

[0042] The above-described examples of the present disclosure are merely possible examples of implementations set forth for a clear understanding of the principles of the disclosure. Many variations and modifications can be made without departing substantially from the spirit and principles of the disclosure. All modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims.