mlsanityData to 7 Oct 2026

Analog In-Memory Computing Attention Mechanism for Fast and Energy-Efficient Large Language Models

arXiv 2409.19315 ↗First posted 28 Sep 2024cs.NE cs.AI cs.ARcited by 11

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  4. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  6. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2023Mistral 7Bcited by 3,065
  9. 2016Pointer Sentinel Mixture Modelscited by 2,992
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  11. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  12. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
20 more
  1. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  2. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  3. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  4. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  5. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
  6. 2022Efficiently Scaling Transformer Inferencecited by 529
  7. 2021A Survey of Transformerscited by 399
  8. 2024xLSTM: Extended Long Short-Term Memorycited by 320
  9. 2019WinoGrande: An Adversarial Winograd Schema Challenge at Scalecited by 194
  10. 2022Mega: Moving Average Equipped Gated Attentioncited by 178
  11. 2015All you need is a good initcited by 124
  12. 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 124
  13. 2024Theory, Analysis, and Best Practices for Sigmoid Self-Attentioncited by 62
  14. 2024Palu: Compressing KV-Cache with Low-Rank Projectioncited by 59
  15. 2024Challenges in Deploying Long-Context Transformers: A Theoretical Peak Performance Analysiscited by 44
  16. 2023State-space Models with Layer-wise Nonlinearity are Universal Approximators with Exponential Decaying Memorycited by 38
  17. 2023X-Former: In-Memory Acceleration of Transformerscited by 25
  18. 2024Memory Is All You Need: An Overview of Compute-in-Memory Architectures for Accelerating Large Language Model Inferencecited by 14
  19. 2024Neuromorphic hardware for sustainable AI data centerscited by 6
  20. 2024ClipFormer: Key-Value Clipping of Transformers on Memristive Crossbars for Write Noise Mitigationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 7.

11 papers.