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.
Figures & tables
Family / model
Released
B total / act.
K/V
MLA
Idx
State
Other
Layers
Our pair (match)
DeepSeek-V4-Flash ⋆ / Pro ( DeepSeek-AI, 2026 )
Apr 2026
284/13; 1600/49
( ✓ )
✓
✓
one 512-d KV head, block-compressed (CSA/HCA), DSA indexer, 128-token window
not rehearsed
DeepSeek-V3.2 ( DeepSeek-AI, 2025 )
Dec 2025
685 / 37
✓
✓
61 MLA + DSA (top-2048)
origin of DSA
GLM-5.3-Flash ⋆
Aug 2026
320 / 18
✓
✓
✓
34 KDA + 11 DSA-MLA, pooled indexer; 142 MiB
A target (partial: DSA)
GLM-5.2 / 5.3
Jun–Aug 2026
744 / 40
✓
✓
78 MLA + DSA, 21 shared indexers ( Bai et al., 2026 )
A source (partial: DSA)
GLM-5 ( GLM-5 Team, 2026 )
Feb 2026
744 / 40
✓
✓
78 MLA + DSA
GLM-4.7
Dec 2025
355 / 32
✓
92 GQA, 8 kv heads
Table 1: Cache objects of recent open-weights releases, newest first within each family (configurations read from each model’s config.json on Hugging Face, 3 Nov 2026; ⋆ = the family’s most downloaded repository in the last month). K/V = per-token keys and values; MLA = compressed latent per token; Idx = sparse-attention indexer key per token or block; State = linear-attention or state-space recurrent state (bf16 size per prompt where a pair rehearses it); Other = sliding window or block-compressed shared K/V. Last column: the pair of this paper with the same objects (close = same object types, shapes, tokenizer setting and layer ratio; partial = an object or a ratio differs; Figure 23 compares cache bytes per token).
Object
Recipe
Evidence (section)
GQA K/V
token-wise linear map per layer, closed form + distillation; capture ① or ③
Part 1 at native judge level, needle 1.00 at 2–8K (§ 5 ); Pair B ③ ties ① to 128K (§ 6.2 )
MLA latent + rotary key
token-wise map on the pre-norm, un-rotated object ①; inject through the target’s own norm (and RoPE, if any)
Pair A reverse within the CI of native on every task metric (one seed), needle 1.00 to 64K (§ 6 )
Token identity
decode token ids from the source’s layer-0 MLA latent (or pass ids) and feed the target’s embedding to the maps
copy + closed-form bilinear correction ASB per head; O(1) in length
Pair B at native level both ways, needle 1.00 at 128K, × 46.8 at 64K (§ 6 , § 7 )
Recurrent state, no source state
replay the target’s own recurrence over predicted per-token inputs; O( n )
Pair A forward; zero state fails (val KL 0.082 → 0.344) (§ 9 )
Sparse indexer key
predict from translated K + token embedding, or attend densely over the translated prefix
Pair C: pooled needle 0.87/0.84 with predicted keys vs 0.88/0.85 with native keys (target 0.91); CoQA F1 0.80/0.77 vs 0.77; 400/1000 steps, one seed (§ 10.1 )
Table 2: Recipes per cache object, with the evidence each rests on. ① and ③ are capture points (raw projection output and the engine’s cached tensor; Figures 2 – 6 ). “Native level” = the paired 95% CI against the target reading its own cache includes 0, or the gap is within the SE.
Figure 1: Switching models mid-conversation without re-reading the prompt. Model S has read the prompt; a translator maps S’s cache (per-token K/V or MLA latents and per-prompt recurrent states) into T’s format, and T answers. Inset: Pair B at 32K tokens, time to T’s first token, cold re-read vs switch (6,823 vs 208 ms, × 32.8).
Figure 2: How to read Figures 3 – 6 , which draw one attention layer of each variant (attention block only) and where the translator reads and writes. Top: visual conventions and capture points. Middle: every dimension letter with its value for our five models (cache sizes in bf16, MTP layers excluded; state sizes as measured). Bottom: every named quantity.
Figure 3: GQA layer (Qwen3; the attention layers of Qwen3.5/3.8). The translator maps the source’s keys and values at ① of ν source layers, token by token, and writes them at ①; the target’s own k_norm and RoPE then produce the cached keys ③. Values are the same at all three points. Dashed: the ③ → ③ variant of § 6.2 .
Figure 4: MLA layer (Kimi-VL; the MLA layers of Kimi-Linear). The engine caches one 576-d vector per token (latent ckv and rotary key kpe ) and up-projects it at attention time. The translator writes the pre-norm latent and un-rotated rotary key at ①; its input is the source latents plus the target’s embedding of each token id, decoded from the source’s layer-0 latent (§ 3.4 ).
Figure 5: Sparse-attention indexer (QSA of Qwen3.8-Flash-Next; DSA works alike). The indexer key decides which blocks the main attention reads. Our source has no indexer, so a predictor writes the raw key at ① from the translated keys and the token embedding, and the target pools, normalises and rotates it; the dashed alternative skips the indexer and attends densely (§ 10.1 ).
Figure 6: Linear-attention layer (GDN of Qwen3.5/3.8; KDA of Kimi-Linear). The layer caches only a fixed-size state and a conv window (③). Route 1 (Pair B) copies the source’s state with a closed-form per-head correction, O(1) in the prompt length; route 2 (Pair A, no source state) writes predicted per-token inputs at ➊ and replays the target’s own projections, convolution and recurrence over them, O( n ).
Figure 7: The translator on a 5-token prompt (Pair A forward). Per-token objects (MLA latents) are mapped layer by layer with a linear map on the concatenation of a few source layers and the target’s embedding of the decoded token id; the per-prompt KDA states are produced by replaying the target’s own recurrence over predicted per-token inputs. Stage 1 fits the maps in closed form; Stage 2 fine-tunes them with a KL loss against the target reading its own cache.
①: pre-norm latent + un-rotated kpe , hooks on kv_a_proj_with_mqa
through the target’s own kv_a_layernorm ; Kimi-Linear is NoPE, so nothing is rotated; Kimi-VL (reverse): its own interleaved RoPE at the token’s position
keeps the latent on the target’s scale; the map is position-free
MLA layer-0 latent as token identity (Fig. 4 )
source layer-0 latent
decoded to token ids (nearest-neighbour codebook), then the target’s input embedding feeds the maps
uses only what the source cache holds; layer 0 is a function of the token alone
KDA state (Pair A target, 20 layers) (Fig. 6 )
per-token pseudo inputs predicted from the source latents (the source has no KDA)
target’s own KDA projections, conv and recurrence replayed; final state and window written
a state cannot be mapped token-wise; replay keeps the target’s dynamics
Table 3: Capture and injection per cache object; the figure named in the first column shows the engine object (③) and the capture points. ① = pre-norm projection output (hooks). All injected objects are written into the target’s own cache tensors; rung-0 identity tests (target as its own source) reproduce native logits with difference 0.0 for every route.
Figure 8: Every layer of source and target, coloured by what the target layer receives: mapped token-wise, state replayed, state copied, or computed exactly from token ids; with the verified frontier analogues.
Figure 9: Multi-turn protocol: the cache each answering model holds over 5 alternating turns under re-prefill, segment-wise transfer, naive re-translation and a native refresh after turn 4.
Table 4: Pairs (configs pinned 29 Oct 2026; parameters in billions, total/active). Frontier models with the same objects: last column of Table 1 .
Figure 10: Full-set quality of every anchor, forward directions (dots, 95% CI = 1.96 SE over items; dashed: target native; seed ticks: three seeds). Translated caches reach the target’s level on gold-in-answer and ARC for Pair B and on gold-in-answer for Pair A; Pair A F1 is lower because translated answers are about twice as long.
Figure 11: As Figure 10 for the reverse directions: hybrid → full MLA (Pair A) and Qwen3.8 → Qwen3.5 (Pair B).
Figure 12: Needle exact recall by anchor and prompt length ( n=20 per length at 2–32K, 12 at 64K/128K). Translators were trained on prompts ≤ 8K. In Pair A forward the seed translator, without token identity, rarely recalls the needle; the finalists that recover token identity recall it at every length, up to 64K, eight times the longest training prompt (8K).
Figure 13: Finalist minus target native per metric, forward (filled) and reverse (hollow), paired bootstrap 95% CI.
Figure 14: Needle recall by prompt length for the finalist trained on the pre-norm capture ① and on the engine-native cache ③. Pair A ③ falls beyond the 8K training length; Pair B is unaffected. Right: ③ − ① on other metrics (paired 95% CI).
Figure 15: Time to first token of the target when it re-reads the prompt cold (black) vs when it switches in a translated cache (colours), median of 10, log–log. Dashed grey: cold minus the one-off FP8 dequantisation (Pair A forward only). Solid: one GPU; dotted: two GPUs over PCIe.
Figure 16: Where the switch time goes, at 2K, 8K and 32K, against the cold re-read. Pair A forward pays O( n ) KDA state synthesis (replay) and codebook token decoding; Pair B copies O(1) GDN states; the reverse direction has no state synthesis.
Figure 17: Engine-cache size per prompt for the models of our pairs (config arithmetic, bf16) and the bytes the switch moves (markers, measured). MLA latents are several times smaller per token than a GQA cache; linear-attention states are constant per prompt.
Figure 18: CoQA F1 per turn over 5 alternating turns, both directions translated (mean, 95% CI over 50 dialogues). Segment-wise transfer stays close to the re-prefill ceiling; naive re-translation degrades by turn 5, mildly on Pair B and to a collapse on Pair A. Refresh after turn 4 equals segment-wise through turn 4 by construction.
Figure 19: Change in validation KL, needle recall and needle first-token KL when one translated layer (or a group of state layers) is replaced by the target’s native object, with paired 95% CIs. For the Pair A seed, native deep MLA layers restore exact recall; for the finalists single layers barely move KL.
Figure 20: Validation KL of the finalist against training budget. Solid: budget-matched (each point the end of its own schedule); dotted: checkpoints inside one 5000-step run (warm-up / peak LR, not budget-matched); ticks at 2000: three seeds.
Figure 21: Top-1 accuracy of decoding the token at each position from one layer’s cached object (linear map + nearest neighbour over the full vocabulary). Early MLA latents and attention keys identify the token.
Figure 22: Translating the head of the prompt and re-prefilling a tail fraction: quality vs time to first token at 32K, against cold re-prefill (black) and a prefix-cache hit (dotted).
Figure 23: Our pairs vs frontier models: active parameters vs cache bytes per token (left) and which cache objects each model has (right). Configs pinned by commit on 29 Oct 2026.
Figure 24: Pair C (Qwen3.8-27B → Qwen3.8-Flash-Next, QSA indexer), one seed. (a) On the target’s own cache, predicted indexer keys select only 63–84% of the native top- k blocks yet keep needle recall at the native level, as does dense attention. (b) Translated cache decoded with predicted keys: with a bilinear-mapped GDN state recall is near native at 400 and at 1000 steps; with zero state (400 steps) it is not. (c) Validation KL to 1000 steps (bilinear) and 400 (zero state); the bump at 600 follows the learning-rate restart at the resume from step 400. n=20 per length at 2–32K, 12 at 64K (zero state: 4–64K only).
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 25: Held-out R2 of the closed-form Stage-1 maps per target layer (the share of the target object’s variance the map explains), all pairs and both directions.
Figure 26: Effective rank of every map family relative to its full rank, per translator. Diamonds: the trained change relative to the closed-form initialisation (or identity for the bilinear state maps); hollow: reverse direction.
Figure 27: Four ways to supply DSA indexer keys to a translated cache, and why discrete top- k selection could make needle recall fail all at once. Options 2 (predict) and 3 (dense) were rehearsed on a QSA pair (§ 10.1 ).
Production deployments often use different models to balance cost and quality through cascading, routing, and switching models during long conversations. Context accumulates across turns. Each switch requires the target to repeat prefill over this context. Existing methods transfer full-attention (FA) K/V caches across models. Hybrid linear-attention models also retain recurrent states (REC) and convolution histories (Conv). The interaction between Conv and REC complicates cross-model state transfer. Conv perturbations can change keys and values in recurrent layers and alter REC updates. Conv histories are overwritten, but changes in REC can still affect later outputs. More accurate REC reconstruction need not improve continuation. Building on this, we propose Hybrid State Transfer (HST) for all three state types. It uses structured REC maps and preserves history order during Conv alignment. We calibrate the adapters using the frozen target's outputs during continuation. FA cache map updates are merged offline. Across five benchmarks, Qwen3.5 4B→27B and 9B→27B achieve mean task retentions of 89.88% and 94.11%, respectively. With source caches already available, separate timing on synthetic 16K inputs yields handoff body speedups of 21.66× and 21.91×.
Can one language model hand its live memory to another without the receiver rereading the context? We demonstrate useful persistent hybrid-state transfer across one architecture-matched Qwen3.5 4B-to-9B sibling pair. To our knowledge, this is the first demonstrated cross-model handoff of persistent recurrent inference state between differently sized hybrid language models without target prefix replay. Translated attention KV alone leaves a large gap; adding the Gated DeltaNet (GDN) persistent-state package lowers teacher-forced negative log-likelihood (NLL), the average next-token log-loss, by 0.747 nats/token (95% paired document bootstrap CI [0.6921, 0.8047]), improving all 64 PG19 documents. Direct recurrent and convolution reuse outperforms the tested learned GDN maps, consistent with partial functional compatibility of persistent-state coordinates. A fresh component factorial selects translated KV with direct recurrent and convolution state. An additional 434,176-parameter correction improves that base on 64 fresh web documents: continuation loss is 0.076 nats/token above native 9B (excess NLL), Jensen-Shannon (JS) divergence is 0.022, and native context recovery (NCR) is 0.918. Corrected 9B significantly beats continued 4B inference while processing zero historical prefix tokens. Evidence covers one direction, one geometry-matched Base-model pair, and 4K teacher-forced continuation; the near-native gate failed, the 16K branch was not run, and free-generation equivalence and a general state interface remain unproven.
Large language models represent context with a key-value (KV) cache. Caches are model-specific: for the same text, models with different architectures or weights produce incompatible representations. This makes it costly to switch models over a shared context: although the context has already been processed by one model, the incoming model must process it again to build its own cache. We introduce KV-Lingo, a method for translating the KV cache of a source model into one that can be read by a target model. KV-Lingo consists of a collection of linear maps, typically one per layer of the target model, that are applied independently on all tokens' key and value representations. We train these maps using distillation, minimising the divergence between the target model's predictions from its native cache and those from the translated cache. We consider several model pairs spanning multiple sizes and architectures, training one translator per pair on a generic text corpus. The resulting translators preserve strong downstream performance in both small-to-large and large-to-small transfers. Since a switch then costs a linear map and a single decoding step instead of a prefill, replacing re-prefill with cache translation reduces the time to first token after a model switch by 9.6x already on a 64-token prompt for Qwen models on an Apple M3 Ultra, and by up to 29x at 32k context length on an H100. These gains make KV-Lingo particularly useful for dynamic model routing: a context can be processed by one model and handed off to another only when needed, without re-prefilling the shared prefix. We finally show that KV-Lingo can be used for seamless model switching, staying close to re-prefill across repeated switches in our multi-turn evaluations.