WEAVE: Compressing State Changes Along Native Evolution in Linear Attention LLMs
Liu et al. in Inference & systems
Can a model's own updates shrink recurrent checkpoints?
WEAVE: Compressing State Changes Along Native Evolution in Linear Attention LLMs
WEAVE compresses the checkpoints linear attention still needs

Linear attention uses fixed-size states; prefix caching retains checkpoints. In Qwen3.5-35B, 2,112→528-token spacing raised state storage 17→69 GB, about 85% of available cache memory, driving eviction and recomputation.
Residual changes stay low-rank across long spans

Panel (a) tracks residual rank by anchor distance: median rank capturing 95% energy was 2/128 at 8K tokens and 5 at 122K. Panels (b–d) show error, recovery chains and dense-factorization cost.
Why not just store deltas from the previous checkpoint?
Each checkpoint depends on its predecessor, so recovery replays a serial chain; losing an intermediate delta can invalidate later checkpoints.
Compact children restore from the anchor; period-two compaction leaves each intervening checkpoint dependent on at most one compact predecessor.
How WEAVE builds checkpoints from native updates
- 1
Anchor compact states
Compact checkpoints store low-rank residuals relative to an anchor; the channel-transport variant also stores its accumulated transport.
- 2
Follow the recurrence
Gated DeltaNet (GDN) updates fixed-width residual sketches; Kimi Delta Attention (KDA) updates bounded factors, avoiding dense residuals.
- 3
Publish checked factors
At publication, WEAVE truncates projected or factor-space data, packs INT8 factors, and uses an error certificate to trigger targeted repair or exact fallback.
- 4
Bound the recovery chain
Periodic compaction keeps recovery to at most one dependency while amortizing its cost.
An online codec must fit the serving path

WEAVE plugs into vLLM; prefix hashing and full-attention KV management remain unchanged. Grouped/fused kernels run updates and compaction; Triton encoding took 10.59 ms per 480-head checkpoint vs 995.16 ms for dense residual+SVD.
Kimi stays near Native at 4.12× compression
Kimi-Linear-48B, Table 1. Full recoverable-checkpoint bytes counted; WEAVE beats INT8/INT4 on all six tasks in repeated use on both models.
Restored-state behavior stays near INT8

On AIME2026 for Qwen and Kimi, left panels show median native-query readout relative L2 error; right panels show full-vocabulary output JS divergence on a teacher-forced suffix. WEAVE stays near INT8, far below INT4.
The saved memory buys faster prefix starts

At concurrency 48, on the same request stream and GPU-memory budget, WEAVE cut Qwen TTFT from 21.248 to 3.051 s (6.96×) and Kimi from 59.88 to 18.67 s (3.21×); INT8 lay between Native and WEAVE.
The boundaries of this evidence
Two architectures tested
Tests cover Qwen3.5-35B-A3B (GDN) and Kimi-Linear-48B (KDA); broader hybrid linear-attention coverage remains open.
One serving replay
End-to-end results use 240 replayed SWE-bench agent requests from 48 sessions under a fixed GPU-memory budget.
Quality is not exact
Kimi SWE-bench Verified scored 27.98 with WEAVE versus 28.66 Native; compression keeps behavior close, not identical.
The codec adds overhead
Versus exact checkpoints at concurrency 16, full-codec TTFT overhead was 3.40% on Qwen and 2.60% on Kimi.
Why it matters
- Across both models and six tasks, WEAVE outscored INT8 and INT4 while staying close to Native.
- For prefix-heavy serving, use shared anchors and native updates to keep checkpoints compact and recovery dependencies bounded.
- An open systems question is how to balance recurrent checkpoints against full-attention KV caches under one memory budget.
11 slides, 3 min
1 day ago