How Do RNNs and Transformers Divide Labor in Hybrid Language Models?
Ke Cheng, Xin Xu, Yixiao Chen, Yuan Wang, Yue Liu, Jun Zhang, Jie Jiang, Zhouchen Lin
Abstract
Hybrid language models interleave linear RNNs with global attention to reduce KV-cache memory. Across controlled pretraining and Qwen3.5 retrieval probes, upstream RNNs compose disambiguated keys by chaining local shifts (lag-1) with cross-chunk state transport (lag-0), and global attention reads the corresponding values. A reduced optimization model shows that a fast recurrent shortcut weakens the training signal to the cross-layer circuit and raises the local shift strength needed to destabilize the unformed circuit. Scalar-gated ShortConv-2 with query splitting achieves the lowest distant code perplexity in our five-seed comparison, and state probes associate lower-energy recurrent modes with multi-hop retrieval. HybridGDN-FLA pairs bilateral Ruiz equilibration with single-pass updates, reducing recurrent state storage from 48.0 to 12.4 MiB while retaining 98.78% and 98.80% macro top-1 next-token agreement with uncompressed Qwen3.5-4B and 9B, respectively, on fixed inputs from five domains. Code is available at https://github.com/ckpassenger/hybrid-gdn-fla
Create a lesson
Metadata
- Comments
- 20 pages, 8 figures
Related papers
Looking Back to Forget: Self-Anchored Unlearning Along the Generation Trajectory of Diffusion Language Models
Shared title terminologycs.LGRuihao Pan, Suhang Wang
A Hybrid Equivariant-Scalar Message Passing Framework for Geometric Molecular Graphs
Shared title terminologycs.LGAnna Katharina Picha, Stefan Boresch, Nils Morten Kriege et al.
BitState: Language Modeling with Binary Parameters and Discrete States
Shared title terminologycs.LGShiguang Wu, Quanming Yao
Verified Numerics from Natural Language: Teaching a Small Language Model to Write Groundwater-Flow Solvers
Shared title terminologycs.LGBinyao Guo, Honghui Du
Speculative Loop: An Empirical Analysis of Draft Depth for Loop Transformers
Shared title terminologycs.LGPeihao Yang, Bo Gao, Teng Ma et al.
Knowing Without Saying: How Contextual Evidence Survives but Fails to Surface in Transformers
Shared title terminologycs.LGRuochen Jin, Tianyu Pang, Chenxi Lin et al.