[Paper Review] Enhancing Post-Training Quantization via Future Activation Awareness
FAQ introduces future-layer activation awareness with a window-wise preview to guide PTQ, reducing bias and error accumulation and achieving consistent gains over baselines with negligible overhead.
Post-training quantization (PTQ) is a widely used method to compress large language models (LLMs) without fine-tuning. It typically sets quantization hyperparameters (e.g., scaling factors) based on current-layer activations. Although this method is efficient, it suffers from quantization bias and error accumulation, resulting in suboptimal and unstable quantization, especially when the calibration data is biased. To overcome these issues, we propose Future-Aware Quantization (FAQ), which leverages future-layer activations to guide quantization. This allows better identification and preservation of important weights, while reducing sensitivity to calibration noise. We further introduce a window-wise preview mechanism to softly aggregate multiple future-layer activations, mitigating over-reliance on any single layer. To avoid expensive greedy search, we use a pre-searched configuration to minimize overhead. Experiments show that FAQ consistently outperforms prior methods with negligible extra cost, requiring no backward passes, data reconstruction, or tuning, making it well-suited for edge deployment.
Motivation & Objective
- Motivate improved PTQ for large language models by addressing quantization bias and error accumulation.
- Propose Future-Aware Quantization (FAQ) that uses future-layer activations to guide per-layer quantization scales.
- Introduce a lightweight window-wise preview and a pre-searched configuration to reduce overhead.
- Provide theoretical justification for FAQ and demonstrate robustness across model sizes and architectures.
Proposed method
- Define and compute a future-aware base scale using fused current and preview activations.
- Incorporate a window-wise preview to softly aggregate activations from multiple future layers.
- Introduce a pre-searched configuration to avoid costly greedy hyperparameter search during calibration.
- Formulate the loss for FAQ as the reconstruction error with quantized weights using s_i^* = c_i * s_i.
- Provide a theoretical claim that FAQ reduces quantization error compared to AWQ under stated assumptions.
Experimental results
Research questions
- RQ1Can future-layer activations guide quantization to reduce bias and error accumulation in PTQ?
- RQ2Does a window-wise preview stabilize quantization and reduce sensitivity to calibration noise?
- RQ3Is FAQ robust to calibration data bias and adaptable across model sizes and architectures?
- RQ4What is the computational overhead of FAQ compared to standard PTQ baselines?
Key findings
- FAQ consistently outperforms RTN and AWQ across multiple open-source LLMs and tasks.
- The method yields larger relative gains at lower bit-widths (e.g., 3-bit) where quantization noise is higher.
- FAQ demonstrates robustness to calibration data bias, showing lower variance across sampling settings.
- Using a window of future activations and fusion parameter gamma, FAQ achieves improvements with negligible extra cost and no backward passes or data reconstruction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.