Manuscript Offprint

arXiv:2608.22704

WnW: Waxing-and-Waning KV Cache for Long-Form Speech LLMs

Yiming Yao, Chenyang Lyu, Xuanfan Ni, Longyue Wang, Weihua Luo, Yazheng Yang, Jinsong Su

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

Abstract

Long-form audio inputs make the KV cache the dominant memory cost of speech LLMs. Prefill-only KV compression methods permanently discard audio KV positions once evicted, with no pathway to recover them during decoding. We show this is fragile on long-form audio: prefill attention concentrates near the audio start (an attention-sink effect), while decode-time attention distributes broadly, and the two rankings overlap weakly. We propose WnW (Waxing-and-Waning KV cache), which classifies KV-heads into anchor, tidal, and fixed roles via offline calibration. Anchor heads keep all audio KV on GPU and yield a decode-time signal of which audio region each token is read from; tidal heads keep a CPU-resident complement that is recalled chunk-by-chunk based on aggregated anchor-head scores; fixed heads keep only an on-GPU subset, with the rest permanently discarded. On LibriSpeech-Long with two 3B backbones (Voxtral-mini-3b and Qwen2.5-Omni-3B), WnW preserves near-Full-Cache accuracy while keeping only 20% of audio tokens on GPU, where prefill-only baselines fail to terminate. Results generalize across language, task, and domain shifts, and CPU-GPU recall adds little decode-time overhead in our measurements.

1 Introduction

Speech language models (LLMs) such as Voxtral (Liu et al., 2025a) now ingest audio inputs of arbitrary length and produce free-form text, enabling transcription of meetings, lectures, and long dialogues directly from raw waveforms, and increasingly speech translation as well (Wu et al., 2025; Li et al., 2026; Gao et al., 2026). Long-form audio shifts the inference bottleneck from the model's parameters to the key-value (KV) cache: at 12.5–25 audio tokens per second, a ten-minute clip already occupies 7 500–15 000 KV positions, and audio routinely accounts for 70–80% of the total cache. Reducing the on-GPU audio KV footprint is therefore a prerequisite for deploying long-form speech LLMs under realistic memory constraints, and enables larger batch sizes on a fixed GPU budget.

KV cache compression methods for text LLMs, such as H2O (Zhang et al., 2023), SnapKV (Li et al., 2024), and Ada-KV (Feng et al., 2025), score every position once at prefill using attention from the prompt and retain the top-ranked positions throughout decoding. AudioKV (Wang et al., 2026) adapts this paradigm to speech LLMs with FFT-smoothed scoring and an audio-tuned per-head budget. These methods share a common premise: prefill attention is a reliable proxy for the positions that decoding will query.

We find that this premise does not hold on long-form audio. On LibriSpeech-Long with Voxtral, prefill attention from the first answer token concentrates near the start of the audio (an attention-sink effect (Xiao et al., 2024)), while the attention accumulated over the full decode distributes its mass broadly across the clip; the top positions selected by the two signals overlap weakly (Figure 1; §2.1). Any method that commits to a retention set early in inference and lacks a pathway to recover discarded positions is vulnerable to this gap; the failure is most visible for prefill-only baselines, which at tight budgets fail to terminate generation and produce word error rates well above 100%.

We propose WnW (Waxing-and-Waning KV cache), 1^{1} which reduces the on-GPU audio KV footprint while retaining recall of evicted positions from CPU. WnW classifies KV-heads into three functional classes via an offline calibration: a small set of anchor heads is kept fully on GPU and serves

1^{1}Code, experiment scripts, configurations, and dataset instructions will be released at https://github.com/XMUDeepLIT/WnW.

∗^{*}Work done during an internship at Alibaba Group.

(a) Attention distribution over audio

Figure

(b) Cumulative attention vs audio position

Figure 1: Attention to audio positions, averaged across 50 samples from the LibriSpeech-Long dev-clean subset (Voxtral). Prefill: from the first answer token; Decode (cumulative): averaged over all answer tokens. (a) Per-position mass on a uniform grid; (b) cumulative mass. Prefill concentrates near the start (sink effect); decode-cumulative spreads across the full input.

as a decode-time observer of audio importance; tidal heads keep a portion on GPU and the complement on CPU, available for recall; fixed heads keep only an on-GPU subset. During decoding, anchor-head attention at each step is aggregated into chunk-level scores, the highest-scoring chunks are recalled from CPU into the tidal heads, and previously selected chunks that lose relevance are dropped from GPU. Deferring retention to decode time lets WnW correct prefill-time mistakes.

Our contributions are:

• We quantify the prefill/decode attention mismatch on long-form audio using positional mass concentration and top-K Jaccard overlap, providing audio-domain evidence that any compression scheme without a recovery pathway is structurally limited.

• We design WnW around two mechanisms that have no text-LLM counterpart. The head triage scores each head by how often its top-attended audio positions fall inside the word-aligned time span of the token being generated, multiplied by its gradient-based KV sensitivity, so the recallable tier is spent on the heads where discarding audio KV most damages quality. Because anchor heads are selected by exactly this criterion, their decode-time attention indicates which audio chunk the current token is read from, giving a recall signal aligned to audio time.

• On LibriSpeech-Long with two 3B backbones (Voxtral-mini-3b and Qwen2.5-Omni-3B), WnW remains within ∼\sim 1.6 WER points of Full Cache even when only 20% of audio tokens remain on GPU, a regime where prefill-only baselines fail to terminate. Results generalize across languages, tasks, and domains, scale favorably to a 24B backbone relative to KV-management baselines, and show limited CPU–GPU recall overhead.

References (19)