Manuscript Offprint

arXiv:2610.26830

Competing Learning in Hybrid Architectures

Xingyu Shen, Yingfa Chen, Ziqing Qiao, Chaojun Xiao, Xu Han, Zhiyuan Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

ABSTRACT

Many modern language models have adopted hybrid architectures that incorporate both linear-time recurrence and softmax attention. Modern recurrence layers provide a highly expressive mixing mechanism while ensuring high throughput by compressing contextual information into a fixed-size state, but underperform softmax attention in contextual information retrieval. In this paper, we reveal a Competing Learning phenomenon where different kinds of mixers compete to learn the same function, and when any layer learns a function, it suppresses the corresponding learning signal for other layers. Layer attribution analysis reveals that under typical data distributions, modern recurrence learns retrieval functions faster than softmax attention, causing attention to fail to learn retrieval in most cases. Stopping weight updates in recurrence in the middle of training helps attention learn retrieval. Based on these results, we propose a staged training procedure for pretraining hybrid architectures on natural language. Empirical results on models up to 1B parameters show that our method results in substantial improvement in language modeling loss, common-sense reasoning, as well as a wide range of retrieval-related tasks across different context lengths. 1^{1}

1 INTRODUCTION

Recently, many open-weight large language models (LLMs) have adopted hybrid architectures that combine two distinct types of token mixers: linear recurrence (e.g., state space models (SSMs) and linear attention) and softmax attention (Vaswani et al., 2017). Such models have demonstrated strong language modeling capabilities while offering improved training and inference efficiency, scaling to models with up to trillions of parameters. Representative examples include Kimi K3 (Team Kimi et al., 2026), GLM-5.3-Flash (GLM Team, 2026), Qwen3.8-Flash-Next (Qwen Team, 2026), and Nemotron-3-Ultra (NVIDIA Team, 2026).

Prior work has shown that, in well-trained LLMs, different token mixers—and/or different heads within the same mixer—can specialize in distinct mixing patterns. For instance, Xiao et al. (2025) show that a subset of attention heads in Transformer models (Vaswani et al., 2017), referred to as retrieval heads, learn long-distance mixing patterns, whereas other heads primarily capture short-distance interactions. Similarly, Bick et al. (2025) show that different heads within a linear recurrence layer exhibit retrieval behaviors over different distances. In hybrid architectures, Chen et al. (2026) further show that assigning long-distance retrieval to softmax attention and short-distance mixing to recurrent layers is beneficial across a wide range of downstream tasks. Together, these findings motivate a division of labor in hybrid models, where softmax attention specializes in long-distance mixing while recurrent layers specialize in short-distance mixing.

In this work, we identify Competing Learning, a phenomenon in which layers that acquire retrieval capabilities earlier inhibit the development of these capabilities in other layers. In the hybrid models we study, recurrent layers tend to gain this early advantage, taking over retrieval-related functions that softmax attention layers are intended to specialize in. Consequently, training hybrid models using standard practices results in softmax attention's retrieval learning being limited by recurrent layers, leading to suboptimal division of labor.

1^{1}The code is released at https://github.com/thunlp/competing-learning.

∗^{*}Equal contributions.

Concretely, we provide an analysis based on layer-wise contribution attribution on synthetic retrieval tasks to identify the speed of retrieval learning of different mixers in a hybrid model. The analysis provides evidence to illustrate how the learning of retrieval functions in softmax attention is inhibited by the retrieval learning of recurrent layers. Furthermore, manually stopping recurrent layers from learning retrieval at different points in the training process reveals that softmax attention starts learning retrieval as soon as recurrent layers' learning is stopped. We also discover that under typical training distributions, with more short-distance patterns than long-distance ones, recurrence learns retrieval faster than softmax attention, resulting in suboptimal division of labor.

To address this issue, we propose Better Layer Division (BLD), a training pipeline that introduces a preliminary training stage before standard pretraining to give full-attention layers an early advantage in learning retrieval. This intervention is designed to steer Competing Learning in favor of full-attention layers, encouraging them to assume the long-range retrieval role during subsequent pretraining. We evaluate BLD on widely used benchmarks (e.g. Common-sense reasoning (CSR), recall-intensive tasks, LongPPL (Fang et al., 2025).) using hybrid models based on Kimi Delta Attention (KDA) 2^{2} (Kimi Team et al., 2025) at multiple scales, and observe improvements in benchmarks including CSR, recall-intensive tasks, RULER, LongPPL and training loss over vanilla ones.

Our main contributions are as follows:

• We investigate the training dynamics of layer-wise functional specialization in hybrid models, focusing on the allocation of retrieval-related functions between recurrent and full-attention layers.

• We identify and characterize Competing Learning through empirical analyses, revealing how early differences in retrieval learning influence subsequent layer specialization.

• We propose BLD, an LLM training pipeline that guides functional specialization by freezing the parameters of selected components during the early stage of pretraining, and verify its effectiveness on hybrid models at multiple scales and with different recurrent architectures. Empirical results show that BLD produces pretrained LLMs with performance gains on a wide range of tasks.

References (77)