Learning in Log-Domain: Subthreshold Analog AI Accelerator Based on Stochastic Gradient Descent
Momen K Tageldeen, Yacine Belgaid, Vivek Mohan, Zhou Wang, Emmanuel M Drakakis
TL;DR
The paper addresses energy-efficient on-device training for AI at the edge by proposing an analog accelerator for stochastic gradient descent with L2 regularization ($SGDr$) implemented in log-domain subthreshold CMOS with volatile memory. It develops a continuous-time formulation ($SGDr-CT$) and provides a circuit-level mapping of the learning rules to weight-learning nodes arranged in a crossbar, enabling in-memory training with minimal digital overhead. The architecture uses dual learning cells (positive and negative) and differential signaling, augmented by translinear log-domain multipliers and a geometric mean splitter to realize both forward and backward passes. Across AMS 0.35 µm simulations, the approach achieves a mean squared error below $0.87\%$ and effective 8-bit weight precision, indicating competitive accuracy with substantial potential energy and area benefits for edge training.
Abstract
The rapid proliferation of AI models, coupled with growing demand for edge deployment, necessitates the development of AI hardware that is both high-performance and energy-efficient. In this paper, we propose a novel analog accelerator architecture designed for AI/ML training workloads using stochastic gradient descent with L2 regularization (SGDr). The architecture leverages log-domain circuits in subthreshold MOS and incorporates volatile memory. We establish a mathematical framework for solving SGDr in the continuous time domain and detail the mapping of SGDr learning equations to log-domain circuits. By operating in the analog domain and utilizing weak inversion, the proposed design achieves significant reductions in transistor area and power consumption compared to digital implementations. Experimental results demonstrate that the architecture closely approximates ideal behavior, with a mean square error below 0.87% and precision as low as 8 bits. Furthermore, the architecture supports a wide range of hyperparameters. This work paves the way for energy-efficient analog AI hardware with on-chip training capabilities.
