What Attention Recalls and Recurrence Controls in Hybrid Language Models
Organizations: AIRI, Moscow, Russia · YSDA, Moscow, Russia · HSE University, Moscow, Russia
Abstract
Hybrid language models combine attention with a fixed-size recurrent state, but the role of each channel remains unclear. We introduce two cache-level interventions. Split-prefill keeps only the KV cache or only the recurrent state from a prefilled context, then generates an answer. State-swap pairs the KV cache from one context with the recurrent state from another in a single forward pass. On Qwen3.5 and Falcon-H1, the two channels split sharply by function. Exact retrieval survives only through attention (64-98% of full accuracy) and collapses to zero through recurrence. Output language and persona reverse the pattern: both survive recurrence (70-80% and 3-5x) while KV-only drops to ~1% language accuracy. State-swap confirms this causally: the answer takes its value from the KV side and its language from the recurrent side. Recurrent-only generation also accepts words that were never in the context but share meaning or parts with seen items. Attention provides a lookup over what was said; the recurrent state shapes how the model says it next.
Figures & tables
| Qwen3.5-4B | Falcon-H1-3B | |||||
|---|---|---|---|---|---|---|
| Task | full | rec | kv | full | rec | kv |
| KV retrieve | 1.00 | 0.00 | 0.89 | 1.00 | 0.00 | 0.64 |
| List indexing | 1.00 | 0.00 | 0.98 | 0.96 | 0.00 | 0.83 |
| Lang. follow | 0.97 | 0.70 | 0.01 | 0.94 | 0.79 | 0.01 |
| Persona | 0.69 | 0.49 | 0.14 | 0.71 | 0.28 | 0.06 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Task | full | rec-only | kv-only |
|---|---|---|---|---|
| Qwen3.5-4B | KV retrieve | 1.00 [0.99, 1.00] | 0.00 [0.00, 0.00] | 0.89 [0.86, 0.92] |
| List index | 1.00 [0.99, 1.00] | 0.00 [0.00, 0.00] | 0.98 [0.96, 0.99] | |
| Lang. foll. | 0.97 [0.96, 0.98] | 0.70 [0.67, 0.72] | 0.01 [0.01, 0.02] | |
| Persona | 0.69 [0.66, 0.72] | 0.49 [0.46, 0.53] | 0.14 [0.12, 0.16] | |
| Qwen3.5-9B | KV retrieve | 1.00 [0.99, 1.00] | 0.00 [0.00, 0.00] | 0.94 [0.92, 0.96] |
| List index | 1.00 [0.99, 1.00] | 0.00 [0.00, 0.00] | 0.99 [0.98, 1.00] |
| Task | lower KV + full rec | full KV + lower rec |
|---|---|---|
| KV retrieve | 0.02 [0.01, 0.03] | 1.00 [0.99, 1.00] |
| List indexing | 0.01 [0.00, 0.02] | 1.00 [0.99, 1.00] |
| Lang. follow | 0.95 [0.94, 0.96] | 0.71 [0.68, 0.73] |
| Persona | 0.68 [0.65, 0.71] | 0.65 [0.62, 0.68] |
| Model | Crossed state | value KV | lang rec | both |
|---|---|---|---|---|
| Qwen3.5-4B | 1.00 [1.00, 1.00] | 1.00 [1.00, 1.00] | 1.00 [1.00, 1.00] | |
| 1.00 [1.00, 1.00] | 1.00 [1.00, 1.00] | 1.00 [1.00, 1.00] | ||
| Qwen3.5-9B | 1.00 [1.00, 1.00] | 1.00 [1.00, 1.00] | 1.00 [1.00, 1.00] | |
| 1.00 [1.00, 1.00] | 1.00 [1.00, 1.00] | 1.00 [1.00, 1.00] | ||
| Falcon-H1-3B | 1.00 [0.99, 1.00] | 1.00 [0.99, 1.00] | 0.99 [0.98, 1.00] | |
| 1.00 [0.99, 1.00] | 0.99 [0.98, 1.00] | 0.99 [0.98, 1.00] |
| Model | Mode | Eng. label | Target-lang. label |
|---|---|---|---|
| Qwen3.5-4B | full | 0.15 [0.07, 0.25] | 0.90 [0.82, 0.97] |
| rec-only | 0.05 [0.00, 0.12] | 0.95 [0.88, 1.00] | |
| kv-only | 0.50 [0.38, 0.63] | 0.05 [0.00, 0.12] | |
| Qwen3.5-9B | full | 0.05 [0.00, 0.12] | 1.00 [1.00, 1.00] |
| rec-only | 0.10 [0.03, 0.18] | 0.95 [0.88, 1.00] | |
| kv-only | 0.90 [0.82, 0.97] | 0.05 [0.00, 0.12] |
| Model | Mode | assoc-absent FPR | neutral-absent FPR | present TPR |
|---|---|---|---|---|
| Qwen3.5-4B | full | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.97 [0.94, 0.99] |
| rec-only | 0.87 [0.82, 0.91] | 0.10 [0.07, 0.14] | 0.98 [0.96, 1.00] | |
| kv-only | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.71 [0.65, 0.77] | |
| Qwen3.5-9B | full | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 1.00 [1.00, 1.00] |
| rec-only | 0.89 [0.84, 0.93] | 0.01 [0.00, 0.02] | 0.93 [0.90, 0.96] | |
| kv-only | 0.01 [0.00, 0.03] | 0.00 [0.00, 0.00] | 0.86 [0.81, 0.92] |
| Model | Mode | conj. FPR | neutral FPR | left-only FPR | right-only FPR | present TPR |
|---|---|---|---|---|---|---|
| Qwen3.5-4B | full | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 1.00 [1.00, 1.00] |
| rec-only | 0.32 [0.28, 0.36] | 0.10 [0.07, 0.12] | 0.18 [0.15, 0.22] | 0.05 [0.04, 0.07] | 0.53 [0.49, 0.57] | |
| kv-only | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.79 [0.75, 0.82] | |
| Qwen3.5-9B | full | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 1.00 [1.00, 1.00] |
| rec-only | 0.17 [0.13, 0.20] | 0.03 [0.02, 0.05] | 0.08 [0.05, 0.10] | 0.03 [0.01, 0.04] | 0.27 [0.23, 0.30] | |
| kv-only | 0.06 [0.04, 0.08] | 0.00 [0.00, 0.01] | 0.04 [0.03, 0.06] | 0.02 [0.01, 0.03] | 0.77 [0.73, 0.81] |
Hybrid Attention
Hybrid attention combines full attention with efficient mechanisms such as linear, recurrent, local, or sparse attention to balance recall and computation.
See all 77 papers