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
原文摘要
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
cs.LG