Computer Science > Computation and Language
Title:Attention Routing Stabilizes Early: Working-Set Inference for Recurrent Language Models
Abstract:Recurrent-depth language models, such as looped Transformers, repeatedly apply shared network blocks to refine latent representations, enabling additional test-time computation without generating explicit intermediate reasoning tokens. However, recurrent inference repeatedly accesses long contexts: full attention incurs quadratic computation during prefill, while autoregressive decoding repeatedly reads large key-value (KV) caches, introducing substantial memory traffic and capacity pressure. We study how attention routing evolves across recurrent depth and uncover a consistent separation in convergence timescales: routing-related quantities, including the attention support and the attention distribution, stabilize substantially earlier than representation-related quantities such as hidden states and attention outputs. This suggests a two-stage structure in which the model discovers a sparse working set and then refines representations over largely the same routing support. Motivated by this structure, we introduce WISE (Working-set Inference with Support Exploitation), a training-free method that uses unrestricted global attention during early recurrent steps to discover a block-structured working set, and then reuses it as the routing support in later steps while keeping recurrent refinement and within-support attention computation dynamic. By combining sparse recurrent attention with compact KV-cache management, WISE reduces both redundant attention computation and memory movement during inference. Across reasoning and long-context benchmarks, WISE closely approaches full-attention accuracy on key evaluated workloads while outperforming early-static support baselines. At 64K context, our implementation achieves up to a 6.46x decode throughput improvement under GPU memory pressure. Our code is available at this https URL.
| Comments: | Code: this https URL |
|---|---|
| Subjects: | Computation and Language (cs.CL) ; Machine Learning (cs.LG) |
| Cite as: | arXiv:2609.27373 [cs.CL] |
| (or arXiv:2609.27373v3 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2609.27373 arXiv-issued DOI via DataCite |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.