arXiv:2611.12062cs.LGNov 2026

Manuscript Offprint

arXiv:2611.12062

Translating KV Caches Between Hybrid-Attention Language Models: MLA Latents, Linear-Attention States and Sparse-Attention Indexers

Povilas Kvedaras, Tomas Rasymas

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

Abstract

A model that takes over another model's conversation must normally re-read the whole history; a text hand-off shortens the re-read only by dropping content. KV-cache translation instead maps the source's cache into the target's own format, so the target continues from the full context without re-reading it. It works for grouped-query attention (GQA), but open-weights frontier models now cache compressed latents (MLA), sparse-attention indexer keys and fixed-size linear-attention states. We replicate KV-Lingo on a GQA pair and then give, for each of these objects, where to capture and inject it and a mechanism that reaches native quality. We study two hybrid pairs at 16–48B scale in both directions, Kimi-VL-A3B ↔ Kimi-Linear-48B (MLA ↔ MLA + Kimi Delta Attention) and Qwen3.5-27B ↔ Qwen3.8-27B (Gated DeltaNet hybrids), plus a sparse-attention target (Qwen3.8-27B → Qwen3.8-Flash-Next). MLA latents translate with token-wise linear maps; recurrent states are copied with a closed-form correction or synthesised by replaying the target's own recurrence. Exact long-range recall needs token identity: decoding token ids from the source's layer-0 MLA latent raises needle recall from 0.09 to 0.99 at 2–32K and to 0.83–1.00 at 64K, eight times the longest training prompt. The hybrid → full-MLA direction is within the paired confidence interval of native quality on every task metric, and same-shape GDN hybrids reach the native level in both directions (apart from 6% refusals inherited from the source), with time to first token 18.7 and 46.8 times shorter than a re-read at 64K tokens. Segment-wise multi-turn transfer stays at the re-prefill level; naive re-translation collapses. On the sparse-attention target, predicted indexer keys recall the needle as well as the target's own keys (one seed). We state as a hypothesis how the recipes transfer to 300B+ hybrid flagships.

Keywords: KV cache; cache translation; hybrid attention; multi-head latent attention; linear attention; sparse attention; model hand-off

*Corresponding author: povilas.kvedaras@hostinger.com.

1 Introduction

When a conversation moves from one language model to another, for example from a small model to a larger one or between two generations of a model family, the second model normally re-reads (prefills) the whole history. KV-cache translation avoids this. A small learned map converts the source model's key-value cache into the target model's cache format, and the target continues from the translated cache as if it had read the prompt itself. KV-Lingo (Castin et al., 2026) showed that, for two grouped-query attention (GQA) models with the same tokenizer, per-layer linear maps fitted in closed form and refined by self-distillation give the target its native quality at a fraction of the prefill cost, and that translating each conversation segment once keeps multi-turn quality at the re-prefill level.

Why translate the cache. Model switches are routine: routers send each turn to a cheaper or a stronger model (Ong et al., 2024), agent pipelines hand one conversation between models, and serving fleets move users to a new model generation. Today the receiving model either re-reads the full history, whose cost grows with the prompt length and the model's size, or it receives a text summary of it, which is shorter to read but drops content the summary did not keep and still has to be prefilled. Latent agent-to-agent communication (Fu et al., 2026; Rossi et al., 2026) passes richer information but keeps both models in the loop and does not replace the target's prefill. A translated cache gives the target the complete history in its own format, at a cost that grows with the prompt length but not with the target's size, and with no text in between: in the two directions we timed at 64K tokens the target starts answering 18.7 and 46.8 times sooner than after a re-read, with task quality within the paired confidence interval of its native level.

Frontier caches are no longer plain GQA. Table 1 lists the cache objects of recent releases of the seven open-weights families with the most-downloaded models on Hugging Face. Within one year every family except Meta's has moved its newest model away from a plain per-token K/V cache, and the newest models of DeepSeek, GLM, Kimi and Qwen combine two or three different objects in one stack. Multi-head latent attention (MLA) (DeepSeek-AI, 2024) caches one 512-d latent plus a 64-d rotary key per token and layer instead of per-head keys and values. Sparse-attention indexers such as DeepSeek Sparse Attention (DSA) (DeepSeek-AI, 2025) add a small indexer key per token, and each query attends only to the top-kk tokens the indexer selects. Linear-attention or state-space layers such as Kimi Delta Attention (KDA) (Kimi Team, 2025), Gated DeltaNet (GDN) (Yang et al., 2025) and Mamba-2 (Dao and Gu, 2024) keep no per-token cache at all, only a fixed-size recurrent state. Each of these objects breaks an assumption of the GQA recipe: a token-wise map cannot produce a recurrent state, an MLA latent is normalised and partly rotated before it is cached, and an indexer key decides which tokens attention reads at all. Which translation mechanism works for each object, and where in the layer it should read and write (its capture point, §2, Figures 2–6), is open.

This paper. We first replicate KV-Lingo on a GQA pair (Qwen3-8B ↔ Qwen3-4B). We then ask, for each cache object, which mechanism reproduces the GQA-level result on hybrid models, using pairs that contain the flagships' cache objects at 16–125B scale (last column of Table 1; §4 discusses where they differ):

  • Pair A: Kimi-VL-A3B (27 MLA layers) ↔ Kimi-Linear-48B-A3B (20 KDA + 7 MLA layers).

  • Pair B: Qwen3.5-27B ↔ Qwen3.8-27B, two GDN + gated-attention hybrids with identical cache geometry.

  • Pair C: Qwen3.8-27B → Qwen3.8-Flash-Next (36 GDN + 12 QSA layers), a target with a sparse-attention indexer, run at smaller scale (one direction, one seed).

We report quality, switch speed and multi-turn behaviour in both directions for Pairs A and B, an explicit account of where each object is captured and injected, and the indexer rehearsal on Pair C. Figure 1 shows the setting.

What is new. Prior cache translators, including KV-Lingo and the cross-model methods of §2, map the per-token K/V cache of standard attention; one concurrent preprint (Villani, 2026) also transfers a GDN state on one pair in one direction. We treat every cache object of current hybrid models (MLA latents, KDA/GDN states and sparse-attention indexer keys) and show that each needs its own mechanism and its own capture point: token-wise maps where the object is per token, a copy or a replay of the target's own recurrence where it is a state, and token identity, read back from the source's own MLA cache, where exact recall depends on it.

References (42)