NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accumulator-Aware Post-Training Quantization for Large Language Models

Ian Colbert, Giuseppe Franco, Fabian Grob, Jinjie Zhang, Rayan Saab

TL;DR

This paper introduces AXE, the first framework for "accumulator-aware" post-training quantization (PTQ) that guarantees overflow avoidance. AXE enables significant power and performance improvements in large language models (LLMs) by allowing lower-precision accumulation, a crucial step as addition costs become a bottleneck in modern hardware.

What Problem Does This Paper Address?

As we push for more efficient AI models, we quantize weights and activations to use lower-precision data types. This drastically speeds up multiplications in MAC units. However, the accumulation step (summing up the results of multiplications) often still uses high precision (e.g., 32 bits). This means that as weights and activations get even lower precision (e.g., 4-bit), the cost of the addition part of the MAC operation starts to dominate, limiting further efficiency gains.

Existing research on "accumulator-aware" quantization, which aims to reduce this addition cost, has primarily focused on Quantization-Aware Training (QAT). QAT requires extensive training or fine-tuning, which is becoming prohibitively expensive for massive LLMs. This paper addresses the gap by developing an accumulator-aware approach specifically for Post-Training Quantization (PTQ), where pre-trained models are quantized without retraining. A key challenge in PTQ is preventing overflow errors that can degrade model accuracy, especially when reducing accumulator precision.

Methods

The core contribution is AXE (Accumulator-Aware Quantization Framework). AXE is designed to be a flexible framework that can be integrated with existing PTQ algorithms. It introduces theoretical guarantees for overflow avoidance by constraining the L1-norm of the quantized weights. This constraint ensures that the intermediate sums during accumulation remain within acceptable bounds, even with reduced accumulator bit widths.

AXE is presented as a composition of functions that, at each step of a layerwise PTQ algorithm, first project the weights onto an L1-norm ball and then clip them to a specific range. This process is applied greedily to correct quantization errors while maintaining the accumulator-aware constraints. The authors demonstrate AXE's flexibility by implementing it on top of two popular PTQ algorithms: GPFQ (Greedy Post-training Quantization) and OPTQ (Optimized Post-Training Quantization).

A significant innovation is AXE's support for multi-stage accumulation. This allows for optimizing the entire datapath, not just individual MAC units, by breaking down large dot products into smaller, manageable tiles. This is crucial for scaling to LLMs with very long sequences.

Datasets

The paper uses the WikiText2 dataset for calibration and evaluation of language generation models. They also evaluate on several LLM benchmarks for zero-shot reasoning tasks, including ARC-challenge, HellaSwag, PIQA, and Winogrande, using the LightEval framework.

Key Insights and Ideas

  • Addition is the New Bottleneck: The paper provides strong evidence (using a bit operations cost model) that as operand precision (weights/activations) decreases, the cost of additions in MAC units becomes the dominant factor, not multiplications. This shifts the focus of quantization research.
  • PTQ for Accumulator Awareness: Bridging the gap between accumulator-aware quantization and the practical need for efficient PTQ is critical. AXE achieves this by providing overflow guarantees without the need for retraining.
  • Multi-Stage Accumulation is Key for LLMs: For massive LLMs with extremely long sequences, monolithic accumulation is insufficient. AXE's ability to support multi-stage accumulation is essential for scaling these efficiency gains to the largest models.
  • Theoretical Guarantees Matter: Unlike empirical approaches, AXE's theoretical framework for overflow avoidance provides robustness and reliability, especially important for critical applications.

Key Results

  • When quantizing Llama3 8B for a 16-bit multi-stage accumulation datapath, AXE maintains up to 98% of the FP16 perplexity.
  • This performance surpasses naïve bit width manipulation by up to 15%, demonstrating the effectiveness of accumulator-aware constraints.
  • AXE establishes a Pareto-dominant frontier in the trade-off between accumulator bit width and model quality, offering better accuracy for lower power consumption.
  • In scaling analysis on Pythia models, AXE preserves 99% of the relative perplexity for 16-bit constrained models compared to 32-bit baselines as model size increases, showing significant improvement over previous methods.
  • For Llama3, AXE preserves up to 95% of the FP16 zero-shot performance and 99% of the 32-bit baselines, outperforming bit width manipulation by up to 3%.

Limitations and Future Work

  • Scalability to Width: The paper notes that while AXE scales well with depth, its L1-norm constraint might scale poorly with width in transformer architectures. The multi-stage accumulation approach is presented as a solution to this.
  • Activation Quantization: AXE's theoretical guarantees often rely on quantizing activations to bound their L-infinity norm. While this is a common practice, it's an additional step.
  • Future Work: The authors suggest that AXE's framework can be extended to other layerwise PTQ algorithms and that further exploration of multi-stage accumulation strategies could unlock even greater efficiency. They also highlight the potential for AXE to enable more aggressive quantization schemes in the future.

Summary updated

BibTeX
@article{colbert2025accumulator,
  author = {Ian Colbert and Giuseppe Franco and Fabian Grob and Jinjie Zhang and Rayan Saab},
  title = {{Accumulator-Aware Post-Training Quantization for Large Language Models}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=p6l0579yj7},
}
Figure