Abstract
As Large Language Models (LLMs) scale, their computational and memory demands become prohibitive, necessitating efficient quantization. This paper introduces Extendable Exponent Sharing (EES), a novel quantization format that widens the dynamic range of Block Floating Point (BFP) representations without increasing storage costs. By embedding extendable exponent bits into the least significant bits of mantissas, EES effectively handles extreme outliers. Experimental results across various LLM families demonstrate that EES achieves up to a 1.38× improvement in energy efficiency and superior accuracy over existing low-bit baselines.
The Challenge of Outliers in LLMs
Quantization is the standard solution for reducing the precision of weights and activations in LLMs. Block Floating Point (BFP) is particularly popular as it shares a single exponent across a block of numbers, combining hardware efficiency with dynamic range. However, low-bit BFP (e.g., 4-bit) faces a "bottleneck of the narrow exponent."
LLMs are notorious for having extreme outliers—values orders of magnitude larger than the mean. In standard BFP, if the shared exponent is too small, these outliers overflow; if it is too large, the precision of smaller numbers is destroyed. Existing fixes often require extra "flag bits" or complex hardware, increasing overhead.
Extendable Exponent Sharing (EES)
The authors propose EES to expand the shared exponent's bit-width without adding to the total storage footprint.
Core Methodology
- Bit Embedding: The key insight is that the least significant bits (LSB) of a mantissa have a negligible impact on model accuracy. EES embeds "extendable exponent bits" into these LSBs within a block.
- Dynamic Range Expansion: These embedded bits combine with the original shared exponent to create a wider dynamic range, capturing outliers that typically cause accuracy degradation.
- Design Space Exploration: An optimization strategy finds the optimal balance between mantissa precision and exponent range using a balancing factor ($\alpha$) to weigh accuracy against energy efficiency.
- Hardware Architecture: The design includes specialized Decoders (Dc) and Encoders (Ec) for bit-shuffling and a Processing Element (PE) array optimized for EES-based matrix multiplication.
Experimental Evaluation
The researchers evaluated EES across prominent LLM families including OPT, Llama2, Llama3.1, and DeepSeek-R1-Distill on benchmarks like Hellaswag, ARC_challenge, and LAMBADA.
Key Insights
- The "Expendable" LSB: Sacrificing the last bit of a mantissa for a wider exponent range is a winning trade. Removing the embedding operation (keeping extra bits) only improves accuracy by 0.12% but significantly increases storage overhead.
- Outlier Resilience: By widening the exponent's "viewing window," EES prevents massive quantization errors from clipping or overflow, the primary cause of performance collapse in 4-bit models.
Results
- Accuracy: EES consistently outperformed baselines like Tender, FINGA, and BiE. For Llama3.1-8B on Hellaswag, EES achieved 51.73% accuracy, surpassing BiE (51.18%).
- Hardware Efficiency: Compared to FP16, EES achieved a 13.6× improvement in energy efficiency, a 3.6× increase in throughput, and a 16.7× improvement in area efficiency.
- Energy vs. Accuracy: EES delivered up to a 1.38× energy efficiency boost over cutting-edge BFP techniques while maintaining or improving accuracy by up to 0.36%.
Limitations and Future Work
While effective, embedding bits into the mantissa introduces minimal replacement errors. The authors suggest that per-layer optimization could further improve results, though it increases search complexity. Additionally, realizing these gains requires custom-designed hardware (ASICs/FPGAs) as standard GPUs do not natively support this specific bit-shuffling mechanism.
Summary updated