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

EfQAT: An Efficient Framework for Quantization-Aware Training

Saleh Ashkboos, Bram Verhoef, Torsten Hoefler, Evangelos Eleftheriou, Martino DazziarXiv 2024 · DOI

Abstract

Deploying large-scale deep learning models necessitates quantization to reduce memory and computational overhead. However, a significant gap exists between fast but inaccurate Post-Training Quantization (PTQ) and accurate but computationally expensive Quantization-Aware Training (QAT). This paper introduces EfQAT (Efficient QAT), a framework that bridges this gap by selectively updating only the most critical network parameters during fine-tuning. By freezing the majority of the network in a hardware-friendly structured manner, EfQAT achieves near-full-precision accuracy with a 1.44x–1.64x speedup in the backward pass.

Introduction

As model sizes reach hundreds of billions of parameters, 4-bit or 8-bit integer quantization becomes essential for deployment. While PTQ offers a low-cost solution, it often suffers from substantial accuracy degradation at low bit-widths. Conversely, standard QAT recovers this accuracy but is hindered by a slow backward pass, which must be executed in full precision. EfQAT addresses this "efficiency vs. accuracy" trade-off by questioning the necessity of updating every weight during the fine-tuning process.

Methodology: Structured Weight Freezing

The core innovation of EfQAT is "surgical" fine-tuning. Rather than updating the entire model, EfQAT identifies and updates only the most "important" weights while keeping the rest frozen.

Importance Metric and Granularity

To maintain hardware efficiency, EfQAT employs structured freezing (e.g., entire channels or rows) rather than unstructured, random weight freezing. The importance of a block is determined by a magnitude-based metric: the average absolute value of the weights within that block. The framework supports three levels of granularity:

  1. Channel-Wise Per-Layer (CWPL): Freezes unimportant channels within each layer.
  2. Channel-Wise Per-Network (CWPN): Balances frozen channels across the entire model.
  3. Layer-Wise Per-Network (LWPN): Freezes entire layers deemed less critical.

Optimized Backward Pass

The efficiency gains of EfQAT stem from optimizing the backward pass. By freezing rows of weights, the corresponding gradient calculations can be bypassed or simplified through row extraction.

Figure 4: The EfQAT framework optimizes the backward pass by extracting only the unfrozen rows for gradient calculation, significantly reducing computational overhead.

To further reduce overhead, EfQAT uses an amortized selection strategy, updating the list of unfrozen parameters only every few thousand samples (e.g., 4096), as the relative importance of channels remains stable during fine-tuning.

Experimental Results

EfQAT was evaluated across diverse architectures and tasks, including ResNet-20 (CIFAR-10), ResNet-50 (ImageNet), and BERT-base (SQuAD v1.1).

Accuracy Recovery and Efficiency

A key finding is that updating only 5% to 25% of the network is sufficient to recover nearly all accuracy lost during quantization. For instance, on ImageNet with ResNet-50 (W4A8), PTQ accuracy drops to 61.18%. EfQAT recovers this to approximately 75.5% in a single epoch, nearing the full-precision baseline of 76.12%.

In terms of speed, EfQAT delivers a practical speedup of 1.44x to 1.64x on NVIDIA A100 and A10 GPUs. In NLP tasks, EfQAT improved the BERT F1 score on SQuAD by roughly 6 points over PTQ while updating only a small fraction of weights.

Discussion and Limitations

While EfQAT significantly accelerates QAT, several challenges remain. The practical speedup is currently constrained by data movement overhead associated with extracting specific rows or channels. Furthermore, while linear and convolutional layers are optimized, non-linear operations like LayerNorm in Transformers still represent a bottleneck, potentially requiring techniques like kernel fusion for further gains. Finally, the gap between EfQAT and full QAT may widen in extreme low-bit scenarios (e.g., 2-bit quantization), which may necessitate more extensive weight updates.

Conclusion

EfQAT demonstrates that full-network updates are often redundant for recovering quantization errors. By focusing computational resources on a small subset of critical parameters, EfQAT provides a practical and efficient path for deploying high-performance quantized models.

Summary updated

BibTeX
@misc{ashkboos2024efqat,
  author = {Saleh Ashkboos and Bram Verhoef and Torsten Hoefler and Evangelos Eleftheriou and Martino Dazzi},
  title = {{EfQAT: An Efficient Framework for Quantization-Aware Training}},
  year = {2024},
  eprint = {2411.11038},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.11038},
}
Figure