1 of 25

Towards smart sensing with a spintronic reservoir computer

G. Venkat1, I. Vidamour1, T. J. Hayward1, L. Manneschi2, M. O. A. Ellis2, C. Swindells1, E. Vasilaki2, P. W. Fry3,D. A. Allwood1

1Department of Materials Science and Engineering, University of Sheffield, Sheffield, S1 3JD, UK

2Department of Computer Science, University of Sheffield, Sheffield, S1 4DP, UK

3Nanoscience and Technology Centre, University of Sheffield, Sheffield, S3 7HQ, UK

1

2 of 25

2

Take home: Magnetic ring arrays can do computation with multiple physical stimuli!

3 of 25

Need for smart sensing

  • Modern applications have a large number of sensors
  • Significant overhead due to central hub communication and processing
  • Smart sensors offer an exciting alternative where sensing, processing and actuating is done in a single device

https://learnmech.com/car-sensors-types-function-of-vehicle-sensor/

Majumder, Sumit, and M. Jamal Deen. "Smartphone sensors for health monitoring and diagnosis." Sensors 19.9 (2019): 2164.

Lorincz, Josip, Antonio Capone, and Jinsong Wu. "Greener, energy-efficient and sustainable networks: State-of-the-art and new trends." Sensors 19.22 (2019): 4864.

4 of 25

In-materia computing

  • Microprocessor based processing required A/D-D/A conversion
  • In-materia computing can use the dynamics of material response to stimuli
  • Magnetic systems respond to various stimuli like fields, currents, temperature, strain, light

https://realpars.com/smart-sensor/

Tanaka, Gouhei, et al. "Recent advances in physical reservoir computing: A review." Neural Networks 115 (2019): 100-123.

5 of 25

Reservoir Computing

  • Reservoir computing is a development of recurrent neural networks.
  • Recurrent network with fixed synaptic weights (the reservoir) connected to a trainable readout layer.
    • Good at analysing time-dependent data (e.g. human speech, other time series)
  • Interesting for hardware realisations as the reservoir can be replaced any physical system that has the following properties:
      • Non-linear response to input.
      • Fading memory of past inputs.

Input

Reservoir

Readout

Input

Readout

Feed inputs into device

Reservoir

Physical System

-Non linear response

-Fading memory

Read out state of device

  • Role of the reservoir is to transform input data into a form that is more easily classifiable.

6 of 25

Domain Walls in Ring-shaped Nanowires

  • Ring-shaped nanowires form two magnetic states.
    • Onion state – DWs rotate with rotating applied field.
    • Vortex state – circulating magnetisation.
  • When multiple rings are connected the junctions act as pinning sites.
    • Produce domain wall interactions that may cause population or depopulation of DWs in the rings.
  • At intermediate applied fields these processes will be stochastic!

H

Onion State

H

Vortex State

Propagation

Depopulation

m

Repopulation

High Fields

Low Pinning

Low Fields

High Pinning

Stochastic Region

4 µm

Micromagnetics (mumax3)

t = 20 nm

7 of 25

Creating Electrical Devices

  • Rich signals produced when rotating magnetic fields applied.
    • Frequency components at 1x and 2x field frequency.
    • Transient dynamics between states.
    • Non-linear response, fading memory
    • We have a reservoir!

I+

V+

I-

V-

H

20 µm

t = 10 nm

Vidamour et al. arXiv preprint arXiv:2206.04446 (2022). (under review)

Voltage (V)

Voltage (V)

H = 20 Oe

H = 34 Oe

H = 30 Oe

Voltage (V)

Dawidek et al, Adv. Funct. Mater. 2021 2008389.

8 of 25

How does one physically reservoir compute?

  • Modulate applied field strength according to input

 

  • Measure evolving AMR response

  • Split AMR response into 1f and 2f components

  • Extract features from envelope of signals

9 of 25

Speech Recognition

  • Demonstrate computational ability with benchmark speech recognition task.
  • TI-46 spoken digit database.
  • Use Computation Quality (CQ) to identify input encodings that perform well in classification tasks.
    • CQ = KR – GR.
  • <2 % error when trained using SpaRCe online training algorithm.

  • 50 Virtual Nodes.
  • Output = raw signal, 1f and 2f signals sampled 2x per input
  • 5x female speakers from TI-46 database
  • Data pre-processed via a Mel-Frequency Cepstral filter

Vidamour et. al. arXiv preprint arXiv:2206.04446 (2022). (under review)

L. Manneschi et. al. IEEE Transactions on Neural Networks and Learning Systems 34, 2, 824-838 (2023)

ΔH (Oe)

Appeltant, Lennert, et al., Nature communications 2.1 (2011): 468.

10 of 25

How can magnetic ring arrays be used as smart sensors?

11 of 25

Applying a temperature gradient

  • Ring array chip mounted on a Peltier cell temperature can be controlled
  • Temperature monitored using a pyrometer above the sample
  • Field driven response shows a consistent shift with temperature Linear shift

Brot

Pyrometer

Heat sink

Peltier

Sample

12 of 25

Temperature driven computation

  • Neural ODE model– approximates device output
    • Temperature driven shift in field response included in model
  • Used to identify regions of operation and predict device operation for tasks
  • Output layer of network is trained on measured temperature variation
  • Thermal variation in resistance is subtracted from the measured electrical signals

13 of 25

Demonstration : Signal transformation

  • Neural ODE predicts excellent reconstruction of signals from AMR output
  • Experimental reconstruction is good and some deviations observed in reconstruction of highly non-linear signals

Preliminary

ReLU

Sine2

Sawtooth

Prediction

Measured

Input to system caused sinusoid temperature variation

14 of 25

Demonstration : Mackey-Glass oscillator

  • Mackey-Glass oscillator expresses delayed feedback dynamics – used for prediction tasks
  • Typical oscillating behaviour of error with prediction delay is seen
  • Experimental reconstruction is good and some deviations observed in larger amplitude regions of test signal

Preliminary

15 of 25

15

Take home: Magnetic ring arrays can do computation with multiple physical stimuli!!

Poster 46:

Agent-Based Modelling of Magnetic Metamaterials

I. Vidamour

Poster 27:

Efficient Interfacing with Magnetic Metamaterials for Reservoir Computing

C. Swindells

Talk:

Magnetic binary stochastic synapses for machine learning applications

M. Ellis

Poster 26:

Nailed it: Reservoir computing with a rusty iron nail

C. Swindells

16 of 25

Backup slides

17 of 25

Demonstration : Mackey-Glass oscillator

 

Preliminary

18 of 25

Interconnected ring arrays

  • Ring arrays fabricated using nanofabrication techniques
  • System perturbed using rotating magnetic fields
  • Highly non-linear response to rotating field amplitude
  • Intermediate regime where a combination of magnetic states stochastically exist

B

Nonlinear response!

Fading Memory!

  • Magnetic states show markedly different evolutions at successive field amplitudes
  • Washing out of evolution indicates fading memory

Dawidek et al, Adv. Funct. Mater. 2021 2008389.

19 of 25

NARMA 5/NARMA 10

  • Previous reservoirs designs have low linear memory capacity.
    • MC < 3.
    • Due to temporal multiplexing.
  • Using the Rotating Neuron Reservoir (RNR) approach allows input mask to “freeze” nodes and use the non-volatility of the system to store data.
    • Enhances MC to ~12.
  • Use NARMA5/10 task to measure non-linear memory.

Vidamour et. al. arXiv preprint arXiv:2206.04446 (2022). (under review)

Liang et. al. Nature Comms 13 1549 (2022)

20 of 25

Rapid Simulation of Ring Array Output

  • Recently proposed approach using Neural Ordinary Differential Equations
  • Neural network used to parametrise inputs to ODE solver
  • Learns to predict future outputs of system given delayed state and future inputs
  • Trained on experimentally gathered data from devices
  • Allows simulation of many NRA nodes simultaneously

ODE Solver

Outputs

Output

21 of 25

Demonstration : Signal transformation

  • Ring array chip mounted on a Peltier cell – temperature can be controlled
  • Temperature monitored using a pyrometer above the sample
  • Field driven response shows a consistent shift with temperature – Shift is linear

ReLU

Sawtooth

Sine3

Square

Signal2

Signal[t+10]

22 of 25

Reservoir Architecture

  • Device in current form only has one input and one output.
  • Need to use time-multiplexed approach to create reservoir state
  • Device dynamics connect “virtual nodes” together.

Appeltant et. al. Nat Commun 2, 468 (2011).

23 of 25

Measuring Array Response

  • Magnetic response measured via AMR
  • 2 mechanisms leading to resistance change
    • DWs propagating around rings → 2 x clock frequency
    • Stretching of pinned DWs → 1 x clock frequency
  • Sub-signals have different nonlinear relationships to field

I+

V+

I-

V-

24 of 25

Talk Outline

  • Smart sensing
  • Magnetic states in rings and arrays of rings
    • Measurements of magnetic nanostructures
  • Lattice geometry variation in ring arrays
    • Dynamic responses of different lattices
    • Timescales of dynamics
    • What happens in the arrays microscopically?
  • Measuring reservoir metrics in arrays
    • Task independent metrics
    • Different reservoir architectures
    • How do we measure these metrics?
    • Computational quality and memory capacity of different lattices
  • Conclusions

25 of 25

How do magnetic ring arrays work?