首页 > AI前沿 > How Do RNNs and Transformers Divide Labor in Hybrid Language Models?

How Do RNNs and Transformers Divide Labor in Hybrid Language Models?

arXiv机器学习 2026-12-02 13:00 6 阅读 查看原文

混合语言模型架构

Hybrid language models interleave linear RNNs with global attention to reduce KV-cache memory.

RNN与全局注意力的协同机制

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