arXiv:2611.08715cs.ETNov 2026

Manuscript Offprint

arXiv:2611.08715

Efficient Spintronic Stochastic In-Sensor Computing Modules

Abdolah Amirany, HamidReza Imani, Samuel Farid, Tarek El-Ghazawi

Abstract

In-sensor processing (ISP) is used in various fields, including autonomous driving automotive systems, wearable healthcare devices, environmental monitoring, wireless sensor networks, smart cities, and industrial control systems. One of the main features of most of these applications is energy and hardware restriction. This restriction amplifies the importance of using high-performance and low-energy consumption computing systems and methods. This paper proposes efficient spintronic stochastic computing modules for in-sensor computing systems to address this challenge. The proposed design utilized the stochastic behavior of the magnetic tunnel junction in the subcritical switching regime to generate a probability-adjustable random stream. Probability-adjustable random stream generation is the most important step in any stochastic system because it determines the quality of the final output. The simulation results indicate that the proposed design offers almost the same peak signal-to-noise ratio and structural similarity while occupying at least 62% lower area and consuming 60% lower energy. These advantages made the proposed design a good choice for ISP applications with limited energy.

Keywords: Edge Detection, In-Sensor Processing, Magnetic Tunnel Junction, Spintronic, Stochastic Computing.

1 Introduction

In-sensor processing (ISP) offers a significant performance increase in very large scale integrated circuit (VLSI) design by combining data acquisition with computation [1–3]. This feature is crucial for modern applications that demand rapid, efficient, and intelligent decision-making [4–8]. This fusion of sensing and processing allows for the reduction of data transmission loads, as it enables preprocessing of data right at the point of capture. ISP also enhances privacy and security by minimizing the amount of raw data that needs to be sent to centralized systems [1, 9, 10]. By providing real-time insights, in-sensor processing is instrumental for applications in autonomous vehicles, smart cities, and internet of things (IoT) devices, where the speed of response can be critical [1, 11–13].

In energy-restricted systems, ISP is particularly transformative due to its ability to significantly reduce power consumption [12, 14, 15]. By processing data locally within the sensor, there is a substantial decrease in the need to transmit large volumes of raw data to a central processor, which

Figure

(a)

Figure

(b)

Figure 1: MTJ Structure [27] a) conceptual structure b) MTJ write circuit

is a high-energy activity [8,16]. This localized processing enables energy-restricted systems, such as battery-powered devices and remote sensors, to operate for extended periods without requiring frequent recharging or battery replacements [1,12,17]. Moreover, ISP can intelligently determine which data are essential and only send this filtered information for further analysis, leading to more energy-efficient data handling. This is vital for the proliferation of the IoT, where countless devices need to operate autonomously and continuously, often in settings where energy resources are limited, or the cost of energy consumption is a critical constraint [18–20].

Spintronics, which exploits the spin property of electrons in addition to their charge, is grabbing significant attention in the field of ISP, particularly with the application of magnetic tunnel junction (MTJ) in random number generation [21–23]. Random number generation utilizing subcritical currents in MTJs involves the switching of magnetic layers by currents that are below the threshold (namely critical current) typically required to flip the magnetization [24–26]. This leads to stochastic switching behavior, which is unpredictable and ideal for generating random numbers. Since this process relies on thermal fluctuations assisted by smaller currents, it consumes less power, aligning well with the energy constraints of ISP systems [26]. In the context of ISP, spintronics also enhances the efficiency and speed of sensors by enabling nonvolatile memory that retains information without power [1,12].

In this paper, by integration of spintronics into ISP, especially utilizing the subcritical current switching of MTJs, a probability adjustable stochastic number generator (SNG) is proposed. The proposed spintronics SNG offers great promises for efficient implementation of the stochastic systems as it offers low power consumption and area efficiency.

The rest of the paper is organized as follows, the background of the paper including the spintronics technologies, MTJ and its stochastic behavior explained in Section 2. The proposed SNG, its application in ISP and especially in edge detection explained in Section 3. Simulation results of both the proposed SNG and stochastic edge detector are presented in section 4. Finally, based on the simulation results paper is concluded in Section 5.

References (38)