LAMP: Look-Ahead Mixed-Precision Inference of Large Language Models
Not on the map. Why?
Abstract (arXiv)
Mixed-precision computations are a hallmark of the current stage of AI, driving the progress in large language models towards efficient, locally deployable solutions. This article addresses the floating-point computation of compositionally-rich functions, concentrating on transformer inference. Based on the rounding error analysis of a composition f(g(x)), we provide an adaptive strategy that selects a small subset of components of g(x) to be computed more accurately while all other computations can be carried out with lower accuracy. We then explain how this strategy can be applied to different compositions within a transformer and illustrate its overall effect on transformer inference. We study the effectiveness of this algorithm numerically on GPT-2 models and demonstrate that already very low recomputation rates allow for improvements of up to two orders of magnitude in accuracy.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 21 of its 34 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
21 of 34 references.
References · 21
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2016Layer Normalizationcited by 5,669
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2020Reformer: The Efficient Transformercited by 1,668
- 2019Root Mean Square Layer Normalizationcited by 1,480
9 more
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
- 2017Mixed Precision Trainingcited by 1,156
- 2020On Layer Normalization in the Transformer Architecturecited by 922
- 2015Deep Learning with Limited Numerical Precisioncited by 376
- 20242 OLMo 2 Furiouscited by 340
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
- 2025Numerical stability analysis of large language modelscited by 9
- 2025Mixed precision accumulation for neural network inference guided by componentwise forward error analysiscited by 6
Built on by
Citing papers per year: 2026: 1.
1 paper.