Manuscript Offprint

arXiv:2608.29934

Compression-Aware Abstention: Teaching LLMs to Refuse When KV-Compression Masks Remove Answer Evidence

Mohammadali Khodabandehlou, Bhaskar Krishnamachari

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

KV-cache compression reduces LLM inference memory by evicting context tokens, but when the evicted tokens contain answer-bearing evidence, the model may hallucinate instead of recognizing that the compressed context is insufficient. We address this failure from a behavioral perspective: to our knowledge, this is the first work to formulate compression-aware abstention as a learning problem, in which a model learns to answer when supporting evidence survives compression and abstain when it does not. We construct supervision from compressor survival masks and tight answer-bearing spans, labeling examples as CONFIDENT when evidence survives and ABSTAIN when it is removed. A 10.1M-parameter LoRA adapter trained on ~2.6K MuSiQue 2-hop QA examples reduces base-model hallucinations by 97% under prompt-style truncation while preserving correct answering on evidence-retaining examples. Unlike prompt-only abstention baselines, which over-abstain on many answerable high-retention examples, the trained adapter learns a conditional policy. We also evaluate the method under actual compressed-cache decoding, where multi-compressor training yields a 6–22× relative lift over the unaided base on evidence-retaining examples. Controlled-deletion experiments show that the learned behavior is driven by evidence content rather than input length alone.

1 Introduction

KV-cache compression methods reduce inference memory by evicting context tokens deemed unimportant by some scoring rule (Li et al., 2024; Zhang et al., 2023; Kim et al., 2025; Devoto et al., 2025). They are designed to be behavior-preserving, on the assumption that low-importance tokens carry no answer-relevant signal. When the eviction rule drops a token that is answer-bearing for some downstream query, the model is left with an input missing exactly the evidence it needs, and tends to fabricate a confident wrong answer rather than acknowledge the loss. The qualitative pattern is documented (Yang et al., 2024); existing remedies are representation-side (keep evicted entries in low-precision form rather than dropping them).

We propose a behavioral remedy: train the model to recognize when the surviving context cannot support an answer and respond honestly, answering when the supporting evidence survives and refusing when it does not. We refer to this as compression-aware abstention. To our knowledge, this is the first work to address KV-cache-compression-induced evidence loss from a behavioral perspective, by training the model to abstain when the surviving compressed context no longer supports an answer.

Scope. We construct training data from compression masks and feed the surviving tokens to the model as a normal prompt; we then test, separately, whether the trained behavior survives when the model decodes from a physically compressed cache (KVzipPress at inference). §5.5 reports both inference paths: the prompt-style (ps) path used to build training data and the compressed-cache (cc) path that matches deployment. Our objective is complementary to training-aware compression such as KV-Distill (Chari et al., 2025), which instead preserves uncompressed-model behavior under compression (§6).

Contributions. We make five contributions:

C1. We formulate compression-aware abstention as a behavioral learning problem. Rather than only asking whether KV-cache compression preserves the uncompressed model's answer, we ask whether the compressed context still contains enough evidence to support an answer. We define examples as CONFIDENT when answer-bearing evidence survives compression and ABSTAIN when it does not, and train the model to answer or refuse accordingly.

C2. We show that tight evidence spans are crucial for making this learning problem well-posed. Paragraph-level support labels wash out the effect of compression because long support paragraphs often remain partially present even when key evidence is lost. By labeling survival over short answer-bearing spans, we obtain the per-example variation needed to distinguish answerable from unanswerable compressed contexts.

C3. We show that a small adapter can sharply reduce compression-induced hallucination while preserving answerability. A 10.1M-parameter LoRA adapter trained on approximately 2.6K compression-labeled MuSiQue examples eliminates 97% of base-model hallucinations under prompt-style truncation, while preserving correct answering on CONFIDENT-gold examples.

C4. We show that learned abstention is more conditional than prompt-only abstention and more robust when trained across compressors. Prompt-only baselines tend to over-abstain when evidence is actually present: at high retention, they abstain on about half of CONFIDENT-gold examples, while the trained adapter abstains on only 6–10%. Training on multiple compressor masks further improves transfer beyond a single compression pattern.

C5. We evaluate the method under deployment-relevant compressed-cache decoding and test what the adapter has learned. Under actual compressed-cache inference, the unaided base model nearly collapses on evidence-retaining examples; multi-compressor training improves correct answering from 4% to 25% aggregate and from 1.4% to 32% at high retention. Controlled-deletion experiments show that the adapter's decisions depend on which evidence tokens survive, not merely on input length.

References (47)