mlsanityData to 14 Oct 2026

Addition is All You Need for Energy-efficient Language Models

arXiv 2410.00907 ↗First posted 1 Oct 2024cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Large neural networks spend most computation on floating point tensor multiplications. In this work, we find that a floating point multiplier can be approximated by one integer adder with high precision. We propose the linear-complexity multiplication L-Mul algorithm that approximates floating point number multiplication with integer addition operations. The new algorithm costs significantly less computation resource than 8-bit floating point multiplication but achieves higher precision. Compared to 8-bit floating point multiplications, the proposed method achieves higher precision but consumes significantly less bit-level computation. Since multiplying floating point numbers requires substantially higher energy compared to integer addition operations, applying the L-Mul operation in tensor processing hardware can potentially reduce 95% energy cost by element-wise floating point tensor multiplications and 80% energy cost of dot products. We calculated the theoretical error expectation of L-Mul, and evaluated the algorithm on a wide range of textual, visual, and symbolic tasks, including natural language understanding, structural reasoning, mathematics, and commonsense question answering. Our numerical analysis experiments agree with the theoretical error estimation, which indicates that L-Mul with 4-bit mantissa achieves comparable precision as float8_e4m3 multiplications, and L-Mul with 3-bit mantissa outperforms float8_e5m2. Evaluation results on popular benchmarks show that directly applying L-Mul to the attention mechanism is almost lossless. We further show that replacing all floating point multiplications with 3-bit mantissa L-Mul in a transformer model achieves equivalent precision as using float8_e4m3 as accumulation precision in both fine-tuning and inference.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 28 of its 39 references that are in the map. First posted on arXiv 1 Oct 2024.

Builds on

28 of 39 references.

References · 28

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2024The Llama 3 Herd of Modelscited by 14,715
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  7. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  8. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  9. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  10. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  11. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  12. 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
16 more
  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  2. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  3. 2023Mistral 7Bcited by 3,164
  4. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  6. 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,516
  7. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
  8. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  9. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
  10. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
  11. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  12. 2019Towards VQA Models That Can Readcited by 1,718
  13. 2018VizWiz Grand Challenge: Answering Visual Questions from Blind Peoplecited by 858
  14. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
  15. 2019Structured Pruning of Large Language Modelscited by 203
  16. 2018Complex Sequential Question Answering: Towards Learning to Converse Over Linked Question Answer Pairs with a Knowledge Graphcited by 67

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 4.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Efficient numeracy in language models through single-token number embeddings
  2. 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks
  3. 2024LUT Tensor Core: A Software-Hardware Co-Design for LUT-Based Low-Bit LLM Inference
  4. 2025FALQON: Accelerating LoRA Fine-tuning with Low-Bit Floating-Point Arithmetic
  5. 2025Bitwidth-Specific Logarithmic Arithmetic for Future Hardware-Accelerated Training
  6. 2023Frugal LMs Trained to Invoke Symbolic Solvers Achieve Parameter-Efficient Arithmetic Reasoning
  7. 2025APT-LLM: Exploiting Arbitrary-Precision Tensor Core Computing for LLM Acceleration
  8. 2024Tender: Accelerating Large Language Models via Tensor Decomposition and Runtime Requantization