Litcius/Paper detail

Efficient nonlinear function approximation in analog resistive crossbars for recurrent neural networks

Junyi Yang, Ruibin Mao, Mingrui Jiang, Yi-Chuan Cheng, Pao-Sheng Vincent Sun, Shuai Dong, Giacomo Pedretti, Xia Sheng, Jim Ignowski, Haoliang Li, Can Li, Arindam Basu

2025Nature Communications20 citationsDOIOpen Access PDF

Abstract

Analog In-memory Computing (IMC) has demonstrated energy-efficient and low latency implementation of convolution and fully-connected layers in deep neural networks (DNN) by using physics for computing in parallel resistive memory arrays. However, recurrent neural networks (RNN) that are widely used for speech-recognition and natural language processing have tasted limited success with this approach. This can be attributed to the significant time and energy penalties incurred in implementing nonlinear activation functions that are abundant in such models. In this work, we experimentally demonstrate the implementation of a non-linear activation function integrated with a ramp analog-to-digital conversion (ADC) at the periphery of the memory to improve in-memory implementation of RNNs. Our approach uses an extra column of memristors to produce an appropriately pre-distorted ramp voltage such that the comparator output directly approximates the desired nonlinear function. We experimentally demonstrate programming different nonlinear functions using a memristive array and simulate its incorporation in RNNs to solve keyword spotting and language modelling tasks. Compared to other approaches, we demonstrate manifold increase in area-efficiency, energy-efficiency and throughput due to the in-memory, programmable ramp generator that removes digital processing overhead.

Topics & Concepts

Nonlinear systemResistive touchscreenComputer scienceArtificial neural networkFunction (biology)Applied mathematicsArtificial intelligencePhysicsMathematicsBiologyComputer visionQuantum mechanicsEvolutionary biologyAdvanced Memory and Neural ComputingNeural Networks and ApplicationsNeuroscience and Neural Engineering