TL;DR
Standard post-training quantization methods often inadvertently erase the subtle, low-magnitude weight updates ($\Delta W$) introduced during fine-tuning, destroying specialized behaviors like persona or style. Delta-Aware Quantization (DAQ) solves this by replacing traditional reconstruction-loss objectives with data-free, delta-aware metrics (Sign Preservation Rate and Cosine Similarity) that explicitly protect the direction and fidelity of these fine-tuning updates.
What Problem Does This Paper Address?
When a Large Language Model (LLM) undergoes Supervised Fine-Tuning (SFT) or alignment (RLHF/DPO), the resulting parameter changes relative to the base model—the "delta" ($\Delta W$)—are typically very small in magnitude but semantically massive. They contain the instructions, safety guards, and stylistic nuances learned during post-training.
Standard Post-Training Quantization (PTQ) techniques optimize for reconstruction error (like Mean Squared Error, or MSE) between the original and quantized weights. However, because MSE is agnostic to the base model, it treats these tiny fine-tuning updates as "noise" to be smoothed out.
For example, if a base weight is $5.0$ and fine-tuning shifts it to $5.3$ ($\Delta W = 0.3$), quantizing to the nearest integer yields $5.0$. This minimizes MSE but completely wipes out the fine-tuning signal ($\Delta W_{quant} = 0$). To keep the update, it would have to round to $6.0$, which incurs a much higher MSE penalty. Consequently, standard quantization acts as a destructive regularizer, regressing the model back toward its un-fine-tuned base behavior.
Methods
DAQ introduces a data-free quantization framework that shifts the optimization target from reconstructing the absolute weights to preserving the directional fidelity of the post-training delta.
The framework defines the post-training delta and its quantized counterpart as: $$\Delta W_{post} = W_{post} - W_{base}$$ $$\Delta W_{quant} = Q_\theta(W_{post}) - W_{base}$$
Instead of minimizing MSE, DAQ optimizes the quantization scaling factor ($s$) using a coarse-to-fine search strategy guided by two novel delta-aware metrics:
- Sign Preservation Rate (SignRate): A binary metric measuring how often the quantized delta maintains the same sign (direction) as the original delta.
- Cosine Similarity (CosSim): A richer metric measuring the directional alignment and relative magnitude between the original and quantized delta vectors.
Because DAQ only requires the base and post-trained weight matrices, it is entirely data-free—requiring no calibration data, activation statistics, or Hessian estimations.
Datasets
The authors evaluated DAQ using DeepSeek-V3 as the base model. To create a controlled testbed for style preservation, they post-trained the model via SFT on a toy dataset consisting of stylized conversational dialogues. This dataset imparts a highly distinctive response style to the model, which is encoded entirely within small-magnitude parameter updates.
Key Insights and Ideas
- MSE Optimization Actively Harms Alignment: The authors mathematically demonstrate that optimizing the MSE of the delta is identical to optimizing standard weight MSE. It completely ignores the base model, leading scale searches to actively suppress fine-tuning information to minimize overall distance.
- Quantization as Destructive Regularization: While quantization noise can sometimes act as a helpful regularizer during training, in post-training compression it acts as an asymmetric hammer—large base-model components easily resist the noise, while small $\Delta W$ components are disproportionately wiped out.
- Complementary Metrics: The Sign Preservation metric achieves higher peak style scores but behaves non-monotonically across search ranges. Conversely, Cosine Similarity provides stable, near-monotonic improvements, suggesting a hybrid approach might be ideal for future implementations.
Key Results
The models were evaluated on a rubric scale of [0, 2] across two categories: Style (capturing the SFT-specific dialogue behavior) and General (measuring broad capabilities like accuracy and word count compliance).
- The Baseline Failure: Standard AbsMax FP8 quantization severely degraded the Style score from the unquantized BF16 baseline of $1.709$ down to $1.081$ (block-wise). Advanced PTQ methods like SmoothQuant and AWQ only partially mitigated this drop.
- The MSE Disaster: Running a scale search using traditional MSE caused the Style score to crater even further—down to $0.260$, effectively resetting the model back to the base model's behavior ($0.215$).
- DAQ Recovery: Optimizing with DAQ's delta-aware metrics successfully rescued the model's specialized behavior. DAQ with the Sign metric achieved a Style score of $1.718$ (block-wise), while the Cosine metric reached $1.726$ (per-channel), all while maintaining general capabilities on par with the original model.
| DAQ with Sign Metric | DAQ with Cosine Metric |
|---|---|
| DAQ Sign metric results. | DAQ Cosine metric results. |
Limitations and Future Work
- Small Delta Assumption: DAQ assumes $\Delta W$ is relatively small. If a model undergoes massive full retraining or extensive fine-tuning, the sign and cosine metrics may become less informative. The authors suggest using intermediate training checkpoints as a reference base to circumvent this.
- Scope of Study: The pilot study was restricted to FP8 (E4M3) quantization on a single model family. Future work needs to explore lower bit-widths (e.g., INT4, INT3) where quantization noise is significantly more destructive.
- Search Optimization: The current implementation relies on a simple grid search for scale factors. Integrating DAQ's metrics with more sophisticated primitives—like learned rounding, mixed-precision allocation, or asymmetric zero-points—remains an open and promising direction.
Summary updated