analog in-memory computing
In plain wordsDoing AI math inside the memory itself, using electrical currents through stored values, instead of shuttling numbers back and forth to a separate processor. It could save lots of energy but is imprecise.
A computing approach in which matrix–vector multiplications are performed physically inside arrays of memory devices that store the weightsweights, n.: The learned numbers inside a neural network that set how strongly each part influences the next. The finished set of weights is, in effect, the trained model itself., rather than moving the weights to a separate processor. Each weight is encoded as a device conductance (in phase-change memory, resistive RAM, flash or SRAMSRAM, abbr.: The fastest kind of computer memory, built directly into processor chips. It is quick but takes up a lot of space, so chips hold only a little of it. cells) at a crossing point of a grid; applying input voltages to the rows produces currents that multiply by Ohm's law and sum along each column by Kirchhoff's current law, so a multiply–accumulate over thousands of weights happens in one step, with analog-to-digital converters reading the results. This attacks the von Neumann bottleneckvon Neumann bottleneck, n.: The traffic jam caused by ordinary computers keeping data and processing in separate places, so information must constantly shuttle back and forth through one narrow channel. and the energy cost of data movement, but analog noise, device variability and conductance drift limit precision to a few bits and converters add overhead, so models need noise-aware training and digital correction. IBM's 2023 phase-change chip ran speech recognition at near-software accuracy, but commercial use remains limited.
Origin
'Logic-in-memory' proposals date to the late 1960s (William Kautz, Harold Stone). Resistive crossbars for neural networks were explored from the 2010s, after HP Labs linked Leon Chua's 1971 'memristor' concept to a physical device (2008). Stefano Ambrogio and colleagues at IBM reported a 14 nm analog AI chip with 34 phase-change arrays in Nature (2023).
Related
- von Neumann bottleneckvon Neumann bottleneck, n.: The traffic jam caused by ordinary computers keeping data and processing in separate places, so information must constantly shuttle back and forth through one narrow channel.
- memory wallmemory wall, n.: The growing gap between how fast chips can calculate and how fast they can fetch data from memory. Processors increasingly sit idle, waiting for numbers to arrive.
- neuromorphic computingneuromorphic computing, n.: Computer chips designed to work more like brains, with artificial neurons that send brief spikes only when needed, aiming to do AI tasks with far less energy.
- photonic computingphotonic computing, n.: Using light instead of electricity to compute or move data. Light can carry huge amounts of information with little energy, but building full computers from it is still very hard.
- AI acceleratorAI accelerator, n.: Any chip built or tuned to speed up AI — graphics chips, Google's TPUs, phone 'neural engines' and many startup designs. Such chips do the heavy math of training and running models.
- quantizationquantization, n.: Storing an AI model's numbers with fewer digits, like rounding prices to the nearest dollar, so the model takes less memory and runs faster, usually with only a small loss of accuracy.
- GPUGPU, abbr.: A computer chip first designed to draw video-game graphics that turned out to be ideal for AI, because it can do thousands of simple calculations at the same time.
Sources
- Ambrogio, S. et al. (2023). An analog-AI chip for energy-efficient speech recognition and transcription. Nature 620, 768–775. nature.com/articles/s41586-023-06337-5
Mentioned in
memory wallmemory wall, n.: The growing gap between how fast chips can calculate and how fast they can fetch data from memory. Processors increasingly sit idle, waiting for numbers to arrive., neuromorphic computingneuromorphic computing, n.: Computer chips designed to work more like brains, with artificial neurons that send brief spikes only when needed, aiming to do AI tasks with far less energy., photonic computingphotonic computing, n.: Using light instead of electricity to compute or move data. Light can carry huge amounts of information with little energy, but building full computers from it is still very hard., von Neumann bottleneckvon Neumann bottleneck, n.: The traffic jam caused by ordinary computers keeping data and processing in separate places, so information must constantly shuttle back and forth through one narrow channel.