Abstract
Magnetic tunnel junctions (MTJs) offer a promising pathway toward energy-efficient neuromorphic computing due to their nanoscale footprint, nonvolatile switching, and intrinsic nonlinear dynamics that emulate synaptic behavior. However, generating large thermoelectric voltages with bias-tunable nonlinearities for neuromorphic use remains largely unexplored. Here, we introduce a hybrid opto-electrical excitation scheme—combining pulsed laser heating with DC bias—to drive MTJs into the nonlinear bias-enhanced tunnel magneto-Seebeck regime. This regime yields thermoelectric voltages in the tens of millivolts with a strong contrast between magnetic states, while also revealing spiking and double-switching behavior linked to vortex dynamics and fixed-layer depinning. The thermovoltage exhibits cubic dependence on bias current, enabling tunable synaptic weights. We simulate a single-layer neuromorphic network using optically encoded inputs and achieve 93.7% classification accuracy on handwritten digits. These results establish hybrid-driven MTJs as a compact, CMOS-compatible platform for neuromorphic computing, integrating optical input with spintronic functionality.
Similar content being viewed by others
Introduction
Rapid advancement of artificial intelligence (AI) has created an urgent need for novel computing architectures that can efficiently handle complex, large-scale tasks. Traditional silicon-based computing, grounded in the von Neumann paradigm, faces fundamental bottlenecks such as limited memory bandwidth, high energy consumption, and physical separation of processing and storage units1,2,3. As AI models grow increasingly sophisticated and data-intensive applications demand greater computational power, these limitations become more pronounced, necessitating the exploration of alternative paradigms such as quantum4,5,6,7,8,9 and neuromorphic computing10,11,12,13,14,15,16,17,18.
Neuromorphic computing seeks to replicate the parallelism, adaptability, and energy efficiency of biological neural systems by using physical substrates that mimic neuronal and synaptic functions. Unlike conventional digital processors, neuromorphic platforms leverage analog, state-dependent dynamics, enabling real-time learning, edge inference, and ultralow-power operation19,20,21,22,23. Among candidate technologies24,25,26,27,28,29,30, spintronic devices—particularly magnetic tunnel junctions (MTJs)—have emerged as leading contenders due to their nanoscale footprint, non-volatility, and inherent nonlinearity26,31,32,33,34. MTJs utilize spin-dependent tunneling to encode information in resistance states, oscillatory behavior, or thermoelectric responses35,36,37,38,39,40. Vortex-state MTJs offer additional benefits such as enhanced magnetic stability and topological robustness, although scalable integration remains challenging41,42,43,44. While previous demonstrations of neuromorphic functionalities in MTJs have largely focused on spin-torque-driven dynamics or resistive switching, key challenges—including thermal tunability, nonlinearity control, and hybrid signal integration—continue to limit system-level applicability.
In this work, we introduce a hybrid excitation strategy combining pulsed optical heating with DC electrical bias to enhance the thermoelectric response of MTJs. Using split feedlines and transparent top contacts, our MTJ design maximizes optical access and heating efficiency. Under pulsed laser excitation, thermoelectric voltages are generated via the tunnel magneto-Seebeck (TMS)45,46,47,48,49 effect and detected using lock-in amplification at the laser modulation frequency. At zero bias, the Seebeck voltage reaches approximately 1–1.5 mV at laser power of 67 mW. Introducing a DC current enhances the thermovoltage by an order of magnitude, entering the bias-enhanced TMS (bTMS) regime, where the signal exhibits a cubic dependence on both current and laser power and shows pronounced contrast between parallel and antiparallel magnetic states. These characteristics are particularly well-suited for neuromorphic applications: we simulate a functional neuromorphic network based on our experimental device response, demonstrating high-accuracy image classification enabled by the bTMS nonlinearity. Thus, this work establishes spin-caloritronic50,51 MTJs as viable building blocks for energy-efficient and optically addressable neuromorphic architectures.
Results
Device architecture and measurement setup
On a single chip, we fabricated an array of individual magnetic tunnel junction (MTJ) devices, each defined by a multilayered spintronic stack and embedded within a SiO2 dielectric matrix. The devices span a range of cross-sectional geometries, from circular to elliptical, with radii tailored to systematically probe thermal and structural scaling effects. As shown in Fig. 1a, d, the free layer (FL) comprises CoFe40B20(2)/Ta(0.21)/Ni80Fe20(7)/Ta(10)/ Ru(7), while a TiWN(15)/AlSiCu(100) sacrificial stack connects the active layers to the top contact. Magnetic stability is ensured by a synthetic antiferromagnet (SAF) structure consisting of Ta (5)/Ru (5)/IrMn (6)/CoFe30 (2)/Ru (0.7)/CoFe40B20 (2.6), and the bottom contact includes a thermally engineered Ta/CuN/Ru multilayer. All thicknesses are in nanometers. To enhance laser-induced heating, we employed a split feedline (FLine) and a transparent indium tin oxide (ITO) top contact52,53,54, enabling direct optical access to the active junction (Fig. 1a). The FL and SAF are separated by a crystalline MgO tunnel barrier, which facilitates spin-polarized tunneling by filtering electronic states based on wavefunction symmetry at the metal-oxide interfaces. Simultaneously, the MgO layer introduces thermal boundary resistance due to phonon-interface scattering. Its effective thermal conductivity is given by \(\kappa ={[{\kappa }_{{{\rm{B}}}}^{-1}+{({\kappa }_{{{\rm{I}}}}{t}_{{{\rm{MgO}}}})}^{-1}]}^{-1}\), where κB = 4.0 W m−1 K−1 is the intrinsic bulk thermal conductivity of MgO and κI = 2.5 × 107 W m−2 K−1 represents the thermal conductance of the interface55. For an MgO thickness of 2 nm, this yields a remarkably low κ ≈ 0.05 W m−1 K−1, facilitating a steep temperature gradient (ΔT) across the barrier. This ΔT perturbs the thermal equilibrium between the ferromagnetic electrodes by broadening the carrier distribution in the heated layer relative to the cold one. The resulting energy-dependent imbalance in occupation probabilities, when filtered through the spin- and energy-selective transmission function \({\mathbb{T}}(E)\), gives rise to a net thermoelectric voltage. In the absence of electrical bias, this constitutes the tunnel magneto-Seebeck (TMS) effect, where the voltage arises solely from the thermally induced asymmetry. Under finite bias, the electrochemical potentials of the electrodes shift, altering the tunneling window and introducing additional asymmetry in the transport process. In this bias-enhanced regime (bTMS), the thermoelectric response reflects a nonlinear interplay between thermal excitation and electrically driven carrier flow. Both regimes are quantitatively described by the Landauer-Büttiker formalism, which links carrier occupation, spin-resolved density of states, and transmission asymmetry to the observed magneto-thermoelectric behavior46,50,56,57,58,59,60.
a Schematic of the device structure and complete measurement setup, including pulsed laser heating for thermal excitation, DC bias application, and lock-in detection of the thermoelectric voltage. b Optical microscope image of the fabricated device, showing the contact pads. c High-angle annular dark-field scanning transmission electron microscopy (HAADF-STEM) image of a magnetic tunnel junction (MTJ) nanopillar, highlighting the multilayer stack and structural integrity. d, e Thermoelectric voltage (VAC), measured via lock-in detection under open-circuit conditions (Ibias = 0), as a function of in-plane magnetic field for MTJs with nanopillar diameters of 300 nm (d) and 800 nm (e). Different curves correspond to varying laser powers (in mW). f, g Parallel-state voltage (\({V}_{{{\rm{AC}}}}^{P}\)), antiparallel-state voltage (\({V}_{{{\rm{AC}}}}^{AP}\)), the voltage contrast (δVP,AP), and the corresponding tunnel magneto-Seebeck (TMS) ratios as a function of laser power. Solid lines denote linear fits; slopes are reported as α.
Thermoelectric voltages were measured under zero bias (TMS) and finite bias (bTMS) conditions using a diode laser (λ = 638 nm) modulated at 1 kHz and focused on a ~7 μ spot using a calibrated knife edge method. The MTJ voltage was recorded simultaneously using a precision voltmeter, which yields the quasi-static component VDC, and by a lock-in amplifier referenced to the same 1 kHz modulation, isolating the dynamic thermoelectric response. The lock-in extracts the first harmonic—corresponding to the peak amplitude of the periodic thermovoltage—denoted VAC in the zero-bias (TMS) regime and ΔVAC when a DC bias is applied (bTMS). While a 50% duty cycle would in principle generate a DC thermovoltage under open-circuit conditions, our preamplifier’s AC-coupling blocks this offset, so that all analyses rely solely on the dynamic VAC signal. Under finite bias, the voltmeter concurrently measures a steady baseline voltage while the lock-in isolates the laser-synchronous modulation ΔVAC, thereby capturing the nonlinear interplay between thermal excitation and bias-driven tunneling.
Experimental results
Under open-circuit conditions (Ibias = 0), a laser-induced temperature gradient across the MgO barrier produces a spin-dependent thermovoltage VAC = S(B) ΔT, where S(B) is the field-dependent Seebeck coefficient reflecting the energy- and spin-resolved transmission asymmetry of the junction. As the in-plane field is swept, the magnetizations of the free layer and synthetic antiferromagnet switch between the parallel (P) and antiparallel (AP) states, tracing a hysteretic loop in VAC. In the saturated P and AP configurations, the thermovoltage plateaus obey \({V}_{{{\rm{AC}}}}^{{{\rm{P/AP}}}}={S}_{{{\rm{P/AP}}}}\Delta T\) thereby directly yielding the spin-dependent Seebeck coefficients SP and SAP. The magnitude of the tunnel magneto-Seebeck (TMS) effect is quantified as46,57,61,62:
To assess how the thermoelectric response scales with laser power, we measured VAC(B) at several optical power levels on devices with 300 nm and 800 nm nanopillar diameters, as shown in Fig. 1d, e, respectively. From each hysteresis loop, we extracted the plateau voltages \({V}_{{{\rm{AC}}}}^{{{\rm{P}}}}\), \({V}_{{{\rm{AC}}}}^{{{\rm{AP}}}}\), and computed their difference \(\delta {V}_{{{\rm{P,AP}}}}={V}_{{{\rm{AC}}}}^{{{\rm{AP}}}}-{V}_{{{\rm{AC}}}}^{{{\rm{P}}}}\). These quantities, together with the corresponding TMS ratio, are plotted versus laser power in Fig. 1f, g. In both devices, \({V}_{{{\rm{AC}}}}^{{{\rm{P}}}}\), \({V}_{{{\rm{AC}}}}^{{{\rm{AP}}}}\), and δVP,AP scale linearly with power (slopes α), consistent with the expected thermoelectric relation \({V}_{{{\rm{AC}}}}^{{{\rm{P/AP}}}}={S}_{{{\rm{P/AP}}}}\Delta T\). As the laser power increases to 67 mW, the resulting Seebeck voltages in our MTJ devices reach up to 1.5 mV—among the highest reported for thermally driven tunnel junctions—highlighting their potential for spin-caloritronic applications. Across all laser powers, the absolute Seebeck voltage is consistently 0.1 mV higher in 800 nm pillars compared to 300 nm ones. This likely reflects enhanced optical absorption and a larger number of spin-polarized carriers contributing to thermoelectric transport in the wider junction area. Meanwhile, the spin-dependent voltage contrast δVP,AP = (SP − SAP)ΔT is slightly higher in 300 nm devices—by approximately ~60 μV at 67 mW. A dedicated noise characterization, combined with COMSOL simulations to determine ΔT, would be required to assess the statistical significance and physical origin of trivial δVP,AP.
By applying a finite DC bias current Ibias, the junction operates in the bias-enhanced tunnel magneto-Seebeck (bTMS) regime. The bias changes the relative Fermi levels of the two electrodes, modifying the tunneling window and the weight of the thermally excited carriers that contribute to the signal61,63. Consequently, the measured thermovoltage becomes a nonlinear function of both Ibias and ΔT, and the perfect antisymmetry of the zero-bias Seebeck response (dictated by Onsager reciprocity) is broken. This nonlinear behavior originates from the energy-dependent transport described by the Landauer-Büttiker formalism, which integrates over the full energy spectrum of tunneling electrons64,65. In particular, one finds for each magnetic alignment (P or AP):
where R is the resistance of the non-heated MTJ, and R - ΔR the thermally induced resistance change under laser excitation. The first term is the intrinsic Seebeck voltage, while the second is the Ohmic shift from the bias current flowing through the heated resistance. Because S, R, and Δ R differ between the P and AP states, these two contributions can be reinforced or canceling depending on the magnetic alignment. By tuning Ibias, one can suppress the net voltage in one state while preserving it in the other, generating true on / off switching and bTMS contrasts far beyond linear TMS. To quantify the switching contrast, and in analogy with the established definitions of TMR and TMS ratios, we define the bTMS ratio as
a normalized, dimensionless metric of spin-dependent voltage contrast. Figure 2 shows resistance and VAC versus magnetic field for 600 nm and 800 nm devices, highlighting the synchronized switching behavior. The TMR curves exhibit discrete step-like features known as Barkhausen jumps66,67,68,69,70, whose physical origin fundamentally differs with device size. In 300 nm nanopillars (see Supplementary Note 2), where dimensions lie below the threshold for vortex formation, these jumps are attributed to abrupt domain wall depinning and motion across local pinning sites71,72. In larger devices (600–800 nm), which exceed the critical lateral dimension for vortex stability, the free layer supports complex vortex states—flux-closure configurations that minimize magnetostatic energy73,74,75. In these structures, resistance steps correspond to sudden displacements of the vortex core between pinning sites76. Strikingly, VAC(B) exhibits sharp spikes coinciding with the resistance step-like jumps. These arise from abrupt spin reconfigurations that modify spin-dependent tunneling asymmetries, making ΔVAC(B) highly sensitive to dynamic magnetic events. The systematic dependence of the spike patterns on nanopillar diameter further supports their origin in magnetization dynamics and highlights the potential of bTMS as a noninvasive probe of domain wall motion, vortex states, and pinning landscapes. Future micromagnetic simulations77, theoretical modeling, and time-resolved measurements will be essential to fully elucidate the underlying mechanisms. Moreover, the spiking thermovoltage response offers promising opportunities for high-precision magnetic sensing, multilevel memory, and neuromorphic architectures.
As shown in Fig. 2b, d, both resistance and thermovoltage traces reproducibly exhibit a double-switching behavior when the laser power and DC bias current exceed defined thresholds. This phenomenon—absent under purely thermal or electrical excitation—emerges consistently across all device sizes, indicating a robust physical basis. Crucially, rather than simply reflecting trivial coercivity reduction from heating, the combined thermal-electrical excitation drives the MTJ into a nonlinear, far-from-equilibrium regime where thermal gradients and electrical bias effects combine to create complex magnetization dynamics, resulting in multistable magnetization states and sequential switching thresholds. Additionally, high excitation levels may partially destabilize the nominally fixed SAF layer, subtly modifying interlayer coupling and enabling intermediate magnetization configurations. While all-optical switching78,79,80,81,82,83 employs ultrafast femtosecond laser pulses with extreme power densities to directly overcome magnetic energy barriers and switch fixed magnetic layers through rapid thermal demagnetization or helicity-dependent angular momentum transfer, our observed double-switching operates under continuous wave heating and electrical bias, representing a fundamentally different thermoelectric switching mechanism. This experimental observation establishes the foundation for targeted theoretical investigations to fully elucidate the underlying mechanisms and their implications for advanced spintronic technologies.
\(\Delta {V}_{{{\rm{AC}}}}^{{{\rm{P}}}}\) (Fig. 3a–c) and \(\Delta {V}_{{{\rm{AC}}}}^{{{\rm{AP}}}}\) (Fig. 3d–f) are plotted as functions of the bias current for various laser powers and nanopillar diameters. Both configurations exhibit distinctively nonlinear, cubic-like voltage responses to the applied bias current—features which we leverage explicitly in neuromorphic simulations, as detailed in the subsequent section. At a characteristic current (indicated by arrows in Fig. 3a–c), \(\Delta {V}_{{{\rm{AC}}}}^{{{\rm{P}}}}\) vanishes due to cancelation between Seebeck and bias-driven contributions—an effect absent in the AP state. This selective suppression significantly enhances the voltage contrast, resulting in sharp peaks in the bTMS ratio [Fig. 3g–i], and highlights the tunability of spin-caloritronic transport under combined thermal and electrical excitation. Although full conduction suppression is not achievable in MTJs, this configuration-dependent behavior mimics diode-like functionality and offers potential for selective spin-caloritronic readout.
Measured ΔVAC as a function of bias current in P (a–c) and AP (d–f) states for devices with diameters of 300 nm, 600 nm, and 800 nm. Different curves correspond to varying laser powers (in mW). Solid lines correspond to cubic fits to the experimental data (V(I) = aI3 + bI2 + cI + d). Arrows in \(\Delta {V}_{{{\rm{AC}}}}^{{{\rm{P}}}}\) indicate points where the Seebeck and resistive contributions cancel out. g–i bTMS ratios with insets showing zoomed-in regions to clearly display the magnitude.
Proposal for efficient neuromorphic computing
The devices characterized in previous sections exhibit several properties that render them particularly advantageous for neuromorphic computing applications. These include operational versatility across multiple regimes—ranging from spike-based84, in-memory neuromorphic computing26, to direct exploitation of the inherent nonlinear processing capabilities observed in the bTMS regime. In this section, we focus on simulating the latter approach, and refer readers to Supplementary Notes 4 and 5 for discussions of alternative neuromorphic computing schemes. To exploit the nonlinear response of thermovolatges (Fig. 3) for neuromorphic computing, we propose the integrated circuit architecture illustrated in Fig. 4a. This platform combines spintronic MTJs with the precise optical control offered by vertical-cavity surface-emitting lasers (VCSELs), enabling spatially-resolved and programmable thermal excitation. Each VCSEL individually addresses an MTJ, inducing a localized thermal gradient and thereby activating the device’s spin-caloritronic response in a highly reconfigurable manner.
a Rending of the envisioned spintronic chip for neuromorphic computing. b Simulated operation of the neuromorphic chip in the bias-enhanced tunnel magneto-Seebeck (bTMS) regime for the task of handwritten digit recognition based on the 800 nm magnetic tunnel junctions characterised in Fig. 3f. The envisioned chip consists of 64 × 10 devices with one row corresponding to an entry in the input vector of dimension N1 = 64 and one column corresponding to an entry in the output vector of dimension N2 = 10 (one entry for each possible numeral). c This results in a densely connected single-layer neural network. The pixels of one input image are converted to a vector which serves as input encoded in the laser powers Pj (the laser powers are equal across one row). We apply a bias current Ibias;j,ℓ to each magnetic tunnel junction (MTJ) which serves the role of a trainable synaptic weight Wj,ℓ. d The nonlinear response of the MTJs to the laser power and bias currents enables neuromrophic computing with a high expressivity. The axes have been rescaled with \({I}_{{{\rm{bias}}},\max }=3.0{{\rm{mA}}}\), \({P}_{\max }=150{{\rm{mW}}}\), \({V}_{{{\rm{AP}}},\max }=23.35{{\rm{mV}}}\). The resulting Seebeck voltages are added across one column (dark grey) and (e) result in an output voltage. During training, the weights are adjusted so that the largest output voltage indicates the number shown in the image. Here, for an input image of 7, the network correctly predicts the output after training. f Training and test accuracy for the correct identification of images. g Bias currents (synaptic weights) across the chip after training. The higher the current, the more relevant a pixel for the correct classification.
To simulate the operation of such a neuromorphic chip, we consider the architecture illustrated in Fig. 4b and train the system to perform image classification on handwritten digits85 (Methods). Operating within the bTMS regime, we use the laser power Pj incident on a device in the jth row to encode the input (corresponding to one pixel in the image to be classified). We encode the synaptic weights Wj,ℓ in the bias currents applied to the device in the jth row and the ℓth column Ibias;j,ℓ. Leveraging the nonlinear dependence of the thermovoltaics on both current and laser power σ, Fig. 4d, each spintronic device applies a synaptic weight to the neuronal input values and computes a nonlinear activation function determined by the device characteristics. As a result, the MTJ in row j and column ℓ effectively computes the function:
with σ the nonlinear response of the device, ΔVAP;j,ℓ the AP voltage at the device in row j and column ℓ, \(\Delta {V}_{{{\rm{AP}}},\max }\) the maximum AP voltage recorded for a single device, \({I}_{{{\rm{bias}}},\max }\) the maximum current used in the experiment, and \({P}_{\max }\) the maximum laser power. The underlying crossbar array allows to add the resulting voltages and yields the neuronal output values. The total output voltage of one column in Fig. 4b then yields the output neuron:
This primary computational stage could be cascaded with additional processing elements, such as another MTJ (as depicted in Fig. 4a) or a memristor, to implement further nonlinear activation functions or incorporate additional neuronal layers (detailed in the Supplementary Notes 4 and 5). For the purpose of this simulation, we consider a single layer neural network mapping between input and output neurons (schematically represented in Fig. 4c), i.e., the resulting yℓ after a single layer is the output of our neuromorphic system. We use one-hot encoding, i.e., the entry yℓ corresponding to the largest output voltage determines the class—in this case the number shown in the image, Fig. 4e.
We plot the system’s accuracy on the training set and a test set of previously unseen images in Fig. 4f achieving a classification accuracy of 93.7 %. In Fig. 4g, we display the pattern of bias currents after training. Red circles indicate positions that are more relevant for the computation of the output, while white and blue circles denote less relevant parts. Note that red circles are mostly found in rows that correspond to pixels that contain the numerals.
Our neuromorphic platform—integrating optical inputs with MTJs—offers several advantages: (i) Optical injection via VCSELs eliminates the need for dedicated electrical wiring at each node, leading to a reduced spatial footprint and increased scalability for high-density chip integration86,87. While individual MTJs can be scaled down to widths of tens of nanometers88, the ≈ 5 × 5 μ m2 footprint of a single VCSEL emitter89 limits integration density. Our shared-addressing architecture—where each VCSEL optically addresses multiple MTJs—overcomes this constraint, enabling chips with millions of devices per square millimetre in an industrial setting. (ii) The pulsed operation of the laser allows for efficient batch processing since sequences of pulses can be used to encode different data inputs. This could become particularly interesting in the context of sequence modelling which is a fundamental capability of large language models. Furthermore, using frequency multiplexing on the laser light and demultiplexing on the output voltages, information can be encoded at different pulse frequencies allowing for spatially efficient parallel processing (see Supplementary Notes 4 and 5). (iii) Since the proposed device bridges between an optically encoded input and electronic output in a relatively high voltage range, the device could also become an important component of hybrid chips combining optical neural networks with analog electronics or complementary metal-oxide-semiconductor (CMOS)-based neuromorphic chips.
Discussion
We have developed magnetic tunnel junction (MTJ) device arrays with CMOS-compatible footprints and minimal power requirements, specifically designed for optical integration through innovative split feedline geometries and transparent indium tin oxide (ITO) top contacts. To explore geometry-dependent behavior, we systematically varied the nanopillar cross-section—circular and elliptical—with different lateral dimensions, while maintaining a fixed multilayer spintronic stack. Under AC laser heating, the devices exhibit thermoelectric voltages in the millivolt range via the tunnel magneto-Seebeck (TMS) effect, with a linear dependence on optical power. When a concurrent DC bias current is applied, the system enters the bias-enhanced TMS (bTMS) regime, producing giant thermovoltages exceeding 10mV. In one magnetic configuration, the thermovoltage is nearly suppressed due to the cancellation of Seebeck and Ohmic contributions, while in the other it is strongly enhanced—resulting in a large bTMS ratio and pronounced spin-dependent contrast, reminiscent of diode-like behavior. In this regime, the thermovoltage exhibits pronounced spiking behavior—attributed to magnetization reconfigurations and vortex core dynamics—as well as threshold-driven double switching, likely arising from the nonlinear interplay between thermal gradients and spin-dependent transport. These phenomena call for detailed theoretical modeling to fully uncover the underlying mechanisms. Moreover, the thermoelectric voltage in the parallel and antiparallel magnetic states shows a cubic-like dependence on the applied bias current.
We simulate the operation of a spintronic neuromorphic chip that leverages the inherent nonlinear response of the MTJs to both laser power and bias current and demonstrate its use for the classification of handwritten digits. Owing to the independence of thermovoltage on laser pulse frequency, the platform supports efficient parallel processing via frequency multiplexing. Our devices create a bridge between optical inputs and analog electronics—a function gaining relevance as optical interconnects are increasingly employed for data transmission in high-performance computing systems. Furthermore, our devices could become important component of hybrid chips combining optical neural networks10,24,25, for instance based on linear optics90,91,92,93,94, with spintronics26 and analogue electronics95. Our proposed chip architecture offers flexibility beyond the demonstrated capabilities. By selectively applying different magnetic fields to operate layers in parallel or anti-parallel regimes, we propose that the system could be engineered to exhibit customized nonlinear behavior across layers—effectively implementing different nonlinear activation functions tailored to specific computational tasks. Furthermore, cascading multiple device layers could enable deeper, more expressive neural networks capable of addressing more challenging tasks. A particularly promising future direction involves physics-based training96, allowing for direct gradient extraction and in-device training. This approach would account for device imperfections and noise during the training process, enhancing robustness in physical implementations. Additionally, as detailed in the Supplementary Note 5, our platform shows potential for spike-based neuromorphic computing, expanding its application space. Overall, we have proposed and characterised an optically-addressable platform which offers scalability through reduced interconnect complexity, efficient temporal batch processing, and seamless integration between optical inputs and electronic outputs—making this technology a promising neuromorphic computing platform.
Methods
Further details on the neuromorphic computing simulation
In the main text, we describe the simulation of our neuromorphic chip for the training on a data set of 8 × 8-pixel images of handwritten digits85 for the purpose of image classification. The training set consists of 3, 823 labeled images while the test set contains 1, 797 images. The network we consider consists of a single dense layer connecting input neurons \({x}_{j}={P}_{j}/{P}_{\max }\) to output neurons \({y}_{\ell }=\Delta {V}_{{{\rm{tot}}},\ell }/\Delta {V}_{{{\rm{AP}}},\max }\) through synaptic weights \({W}_{j,\ell }={I}_{{{\rm{bias}}};j,\ell }/{I}_{{{\rm{bias}}},\max }\), Fig. 4b. Here, Ibias,j is the bias current at the device in the jth row and the ℓth column, \({I}_{{{\rm{bias}}},\max }=3.0{{\rm{mA}}}\) is the maximum bias current we consider. Pj is the laser power incident on the device in the jth row (the laser power is the same at each device in the jth row) with \({P}_{\max }=150{{\rm{mW}}}\) the maximum power we consider. Finally, ΔVtot,ℓ is the total voltage in the jth column which is normalised by the maximum AP voltage of a single device \(\Delta {V}_{{{\rm{AP}}},\max }=23.35{{\rm{mV}}}\). Note that we chose here to operate in the anti-parallel regime. Analogous considerations hold for the parallel regime.
The grayscale pixel values of the images of handwritten digits are first converted to a 64-dimensional vector of values between 0.2 (black) and 0.98 (white) which correspond to relative laser power levels and serve as input to the neuromorphic chip, Fig. 4b. Since dataset contains images of 10 different numbers between 0 and 9, we have 10 possible output classes, so the dimension of our output vector is 10. Our proposed neuromorphic chip consists of an array of 64 × 10 devices with one row for each entry in the input vector and one column for each entry in the output vector. To realistically model the performance of the spintronic chip, we define a differentiable interpolation function in jax which interpolates between the measured data points to obtain the function σ shown in Fig. 4d. Such accurate device modelling is essential to achieve a good training performance96 since otherwise discrepancies between physical system and simulation lead to a disastrous accumulation of errors during training. In the future, we envisage that physics-based methods for experimentally extracting the necessary gradients will be employed, such as equilibrium propagation97 which was recently applied to train memristor crossbar arrays98. This would allow us to efficiently extract all relevant gradients with only two measurement steps which is essential for the development of a scalable technology. Furthermore, physics-based training alleviates the need of an accurate model for the device and automatically accounts for device imperfections and noise during the training process.
During training, we minimise the cross-entropy loss function \({{\mathcal{C}}}(y)={\sum }_{j}{y}_{{{\rm{target}}},j}\log ({{\rm{softmax}}}[\alpha {y}_{j}])\) with ytarget the target output from the training set and yj given by Eq. (4) by computing gradients with jax over batches of 200 images until the training has converged. α is a hyperparameter which we empirically set to 9. To ensure that the bias currents (synaptic weights) stay within the interval which is experimentally accessible, we encode the weights as \({W}_{j,\ell }=\tanh {\tilde{W}}_{j,\ell }\) and differentiate w.r.t. \({\tilde{W}}_{j,\ell }\).
Data availability
The data that support the findings of this study are available from the corresponding author upon reasonable request.
Code availability
The Python scripts used for data visualization, basic fitting, and neuromorphic simulations are available from the corresponding author upon reasonable request.
References
Keyes, R. W. Physical limits in semiconductor electronics. Science 195, 1230–1235 (1977).
Keyes, R. Fundamental limits of silicon technology. Proc. IEEE 89, 227–239 (2001).
Bryant, R. E. et al. Limitations and challenges of computer-aided design technology for cmos vlsi. Proc. IEEE 89, 341–365 (2001).
Dunjko, V. & Briegel, H. J. Machine learning & artificial intelligence in the quantum domain: a review of recent progress. Rep. Prog. Phys. 81, 074001 (2018).
Mallow, G. M. et al. Quantum Computing: The Future of Big Data and Artificial Intelligence in Spine. Spine Surg Relat Res. 6, 93–98 (2022).
Ayoade, O., Rivas, P. & Orduz, J. Artificial intelligence computing at the quantum level. Data 7, 28 (2022).
Parvini, T. S., Bittencourt, V. A. & Kusminskiy, S. V. Antiferromagnetic cavity optomagnonics. Phys. Rev. Res. 2, 022027 (2020).
Parvini, T. S., Römling, A.-L. E., Sharma, S. & Kusminskiy, S. V. Cavity-enhanced optical manipulation of antiferromagnetic magnon pairs. Phys. Rev. B 111, 014416 (2025).
Boström, E. V. et al. All-optical generation of antiferromagnetic magnon currents via the magnon circular photogalvanic effect. Phys. Rev. B 104, L100404 (2021).
Wagner, K. & Psaltis, D. Multilayer optical learning networks. Appl. Opt. 26, 5061–5076 (1987).
Davies, M. Benchmarks for progress in neuromorphic computing. Nat. Mach. Intell. 1, 386–388 (2019).
Marković, D., Mizrahi, A., Querlioz, D. & Grollier, J. Physics for neuromorphic computing. Nat. Rev. Phys. 2, 499–510 (2020).
Upadhyay, N. K. et al. Emerging memory devices for neuromorphic computing. Adv. Mater. Technol. 4, 1800589 (2019).
Kumar, S., Wang, X., Strachan, J. P., Yang, Y. & Lu, W. D. Dynamical memristors for higher-complexity neuromorphic computing. Nat. Rev. Mater. 7, 575–591 (2022).
Mohamed, K. S. Neuromorphic Computing and Beyond (Springer, 2020).
Shrestha, A. et al. A survey on neuromorphic computing: Models and hardware. IEEE Circuits Syst. Mag. 22, 6–35 (2022).
Aimone, J. B. et al. A review of non-cognitive applications for neuromorphic computing. euromorph. Comput. Eng. 2, 032003 (2022).
Marković, D. & Grollier, J. Quantum neuromorphic computing. Appl. Phys. Lett. 117, 150501 (2020).
Sung, S. H., Kim, T. J., Shin, H., Im, T. H. & Lee, K. J. Simultaneous emulation of synaptic and intrinsic plasticity using a memristive synapse. Nat. Commun. 13, 2811 (2022).
Du, N. et al. Synaptic plasticity in memristive artificial synapses and their robustness against noisy inputs. Front. Neurosci. 15, 660894 (2021).
Chen, H., Li, H., Ma, T., Han, S. & Zhao, Q. Biological function simulation in neuromorphic devices: from synapse and neuron to behavior. Sci. Technol. Adv. Mater. 24, 2183712 (2023).
Zins, N., Zhang, Y., Yu, C. & An, H. Neuromorphic Computing: A Path to Artificial Intelligence Through Emulating Human Brains, 259–296 https://doi.org/10.1007/978-3-031-16344-9_7 (Springer International Publishing, Cham, 2023).
Huang, W. et al. Memristive artificial synapses for neuromorphic computing. Nano-Micro Lett. 13, 1–28 (2021).
Wetzstein, G. et al. Inference in artificial intelligence with deep optics and photonics. Nature 588, 39–47 (2020).
Shastri, B. J. et al. Photonics for artificial intelligence and neuromorphic computing. Nat. Photonics 15, 102–114 (2021).
Grollier, J. et al. Neuromorphic spintronics. Nat. Electron. 3, 360–370 (2020).
Schneider, M. et al. Supermind: a survey of the potential of superconducting electronics for neuromorphic computing. Supercond. Sci. Technol. 35, 053001 (2022).
Cai, W. et al. Spintronics intelligent devices. Sci. China Phys. Mech. Astron. 66, 117503 (2023).
Guo, Z. et al. Spintronics for energy-efficient computing: An overview and outlook. Proc. IEEE 109, 1398–1417 (2021).
Shashank, U. et al. Bulk spin-orbit torque-driven spin hall nano-oscillators using ptbi alloys https://arxiv.org/abs/2507.10219 (2025).
Torrejon, J. et al. Neuromorphic computing with nanoscale spintronic oscillators. Nature 547, 428–431 (2017).
Zhou, J. & Chen, J. Prospect of spintronics in neuromorphic computing. Adv. Electron. Mater. 7, 2100465 (2021).
Peng, S., Zhang, Y., Wang, M., Zhang, Y. & Zhao, W. Magnetic tunnel junctions for spintronics: principles and applications. Wiley Encyclopedia of Electrical and Electronics Engineering 1–16 (1999).
Cai, W. et al. Angular dependent auto-oscillations by spin-transfer and spin-orbit torques in three-terminal magnetic tunnel junctions. IEEE Electron Device Lett. 44, 861–864 (2023).
Sadat Parvini, T. et al. Enhancing spin-transfer torque in magnetic tunnel junction devices: Exploring the influence of capping layer materials and thickness on device characteristics. J. Appl. Phys. 133, 243902 (2023).
Jha, N. et al. Interface-assisted room-temperature magnetoresistance in cu-phenalenyl-based magnetic tunnel junctions. ACS Appl. Electron. Mater. 5, 1471–1477 (2023).
Riou, M. et al. Neuromorphic computing through time-multiplexing with a spin-torque nano-oscillator. In 2017 IEEE International Electron Devices Meeting (IEDM), 36.3.1–36.3.4 (2017).
Liu, J. et al. Compensated ferrimagnet based artificial synapse and neuron for ultrafast neuromorphic computing. Adv. Funct. Mater. 32, 2107870 (2022).
Sheng, J. et al. Spin-torque nano-oscillators and their applications. Appl. Phys. Rev. 11, 041309 (2024).
Yu, D., Kang, J., Berakdar, J. & Jia, C. Nondestructive ultrafast steering of a magnetic vortex by terahertz pulses. NPG Asia Mater. 12, 36 (2020).
Jenkins, A. S. et al. Electrical characterisation of higher order spin wave modes in vortex-based magnetic tunnel junctions. Commun. Phys. 4, 107 (2021).
Imai, Y., Nakajima, K., Tsunegi, S. & Taniguchi, T. Input-driven chaotic dynamics in vortex spin-torque oscillator. Sci. Rep. 12, 21651 (2022).
Suess, D. et al. Topologically protected vortex structures for low-noise magnetic sensors with high linear range. Nat. Electron. 1, 362–370 (2018).
Kammerer, M. et al. Magnetic vortex core reversal by excitation of spin waves. Nat. Commun. 2, 279 (2011).
Chen, J.-Y., He, L., Wang, J.-P. & Li, M. All-optical switching of magnetic tunnel junctions with single subpicosecond laser pulses. Phys. Rev. Appl. 7, 021001 (2017).
Boehnke, A. et al. Large magneto-seebeck effect in magnetic tunnel junctions with half-metallic heusler electrodes. Nat. Commun. 8, 1626 (2017).
Xu, Y. et al. Origins of large light induced voltage in magnetic tunnel junctions grown on semiconductor substrates. J. Appl. Phys. 119, 023907 (2016).
Yang, H. et al. The magnetic tunnel junction as a temperature sensor for buried nanostructures. J. Appl. Phys. 124, 174501 (2018).
Lin, W. et al. Giant spin-dependent thermoelectric effect in magnetic tunnel junctions. Nat. Commun. 3, 744 (2012).
Czerner, M., Bachmann, M. & Heiliger, C. Spin caloritronics in magnetic tunnel junctions: Ab initio studies. Phys. Rev. B 83, 132405 (2011).
Bauer, G. E., Saitoh, E. & Van Wees, B. J. Spin caloritronics. Nat. Mater. 11, 391–399 (2012).
Jin Hu, W., Wang, Z., Yu, W. & Wu, T. Optically controlled electroresistance and electrically controlled photovoltage in ferroelectric tunnel junctions. Nat. Commun. 7, 10808 (2016).
Maniyara, R. A. et al. Highly transparent and conductive ITO substrates for near infrared applications. Apl Materials 9, 021121 (2021).
Farhan, M. S., Zalnezhad, E., Bushroa, A. R. & Sarhan, A. A. D. Electrical and optical properties of indium-tin oxide (ito) films by ion-assisted deposition (iad) at room temperature. Int. J. Precis. Eng. Manuf. 14, 1465–1469 (2013).
Teixeira, J. et al. Giant intrinsic thermomagnetic effects in thin mgo magnetic tunnel junctions. Appl. Phys. Lett. 102, 212413 (2013).
Uchida, K.-I. et al. Observation of the spin seebeck effect. Nature 455, 778–781 (2008).
Walter, M. et al. Seebeck effect in magnetic tunnel junctions. Nat. Mater. 10, 742–746 (2011).
Gravier, L., Serrano-Guisan, S., Reuse, F. & Ansermet, J.-P. Thermodynamic description of heat and spin transport in magnetic nanostructures. Phys. Rev. B 73, 024419 (2006).
Schmidt, R., Wilken, F., Nunner, T. S. & Brouwer, P. W. Boltzmann approach to the longitudinal spin seebeck effect. Phys. Rev. B 98, 134421 (2018).
Yamamoto, K., Masuda, K., Uchida, K.-i & Miura, Y. Strain-induced enhancement of the seebeck effect in magnetic tunneling junctions via interface resonant tunneling: Ab initio study. Phys. Rev. B 101, 094430 (2020).
Kuschel, T. et al. Tunnel magneto-seebeck effect. J. Phys. D: Appl. Phys. 52, 133001 (2019).
Fang, H., Li, G., Xiao, M. & Huang, X. Tunnel magneto-seebeck effect in magnetic tunnel junctions with a single-crystal barrier. J. Magn. Magn. Mater. 571, 170555 (2023).
Boehnke, A. et al. On/off switching of bit readout in bias-enhanced tunnel magneto-seebeck effect. Sci. Rep. 5, 8945 (2015).
Onsager, L. Reciprocal relations in irreversible processes. i. Phys. Rev. 37, 405 (1931).
Onsager, L. Reciprocal relations in irreversible processes. ii. Phys. Rev. 38, 2265 (1931).
Kaappa, S. & Laurson, L. Barkhausen noise from formation of 360∘ domain walls in disordered permalloy thin films. Phys. Rev. Res. 5, L022006 (2023).
McClure Jr, J. C. & Schroder, K. The magnetic barkhausen effect. Crit. Rev. Solid State Mater. Sci. 6, 45–83 (1976).
Yang, S. & Erskine, J. Domain wall dynamics and barkhausen jumps in thin-film permalloy microstructures. Phys. Rev. B 72, 064433 (2005).
Fani Sani, F. et al. Strong vortex core pinning and barkhausen-free magnetization response in thin permalloy disks induced by implantation of 1 × 104 ga+ ions. J. Appl. Phys. 115 (2014).
Bertotti, G. Hysteresis in magnetism: for physicists, materials scientists, and engineers (Academic press, 1998).
Kuepferling, M. et al. Vortex dynamics in co-fe-b magnetic tunnel junctions in presence of defects. J. Appl. Phys. 117, 17E107 (2015).
Bohn, F. et al. Playing with universality classes of barkhausen avalanches. Sci. Rep. 8, 11294 (2018).
Yoo, M.-W., Lee, J. & Kim, S.-K. Radial-spin-wave-mode-assisted vortex-core magnetization reversals. Appl.Phys. Lett. 100, 172413 (2012).
Shibata, J., Nakatani, Y., Tatara, G., Kohno, H. & Otani, Y. Current-induced magnetic vortex motion by spin-transfer torque. Phys. Rev. B 73, 020403 (2006).
Martínez-Pérez, M. et al. Magnetic vortex nucleation and annihilation in bi-stable ultra-small ferromagnetic particles. Nanoscale 12, 2587–2595 (2020).
Jenkins, A. S. et al. The impact of local pinning sites in magnetic tunnel junctions with non-homogeneous free layers. Commun. Mater. 5, 7 (2024).
Abreu Araujo, F., Chopin, C. & de Wergifosse, S. Ampere–oersted field splitting of the nonlinear spin-torque vortex oscillator dynamics. Sci. Rep. 12, 10605 (2022).
Kirilyuk, A., Kimel, A. V. & Rasing, T. Ultrafast optical manipulation of magnetic order. Rev. Mod. Phys. 82, 2731–2784 (2010).
Chen, X.-J. Fundamental mechanism for all-optical helicity-dependent switching of magnetization. Sci. Rep. 7, 41294 (2017).
Mangin, S. et al. Engineered materials for all-optical helicity-dependent magnetic switching. Nat. Mater. 13, 286–292 (2014).
Chai, Z. et al. Ultrafast all-optical switching. Adv. Opt. Mater. 5, 1600665 (2017).
Wang, L. et al. Picosecond optospintronic tunnel junctions. Proc. Natl Acad. Sci. U.S.A. 119, e2204732119 (2022).
Guo, Z. et al. Single-shot laser-induced switching of an exchange biased antiferromagnet. Adv. Mater. 36, 2311643 (2024).
Malcolm, K. & Casco-Rodriguez, J. A comprehensive review of spiking neural networks: Interpretation, optimization, efficiency, and best practices https://arxiv.org/abs/2303.10780 (2023).
Alpaydin, E. & Kaynak, C. Optical Recognition of Handwritten Digits. UCI Machine Learning Repository https://doi.org/10.24432/C50P49 (1998).
Leroux, N. et al. Radio-frequency multiply-and-accumulate operations with spintronic synapses. Phys. Rev. Appl. 15, 034067 (2021).
Leroux, N. et al. Hardware realization of the multiply and accumulate operation on radio-frequency signals with magnetic tunnel junctions. Neuromorph. Comput. Eng. 1, 011001 (2021).
Sato, H. et al. Properties of magnetic tunnel junctions with a mgo/cofeb/ta/cofeb/mgo recording structure down to junction diameter of 11 nm. Appl. Phys. Lett. 105, 062403 (2014).
Iga, K. Vertical-cavity surface-emitting laser: Its conception and evolution. Jpn. J. Appl. Phys. 47, 1 (2008).
Hughes, T. W., Minkov, M., Shi, Y. & Fan, S. Training of photonic neural networks through in situ backpropagation and gradient measurement. Optica 5, 864–871 (2018).
Feldmann, J. et al. Parallel convolutional processing using an integrated photonic tensor core. Nature 589, 52–58 (2021).
Wanjura, C. C. & Marquardt, F. Fully nonlinear neuromorphic computing with linear wave scattering. Nat. Phys. 20, 1434–1440 (2024).
Yildirim, M., Dinc, N. U., Oguz, I., Psaltis, D. & Moser, C. Nonlinear processing with linear optics. Nat. Photonics 18, 1076–1082 (2024).
Xia, F. et al. Nonlinear optical encoding enabled by recurrent linear scattering. Nat. Photonics 18, 1067–1075 (2024).
Schmidt, H. et al. From clean room to machine room: commissioning of the first-generation brainscales wafer-scale neuromorphic system. Neuromorphic Comput. Eng. 3, 034013 (2023).
Momeni, A. et al. Training of physical neural networks. arXiv (2024).
Scellier, B. & Bengio, Y. Equilibrium propagation: Bridging the gap between energy-based models and backpropagation. Front. comput. neurosci. 11, 24 (2017).
Oh, S., An, J., Cho, S., Yoon, R. & Min, K.-S. Memristor crossbar circuits implementing equilibrium propagation for on-device learning. Micromachines 14 https://www.mdpi.com/2072-666X/14/7/1367 (2023).
Acknowledgements
This project was supported by funding from the European Union’s Horizon 2020 research and innovation program under grant agreement No. 899559 (SpinAge). Thanks to T. Ahlgrimm for experimental support.
Funding
Open Access funding enabled and organized by Projekt DEAL.
Author information
Authors and Affiliations
Contributions
F.O. performed measurements. T.J.W. and T.S.P. designed and constructed the optical setup. T.S.P. analysed data and wrote the paper. C.C.W. performed neuromorphic simulations and contributed to writing. M.S.C. and L.B. fabricated samples. I.C. and F.L.D. performed transmission electron microscopy. R.F. coordinated sample fabrication. T.B. supported sample measurements and analysis. F.M. and M.M. provided discussions and coordination.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Communications Physics thanks the anonymous reviewers for their contribution to the peer review of this work.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Oberbauer, F., Winkel, T.J., Böhnert, T. et al. Magnetic tunnel junctions driven by hybrid optical-electrical signals as a flexible neuromorphic computing platform. Commun Phys 8, 329 (2025). https://doi.org/10.1038/s42005-025-02257-0
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s42005-025-02257-0