Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel,...

44
Julie Grollier CNRS/Thales lab, Palaiseau, France Nanodevices for bio-inspired computing bioSPINspired

Transcript of Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel,...

Page 1: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Julie Grollier

CNRS/Thales lab,

Palaiseau, France

1

Nanodevices for bio-inspired

computing

bioSPINspired

Page 2: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Collaborations

2

AIST Tsukuba Japan: Sumito Tsunegi, Rie Matsumoto, Akio Fukushima, Kay Yakushiji, Hitoshi Kubota, Shinji Yuasa

IEF Orsay France: Damir Vodenicarevic, Joo-Von Kim, Nicolas Locatelli, Damien Querlioz

NIST Gaithersburg: Guru Khalsa, Mark Stiles

CNRS/Thales oxide team: Vincent Garcia, Manuel Bibes, Sören Boyn, André Chanthbouala, Karin Garcia, Cécile Carretero, Stéphane Fusil, Stéphanie Girod, Eric Jacquet, Hiroyuki Yamada, Agnès Barthélémy

IMS Bordeaux France: Gwendal Lecerf, Jean Tomas, Sylvain Saïghi

CNRS/Thales spintronics team: Alice Mizrahi, Steven Lequeux, Jacob Torrejon, Mathieu Riou, Philippe Talatchian, Miguel Romera, Flavio Abreu Araujo, Daniele Pinna, Romain Lebrun, Paolo Bortolotti, Vincent Cros

Page 3: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Impressive progress in artificial intelligence but in terms of power efficiency, the brain is the

winner

3

Brain: 20W

AlphaGo: 150 kW

Page 4: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Computing « like the brain » requires increasing parallelism

• The brain is massively parallel

• Artificial Neural networks as well

• Recent progress in AI: new models, but also increasing parallelism of information processing (GPUs)

• Current trend : FPGAs

4

Page 5: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Computing with low energy requires entangling memory with processing

Power consumption in current computers is high because of Von Neumann’s bottleneck: separation between memory and processing

5

proces- sing

memory

Digital computer

synapse neuron

neuron memory

processing

Brain

100 W/cm2 20 W in total !

Page 6: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Recent progresses with CMOS technology : example of IBM’s TrueNorth chip

• Highly parallel, colocalized memory and processing

• Low power consumption 20 mW/cm2 (processor 100 W/cm2)

• Cannot learn

6 Merolla et al, Science 345, 668 (2014)

5.4 billion transistors

256 million synapses

5000 neurons

(1 million neurons

w. time-multiplexing)

Page 7: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Relying on current technology (CMOS) alone is not a long-term solution

• A transistor is nanoscale but it is just a switch

• CMOS does not provide memory (volatile)

7

10-100 µm

SRAM banks

plasticity

Schemmel et al., IJCNN (2006)

CMOS neuron

CMOS synapse 10 µm

Merolla et al, Science 345, 668 (2014)

Page 8: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

To build smart chips, novel nanoscale devices are needed to emulate neurons and synapses

8

Hundreds of millions of neuron-like and synapse-like devices in a 1 cm2 chip Each device << 1 µm2

• Brain : 1011 neurons, 1015 synapses

• AlphaGo: millions of neurons and synapses

• Visual system: 500 millions of neurons

Page 9: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Ingredients needed for neural networks: non-linearity, memory and plasticity

9

Cat

Dog

Cat

Dog

• Synapses: analog valves (weights w)

• Neurons: non-linear

+1

-1

x1

x2

x3

y

w1

w2

w3

y = f ( w1 x1 + w2 x2 + w3 x3)

Page 10: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

• Nano-Synapses

• Nano-Neurons

• Why neural networks and nanodevices are a great match

10

Many options ! I will focus on electronic devices

Page 11: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

11

• Nano-Synapses

• Nano-Neurons

• Why neural networks and nanodevices are a great match

Page 12: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

The fundamental ingredients of synapses are memory and plasticity

• Synapses: analog valves

12

• Learning: tuning synapses

input output

neuron synapse

Page 13: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Memristors are tunable nano-resistors with memory

13

Red-Ox Phase change

tunable nano-resistor

Chua, IEEE Trans.

Circuit Theory (1971)

Yang et al., Nat. Nano. (2013) Kuzum et al, Nanotechnology (2013)

Page 14: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Memristors that do not involve large ionic/atomic displacements are interesting for

improved endurance and speed

14

André Chanthbouala, JG et al, Nat. Mat. 11, 860 (2012)

Spintronic

Steven Lequeux, JG et al, Sci. Rep. 6:31510 (2016)

Fukami et al, Nat. Mater. 15, 535 (2016)

Ferroelectric

Page 15: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Vth

Memristors emulate electronic synapses: the weight is their tunable conductance G

15

Ui < Vth : calculating mode Ui > Vth : learning mode

G1

G2

Gi

Kirchhoff’s law

Current = S Gi Ui

memristor

Page 16: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

One challenge being currently tackled is building large arrays of memristors

• 3D Xpoint, Intel/Micron Optane Lenovo 32 Gbits

16

http://www.theregister.co.uk/2017/01/04/optane_arrives_at_ces/

memristor

selector

Recent progress has been achieved towards the commer-cialization of binary memories made of memristor arrays

Page 17: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

As for neuromorphic computing with memristors, the field is at its beginning

17

IBM experiments: Handwritten digit recognition with 165 000 synapses (phase change with selector)

Burr et al, IEEE IEDM (2014)

Supervised learning, back-propagation

TiO2

Prezioso et al, Nature 521, 61 (2015)

Page 18: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Memristors’ resistance can evolve autonomously through spikes of neighbouring neurons:

unsupervised learning possible

18

pre-synaptic neuron

post-synaptic neuron -600 -400 -200 0 200 400 600

-2

-1

0

1

2

G

S)

t (ns)

Spike timing plasticity

Jo et al, Nanoletters 10, 1297 (2010)

Zamarrenos-Ramos et al, Frontiers in Neuroscience 5, 26 (2011)

Sören Boyn, JG et al, Nature Com. 8, 14736 (2017)

Page 19: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Perspectives

• Lots of technical work needed for improving memristors

• Experimental demonstration of unsupervised learning (coming soon)

• More physics for more synapse-like functionalities

• Novel types of devices

19

Page 20: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

20

• Nano-Synapses

• Nano-Neurons

• Why neural networks and nanodevices are a great match

Page 21: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Biological neurons are oscillators

• Integration

• Spikes

• Non-linear oscillator

• Rate coding

21

0 5 10 15 20

-70

-35

0

35

Time (ms) V

oltage (

mV

)

Page 22: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Non-linear dynamics in the brain has inspired many computing models

22

Synchronization

periodic

eeg s

ign

al

t (s)

brain waves

Complex transients

synapse: neuron: oscillator coupling neuron: oscillator

Many attemps to realize neuromorphic computing with nanoscale oscillators: memristive oscillators, magnetic oscillators, MEMS…

Hoppensteadt et al, PRL (1999), Aonishi et al, PRL (1999) Jaeger et al, Science (2004)

Page 23: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Nanoscale oscillators are noisy/unreliable Neural networks are tolerant of input noise, but

not of component unreliability

23

Cat

Dog

Cat

Dog

Page 24: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Magnetic oscillators are nanodevices with well controlled dynamics

24

CoFeB

FeB

MgO

spin torque

Nicolas Locatelli, V. Cros and J. Grollier, Spin-torque building blocks, Nat. Mat. 13, 11 (2014)

magnetic tunnel junction

compatible with CMOS

10-100 nm

Nanoscale, fast (GHz) and easily measurable

Same structure as magnetic memories

0 5 10 15 20-20

-10

0

10

20

Time (ns)

Voltage (

mV

)

current

Page 25: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Spin-torque nano-oscillators can emulate neruons because their amplitude dynamics is non-linear and

well-controlled

25

Input: current Output: amplitude of the oscillator’s voltage

IDC

Arbitrary Waveform Generator Vosc(t)

H

CoFeB

FeB

MgO

Input Diode

𝑽 (𝒕)

+

)

0 2 4 6 8 10

0

5

10

15

Voltag

e a

mplit

ude (

mV

)

dc current (mA)

Vin = ± 250 mV

𝑽

-200

0

200

Inpu

t (m

V)

32.0 32.5 33.0

-15

0

15

Vosc (

mV

)

Time (s)

𝑉 1

𝑉 3 𝑉 4 𝑉 6

𝑉 2 𝑉 5 𝑉 7

𝑽 (𝒕)

0 10 20

-10

-5

0

5

10

Time (ns)

Voltage (

mV

)

Page 26: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Proof of neuromorphic computing with spin-torque nano-oscillators: computing with a single

oscillator through time-multiplexing

26

Neuron Synapse

j i

State of the oscillator

Time

t t+q

t+2q …

Appeltant et al, Nat. Com 2:468 (2011); Martinenghi et al, PRL 108, 244101 (2012)

Reservoir computing approach

Page 27: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Task: spoken digit recognition (NIST TI-46 corpus)

27

0 5000

-0.1

0.0

0.1"1"

Am

plit

ud

e (

a.u

.)

Time (a.u.)

Input: audio file

Spectrogram or Cochlear

Acoustic features

Output Oscillator

Pre-processing Computer

Recorded trace

Pre-processed

input

"1"

Page 28: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

28

0 5000

-0.1

0.0

0.1"1"

Am

plit

ud

e (

a.u

.)

Time (a.u.)

Input: audio file

Spectrogram or Cochlear

Acoustic features

Output Oscillator

Pre-processing Computer

Recorded trace

Pre-processed

input

"1"

Experimental results of spoken digit recognition

1 2 3 4 5 6 7 8 9

20

40

60

80

Success r

ate

(%

)

Utterances for training

With oscillator

Spectrogram

80%

Page 29: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

29

0 5000

-0.1

0.0

0.1"1"

Am

plit

ud

e (

a.u

.)

Time (a.u.)

Input: audio file

Spectrogram or Cochlear

Acoustic features

Output

No oscillator

Oscillator

Pre-processing Computer

Recorded trace

Pre-processed

input

"1"

Experimental results of spoken digit recognition

1 2 3 4 5 6 7 8 90

20

40

60

80

Success r

ate

(%

)

Utterances for training

With oscillator

Without oscillator

Spectrogram

+ 70%

Page 30: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

30

0 5000

-0.1

0.0

0.1"1"

Am

plit

ud

e (

a.u

.)

Time (a.u.)

Input: audio file

Spectrogram or Cochlear

Acoustic features

Output

No oscillator

Oscillator

Pre-processing Computer

Recorded trace

Pre-processed

input

"1"

Experimental results of spoken digit recognition

1 2 3 4 5 6 7 8 90

20

40

60

80

Success r

ate

(%

)

Utterances for training

With oscillator

Without oscillator

Spectrogram

+ 70%

1 2 3 4 5 6 7 8 965

70

75

80

85

90

95

100

Success r

ate

(%

)

Utterances for training

With oscillator

Without oscillator

Cochlear

99.6%

Page 31: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

31

State of the art: 96 to 99.8 %

First demonstration of neuromorphic computing with a nanoscale oscillator

Jacob Torrejon-Diaz, Mathieu Riou, Flavio Abreu-Araujo, JG et al, arXiv:1701.07715

1 2 3 4 5 6 7 8 90

20

40

60

80

Success r

ate

(%

)

Utterances for training

With oscillator

Without oscillator

Spectrogram

+ 70%

1 2 3 4 5 6 7 8 965

70

75

80

85

90

95

100

Success r

ate

(%

)

Utterances for training

With oscillator

Without oscillator

Cochlear

99.6%

Page 32: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Fully parallel networks are necessary to speed up computing

32

One million oscillators 1 s 1 µs

Parallel neural network

j i

Voutput =S wi Vi

Time-multiplexed network

t

t t+q

t+2q …

Voutput =S wi Vi

Pre-processing No pre-processing

Page 33: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Coupling spin-torque nano-oscillators towards parallel neural networks

Enhanced ability to interact and synchronize

33

microwave currents dipolar fields,

spin waves

neuron neuron

synapse

Slavin et al, IEEE Trans Mag 45, 1875 (2009)

Awad et al, Nat. Phys, 10.1038/NPHYS3927

Hynix/Toshiba IEDM 2016

Page 34: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

34

• Nano-Synapses

• Nano-Neurons

• Why neural networks and nanodevices are a great match

Page 35: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Novel nanodevices: interesting features but….

35

→ High device variability → High sensitivity to noise

→ Stochastic behavior

Not adapted to boolean computing but what about neuromorphic computing ?

(Memristors,

Hewlett-Packard)

(Carbon nanotube) (Nanomagnetic logic,

Cowburn et al.) (Spin transfer

oscillator,

CNRS/Thales)

Page 36: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Thanks to their plasticity, neural networks are highly resilient against nanodevice variability !

36

simulations

Damien Querlioz et al, IEEE Trans. Nano., vol. 12, num. 3, p. 288 (2013)

Page 37: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Biological synapses and neurons are noisy: the brain seems to operate at the thermal limit

to minimize its power consumption

37

Computing at low power with stochastic components is possible

Neural spikes in response to the same input recorded 50 times

Page 38: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

How can we realize reliable computations with stochastic devices ?

Stochastic computing: sampling multiple times, averaging

38

0 2 4 6 8

Re

sis

tan

ce

Time (s)

RAP

RP

Time

Voltage emitted by neuron

Page 39: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Can we even leverage noise for computing ?

39

Low noise Optimal noise High noise

Randomness can be useful Example: stochastic resonance

Gammaitoni et al, Reviews Of Modern Physics, 70(1), 223–287 (1998)

Page 40: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Superparamagnetic tunnel junctions:

40

thermal noise

E P AP

0.100 0.125 0.150

400

500

600

Resis

tance (

)

Time (s)

0.100 0.125 0.150

400

500

600

700

Resis

tance (

)

Time (s)

0.100 0.125 0.150

400

500

600

Resis

tance (

)

Time (s)

V

V = 0 V > 0 V < 0

Alice Mizrahi, Damien Querlioz, JG et al, Sci. Rep. 6:30535 (2016)

Can synchronize to small periodic signals

Camsari et al, arXiv:1610.00377

Are promising building blocks for Boltzmann machines

Page 41: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Thermal diffusion of Skyrmions can be used for reshuffling signals or as neurons for stochastic

computing

41 Daniele Pinna, JG et al, arXiv:1701.07750

Page 42: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

42

Nanodevices allow using physics for computing

Hopfield nets physics attractors = energy minima

Hopfield neural nets

Ising spin system inspiration

Back to the spin system !

J. Grollier, D. Querlioz, M. D. Stiles, PIEEE vol.104, n°10, 2024 (2016)

Page 43: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Conclusion

• Nanodevices open new perspectives for neuromorphic computing

• Working at the thermal limit low power consumption

• Memristors can emulate synapses

• Nano-oscillators can emulate neurons

• The challenge is to assemble them densely together for computing

43

• If we succed: smart chips that can learn and adapt autonomously

Page 44: Nanodevices for bio-inspired computing · example of IBM’s TrueNorth chip •Highly parallel, colocalized memory and processing •Low 2power consumption 20 mW/cm (processor 100

Comparison between oscillators

44