Analog In-Memory Computing Attention Mechanism for Fast and Energy-Efficient Large Language Models
Not on the map. Why?
Abstract (arXiv)
Transformer networks, driven by self-attention, are central to Large Language Models. In generative Transformers, self-attention uses cache memory to store token projections, avoiding recomputation at each time step. However, GPU-stored projections must be loaded into SRAM for each new generation step, causing latency and energy bottlenecks. We present a custom self-attention in-memory computing architecture based on emerging charge-based memories called gain cells, which can be efficiently written to store new tokens during sequence generation and enable parallel analog dot-product computation required for self-attention. However, the analog gain cell circuits introduce non-idealities and constraints preventing the direct mapping of pre-trained models. To circumvent this problem, we design an initialization algorithm achieving text processing performance comparable to GPT-2 without training from scratch. Our architecture respectively reduces attention latency and energy consumption by up to two and five orders of magnitude compared to GPUs, marking a significant step toward ultra-fast, low-power generative Transformers.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 32 of its 89 references that are in the map. First posted on arXiv 28 Sep 2024.
Builds on
32 of 89 references.
References · 32
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023Mistral 7Bcited by 3,065
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
20 more
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2021A Survey of Transformerscited by 399
- 2024xLSTM: Extended Long Short-Term Memorycited by 320
- 2019WinoGrande: An Adversarial Winograd Schema Challenge at Scalecited by 194
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
- 2015All you need is a good initcited by 124
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 124
- 2024Theory, Analysis, and Best Practices for Sigmoid Self-Attentioncited by 62
- 2024Palu: Compressing KV-Cache with Low-Rank Projectioncited by 59
- 2024Challenges in Deploying Long-Context Transformers: A Theoretical Peak Performance Analysiscited by 44
- 2023State-space Models with Layer-wise Nonlinearity are Universal Approximators with Exponential Decaying Memorycited by 38
- 2023X-Former: In-Memory Acceleration of Transformerscited by 25
- 2024Memory Is All You Need: An Overview of Compute-in-Memory Architectures for Accelerating Large Language Model Inferencecited by 14
- 2024Neuromorphic hardware for sustainable AI data centerscited by 6
- 2024ClipFormer: Key-Value Clipping of Transformers on Memristive Crossbars for Write Noise Mitigationcited by 4
Built on by
Citing papers per year: 2025: 4; 2026: 7.
11 papers.
- 2025AI Compute Architecture and Evolution Trendscited by 1
- 2026Novel Memory Forgetting Techniques for Autonomous AI Agents: Balancing Relevance and Efficiencycited by 1
- 2026A Blueprint for Equilibrium-Based Differentiable Continuous-Variable Thermodynamic Computingcited by 1
- 2025Enhancing Time-Series Anomaly Detection by Integrating Spectral-Residual Bottom-Up Attention with Reservoir Computingcited by 0
- 2025Attention via Synaptic Plasticity is All You Need: A Biologically Inspired Spiking Neuromorphic Transformercited by 0
- 2025Analog Physical Systems Can Exhibit Double Descentcited by 0
- 2026Integrated electro-optic attention nonlinearities for transformerscited by 0
- 2026A Fast and Energy-Efficient Latch-Based Memristive Analog Content-Addressable Memorycited by 0
- 2026Rethinking Neural Nonlinearity as Gatingcited by 0
- 2026Compute-in-Memory Attention: A Time-Domain Analog Softmax Circuit with RC-Tunable Temperaturecited by 0
- 2026Large language models in medical time series analysiscited by 0
- 2026Large language models in medical time series analysis7 Sep 2026
- 2026Compute-in-Memory Attention: A Time-Domain Analog Softmax Circuit with RC-Tunable Temperature2 Sep 2026
- 2026A Blueprint for Equilibrium-Based Differentiable Continuous-Variable Thermodynamic Computing17 Jul 2026
- 2026Rethinking Neural Nonlinearity as Gating3 Jul 2026
- 2026A Fast and Energy-Efficient Latch-Based Memristive Analog Content-Addressable Memory12 May 2026
- 2026Integrated electro-optic attention nonlinearities for transformers10 Apr 2026
- 2026Novel Memory Forgetting Techniques for Autonomous AI Agents: Balancing Relevance and Efficiency2 Apr 2026
- 2025Analog Physical Systems Can Exhibit Double Descent21 Nov 2025
- 2025Attention via Synaptic Plasticity is All You Need: A Biologically Inspired Spiking Neuromorphic Transformer18 Nov 2025
- 2025Enhancing Time-Series Anomaly Detection by Integrating Spectral-Residual Bottom-Up Attention with Reservoir Computing16 Oct 2025
- 2025AI Compute Architecture and Evolution Trends29 Aug 2025