Alignment Collapse Under KV Cache Quantization: Diagnosis and Mitigation
Bruce Changlong Xu, Adarsh Kumarappan, Mu Zhou
NeurIPS 2026
TL;DR. KV cache quantization can silently break LLM safety alignment despite normal perplexity; we diagnose the geometric failure mode and propose PCR, a training-free mitigation protocol recovering up to 97% of lost refusals.
Abstract. Key--value (KV) cache quantization is widely used to reduce Large Language Model (LLM) inference memory, yet existing evaluations solely focus on measuring perplexity and accuracy without assessing the safety impact. In this study, we explore alignment preservation under KV cache quantization. Across eleven instruction-tuned models (3.8B--72B) and five benchmarks (1,894 prompts), we find that low-bit quantization can silently destroy safety alignment (Mistral-7B loses 15.2% of its refusals at only perplexity, and no universal safe bit-width exists), with sharp model-specific phase transitions invisible to standard metrics. We identify that the root cause is geometric: safety features occupy a low-dimensional activation subspace - more vulnerable to quantization noise than the full representation space perplexity averages over. Inspired by this observation, we propose Per-Channel Reduction (PCR), a diagnostic that classifies each model into one of three mechanistic failure modes: (i) outlier-crushes-safety, where safety lives in non-outlier channels collaterally damaged by outlier-driven scale factors; (ii) outlier-as-safety, where safety overlaps outlier channels and finer granularity cannot rescue it; (iii) multi-layer dilution, where safety is distributed across many layers and per-layer fixes fail. PCR predicts the correct mitigation direction on all nine primary models and one held-out model from an independent family (20 calibration prompts). PCR generalizes across unseen prompts, models, and quantizer families, including production quantizers (KIVI: up to 97.2% recovery) and rotation-based quantization (QuaRot-style Hadamard), succeeding where attention-based allocation methods fail. The resulting training-free protocol ( GPU-minutes) recovers up to 97% of lost alignment at under 1% latency and minimal memory overhead, addressing vulnerabilities confirmed in production vLLM serving with FP8 KV cache on NVIDIA GPUs.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper addresses an underexplored problem: as Reviewer 1Uhi notes, safety degradation under weight quantization has been well studied, but KV cache quantization appears unexamined — a gap that matters as cache compression becomes standard in serving.
The PCR diagnostic, along with the analysis and experimental setup, is sound and coherent, and the empirical validation is thorough (eleven models, five benchmarks, real-dtype and production vLLM confirmation).
Reviewers raised two concerns: generalization to other quantization methods, with all three requesting a rotation-based or vector quantizer, and consistency of PCR and the identified safety layers across benchmarks and calibration subsets.
Overall I believe this paper offers an important step, framing alignment preservation as a first-class evaluation axis for KV cache compression.
Read meta-review
Meta-review
This paper addresses an underexplored problem: as Reviewer 1Uhi notes, safety degradation under weight quantization has been well studied, but KV cache quantization appears unexamined — a gap that matters as cache compression becomes standard in serving.
The PCR diagnostic, along with the analysis and experimental setup, is sound and coherent, and the empirical validation is thorough (eleven models, five benchmarks, real-dtype and production vLLM confirmation).
Reviewers raised two concerns: generalization to other quantization methods, with all three requesting a rotation-based or vector quantizer, and consistency of PCR and the identified safety layers across benchmarks and calibration subsets.
Overall I believe this paper offers an important step, framing alignment preservation as a first-class evaluation axis for KV cache compression.
1 comment
- Rating
- 2/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies whether KV-cache quantization preserves LLM safety behavior. It shows that low-bit KV quantization can make aligned models might comply with harmful prompts even when perplexity looks normal. The authors test 11 instruction-tuned models across five benchmarks and find sharp, model-specific collapse points. They propose PCR, a training-free diagnostic technique, that guides mitigations such as FP16 layer protection or Group-64 quantization, recovering up to 97% of lost refusals in their experiments.
Strengths and weaknesses
The paper is important because KV-cache compression is common in serving, and the safety failure is easy to miss with standard metrics. The empirical quality is strong. The authors test many models, several safety benchmarks, system prompts, etc. The ConditionalFlip metric is also useful because it measures loss of refusals relative to the FP16 model.
The main weakness is that the mechanistic claim is stronger than the evidence. PCR is a useful diagnostic, but the paper mostly infers the safety geometry from ablations. It does not fully prove that the identified channels are the causal safety subspace. PCR also predicts direction better than magnitude. For example, the appendix notes intermediate cases where recovery ordering is not monotonic, such as DeepSeek under KIVI at 2-bit.
The paper is mostly clear, but it is dense. The shift between per-tensor diagnostic quantization, per-token deployment quantization, Group-64, and KIVI takes work to follow. The calibration story also needs more stress testing. The default 20-prompt PCR estimate fails for some cases and must be increased, so the thresholds may be tuned to this model set. More closed models, non-English prompts, and stronger quantization baselines would make the generality clearer.
Overall, the work is original in framing alignment preservation as a first-class KV-cache quantization metric and in proposing PCR as a practical audit. The contribution is not a new quantizer. Its value is the diagnosis, the evidence that perplexity is insufficient, and the mitigation protocol.
Questions
-
How stable is PCR with only 20 calibration prompts? Please report variance over several random 20-prompt subsets.
-
Are garbled outputs hiding unsafe behavior? The current labels treat nonsensical outputs as refusals.
-
How much real serving cost do the mitigations add? Please include latency and metadata overhead, not only memory overhead. My score would increase if the protocol remains cheap in vLLM-like serving.
-
Can the authors test one more practical quantizer or rotation-based method?
Limitations
The paper discusses key limits, especially that PCR predicts direction better than magnitude. I personally would add three points:
-
Report PCR stability across random calibration subsets, not only the fixed 20-prompt set.
-
Clarify that the thresholds may be tuned to the tested model families and quantizers.
-
Separate refusal, compliance, and garbled output.
Formatting concerns
No and I also do not find any anonymity issue.
4 comments
Rebuttal
Thank you. We address all four questions and the additional concerns with new evidence.
Question 1: "How stable is PCR with only 20 calibration prompts? Please report variance over several random 20-prompt subsets."
The strongest evidence for PCR stability is cross-distribution generalization: PCR calibrated on 20 prompts correctly predicts mitigation direction on 200 unseen AdvBench prompts across all 10 tested models (Table 42), on a held-out model family (OLMo-2, Appendix E: 97.2% recovery), and under two unseen quantizers (KIVI, Table 61; rotation, Table R3 below).
To directly address the reviewer's request, we drew B=1,000 bootstrap subsets of N=20 from AdvBench baseline refusals and recomputed PCR at each model's critical layer:
Table R1: PCR bootstrap stability (B=1,000 subsets of N=20).
| Model | Crit-layer flip | % undefined | Median PCR [5-95%] | Full-sample PCR |
|---|---|---|---|---|
| Qwen-2.5-7B (L0) | 82.9% | 0.0% | 75.0% [53.8-89.5] | 74.2% |
| Mistral-7B (L3) | 22.3% | 1.2% | 66.7% [0.0-100.0] | 64.4% |
| DeepSeek-7B (L1) | 21.1% | 0.4% | 100.0% [80.0-100.0] | 98.1% |
| LLaMA-3.1-8B (L3) | 3.1% | 54.3% | 100.0% [0.0-100.0] | 73.3% |
| Gemma-2-9B (L1) | 0.2% | 95.8% | 100.0% [100.0-100.0] | 100.0% |
For the three models whose critical layer produces a meaningful number of flips, the 20-prompt median closely reproduces the full-sample PCR (within 3 percentages in all three cases). The interval is nonetheless wide in the moderate-flip range: Mistral yields roughly 4.5 expected flips per subset, so individual draws vary substantially even though the median is accurate. For LLaMA and Gemma the ratio is undefined in most subsets, because the denominator (the per-tensor flip count at the critical layer) is the damage PCR is measuring, and these models have almost none of it (0.8% and 0.2% ConditionalFlip at 4-bit, Table 14). Step 1 of the protocol measures that flip rate before PCR is computed, so the low-vulnerability determination does not depend on the PCR estimate. In the revision we will attach bootstrap confidence intervals to PCR estimates, generalizing the zero-flip escalation rule already in Appendix A.7.
On tuning to the tested model families. The bin boundaries follow from the channel-geometry bound (Proposition 1) rather than being fit to our results. Two validations lie entirely outside the development set: OLMo-2 (Appendix E), an unseen model family, and Hadamard rotation (Table R3 below), a quantizer family never used during calibration. Both yield correct prescriptions without modification.
On additional evaluation axes. We believe the rotation results (Table R3 below) address this: PCR correctly predicts outcomes across three quantizer families. Regarding closed-source models, KV cache quantization requires control of the inference stack, which is not available through API access. Regarding non-English prompts, PCR measures activation geometry rather than input features, so we expect it to transfer.
Question 2: "Are garbled outputs hiding unsafe behavior?"
We computed per-response perplexity under the FP16 model for all AdvBench responses (N=520) at each model's collapse bit-width:
Table R2: Coherence analysis of alignment flips.
| Model | Bits | Total Flips | % Coherent (PPL<50) | Median Flip PPL |
|---|---|---|---|---|
| Qwen-2.5-7B | 4 | 470 | 96.6% | 6.3 |
| Qwen-2.5-7B | 2 | 491 | 100.0% | 4.8 |
| Mistral-7B | 4 | 42 | 100.0% | 2.0 |
| Mistral-7B | 2 | 262 | 100.0% | 2.3 |
| Gemma-2-9B | 4 | 0 | - (no flips) | - |
| Gemma-2-9B | 2 | 486 | 39.9% | 194.6 |
At 4-bit, 96.6-100% of alignment flips are coherent compliance: fluent harmful completions, not garbled text. For calibration, normal generations under these models fall at PPL 2-7, while the garbled K+V outputs analyzed in Appendix C.13 average 15.2, so the PPL<50 threshold is generous. Mistral's flipped responses have median PPL 2.0, indistinguishable from normal output.
At 2-bit, Gemma does show substantial garbling (60% of flips exceed PPL 50, median 194.6). High perplexity indicates degraded fluency, not absence of harmful content: WildGuard's compliance labels on these responses indicate that harmful assistance remains recognizable despite the degradation. The labeling convention is conservative in the safety-relevant direction: the human annotation rubric (Appendix A.5) specifies that "garbled or nonsensical outputs that do not fulfill the request" are labeled REFUSE, and human annotators agreed with WildGuard at κ=0.86 under this convention. Garbling can therefore only cause us to under-report alignment collapse, never to overstate it. Qwen and Mistral remain fully coherent even at 2-bit. This 520-prompt analysis is consistent with Appendix C.13 (Table 50), where K+V responses under LLaMA showed 5.5× higher perplexity than K-only: garbling appears where V-quantization noise is severe, and the labeling convention absorbs it conservatively in both settings. In the revision we will report the full three-way breakdown (coherent refusal, coherent compliance, garbled).
Question 3: "How much real serving cost do the mitigations add?"
We benchmarked Qwen-2.5-7B under vLLM v0.13.0 serving on 50 AdvBench prompts across five configurations (3 runs each, batch size 1, max 256 tokens). Relative to uniform 4-bit quantization, the prescribed mitigations add negligible overhead: FP16 protection of layers 0–1 incurs no latency penalty; those layers bypass quantization entirely, so the marginal cost is memory, not compute. Group-64 and KIVI each add <1% latency. KV memory overhead for FP16 on 2/28 layers is 7.1%; Group-64 metadata adds 3.1% per layer. The full protocol, diagnosis (~35 GPU-minutes) plus deployment with prescribed mitigations, remains cheap for production serving. We will include these measurements in the revision.
Question 4: "Can the authors test one more practical quantizer or rotation-based method?"
We implemented Hadamard rotation following QuaRot (Ashkboos et al., 2024) on four models spanning the PCR spectrum (AdvBench, N=520):
Table R3: Hadamard rotation results.
| Model | PCR | Bits | Naive Flip | Rotated Flip | Δ |
|---|---|---|---|---|---|
| Qwen-2.5-7B | 54.5% | 4 | 90.3% | 78.6% | −11.7 pp |
| Qwen-2.5-7B | 54.5% | 2 | 80.2% | 92.4% | +12.2 pp |
| LLaMA-3.1-8B | 70.0% | 4 | 0.8% | 1.0% | +0.2 pp |
| LLaMA-3.1-8B | 70.0% | 2 | 58.1% | 42.1% | −16.0 pp |
| Mistral-7B | 76.9% | 4 | 15.2% | 10.7% | −4.5 pp |
| Mistral-7B | 76.9% | 2 | 80.2% | 47.3% | −32.9 pp |
| Gemma-2-9B | 100% | 4 | 0.2% | 0.2% | 0.0 pp |
| Gemma-2-9B | 100% | 2 | 91.7% | 0.0% | −91.7 pp |
These results support the PCR framework as a quantizer-agnostic diagnostic. At 2-bit, rotation effectiveness tracks the PCR ordering: Gemma (PCR=100%) achieves complete recovery (91.7% → 0.0%), Mistral (77%) and LLaMA (70%) see substantial improvement, while Qwen (54.5%), classified as outlier-as-safety, worsens (80.2% → 92.4%). This is precisely what the framework predicts: rotation redistributes outlier energy across channels, which helps when safety features reside in non-outlier channels (high PCR) but harms when safety features overlap with outliers (low PCR). At 4-bit, rotation helps or is neutral for all four models (LLaMA's +0.2 pp is a single flip out of 484).
The PCR framework was developed entirely on scalar per-token quantization, yet the PCR ordering is consistent with the rotation outcomes across all eight model-bit-width conditions without modification, including the one case where rotation hurts (Qwen 2-bit, consistent with the outlier-as-safety regime). This supports our claim that PCR captures an architecture-level geometric property rather than a quantizer-specific artifact (Proposition 1). We will add a discussion of rotation-based quantizers to the revision.
On clarity: "The shift between per-tensor diagnostic quantization, per-token deployment quantization, Group-64, and KIVI takes work to follow."
The paper uses two quantizer presets: (1) per-token asymmetric (Sections 4 and 6), matching HuggingFace/vLLM production deployments; (2) per-tensor symmetric (Section 5), the harshest regime, chosen to maximize flip-rate signal for mechanistic analysis. Group-64 and KIVI are not separate presets but mitigations evaluated at the deployment stage: they modify the granularity of the deployment quantizer based on the PCR diagnosis. Table 10 (Appendix A.6) summarizes the distinction. We will surface this into the main text and add a "Quantization Preset" box at the start of Section 4 to make the transition explicit.
On direction vs magnitude: "PCR predicts direction better than magnitude."
We agree and note this explicitly in our limitations (Section 7, Appendix H). PCR identifies which mitigation family will help (FP16 protection vs Group-64 vs bit-width increase), not how much recovery to expect. The magnitude depends on model-specific factors beyond the two-axis taxonomy, such as the distribution of safety information across channels within a layer. We believe direction-level prediction provides the relevant capability: a practitioner needs to know what to do, and PCR answers that correctly for all tested models.
On the causal link.
The channel ablation (Tables 37-38) is a controlled intervention: for Qwen at L0, quantizing non-outlier channels causes 50.0% flip while random 5% causes 6.2%, establishing that channel identity determines safety outcomes. K-only quantization (Table 49) further shows K-projection alone produces 76-102% of alignment damage across 8 of 9 models. Following Arditi et al. (2024), we extracted refusal directions and found Qwen suffers 8.2× more refusal-direction corruption than Mistral (|error · r̂| = 7.50 vs 0.91), driven by 4× higher total quantization error at L0 (‖error‖ = 131.7 vs 29.2) from outlier-inflated scale factors. We will include this analysis in the revision.
Thanks for the detailed response. But, I still do not get it how "PCR calibrated on 20 prompts correctly predicts mitigation direction" this works ? I am still not sure about the clarity and causal link reasoning. I think that the paper has enough experiments but the core thesis has some fundamental issue and experiments can't compensate for that, imho. Therefore, I will not change my decision yet.
Follow-up Response to Reviewer dFqs
We thank the reviewer for engaging. We want to make sure no concern goes unaddressed, so we respond to each point.
On "how does PCR calibrated on 20 prompts correctly predict mitigation direction." We addressed this directly in our rebuttal: the bootstrap analysis (Table R1, 1,000 subsets), cross-distribution prediction accuracy (Table 42, 10/10 models on 200 unseen AdvBench prompts), held-out model validation (OLMo-2, 97.2% recovery), and cross-quantizer generalization (KIVI and Hadamard rotation) collectively demonstrate the robustness of the 20-prompt calibration. The PCR mechanism itself is described in Sections 3.2 to 3.4. If a specific aspect of this evidence is unconvincing, we would welcome that feedback so we can address it directly.
On clarity and the causal link. We addressed the causal link with new evidence in our rebuttal: channel ablation (Tables 37, 38) is a controlled intervention showing that channel identity, not quantity, determines safety outcomes; K-only quantization (Table 49) isolates the K-projection as causally dominant; and refusal-direction probing (new, following Arditi et al. 2024) shows 8.2x more refusal-direction corruption in low-PCR models. We refer the reviewer to our response to their Q1 and to "On the causal link" in our rebuttal above for details. On clarity, we proposed concrete revisions including a quantizer-preset summary box and standardized naming, and we welcome further suggestions.
On the core thesis. We have aimed to address every concrete concern the reviewer raised, including new experiments on all four questions and responses to each additional point (clarity, causal link, direction vs magnitude, threshold tuning, and evaluation axes). If there is a specific aspect of the thesis the reviewer finds problematic beyond these, we would welcome that feedback so we can address it directly in detail.
For Q3, we note that we provided the vLLM serving latency and metadata overhead measurements that the reviewer indicated would be score-relevant: the prescribed mitigations add less than 1% latency, and eight of nine models require at most 7% memory overhead, confirming the protocol remains cheap in production serving.
Second Follow-up Response to Reviewer dFqs
We wanted to follow up on our responses above. Please let us know if there are remaining concerns we can clarify before the discussion period ends.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies whether KV-cache quantization preserves safety alignment, using the ConditionalFlip metric: among prompts refused by the FP16 model, what fraction become compliant after quantization. Across eleven instruction-tuned models, five benchmarks, and 1894 prompts, the paper finds sharp, model-specific safety failures that are often invisible to perplexity. It proposes Per-Channel Reduction (PCR), a diagnostic comparing per-tensor and per-channel quantization damage at critical layers, then uses PCR plus layer spread to choose mitigations such as FP16 layer protection or Group-64 quantization.
Strengths and weaknesses
Strengths
-
The geometric framework provides a compelling mechanistic explanation for the observed phase transitions.
-
The PCR diagnostic is practical. It provides a relatively cheap way to diagnose which mitigation direction is likely to help, and the paper validates this across models, prompts, quantizers, and a held-out model family.
-
The empirical validation is thorough, spanning 11 instruction-tuned models ranging from 3.8B to 72B parameters. The inclusion of 5 diverse benchmarks totaling 1,894 prompts ensures that the findings are not artifacts of a single dataset.
Weaknesses
-
The paper does not directly identify “the safety subspace” in a way that fully proves causality. The theoretical bound is an MSE-style argument under simplifying assumptions, while the measured object is behavioral flip rate.
-
The paper would benefit from a discussion comparing these structural interventions against outlier-aware rotation methods (e.g., QuaRot) or dynamic activation clipping, which explicitly address the channel outliers described in the outlier-crushes-safety regime.
Questions
- Can the paper add a full main-text table showing PCR-prescribed mitigation, memory overhead, and recovery for all primary models?
- How stable is PCR under different prompt distributions, system prompts, and safety policies from the same model family?
- Can the authors directly probe safety directions or refusal vectors to strengthen the causal link between PCR and safety-channel geometry?
Limitations
Yes.
Final justification
My concerns have been mostly addressed, and I will maintain my current score (4).
Formatting concerns
N/A
4 comments
Rebuttal
We thank the reviewer for the constructive feedback. We address each question below with new experiments and analysis.
Rotation-based quantizer evaluation
The reviewer suggested comparing against outlier-aware rotation methods. We implemented Hadamard rotation following QuaRot (Ashkboos et al., 2024), applying a Walsh-Hadamard transform to K/V projections per attention head before quantization. We tested four models spanning the PCR spectrum on AdvBench (N=520):
Table R1: Hadamard rotation results.
| Model | PCR | Bits | Naive Flip | Rotated Flip | Δ |
|---|---|---|---|---|---|
| Qwen-2.5-7B | 54.5% | 4 | 90.3% | 78.6% | −11.7 pp |
| Qwen-2.5-7B | 54.5% | 2 | 80.2% | 92.4% | +12.2 pp |
| LLaMA-3.1-8B | 70.0% | 4 | 0.8% | 1.0% | +0.2 pp |
| LLaMA-3.1-8B | 70.0% | 2 | 58.1% | 42.1% | −16.0 pp |
| Mistral-7B | 76.9% | 4 | 15.2% | 10.7% | −4.5 pp |
| Mistral-7B | 76.9% | 2 | 80.2% | 47.3% | −32.9 pp |
| Gemma-2-9B | 100% | 4 | 0.2% | 0.2% | 0.0 pp |
| Gemma-2-9B | 100% | 2 | 91.7% | 0.0% | −91.7 pp |
These results support the PCR framework as a quantizer-agnostic diagnostic. At 2-bit, rotation effectiveness tracks the PCR ordering: Gemma (PCR=100%) achieves complete recovery (91.7% → 0.0%), Mistral (77%) and LLaMA (70%) see substantial improvement, while Qwen (54.5%), classified as outlier-as-safety, worsens (80.2% → 92.4%). This is precisely what the framework predicts: rotation redistributes outlier energy across channels, which helps when safety features reside in non-outlier channels (high PCR) but harms when safety features overlap with outliers (low PCR), because the rotation dilutes the very channels carrying safety signals. For such models, the PCR protocol prescribes FP16 layer protection rather than quantizer redesign, and the rotation results confirm this prescription. At 4-bit, rotation helps or is neutral for all four models (LLaMA's +0.2 pp is a single flip out of 484).
The PCR framework was developed and validated entirely on scalar per-token quantization, yet the PCR ordering is consistent with the rotation outcomes across all eight model-bit-width conditions without modification, including the one case where rotation hurts (Qwen 2-bit, consistent with the outlier-as-safety regime). This supports the paper's claim that PCR captures an architecture-level geometric property rather than a quantizer-specific artifact (Proposition 1). We expect the same logic to apply to dynamic activation clipping, which addresses the same outlier-driven scale inflation that PCR measures; PCR predicts clipping should help high-PCR models for the same geometric reason rotation does. We will add these results and a discussion of rotation-based and outlier-aware quantizers to the revision.
Question 1: "Can the paper add a full main-text table showing PCR-prescribed mitigation, memory overhead, and recovery for all primary models?"
We ran deployment-level mitigation experiments for the five models not covered by Table 4, completing coverage of all nine primary models on AdvBench (N=520). The consolidated table:
Table R2: PCR-prescribed mitigation, memory overhead, and recovery for all nine primary models.
| Model | PCR | Spread | Fix | Bits | Mem. OH | Unprotected | Mitigated | Recovery |
|---|---|---|---|---|---|---|---|---|
| Qwen-2.5-7B | 54.5% | 8/28 | FP16 L0-1 | 4 | 7% | 90.3% | 1.9% | 97.8% |
| Gemma-2-9B | 100% | 0/42 | G64 | 2 | ~3% | 91.8% | 2.7% | 97.0% |
| M-Small-24B | 75.0% | 0/40 | G64 | 2 | ~3% | 46.2% | 2.5% | 94.5% |
| DeepSeek-7B | 87.5% | 5/30 | G64 | 3 | ~3% | 51.6% | 7.6% | 85.3% |
| Phi-3.5-mini | 55.6% | 9/32 | FP16 L0-14 | 3 | 47%† | 43.8% | 6.9% | 84.2% |
| Yi-1.5-9B | 50.0% | 33/48 | G64 | 3 | ~3% | 19.9% | 5.4% | 72.6% |
| Mixtral-8x7B | 88.9% | 19/32 | G64 | 4 | ~3% | 10.2% | 4.2% | 59.0% |
| Mistral-7B | 76.9% | 12/32 | G64 | 4 | ~3% | 15.2% | 7.3% | 52.0% |
| LLaMA-3.1-8B | 70.0% | 3/32 | G64 | 4 | ~3% | 0.8% | 0.2% | ‡ |
All values are ConditionalFlip on AdvBench (N=520) at each model's collapse bit-width. Fix = PCR-prescribed mitigation. Mem. OH = KV cache memory overhead relative to uniform quantization at the same bit-width. Recovery = 1 − mitigated/unprotected. †Phi-3.5-mini is also the smallest model (3.8B), so the absolute KV cache cost is modest; partial protection (top-5 critical layers, 16% overhead) achieves 60.9% recovery as a cheaper alternative (Table 55). ‡LLaMA's baseline collapse is only 0.8% (~4 flips out of 484 baseline refusals), leaving no room for meaningful recovery measurement; the protocol correctly identifies it as safe at 4-bit.
The PCR-prescribed mitigation reduces ConditionalFlip for all nine models with no exceptions. Eight models with substantial baseline collapse achieve 52.0-97.8% recovery; LLaMA is already safe at 4-bit and requires no intervention. The two lowest recoveries among vulnerable models (Mixtral 59.0%, Mistral 52.0%) occur on models with mild baseline collapse (10.2% and 15.2%) where the residual flip after mitigation (4.2% and 7.3%) is near the noise floor. In absolute terms, all nine mitigated models achieve ≤7.6% ConditionalFlip. All models except Phi require ≤7% memory overhead. We will add this consolidated table to the revision.
Question 2: "How stable is PCR under different prompt distributions, system prompts, and safety policies from the same model family?"
Prompt distributions. The strongest stability test is whether PCR computed on one prompt set predicts outcomes on a completely different one. Table 42 (Appendix C.6) shows exactly this: PCR calibrated on 20 Custom prompts predicts the correct mitigation direction on 200 unseen AdvBench prompts with 100% accuracy across all 10 tested models. This extends to a held-out model family (OLMo-2, Appendix E: 97.2% recovery) and to quantizers never seen during calibration (KIVI, Table 61, 8 models; Hadamard rotation, Table R1, 4 models). If PCR were unstable or overfit to the calibration set, it would not generalize across prompts, models, and quantizers simultaneously.
To provide the variance the reviewer asks for, we drew B=1,000 bootstrap subsets of N=20 from AdvBench baseline refusals and recomputed PCR at each model's critical layer:
Table R3: PCR bootstrap stability (B=1,000 subsets of N=20).
| Model | Crit-layer flip | % undefined | Median PCR [5-95%] | Full-sample PCR |
|---|---|---|---|---|
| Qwen-2.5-7B (L0) | 82.9% | 0.0% | 75.0% [53.8-89.5] | 74.2% |
| Mistral-7B (L3) | 22.3% | 1.2% | 66.7% [0.0-100.0] | 64.4% |
| DeepSeek-7B (L1) | 21.1% | 0.4% | 100.0% [80.0-100.0] | 98.1% |
| LLaMA-3.1-8B (L3) | 3.1% | 54.3% | 100.0% [0.0-100.0] | 73.3% |
| Gemma-2-9B (L1) | 0.2% | 95.8% | 100.0% [100.0-100.0] | 100.0% |
For the three models whose critical layer produces a meaningful number of flips, the 20-prompt median closely reproduces the full-sample PCR (within 3 percentage points). The interval is wide in the moderate-flip range: Mistral yields roughly 4.5 expected flips per subset, so individual draws vary substantially even though the median is accurate. For LLaMA and Gemma the ratio is undefined in most subsets, because the denominator (the per-tensor flip count at the critical layer) is the damage PCR is measuring, and these models have almost none of it (0.8% and 0.2% ConditionalFlip at 4-bit, Table 14). Step 1 of the protocol measures that flip rate before PCR is computed, so the low-vulnerability determination does not depend on the PCR estimate.
System prompts. Table 60 (Appendix D.8) reports ConditionalFlip with and without a safety system prompt across all 9 primary models at bit-widths 16, 4, 3, and 2. The system prompt effect splits cleanly along PCR/layer-spread lines: distributed-safety models (Mistral: −34.96 pp, M-Small: −32.72 pp at 2-bit) benefit, while concentrated models (Qwen: +10.54 pp) are hurt. This asymmetry further validates the PCR taxonomy: the same structural property that determines quantizer effectiveness also determines prompt-level intervention effectiveness.
Question 3: "Can the authors directly probe safety directions or refusal vectors to strengthen the causal link between PCR and safety-channel geometry?"
This question and the reviewer's first listed weakness, that the theoretical bound is an MSE-style argument while the measured object is behavioral flip rate, are the same concern, and we address both here.
We note that the paper already contains controlled causal interventions: the channel ablation (Tables 37-38) selectively quantizes specific channel subsets and measures behavioral impact. For Qwen-2.5-7B at L0, quantizing non-outlier channels causes 50.0% flip rate while a random 5% causes 6.2%, establishing that the identity of corrupted channels, not merely the quantity, determines safety outcomes. The K-only vs K+V analysis (Table 49) further shows that K-projection quantization alone produces 76-102% of alignment damage across 8 of 9 models.
To further strengthen the link, we extracted refusal directions at the critical layer of Qwen-2.5-7B (L0) and Mistral-7B (L3) following Arditi et al. (2024) (difference-in-means on 50 harmful/harmless prompt pairs, residual stream, last token position) and measured how 3-bit per-tensor quantization noise projects onto them. Here "noise" is the quantization error vector at the critical layer: the dequantized KV activation minus the original FP16 activation. Qwen suffers 8.2× more absolute refusal-direction corruption than Mistral (|noise · r̂| = 7.50 vs 0.91), driven by 4× higher total error at L0 (‖noise‖ = 131.7 vs 29.2, mean L2 norm across calibration prompts) where outlier channels inflate the per-tensor scale factor. This directly connects the channel geometry PCR measures to corruption of the refusal-mediating representation identified by Arditi et al., providing a mechanistic link from channel-level vulnerability to behavioral collapse. We will include this analysis in the revision.
Following up on our response
We are writing to kindly remind you that we posted our response 3 days ago. If you have any additional feedback, concerns, or questions regarding our response, we would greatly appreciate hearing from you.
Thank the authors for their response and new experiments. The rebuttal has addressed my questions, and I'll keep my score (4).
We thank Reviewer XCYF for confirming
We thank the reviewer for confirming that the rebuttal addressed the questions. We will incorporate the nine-model mitigation table, rotation results, bootstrap stability analysis, and refusal-direction probing into the revised manuscript.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
There have been many papers studying the degradation of safety under weight quantization, but, to the best of my knowledge, there is no any work specifically investigating KV-cache quantization. This is a clear and important problem given the safety implications and the increasing adoption of KV-cache quantization as context lengths and reasoning capabilities continue to grow. The authors provide a detailed analysis of how the alignment space is organized across different model families, showing that its geometry varies substantially between models. They identify three distinct geometric organizations of safety directions and analyze the failure modes that arise under quantization for each of them. Based on this analysis, authors propose a method for detecting potential alignment degradation under a target quantization scheme, as well as a training-free mitigation method that selects a quantization strategy preserving safety capabilities by allocating higher precision to safety-critical channels. Overall, the paper is interesting both for its analysis of alignment failures caused by KV-cache quantization and for the proposed mitigation method.
Strengths and weaknesses
The strongest parts of the paper is the analysis of the alignment space across different model families. Authors state that geometry of safety representations is quite different for different models, and that this leads to different failure modes under quantization. Knowing that, authors propose a training-free method for scalar KV-cache quantization, so, in theory, the safety problem that arises in widespread scalar quantization usage could be fixed.
The experimental section is solid. There have been evaluated many different model families and quantization settings, and overall I did not have any major concerns about the experimental methodology. Some suggestions would be discussed further in Question section.
My main suggestion would be to evaluate whether the same analysis also applies to more advanced KV-cache quantization methods, e.g. vector quantization approaches. This could help understand whether the proposed geometric explanation is specific to scalar quantization or reflects a more general property of alignment representations. However, I don't really consider this a weakness of the paper, but rather an interesting direction for future work.
Questions
-
It would be very interesting to see whether the same analysis holds for vector KV-cache quantization methods, for example Higgs. I'm curious whether alignment degradation mainly comes from the shared scaling factor used in scalar quantization or from a more fundamental fragility of the alignment representation
-
Does the alignment degradation become more severe as the KV cache grows longer? Since KV-cache quantization is especially important for long-context inference.
-
How consistent are the identified safety-critical layers across different safety benchmarks?
-
Are these safety-critical layers also stable across different alignment types: harmlessness, honesty, instruction following? The benchmarks in the paper are all focused on harmlessness. I'd expect that honesty/instruction following behavior would also vanish under KV-compression, but it is interesting if this type of alignment could be restored with the same procedure
Limitations
yes
Final justification
I maintain my rating 5.
This paper addresses a gap concerning safety degradation under KV cache quantization, an issue highly relevant for modern LLM serving. The rebuttal successfully addressed my technical questions: new experiments on Hadamard rotation confirmed that PCR is a quantizer-agnostic diagnostic, context length analysis showed architectural distribution dominates collapse, and cross-benchmark stability was validated.
Formatting concerns
- The name of the metric is written differently throught the paper: ConditionalFlip, Conditional Flip, CondFlip
- Table 21: exact 0.0% look like placeholders? Or such results demand additional checks or explanaitions
4 comments
Rebuttal
We thank the reviewer for the positive assessment and thoughtful questions. We address each below with new experiments and analysis.
Question 1: "It would be very interesting to see whether the same analysis holds for vector KV-cache quantization methods, for example Higgs."
We implemented Hadamard rotation following QuaRot (Ashkboos et al., 2024), applying a Walsh-Hadamard transform to K/V projections per attention head before quantization. We tested four models spanning the PCR spectrum on AdvBench (N=520):
Table R1: Hadamard rotation results.
| Model | PCR | Bits | Naive Flip | Rotated Flip | Δ |
|---|---|---|---|---|---|
| Qwen-2.5-7B | 54.5% | 4 | 90.3% | 78.6% | −11.7 pp |
| Qwen-2.5-7B | 54.5% | 2 | 80.2% | 92.4% | +12.2 pp |
| LLaMA-3.1-8B | 70.0% | 4 | 0.8% | 1.0% | +0.2 pp |
| LLaMA-3.1-8B | 70.0% | 2 | 58.1% | 42.1% | −16.0 pp |
| Mistral-7B | 76.9% | 4 | 15.2% | 10.7% | −4.5 pp |
| Mistral-7B | 76.9% | 2 | 80.2% | 47.3% | −32.9 pp |
| Gemma-2-9B | 100% | 4 | 0.2% | 0.2% | 0.0 pp |
| Gemma-2-9B | 100% | 2 | 91.7% | 0.0% | −91.7 pp |
These results support the PCR framework as a quantizer-agnostic diagnostic. At 2-bit, rotation effectiveness tracks the PCR ordering: Gemma (PCR=100%) achieves complete recovery (91.7% → 0.0%), Mistral (77%) and LLaMA (70%) see substantial improvement, while Qwen (54.5%), classified as outlier-as-safety, worsens (80.2% → 92.4%). This is precisely what the framework predicts: rotation redistributes outlier energy across channels, which helps when safety features reside in non-outlier channels (high PCR) but harms when safety features overlap with outliers (low PCR), because the rotation dilutes the very channels carrying safety signals. For such models, the PCR protocol prescribes FP16 layer protection rather than quantizer redesign, and the rotation results confirm this prescription. At 4-bit, rotation helps or is neutral for all four models (LLaMA's +0.2 pp is a single flip out of 484).
The PCR framework was developed and validated entirely on scalar per-token quantization, yet the PCR ordering is consistent with the rotation outcomes across all eight model-bit-width conditions without modification, including the one case where rotation hurts (Qwen 2-bit, consistent with the outlier-as-safety regime). This supports the paper's claim that PCR captures an architecture-level geometric property rather than a quantizer-specific artifact (Proposition 1).
Rotation is not itself vector quantization: it applies a preprocessing transform before scalar quantization, so it does not fully separate the shared-scale-factor explanation from a more fundamental fragility. What it does test is whether PCR transfers beyond the scalar quantizer used in the paper, and it does. Regarding vector quantization (e.g., Higgs) specifically, the alignment fragility we identify is a property of the activation geometry (Proposition 1) rather than of the quantizer, so we expect PCR to transfer, and we consider this an excellent direction for future work. We will add these rotation results and a discussion of rotation-based quantizers to the revision.
Question 2: "Does the alignment degradation become more severe as the KV cache grows longer?"
We prepended encyclopedic filler passages (topics: papermaking, tidal patterns, geology, photosynthesis) of 512 to 8,192 tokens before AdvBench prompts and measured ConditionalFlip at 4-bit on two models spanning the safety-encoding spectrum (N=100 prompts each, FP16 baselines recomputed at each context length). For Qwen-2.5-7B (concentrated safety, L0), collapse remains severe (91-100% ConditionalFlip) regardless of context length, consistent with the concentrated failure mode: once L0 is corrupted by quantization, additional cached tokens have no further effect. For Mistral-7B (distributed safety, 12 layers), ConditionalFlip ranges from 1.5% to 13.8% across context lengths in a non-monotonic pattern with no systematic worsening; the values are consistent with the zero-context baseline (15.2%, Table 14) given the wide confidence intervals at N=100 (~63 baseline refusals per cell). The dominant factor is the safety architecture (concentrated vs. distributed), not KV cache length. We will include these results in the revision.
Question 3: "How consistent are the identified safety-critical layers across different safety benchmarks?"
We address this at two levels: layer identity and protocol output.
Critical layer identity is stable across benchmarks. The table below compares the critical layer identified on our Custom benchmark (N=63) versus AdvBench (N=520) for all five models with full per-layer data on both benchmarks (Custom: Tables 27-29; AdvBench: Tables 43-47):
Table R2: Cross-benchmark critical layer comparison.
| Model | Custom Critical Layer | AdvBench Critical Layer | Match? |
|---|---|---|---|
| Qwen-2.5-7B | L0 (68.8%) | L0 (82.9%) | ✓ |
| Mistral-7B | L3 (34.2%) | L3 (22.3%) | ✓ |
| DeepSeek-7B | L1 (33.3%) | L1 (17.6%) | ✓ |
| LLaMA-3.1-8B | L3 (19.6%) | L3 (3.1%) | ✓ |
| Yi-1.5-9B | L31 (23.5%) | no clear peak (max 5.9%) | - |
The critical layer matches for the four models with identifiable peaks on both benchmarks. Yi-1.5-9B shows no distinguishable critical layer on AdvBench: its top layers (L12 at 5.9%, L8 at 5.4%, L33 at 4.8%) fall within noise of each other, which is itself a confirmation of its broadly distributed taxonomy (33/48 layers exceed 10% flip on Custom). For such models, no single layer dominates, and the protocol already prescribes bit-width increase rather than layer-specific protection, making the exact critical layer identity irrelevant to the mitigation prescription. We note that LLaMA's AdvBench signal is also attenuated (3.1% vs 19.6% on Custom), though L3 remains the top layer on both benchmarks.
Protocol output is benchmark-invariant. More importantly, PCR calibrated on just 20 Custom prompts predicts the correct mitigation direction on 200 unseen AdvBench prompts with 100% accuracy across all 10 tested models, including Yi (Table 42, Appendix C.6). This means that regardless of which benchmark is used, the protocol arrives at the same prescription for every model we tested. We will add the comparison table to the appendix in the revised version.
Question 4: "Are these safety-critical layers also stable across different alignment types: harmlessness, honesty, instruction following?"
IFEval (Appendix B.13) shows that instruction-following also degrades under KV quantization: Qwen's strict pass rate drops from 69.5% to 16.8% at 6-bit, at comparable bit-widths to where safety collapse begins for this model. The co-occurrence of safety and instruction-following degradation is consistent with shared critical-layer vulnerability, though we have not verified this with a per-layer IFEval sensitivity analysis. We expect the PCR protocol to apply to instruction-following preservation as well and leave systematic evaluation across alignment types to future work.
Formatting: ConditionalFlip naming.
Thank you. We will standardize "ConditionalFlip" throughout the revised manuscript.
Formatting: Table 21 exact 0.0% values.
The 0.0% refusal rates at 4-bit and 3-bit in Table 21 are exact, not placeholders: all refusal and AdvBench prompts flipped to compliance under speculative decoding with target-side KV quantization, while the acceptance rate (23.5%) and throughput (17.0 tok/s) remained in plausible operating ranges, providing no warning of the alignment failure. This complete collapse is consistent with Qwen's concentrated-L0 safety encoding: once L0 is corrupted, every refusal is lost regardless of the generation procedure. We will add a clarifying footnote in the revision.
Following up on our response
We are writing to kindly remind you that we posted our response 3 days ago. If you have any additional feedback, concerns, or questions regarding our response, we would greatly appreciate hearing from you.
The rebuttal has addressed my questions, I'll keep my score (5).
We thank Reviewer 1Uhi for confirming
We thank the reviewer for the positive engagement and for confirming that the rebuttal addressed the questions. We will incorporate the rotation results, long-context analysis, cross-benchmark layer comparison, and formatting fixes into the revised manuscript.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Area Chair
We thank the Area Chair for the constructive summary and for recognizing the importance of this study. We have addressed both concerns raised, along with the reviewers' questions, including new measurements of serving latency and metadata overhead for the prescribed mitigations:
Generalization to other quantizers. We implemented Hadamard rotation (QuaRot-style) across four models spanning the PCR spectrum and eight model-bit-width conditions. PCR's ordering is consistent with rotation's effect in every case, including the one instance where rotation worsens safety (Qwen at 2-bit, an outlier-as-safety model), supporting PCR as a quantizer-agnostic diagnostic rather than an artifact of scalar quantization. The paper additionally validates against KIVI (Table 61, 8 models) and a held-out model family, OLMo-2 (Appendix E, 97.2% recovery), showing the framework transfers beyond its development setting.
Consistency of PCR and safety layers. We ran a 1,000-sample bootstrap over 20-prompt calibration subsets: critical-layer PCR estimates reproduce the full-sample values within a few percentage points wherever the critical layer produces a non-trivial number of flips; where it does not, the model has near-zero vulnerability and the protocol identifies it as safe before PCR is computed. We also compared critical layers identified on our benchmark versus AdvBench across five models; four showed exact layer matches, and Yi-1.5-9B showed no distinguishable peak on AdvBench, which is itself consistent with its broadly distributed classification. Importantly, PCR calibrated on 20 prompts predicted the correct mitigation direction on 200 held-out AdvBench prompts, showing that protocol outputs are stable even where raw layer rankings shift slightly.
We believe these additions strengthen the paper, and we thank the reviewers and Area Chair for pushing us in this direction.