arXiv:2610.21126cs.CLOct 2026

Manuscript Offprint

arXiv:2610.21126

Compression Does Not End at Selection: Post-Selection Positional Geometry for Sparse KV Caches

Wanyang Hong, Zhaoning Zhang

Abstract

Sparse KV compression reduces long-context inference costs by retaining selected historical states, yet these states typically keep their coordinates from the full history. Under Rotary Position Embedding (RoPE), gaps left by evicted tokens continue to affect query-key matching, potentially limiting the use of retained evidence. We study post-selection positional geometry on a fixed selector-produced cache, examining how positional organization affects the use of retained information and which coordinate and continuation rules improve answer quality. To reorganize this geometry, we propose RoPERelay, which assigns compact, order-preserving RoPE coordinates, relocates cached key phases through inverse rotation and re-rotation, and synchronizes the current query and subsequent generation. It reuses existing K/V without renewed selection, historical re-prefill, or additional cache budget. Across 36 comparisons spanning two models, six sparse selectors, and three long-term memory tasks, RoPERelay improves answer quality in 32 cases. For Llama-3.1-8B-Instruct with BM25 on LongMemEval-S, accuracy increases from 23.6% to 35.4%. Measured complete-request time overhead is approximately 1%–3% in the evaluated configurations. These findings establish positional organization as a distinct optimization dimension for sparse KV caches after content selection.

1 Introduction

Language models engaged in long-term interaction need to access facts, preferences, and state updates scattered across turns and sessions. As histories grow to tens or hundreds of thousands of tokens, storing and repeatedly accessing the full KV cache becomes increasingly costly. Sparse-cache methods address this cost by retaining useful historical

Span Compaction Response

Figure

Figure 1: Fixed-content dose response on Qwen2-7B-Instruct, LongMemEval-S (500 records), and BM25 with an 8,192-token history-cache budget. Compacting residual positional spans increases answer accuracy. Shading: 95% confidence intervals.

information within a limited budget through selection, budget allocation, or state merging (Zhang et al., 2023; Li et al., 2024; Cai et al., 2025; Liu et al., 2025; Zhang et al., 2024b).

Sparse selection reduces cache size without necessarily shortening the positional span of retained evidence. Under RoPE, the retained coordinates continue to determine relative rotation phases in query-key matching (Su et al., 2024), even after intervening states have been removed. Figure 1 demonstrates the resulting sensitivity: with selected historical content, values, and cache budget fixed, progressively compacting residual positional spans increases LongMemEval-S accuracy from 26.4% to 36.2% in the illustrated setting. The same retained content can therefore yield different answer quality under different coordinates.

FINCH (Corallo and Papotti, 2024) relocates retained states during blockwise compression, while

∗^{*} indicates corresponding authors.

CacheFocus (Lee et al., 2025) reassigns positions when reusing and pruning document caches. In these pipelines, positional adjustments are developed together with specific cache-construction and reuse strategies. We study post-selection positional geometry as an independently controllable optimization dimension across sparse selectors, focusing on how the coordinates of already retained states affect their subsequent use.

We propose RoPERelay to reorganize the coordinates of a selected sparse cache. RoPERelay takes the second leg after selection, carrying the same retained content from different selectors into a compact, synchronized RoPE coordinate space. It assigns consecutive coordinates in source-history order, analytically relocates historical key phases, and aligns retained-history endpoints across layers and physical KV heads at a shared query anchor. The current question and subsequent generation continue in this coordinated space, without renewed selection, historical re-prefill, or an increased history budget.

Across two models, six selectors, and three long-term memory tasks, RoPERelay improves answer quality in 32 of 36 comparisons. Measured complete-request time overhead is approximately 1%–3%. These results show the practical value of positional optimization across different sparse cache configurations.

Our contributions are:

  1. Post-selection geometry affects answer quality. Controlled comparisons show that the same retained states can yield different answer quality under different coordinates, identifying an optimization dimension beyond content selection.

  2. A reusable post-selection optimization stage. RoPERelay combines source-order compaction and synchronized continuation to improve the utility of caches produced by different sparse selectors.

  3. Key ingredients of positional gains. Coordinate and ordering ablations identify the roles of key-query coordination and source chronology. Layer-wise readouts characterize changes in evidence matching, attention allocation, and value aggregation.

References (35)