When Keywords Drop but Classifiers Hold: Soft Refusals under KV Cache Compression

Kang Chen, Xiuze Zhou, Hong Chen, Yuanguo Lin
9/16/2026
cs.LGcs.CL

No confident code implementation found for this paper.

Abstract

KV cache compression is widely used for long context LLM inference under memory constraints, while deployed systems typically score refusals after generation with keyword filters or learned classifiers. Such monitors are intended to indicate whether a model declined a harmful request under the serving regime actually used.

Show full abstract

However, it remains unclear whether matched compression that preserves task accuracy also preserves agreement between lightweight lexical monitors and stronger refusal classifiers. We study this with a paired protocol on n=200 harmful prompts with a long filler context: each prompt is answered once under full retention and once under matched eviction after a shared prefill, and the same replies are scored by keyword heuristics, the HarmBench Llama-2-13B classifier, an auxiliary LLM judge, and humans on disagreements. On Qwen2.5-3B, keyword refusal falls from 98.0% to 80.5% (McNemar p~1e-8) while classifier refusal stays near ceiling (99.0%-99.5%) and MMLU accuracy is unchanged (50.0%); human labels predominantly follow the classifier, consistent with soft refusals. The gap is not universal and weakens under short fillers and paired SnapKV, so safety auditing under compression should rely on several judges matched to the serving context rather than on keyword rates alone.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2026when,
  title  = {When Keywords Drop but Classifiers Hold: Soft Refusals under KV Cache Compression},
  author = {Kang Chen and Xiuze Zhou and Hong Chen and Yuanguo Lin},
  year   = {2026},
  eprint = {2609.31678},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.31678v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.31678.svg)](https://codeofpaper.com/paper/2609.31678)

Discussion