arXiv(opens in a new tab)cs.LGAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.30386

DASC: Decay-Aware State Compression for Hybrid Linear-Attention Serving

Yanqi Yu, Pingwei Sun, Jianchao Tan, Tao Zhang, Yuchen Xie, Xunliang Cai, Yao Liu

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

ABSTRACT

Hybrid linear-attention architectures have recently scaled to large open-weight models, offering quality competitive with full attention while substantially reducing key/value (KV) cache growth. However, their in-place recurrent-state updates complicate cache management: prefix reuse requires state checkpoints alongside full-attention KV, while storing state checkpoints in full increases memory pressure, leading to more evictions and repeated prefill. By analyzing the decay structure of Gated DeltaNet (GDN) and Kimi Delta Attention (KDA), we find that different heads and channels retain prefix information over markedly different timescales, which we term retention horizons. This variation suggests substantial compression potential in persistent state checkpoints. Building on this observation, we introduce Decay-Aware State Compression (DASC), which derives retention horizons from model weights, selects long-horizon state units, and packs them into a ragged state checkpoint layout. To integrate efficiently with tensor-parallel inference engines, DASC furtherly balances compressed state checkpoints across TP ranks. On reuse, DASC either zero-fills omitted units or refreshes them from a bounded suffix with additional compute cost. Across retrieval and end-to-end reasoning benchmarks on Kimi-Linear, conservative DASC configurations remain close to full caching while compressing KDA recurrent state checkpoints by 2.63×2.63\times. Under fixed state checkpoint memory budgets, the resulting capacity gains reduce mean Time to First Token (TTFT) by 42.6% and improve input throughput by 68.4%. At larger compression ratio, suffix refresh recovers much of the accuracy lost to more aggressive omission, at the cost of additional replay computation. Qwen with GDN exhibits a similar quality–efficiency trend, showing that DASC extends from channel-wise KDA to head-wise GDN.

1 INTRODUCTION

Hybrid linear-attention architectures now underpin trillion-parameter open-weight models, including Qwen3.8-2.4T-A95B and the 2.8T-parameter Kimi K3 (Qwen Team, 2026; Kimi Team, 2026). These models interleave full-attention layers with linear-attention layers that summarize the prefix in fixed-size recurrent states. This hybrid design retains strong model quality while slowing key/value (KV) cache growth. However, its in-place recurrent-state updates introduce a new challenge for prefix caching.

Unlike full-attention KV, a recurrent state is overwritten as tokens arrive and does not preserve earlier prefix boundaries. Prefix caching therefore materializes full state checkpoints at regular token intervals alongside KV blocks (Zheng et al., 2024; Dao, 2026). Because each state checkpoint contains large state matrices for all linear-attention layers, frequent state checkpointing quickly exhausts HBM, while sparse state checkpointing increases replay or repeated prefill. This tension makes it important to determine which state units must be retained at each state checkpoint.

∗^{*}Work done during internships at Meituan.

†^{\dagger}Corresponding author.

OFFLINE · Retention Plan

Figure

ONLINE · Prefix Cache Serving

Figure 1: Overview of DASC. Weight-derived retention horizons select long-horizon state units, which are packed into TP-balanced ragged state checkpoints. On reuse, omitted units are either zero-filled or refreshed from a bounded suffix.

Our analysis reveals a structured answer: recurrent-state units have widely different retention horizons. Many forget distant tokens quickly, while a smaller subset remains persistent. This variation follows the model architecture, appearing across heads in Gated DeltaNet (GDN) and across channels in Kimi Delta Attention (KDA). Moreover, the decay parameters stored in model weights provide an input-independent estimate of these horizons. We validate this signal against observed token-dependent decay, state magnitudes, and readout contributions. Causal ablations further show why selection must be conservative: recurrent states can be redundant for simple recall yet remain important for multi-key, aggregation, and reasoning tasks.

We translate these findings into Decay-Aware State Compression (DASC). Before serving, DASC constructs a static selection plan that retains long-horizon heads for GDN or channels for KDA. At runtime, the selected units are flat-packed into ragged state checkpoints, balanced across tensor-parallel ranks, and integrated into the radix-cache store and load paths; full-attention KV remains unchanged. On a cache hit, DASC-NR zero-fills omitted units and adds no model computation, whereas DASC-WR can spend additional compute to refresh them from a bounded suffix. This separation makes the common path inexpensive while providing a recovery mechanism when more aggressive compression is worthwhile.

We evaluate both the selection signal and its serving consequences on Qwen3-Next and Kimi-Linear (Qwen Team, 2025; Kimi Team, 2025). At a conservative KDA threshold, ragged storage fits 2.63×2.63 \times as many recurrent state checkpoints within the same state-memory budget while remaining close to full-cache quality across retrieval and end-to-end tasks. Under a fixed state checkpoint memory budget, this higher cache residency reduces mean Time to First Token (TTFT) by 42.6% and improves input throughput by 68.4% on Kimi-Linear. At more aggressive thresholds, suffix refresh recovers much of the accuracy lost through omission at the cost of additional replay computation. Qwen3-Next exhibits a similar quality–efficiency trend, showing that DASC extends from channel-wise KDA to head-wise GDN.

Our contributions are:

• We characterize decay heterogeneity in GDN and KDA recurrent states and define weight-derived retention horizons as an input-independent signal for selecting state units.

• We design and implement DASC in SGLang. It selects long-horizon units, packs them into ragged state checkpoints, balances compressed state checkpoints across TP ranks, and supports either zero-fill or bounded-suffix refresh on reuse.

• Experiments on Qwen3-Next and Kimi-Linear show that conservative DASC configurations remain close to full-cache quality while compressing KDA recurrent state checkpoints by 2.63×2.63\times. Under a fixed state checkpoint memory budget, DASC reduces mean Time to First Token (TTFT) by 42.6% and improves input throughput by 68.4%; Qwen3-Next exhibits a similar quality–efficiency trend.

References (37)