mlsanityData to 14 Oct 2026

X-Former: In-Memory Acceleration of Transformers

arXiv 2303.07470 ↗First posted 13 Mar 2023cs.LG cs.ARcited by 25

Not on the map. Why?

Abstract (arXiv)

Transformers have achieved great success in a wide variety of natural language processing (NLP) tasks due to the attention mechanism, which assigns an importance score for every word relative to other words in a sequence. However, these models are very large, often reaching hundreds of billions of parameters, and therefore require a large number of DRAM accesses. Hence, traditional deep neural network (DNN) accelerators such as GPUs and TPUs face limitations in processing Transformers efficiently. In-memory accelerators based on non-volatile memory promise to be an effective solution to this challenge, since they provide high storage density while performing massively parallel matrix vector multiplications within memory arrays. However, attention score computations, which are frequently used in Transformers (unlike CNNs and RNNs), require matrix vector multiplications (MVM) where both operands change dynamically for each input. As a result, conventional NVM-based accelerators incur high write latency and write energy when used for Transformers, and further suffer from the low endurance of most NVM technologies. To address these challenges, we present X-Former, a hybrid in-memory hardware accelerator that consists of both NVM and CMOS processing elements to execute transformer workloads efficiently. To improve the hardware utilization of X-Former, we also propose a sequence blocking dataflow, which overlaps the computations of the two processing elements and reduces execution time. Across several benchmarks, we show that X-Former achieves upto 85x and 7.5x improvements in latency and energy over a NVIDIA GeForce GTX 1060 GPU and upto 10.7x and 4.6x improvements in latency and energy over a state-of-the-art in-memory NVM accelerator.

Key facts. Cited by 25 papers in the map (data through 14 Oct 2026). Builds on 17 of its 41 references that are in the map. First posted on arXiv 13 Mar 2023.

Builds on

17 of 41 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  6. 2020Efficient Transformers: A Surveycited by 790
  7. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
  8. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 234
  9. 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 106
  10. 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 101
  11. 2020EdgeBERT: Sentence-Level Energy Optimizations for Latency-Aware Multi-Task NLP Inferencecited by 70
  12. 2019PUMA: A Programmable Ultra-efficient Memristor-based Accelerator for Machine Learning Inferencecited by 61
5 more
  1. 2021Softermax: Hardware/Software Co-Design of an Efficient Softmax for Transformerscited by 54
  2. 2020Towards Fully 8-bit Integer Inference for the Transformer Modelcited by 35
  3. 2019PANTHER: A Programmable Architecture for Neural Network Training Harnessing Energy-efficient ReRAMcited by 17
  4. 2020PoWER-BERT: Accelerating BERT Inference via Progressive Word-vector Eliminationcited by 10
  5. 2020TxSim:Modeling Training of Deep Neural Networks on Resistive Crossbar Systemscited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 13; 2025: 9; 2026: 3.

25 papers.

Sort:

By area:

  1. 2024Mooncake: A KVCache-centric Disaggregated Architecture for LLM Servingcited by 196
  2. 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 23
  3. 2024A Survey on Hardware Accelerators for Large Language Modelscited by 16
  4. 2024Memory Is All You Need: An Overview of Compute-in-Memory Architectures for Accelerating Large Language Model Inferencecited by 15
  5. 2024Efficient Heterogeneous Large Language Model Decoding with Model-Attention Disaggregationcited by 12
  6. 2024Analog In-Memory Computing Attention Mechanism for Fast and Energy-Efficient Large Language Modelscited by 11
  7. 2025Low-Cost FlashAttention with Fused Exponential and Multiplication Hardware Operatorscited by 5
  8. 2024ClipFormer: Key-Value Clipping of Transformers on Memristive Crossbars for Write Noise Mitigationcited by 4
  9. 2024Hardware Acceleration of LLMs: A comprehensive survey and comparisoncited by 3
  10. 2024TReX- Reusing Vision Transformer's Attention for Efficient Xbar-based Computingcited by 2
  11. 2025Atleus: Accelerating Transformers on the Edge Enabled by 3D Heterogeneous Manycore Architecturescited by 2
  12. 2025HaLoRA: Hardware-aware Low-Rank Adaptation for Large Language Models Based on Hybrid Compute-in-Memory Architecturecited by 2
13 more
  1. 2025FLASH-D: FlashAttention with Hidden Softmax Divisioncited by 2
  2. 2024HeTraX: Energy Efficient 3D Heterogeneous Manycore Architecture for Transformer Accelerationcited by 1
  3. 2025PIM-LLM: A High-Throughput Hybrid PIM Architecture for 1-bit LLMscited by 1
  4. 2025AnalogNAS-Bench: A NAS Benchmark for Analog In-Memory Computingcited by 1
  5. 2024Comparative Evaluation of Memory Technologies for Synaptic Crossbar Arrays- Part 2: Design Knobs and DNN Accuracy Trendscited by 0
  6. 2024MICSim: A Modular Simulator for Mixed-signal Compute-in-Memory based AI Acceleratorcited by 0
  7. 2024FLARE: FP-Less PTQ and Low-ENOB ADC Based AMS-PiM for Error-Resilient, Fast, and Efficient Transformer Accelerationcited by 0
  8. 2025FAR: Function-preserving Attention Replacement for IMC-friendly Inferencecited by 0
  9. 2025HALO: Memory-Centric Heterogeneous Accelerator with 2.5D Integration for Low-Batch LLM Inferencecited by 0
  10. 2025Vectorized FlashAttention with Low-cost Exponential Computation in RISC-V Vector Processorscited by 0
  11. 2026EdgeCIM: A Hardware-Software Co-Design for CIM-Based Acceleration of Small Language Modelscited by 0
  12. 2026ThAME: 3D Memory-Enabled Heterogeneous Accelerator for LLM Mixture of Expertscited by 0
  13. 2026RED-PIM: Reducing Data Movement for Transformers using Processing-in-Memorycited by 0