Addition is All You Need for Energy-efficient Language Models
Summary
arXiv 2410.00907 (v2): proposes linear-complexity multiplication (L-Mul) approximating floating-point multiplication via integer addition. Claims ~95% energy reduction for element-wise FP tensor multiplies and ~80% for dot products vs conventional FP mul on specialized hardware; L-Mul with 4-bit mantissa comparable to float8_e4m3; attention application nearly lossless. Matches Discord/decrypt note (addition mimicking multiplication; 95% energy).
- Venue
- arXiv 2410.00907
- Publisher
- arXiv 2410.00907
- Source
- arxiv
- Access
- open arXiv PDF/abs
- Language
- en
- Purpose
- Approximate FP tensor multiplications with integer addition (L-Mul) for large energy savings
- Domain
- energy-efficient LLM compute; approximate floating-point multiplication; L-Mul
- Used for
- hardware-aware LLM efficiency; attention/matmul approximation research
- Time period
- arXiv 2024-10-01 (v2 2024-10-02); Discord mid Oct 2024
- Author type
- academic
- Added
- Sep 14, 2026
- Verified
- Sep 17, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Oct 1, 2024
- Last revised
- Oct 2, 2024
- arXiv categories
- cs.CL
- Citations
- 16 (2 influential)
- References
- 39
Abstract (from 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.
Tags
Topics
energy-efficient LLM compute; approximate floating-point multiplication; L-Mul
Research notes
- Mapped from Discord decrypt.co energy story + description. Primary: arXiv abs 2410.00907. Alt Discord mid 1301957159575359610 (#random-papers; L-Mul / addition-as-multiply energy mention; jump https://discord.com/channels/1295744148930039949/1295744642498953310/1301957159575359610).
Similar entries
- Model Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making
- Paper Towards Looped Models Done Right — Part II: Rethinking at Fixed Points
- Paper Pretraining Large Language Models with NVFP4
- Paper ALoDLM: Adaptively Looped Diffusion Language Models
- Paper AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
- Paper How Depth Growth and Looping Shape In-Context Learning in Language Models