Jacobian-guided Noise Injection for Quantization Robustness in Large Language Models

📅 2026-08-21
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文针对大型语言模型量化时自注意力机制对离散化误差敏感的问题,提出了一种基于雅可比矩阵指导的噪声注入训练策略,以提高模型在低比特量化设置下的鲁棒性。
📝 Abstract
Quantization of Large Language Models (LLMs) is often hindered by the sensitivity of the self-attention mechanism to discretization errors. We identify the softmax operator as a bottleneck for quantization stability due to its sensitivity to outliers and state-dependent Jacobian. We theoretically establish that suppressing the norm of this Jacobian helps in bounding quantization-induced performance degradation. Based on this, we propose Jacobian-Guided Noise Injection, a training strategy that injects zero-mean Gaussian noise into pre-attention logits, with variance derived directly from the Jacobian Frobenius norm. Unlike prior approaches that rely on heuristic or penalise jacobian directly, our method provides a way to identify the optimal noise variance based on the local attention sensitivity. We evaluate the method on SOTA LLM architectures, where it demonstrates improved robustness over popular PTQ methods. Empirical analysis reveals that the proposed method gives up to +37% relative gains on Top-1 accuracy on ImageNet-1K for SigLIP and improves relative perplexity by upto 40% on WikiText for language models in low bit quantisation settings, proving the efficacy of the approach.
Problem

Research questions and friction points this paper is trying to address.

Quantization
Large Language Models
Self-attention mechanism
Softmax operator
Jacobian
Innovation

Methods, ideas, or system contributions that make the work stand out.

Jacobian-Guided Noise Injection
Quantization Robustness
Large Language Models
Softmax Operator
Attention Sensitivity
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.