[论文解读] 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.
研究动机与目标
- 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.
提出的方法
- 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.
实验结果
研究问题
- 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?
主要发现
- 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.
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。