In this Letter, we demonstrate an adjustable artificial neuron based on vortex magnetic tunnel junction (MTJ). By applying a bias current to vortex MTJ, the device exhibits splendid characteristics of stochastic switching and nonlinear rectification. The stochastic switching probability induced by spin transfer torque as a function of bias current can simulate sigmoid activation functions. The nonlinear spin-torque microwave rectification through injection locking is similar to a ReLU-like activation function. These two behaviors further are used to perform the recognition of handwritten digits in the Mixed National Institute of Standards and Technology database, with a produced accuracy of up to 93.56% and 93.25%, respectively. Our work provides a potential way for the construction of artificial neuron based on vortex MTJ.
The stochastic computing (SC) has been proven to be an energy-efficient way to perform neural network. In this study, we propose a field-free voltage-controlled spintronics SC system based on the magnetic tunnel junction (MTJ). We observe a stochastic switching behavior of the MTJ and that it could be controlled by the voltage applied on the device. The voltage-controlled stochastic switching behavior is used to encode numbers ranging from 0 to 1 into a series of random bit-streams in the SC system. Furthermore, the handwritten recognition task is performed on the MTJ-based SC system, achieving a 95% maximum accuracy, which is comparable with the floating-point based neural network. Our work provides inspiration for the energy-efficient neural network systems.