alphaFeedback

WorksComputer Science

Competing Learning in Hybrid Architectures

AI contributions
  • generative AI tools
  • LLM
View details
Ancillary data
1 code link
View

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 pre-training 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.

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., [42]. 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., [41], GLM-5.3-Flash GLM Team, [15], Qwen3.8-Flash-Next Qwen Team, [35], and Nemotron-3-Ultra NVIDIA Team, [31].

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. [45] show that a subset of attention heads in Transformer models Vaswani et al., [42], referred to as retrieval heads, learn long-distance mixing patterns, whereas other heads primarily capture short-distance interactions. Similarly, Bick et al. [5] show that different heads within a linear recurrence layer exhibit retrieval behaviors over different distances. In hybrid architectures, Chen et al. [8] 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.

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., [12]) using hybrid models based on Kimi Delta Attention (KDA)3 (Kimi Team et al., [23]) 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.

Related Work

Hybrid Architectures Recent LLMs increasingly adopt hybrid architectures that combine softmax attention with linear attention, including GLM-5.3-Flash [15], Kimi K3 [41], Qwen3.8-Flash-Next [35], and Nemotron-3-Ultra [31]. Such designs combine the retrieval strength of softmax attention with the computational efficiency of linear attention. Prior work has shown that linear or recurrent models can underperform softmax attention on precise in-context retrieval ([4, 5, 20]). Several works improve the memory or retrieval capabilities of linear attention through architectural or state-space enhancements ([47, 48, 34, 39]). In contrast, our work does not enhance the retrieval capacity of linear attention itself, but improves the pre-training of hybrid models without architectural modifications. Hybrid architectures instead retain softmax-attention layers for long-range retrieval while using efficient linear attention for most computation (Kimi Team et al., [23]). Our work focuses on better realizing this architectural complementarity during pre-training. Most of our experiments are conducted on Kimi-Linear-style models based on Kimi Delta Attention (KDA) (Kimi Team et al., [23]).

Labor Division in Non-Hybrid Models Prior work has shown that only a small subset of attention heads develops strong long-context retrieval behavior (Wu et al., [44]). DuoAttention exploits this functional specialization by distinguishing retrieval heads from streaming heads for efficient inference (Xiao et al., [45]). Other works leverage already-formed retrieval heads to construct post-training signals for improving long-context performance and contextual faithfulness (Huang et al., [18]; Ma & Okazaki [29]). Recent studies further analyze how retrieval heads are learned or evolve during context extension and long-context continual pre-training (Zhao et al., [51]; Liang et al. [26]). These works mainly study or exploit specialization among homogeneous softmax-attention heads, rather than the allocation of retrieval capability across heterogeneous attention components.

In hybrid models, however, such allocation is critical: if all retrieval heads emerge in linear-attention components, the intended architectural advantage of combining efficient linear attention with the stronger retrieval capability of softmax attention would be largely undermined.

Labor Division in Hybrid Models Prior work has observed functional specialization between attention and recurrent components in hybrid models, with attention playing a particularly important role in exact retrieval and recall [5, 1, 43]. These works mainly characterize specialization after it has emerged, while other studies exploit such specialization to construct hybrid models from pretrained Transformers [8, 6, 25]. In contrast, we study how this division of labor forms during hybrid-model pre-training and how it can be actively optimized. In the work most closely related to ours, Qiao et al. [33] show that efficient-attention modules can weaken the optimization pressure for full-attention layers and delay retrieval-head formation. Our work further identifies the underlying competition in retrieval-specific learning signals: linear-attention and softmax-attention layers both gradually acquire retrieval capabilities, and layers that learn retrieval earlier reduce the retrieval-specific prediction error, thereby weakening the learning signal available to other layers. We refer to this as the Competing Learning phenomenon and use it to guide pre-training toward stronger retrieval specialization in softmax-attention layers.

Competing Learning in Hybrid Attention Models

Central to our paper is the Competing Learning phenomenon, which is stated as follows:

Competing Learning Phenomenon

During hybrid-model pre-training, both recurrent and softmax-attention layers can acquire in-context retrieval capabilities. If some layers learn retrieval earlier, they can reduce the retrieval-specific prediction error, weakening the training signal for other layers, slowing their acquisition of the same capability.

To show the causes and effects of this phenomenon, we conduct a series of layer attribution and gradient intervention experiments to monitor the retrieval learning of each layer in a hybrid model. In the following sections, we first propose a synthetic retrieval task (§ 3.1). Then, we propose a novel metric for determining how much a layer contributes to the model’s retrieval abilities (§ 3.2). Finally, we train a series of hybrid models on this task and inspect the contributions of each layer to monitor their retrieval learning over time (§ 3.3).

Concretely, we conduct the following three sets of experiments:

  • § 3.3.1: We provide the experimental evidence for the Competing Learning phenomenon with weight freezing.

  • § 3.3.2: We provide direct gradient evidence for the Competing Learning phenomenon through weight freezing and unfreezing.

  • § 3.3.3: We show how the distribution of short and long-distance patterns chooses the winner of Competing Learning phenomenon.

Altogether, we demonstrate the existence of Competing Learning in hybrid models and that KDA layers learn modeling short-distance patterns faster than attention layers. Since short-distance patterns are more frequent than long-distance patterns in natural language pretraining [13], this leads to a suboptimal labor division in direct pretraining of hybrid models.

Spaced Retrieval

In order to evaluate retrieval ability without interference from complicated pattern in natural language, we craft a synthetic task called “Spaced Retrieval” in the following format:

Input:$X1X2⋯Xt ⊔⋯⊔⏟g spaces $\text{Input:}\quad\$X_1X_2\cdots X_t\ \underbrace{\sqcup\cdots\sqcup}_{g\ \text{spaces}}\ \$
Output:X1X2⋯Xt\text{Output:}\quad X_1X_2\cdots X_t

where gg is the gap between the source and target sequence. Each XiX_i is a token sampled from {0,1,…,9}\{0,1,\ldots,9\} uniformly at random. We can adjust t,gt,g to change the properties of this task. We use t=5t=5 and g∈{64,8192}g\in\{64,8192\} for the training and evaluation in following experiments.

Layer Retrieval Ability Score Estimation

Here, we design a method for estimating a layer’s contribution to the model’s retrieval abilities, which is important for us to monitor the learning of Spaced Retrieval of different layers in a hybrid model. Figure 1 provides an illustration of this method.

Illustration of our layer retrieval ability estimation method

Figure 1. Illustration of our layer retrieval ability estimation method (described in § 3.2). As an example, the sequence to copy is “123”, and the layer under inspection is layer kk. The difference in probability change tells us the contribution of layer kk in retrieving the target token “9”.

Model Notations Let Hl−1(x)∈RN×d\mathbf{H}_{l-1}(x)\in\mathbb{R}^{N\times d} be the residual stream entering the ll-th layer for input xx. Each layer computes

Ul(x)=Mixer⁡l(Hl−1(x)),(1)\mathbf{U}_l(x)=\operatorname{Mixer}_l\left(\mathbf{H}_{l-1}(x)\right), \tag*{(1)}
Rl(x)=Hl−1(x)+Ul(x),(2)\mathbf{R}_l(x)=\mathbf{H}_{l-1}(x)+\mathbf{U}_l(x), \tag*{(2)}
Hl(x)=Rl(x)+MLP⁡l(Rl(x)),(3)\mathbf{H}_l(x)=\mathbf{R}_l(x)+\operatorname{MLP}_l\left(\mathbf{R}_l(x)\right), \tag*{(3)}

where Mixer⁡l\operatorname{Mixer}_l is a recurrence or softmax attention layer. We write hl(x,t)=[Ul(x)]t\mathbf{h}_l(x,t)=[\mathbf{U}_l(x)]_t for its output at token position tt, before residual addition. Let z(x,t)\mathbf{z}(x,t) denote the final logits from the model’s native output head, and define the answer margin of two tokens a,ba,b as

m(z;a,b)=[z]a−[z]b.(4)m(\mathbf{z};a,b)=[\mathbf{z}]_a-[\mathbf{z}]_b. \tag*{(4)}

Retrieval Ability Estimation Consider two input prefixes xAx^A and xBx^B of equal length jj, differing only in the source digit to be retrieved: aa in xAx^A and bb in xBx^B. Their mixer outputs at layer ll are denoted by Ul(xA)\mathbf{U}_l(x^A) and Ul(xB)\mathbf{U}_l(x^B). We replace only the output at the last unmasked position. We also omit the layer index for simplicity, and we get:

U(xA)=[U1(xA),…,Uj−1(xA),Uj(xA)],\mathbf{U}(x^A)=\left[\mathbf{U}_1(x^A),\ldots,\mathbf{U}_{j-1}(x^A),\mathbf{U}_j(x^A)\right],
U~A←B=[U1(xA),…,Uj−1(xA),Uj(xB)].(5)\widetilde{\mathbf{U}}^{A\leftarrow B}=\left[\mathbf{U}_1(x^A),\ldots,\mathbf{U}_{j-1}(x^A),\mathbf{U}_j(x^B)\right]. \tag*{(5)}

where Ut(x)U_t(x) denotes the mixer output at position tt.

During the forward pass of xAx^A, we substitute U~A←B\widetilde{U}^{A\leftarrow B} for U(xA)U(x^A) before residual addition, retaining the residual input from xAx^A. The current layer’s MLP and all subsequent computations proceed normally with unchanged parameters. We denote the resulting logits at position jj by z~l,jA←B\widetilde{z}_{l,j}^{A\leftarrow B}.

The retrieval ability score of layer ll for this input pair and answer position is

ClA←B=m(z(xlA,j);a,b)−m(z~l,jA←B;a,b).(6)C_l^{A\leftarrow B}=m\left(z(x_l^A,j);a,b\right)-m\left(\widetilde{z}_{l,j}^{A\leftarrow B};a,b\right). \tag*{(6)}

This score indicates the reduction in correct-answer preference after replacing the layer’s output with a misleading output with a different answer. Therefore, the layers that contribute more to retrieval will have large scores, because the model’s retrieval performance drops more severely when these layers’ retrieval are interfered with.

Analysis Experiments

With the above task and estimation method, we can now perform a series of experiments to analyze the phenomenon of Competing Learning for hybrid models, which is central to our paper.

Experimental Configuration We train several hybrid models on the Spaced Retrieval task. Each model has 3.6M parameters and consists of two KDA (a widely-used linear recurrence architecture) layers and two attention layers. Unless specified otherwise, we use 1:1 mixtures of examples with g=64g=64 and g=8192g=8192. During training, we only compute the loss on output tokens using loss masks. Here, we report the results for g=8192g=8192, but we emphasize that the results of g=64g=64 are similar. The results for g=64g=64 and more experimental details can be found in Appendix § 8.

Suppressing Learning in One Token Mixer Stimulates Learning in Another

Without intervention, KDA layers become dominant in terms of retrieval ability in this setting, as shown in Figure 2. To investigate how their dominance affects the attention layers, we freeze all KDA layers at different training steps and continue training the remaining model components. As shown in the left part of Figure 4, the attention layers’ retrieval ability increases sharply immediately after each freezing intervention. This observation is consistent with the hypothesis that, once KDA layers acquire some retrieval capability, they suppress the acquisition of the same capability by attention layers, providing evidence for the Competing Learning phenomenon.

Training Without Freezing plot showing retrieval ability of Attention and KDA layers over training step

Figure 2. The average retrieval ability of the two types of layer in a hybrid model trained on Spaced Retrieval.

Retrieval ability of attention layers in a hybrid model with KDA layers under different KDA freezing steps

Figure 4. Demonstration of Competing Learning. The curves indicate the retrieval ability of attention layers in a hybrid model consisting of attention and recurrent layers (KDA), trained on our retrieval task, Spaced Retrieval (§ 3.1).

Furthermore, we explore how unfreezing KDA layers at a later training step influences learning competition. In the right plot of Figure 4, runs in which KDA is frozen earlier than step 125 have higher retrieval ability than when the KDA remains frozen for the rest of the training, while runs in which KDA is frozen later than step 125 have lower retrieval ability than when the KDA remains frozen. Moreover, these changes appear almost immediately after KDA is unfrozen. This clear polarization may be attributed to the fact that attention layers in checkpoints where freezing began earlier than step 125 have enough retrieval advantages by freezing KDA layers long enough. At these early freezing checkpoints, attention layers have already accumulated a sufficient advantage in retrieval performance, substantially outperforming KDA layers. Consequently, once freezing is lifted, attention layers tend to further reinforce their retrieval capabilities, while KDA layers are driven to specialize in other functions. This is reflected in Figure 4: at checkpoints where attention layers have established a sufficiently strong advantage, their retrieval ability further improves after unfreezing. In contrast, at checkpoints where this advantage is insufficient, attention layers are once again outcompeted by KDA layers, leading to a decline in their retrieval ability.

Takeaways In hybrid models, KDA and attention layers compete to learn retrieval, with KDA initially gaining an advantage due to its stronger inductive bias toward short-range patterns. Temporarily freezing the dominant KDA layers can shift—and, with sufficient duration, even reverse—the winner of this competition.

Gradient Evidence of Competing Learning

We further investigate how the freezing intervention affects gradient dynamics. As shown in Figure 5, the gradient norm of the attention layers in the frozen checkpoint reaches approximately 10×10 \times that of the baseline checkpoint, which has never undergone freezing. Moreover, the gap between the dotted and solid curves indicates that unfreezing the KDA layers mitigates this gradient amplification. Notably, the gradient norm increases progressively rather than abruptly, suggesting that this amplification emerges from the evolving optimization dynamics rather than as an immediate consequence of freezing. This observation further supports Competing Learning, suggesting a self-reinforcing optimization mechanism in which the current parameter configuration determines the allocation of learning signals, progressively amplifying the advantages of already dominant components. See Appendix § 16.§ 1 for more details.

Relative gradient dynamics under KDA freezing

Figure 5. Relative gradient magnitude changes in the Attention layers compared to the baseline without KDA freezing. KDA is frozen at steps 100, 150, or 175, with an unfreezing branch introduced 50 steps later. Across these timings, keeping KDA frozen progressively amplifies attention gradient norms relative to the baseline, whereas unfreezing KDA substantially attenuates this amplification.

Takeaways Freezing KDA progressively amplifies attention layers’ gradients, while unfreezing mitigates this effect. This supports Competing Learning: learning signals depend on the current ability gap of components, reinforcing the advantages of already dominant components.

Different Training Data Prefer Different Architectures

We further investigate how the distribution of gap (gg) in the training data influences the learnability of retrieval in different mixers. To this end, we train the hybrid model using different mixture proportions of short-distance (g=64g = 64) and long-distance (g=8192g = 8192) examples. As shown in Figure 3, attention layers become more important as the proportion of long-distance examples increases, whereas KDA layers are more likely to dominate when the long-distance patterns do not appear overwhelmingly more than short-distance patterns. This is because KDA initializes forget gates with low values, which gives this architecture a short-distance inductive bias (See Appendix § 9 for a more specific explanation).

Retrieval Ability Across Gap Mixtures plot showing retrieval ability of KDA and Attention layers

Figure 3. The retrieval ability of the two different kinds of layer in a hybrid model, trained on Spaced Retrieval with different data mixtures.

Takeaways Different mixers learn retrieval at different speeds, depending on the data distribution. While both mixers can acquire the same retrieval abilities, the mixer that learns faster will become dominant, limiting the learning of the other mixer.

Implications Applying the traditional training recipe to a hybrid model can lead to a suboptimal division of labor. Because short-distance patterns occur more frequently than long-distance patterns in natural language [13], the training objective may encourage KDA to dominate retrieval, suppressing the training of attention layers. This issue is less problematic in homogeneous architectures such as Transformers, where all layers share the same architecture and, consequently, have the same potential for retrieval.

LLM Pretraining Experiments

In this section, we show that we can leverage insights about Competing Learning to achieve improved LLM performance in natural language pre-training.

Method: Better Layer Division

Based on the analysis results in § 3.3.1, we propose Better Layer Division (BLD), which freezes RNN layers’ weights during the early stage of pretraining, thereby giving the attention layers a first-mover advantage in Competing Learning. Importantly, this intervention establishes a corrected division of labor between the two components, which is subsequently preserved and further reinforced throughout the remainder of pretraining. This better labor division translates to improved model performance.

Experimental Details

Model Configuration We train a family of KDA–attention hybrid models ranging from 180M to 1B total parameters, including embeddings. All models share a repeating four-layer pattern consisting of one attention layer followed by three KDA layers, maintaining a fixed 3:1 KDA-to-attention ratio across scales. The layers are stacked in the form of “Attention-KDA-KDA-KDA”, and all layers are using NoPE (not adopting RoPE, which is reported to be better than using RoPE in KDA-based hybrid architecture (Kimi Team et al. [23]). We scale the models by varying their depth and hidden width. At each scale, BLD and vanilla pre-training use identical architectures. Detailed model configurations are provided in Appendix § 10.

Training Configuration We compare BLD against vanilla pre-training by training models from scratch with token budgets scaled proportionally to their non-embedding parameter counts, following the Chinchilla scaling principle (training tokens are roughly 20 × of parameters) (Hoffmann et al. [16]). All models are trained on DCLM (Li et al. (2024)), a high-quality open-source pre-training corpus, using the Qwen3 tokenizer (Yang et al. [46]) and a context length of 16,384 tokens. For BLD, the KDA blocks remain frozen for approximately 1/10 of the subsequently unfrozen pretraining part. The vanilla baseline updates all parameters, using the same training data, token budgets, and optimization schedule.

We use AdamW during the initial portion of pre-training, followed by Muon with auxiliary AdamW after unfreezing, with identical optimization schedules for BLD and the vanilla baseline. Detailed hyperparameters and token budgets are provided in Appendix § 11.

Evaluation Tasks We evaluate models across common-sense reasoning (CSR), recall-intensive tasks, RULER, and language modeling, without fine-tuning. See Appendix § 12 for more details.

  • CSR is measured by the average score on seven benchmarks: ARC-Easy, ARC-Challenge (Clark et al. [10]), HellaSwag (Zellers et al. [49]), PIQA (Bisk et al. [7]), BoolQ (Clark et al. [9]), WinoGrande (Sakaguchi et al. [37]), LAMBADA (Paperno et al. [32]).

  • Recall is evaluated on six tasks from the Based (Arora et al. [4]) evaluation suite: SWDE (Lockard et al. [27]), FDA (Arora et al. [3]), SQuAD (Rajpurkar et al. [36]), TriviaQA (Joshi et al. [22]), DROP (Dua et al. [11]), and Natural Questions (Kwiatkowski et al. [24]).

  • RULER (Hsieh et al. [17]) is evaluated with average scores across the 57 evaluated RULER task–length combinations spanning 1K to 16K tokens.

  • Language modeling is evaluated using word-level perplexity on WikiText-2 (Merity et al. [30]) and selected-token perplexity on LongPPL (Fang et al. [12]).

Main Results

Downstream Tasks As shown in Table 1, BLD models achieve notably lower LM losses. They also show a modest improvement in CSR performance, while exhibiting substantial gains on retrieval-oriented tasks, including Recall and RULER. Moreover, the PPL metrics, which reflect overall long-context modeling capability, consistently favor BLD by a large margin. The specific subtask scores are included in Appendix § 13.

Context Utilization We evaluate the long-context utilization of our models as Sun et al. [40] by computing LM loss as a function of context length. Specifically, we calculated next-token prediction loss on Books3, BookCorpus2 (Gao et al. [14]) as a function of token positions, up to 16K. Figure 6 shows that BLD models has a lower loss especially in the later position, highlighting better

Average positional loss plot

Figure 6. Average position-wise loss of 510M BLD/vanilla model across all examples.

SizeModelLM Loss ↓CSR ↑Recall ↑RULER ↑WikiText ↓LongPPL ↓
180MVanilla3.590337.7610.392.8454.00258.47
180MBLD3.570237.4914.128.8250.38108.64
250MVanilla3.284438.3121.5417.3236.5257.22
250MBLD3.264241.4925.3320.9834.2717.96
390MVanilla3.161141.9126.7322.3229.1017.09
390MBLD3.144144.2531.2726.8928.1111.16
510MVanilla3.055344.8030.5025.2526.0214.56
510MBLD3.046144.4934.7029.4225.579.21
750MVanilla2.977345.9433.5226.5323.2812.68
750MBLD2.970546.6137.5232.8222.758.08
1BVanilla2.874448.6936.5032.7520.527.69
1BBLD2.868049.4538.1436.0420.156.50

caption: Zero-shot evaluation results of BLD (ours) versus vanilla pre-training. Size denotes total parameters, including embeddings, rounded to the nearest 10M. CSR and Recall are macro averages over seven and six tasks, respectively. RULER averages 57 task–length entries at 1K–16K. All three scores are percentages. Bold indicates the better result at each model size.

:::

context utilization abilities by BLD models. The results of all model sizes and other details are included in Appendix § 14.

Scaling Laws We also fit the loss as a power-law function of model size to verify that BLD is scalable to larger model scales (shown in Figure 8), and the fitted curves suggest that BLD retains its loss advantage well beyond the evaluated model scales.

Scaling Laws of Vanilla and BLD; Training loss of 1B models

Figure 8. Left: Loss as a function of non-embedding model size, fitted with power-plus-constant scaling laws. Right: The training-loss curve of the 1B vanilla and BLD models.

Transferability to Other RNN Architectures

We also applied BLD to two other popular recurrent mixers, Gated DeltaNet (GDN) Yang et al., [48] and Gated Linear Attention (GLA) Yang et al., [47]. These models have the same configuration as the model in § 4.2, but with KDA layers replaced with either of these layers. Training configuration is also the same as in § 4.2. Further details are reported in Appendix § 15.

Takeaways The advantages of BLD, lower training loss and better downstream task performance, are transferable to other linear recurrence architectures.

Evidence for Labor Division Change in Attention Scores

We further provide direct evidence that BLD induces stronger functional differentiation. Specifically, following Xiao et al. [45], we analyze 510M KDA-attention hybrid models by training α\alpha values to distinguish retrieval heads, which are responsible for long-distance information retrieval, from streaming heads, which primarily perform short-distance token mixing. α\alpha measures a head’s reliance on full-context attention, with larger values indicating greater reliance. In other words, heads with greater α\alpha values are more important for long-distance retrieval. The α\alpha values are trained for 1,000 steps. More experimental details and results are reported in Appendix § 16.

As shown in Figure 9, the attention heads in the BLD model exhibit higher α\alpha values than those in the vanilla model, indicating that BLD contains more retrieval heads that attend to long-range tokens. Figure 7 reports model’s retrieval accuracy as attention heads are progressively masked in ascending order of their α\alpha values. For BLD, the accuracy remains largely unchanged as low-α\alpha heads are masked and drops sharply only when the final three heads, which have the highest α\alpha values, are removed. This suggests that these three heads play a critical role in retrieval, and we therefore identify them as retrieval heads. In contrast, the vanilla model exhibits a substantial accuracy drop only when its single highest-α\alpha head is masked, indicating that it contains only one retrieval head.

Retrieval accuracy with masked heads plot

Figure 7. The retrieval accuracy when masking a fraction of the heads.

The α values of attention heads

Figure 9. The α\alpha values of attention heads. With GQA, query heads 0–3 and 4–7 share a KV head within each group and therefore share the same KV-head-level α\alpha value. Greater α\alpha values indicate heads that are important for long-distance retrieval.

Takeaways BLD promotes a greater degree of functional specialization, with more attention heads specializing in long-range retrieval. This behavior aligns with the motivation underlying our method.

Conclusion

In this work, we first identify the Competing Learning phenomenon and provide supporting experimental evidence. We then show that directly pretraining hybrid models can lead to a suboptimal division of labor among different architectural components. To address this issue, we propose BLD and validate its effectiveness through scalable experiments. By promoting a more effective division of labor, BLD consistently improves model capabilities across a wide range of dimensions.

Nevertheless, BLD represents only a preliminary approach to addressing the Competing Learning phenomenon in the training of hybrid models. We believe that a deeper understanding of the Competing Learning phenomenon will provide further insights into the division of labor within hybrid architectures and inspire the development of more advanced neural architectures and training strategies that better account for this phenomenon and achieve stronger performance.

AI USE STATEMENT

In this work, we used generative AI tools for research execution. We have not used generative AI tools for research ideation, and LLM data-generation is not applicable to this work. Additionally, we used generative AI tools for polishing the manuscript. We have reviewed all AI-assisted work. LLM-generated code was verified and tested for correctness by 2 authors. We take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.

REPRODUCIBILITY STATEMENT

We provide the experimental settings needed to reproduce our results in the appendix. Appendix A details the synthetic retrieval task, model configuration, training procedure, and freezing interventions. Appendices C and D describe the language-model architectures, training data, token budgets, optimization settings, and parameter-freezing scope. Evaluation protocols and detailed results are provided in Appendices E and F. Appendices G and H describe the position-wise loss analysis and the GDN/GLA experiments, respectively.

We will publicly release the training and evaluation code, relevant experimental data, and model checkpoints to facilitate reproduction.

Spaced Retrieval Experiments

Data and architecture

We use the Spaced Retrieval task from § 3.1:

Input:$X1X2⋯Xt ⊔ ⋯ ⊔ $Output:X1X2⋯Xt\begin{aligned} \text{Input:}\quad& \$X_1X_2\cdots X_t\ \sqcup\ \cdots\ \sqcup\ \$ \\ \text{Output:}\quad& X_1X_2\cdots X_t \end{aligned}

Here t=5t=5, each XiX_i is a digit, and g∈{64,8192}g \in\{64,8192\} is the number of spaces separating the key from the retrieval query. We add 0–20 spaces before the first delimiter to vary the key’s position. Training and evaluation, including the modified keys used for attribution, use disjoint keys. To compare g=64g=64 and g=8192g=8192, we keep each example identical except for gg. Table 3 and Table 4 summarize the data, model, and optimization settings.

SettingValue
Key length / ggFive digits; g∈{64,8192}g \in\{64,8192\}
Leading spaces0–20
Vocabulary12 symbols: ten digits, delimiter, and space/padding
Training / evaluation50,000 distinct keys / 2,000 held-out pairs per gg
Decoder blocksKDA–attention–KDA–attention
Hidden / FFN width256 / 512
Mixer heads / attention KV heads2 / 2
KDA head dimension / value expansion128 / 2
Short convolution width4
KDA output gateEnabled (sigmoid) (Kimi Team et al., [23])
position encodingall layers have no rotary embeddings
EmbeddingsTied input/output embeddings

Table 3. The configuration of the dataset (Spaced Retrieval) and the models in Section 3.3.

SettingValue
Optimizer / updatesAdamW (Loshchilov & Hutter, [28]) / 1,500
Batch32 examples per update
Learning ratePeak 3×10−43 \times10^{-4}; final 10−510^{-5}
Schedule100 warmup updates, followed by cosine decay
Adam coefficients(β1,β2)=(0.9,0.95)(\beta_1,\beta_2)=(0.9,0.95)
Weight decay / gradient clip0.1 / global norm 1.0
PrecisionBF16
Loss maskCross-entropy on the five answer tokens only

Table 4. Synthetic training and attribution evaluation settings.

The training configuration of the experiments in Section 3.3.

Source digits, delimiters, leading spaces, and gap tokens do not contribute to the training loss.

For attribution, we select one answer digit per held-out pair, with 400 pairs assigned to each of the five answer positions. The counterfactual input changes only the corresponding digit in the source key. Each input prefix ends just before the selected answer digit, and any earlier answer digits are identical in the two inputs. We average attribution scores across these pairs, rather than performing five interventions on every pair.

Bidirectional mixer-output intervention

For each input pair, we compute the retrieval ability score defined in § 3.2 twice, once in each direction (A←BA \leftarrow B and B←AB \leftarrow A), and take their average. We then average over all evaluation pairs:

Cl=12E(A,B)[m(zA;a,b)−m(z~A←B;a,b)+m(zB;b,a)−m(z~B←A;b,a)].(7)C_l = \frac{1}{2}\mathbb{E}_{(A,B)}\left[m(z^A; a,b) - m(\tilde{z}^{A\leftarrow B}; a,b) + m(z^B; b,a) - m(\tilde{z}^{B\leftarrow A}; b,a)\right]. \tag*{(7)}

In each direction, we replace the selected layer’s mixer output at the prediction position with that from the paired input, then recompute the prediction without changing the model weights.

The score is a change in a logit margin. Signed values are retained. Independently measured layer effects need not add to a total model effect: they are neither disjoint contributions nor normalized shares. In the baseline and freeze/unfreeze plots, a mixer-family curve averages its two layer scores. The mixture endpoint plot instead sums the two scores within each family before averaging across seeds.

Freezing and unfreezing interventions

For each ss in Table 5, we train normally for ss updates, then freeze the KDA blocks starting with update s+1s + 1. Thus, s=0s = 0 means freezing from the start, and the score recorded at update ss is measured before freezing has any effect. Frozen blocks still participate in the forward pass and allow gradients to reach earlier trainable components.

SettingValue
Frozen parametersEntire KDA blocks 0 and 2, including mixer, MLP, and normalization
Trainable componentsAttention blocks and shared parameters
Updates completed before freezing (ss)0, 1, 10, 25, 50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 375, 400, 425, 450, 475, 500, 600
Permanent freezeKeep KDA blocks frozen through update 1,500

Table 5. Synthetic freezing and unfreezing protocol for the experiment in Section 3.3.1.

In the unfreezing experiment, we resume KDA updates at update 501 and continue training to update 1,500. We use only s≤500s \le500, excluding s=600s = 600. The s=500s = 500 run has no frozen updates and serves as a continuation control; we also compare with the baseline that never freezes KDA.

Each run continues from the saved training state, preserving the optimizer, learning-rate schedule, random state, and data order. Unfreezing does not reset these states or restart warmup.

Different Training Data Prefer Different Architectures

We vary the proportion of short-distance examples to study how the training distribution affects retrieval learning, as in § 3.3.3. Let pp denote the fraction of examples with g=64g = 64; the remaining fraction 1−p1 - p uses g=8192g = 8192. Thus, p=0p = 0 uses only long-distance examples, whereas p=1p = 1 uses only short-distance examples.

SettingValue
Short-distance fraction pp0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1
Training distancesg=64g = 64 and g=8192g = 8192
Optimizer updates1,500
Examples per update32
Evaluation distancesg=64g = 64 and g=8192g = 8192

Table 6. Training-data proportions and settings for the data-distribution experiment in Section 3.3.3.

Within each optimizer update, short- and long-distance examples are processed separately. Their gradients are weighted by the number of examples and accumulated before a single parameter update. We use at least three random seeds for each setting and report the average final-checkpoint retrieval scores in Figure 3.

Attention retrieval ability under KDA freezing and unfreezing

Figure 10. Attention retrieval ability under KDA freezing and unfreezing at g=64g = 64, using the same setup as in Figure 4.

Short-distance Inductive Bias from KDA Forget Gates

The KDA mechanism can be formulated as follows:

St=(I−βtktktT)Diag⁡(αt)St−1+βtktvtT∈Rdk×dv,ot=StTqt∈Rdv.(8)S_t = (I - \beta_t k_t k_t^T) \operatorname{Diag}(\alpha_t) S_{t-1} + \beta_t k_t v_t^T \in\mathbb{R}^{d_k \times d_v}, \qquad o_t = S_t^T q_t \in\mathbb{R}^{d_v}. \tag*{(8)}

Here, αt\alpha_t denotes the forget gate, which is initialized with relatively small values. Consequently, the KDA state StS_t initially tends to retain information primarily from recent tokens. This is because historical information is progressively attenuated by the forget gates, and the cumulative product of small gate values rapidly approaches zero over successive time steps. As a result, contributions from distant tokens diminish quickly.

Model Configurations

Parameter accounting and model identity

We label models by their total parameter counts, including token embeddings, throughout this appendix: 180M, 250M, 390M, 510M, 750M, and 1B. Labels are rounded to the nearest 10M. Table 7 reports total and nonembedding parameter counts rounded to the nearest million. Training token-to-parameter ratios and scaling fits use the unrounded nonembedding parameters.

Model sizeTotal params (M)Non-emb. params (M)Decoder blocksHidden dim.FFN dim.KDA headsAttn. heads (Q/KV)
180M1816387681792612/3
250M25413616768204866/2
390M391234161024268888/2
510M508351241024268888/2
750M75552016153640961212/3
1B101578024153640961212/3

Table 7. KDA hybrid model configurations. Parameter counts are rounded to the nearest million; tied embeddings are counted once.

All models repeatedly stack the four-block sequence Attention–KDA–KDA–KDA, giving a 3:1 ratio of KDA to softmax-attention blocks at every model size.

The size-dependent settings are listed in Table 7.

SettingValue
Tokenizer / vocabularyQwen3 [46] / 153,000 entries
Repeating block patternAttention–KDA–KDA–KDA; KDA-to-attention ratio 3:1
Embeddings / FFNTied input/output embeddings / SwiGLU [38]
NormalizationRMSNorm [50], ϵ=10−6\epsilon= 10^{-6}
KDA head dimension128
KDA value expansion / convolution width2 / 4
KDA output gateEnabled (sigmoid) [23]
Softmax attentionGrouped-query attention [2]; no projection bias or sliding window
Positional embeddingsRotary embeddings disabled

Table 8. Architecture settings shared across KDA language models, in § 4.2.

Training Details

Data and freezing during early pretraining

Throughout pretraining, we use DCLM (Li et al., 2024) with 16,384-token sequences. Texts are tokenized, terminated with EOS, concatenated, and split into fixed-length sequences; incomplete remainders of preprocessing batches are discarded. Table 9 contrasts the early and remaining portions of pretraining. Vanilla and BLD use the same data views, token budgets, and optimizer schedules at each model size.

SettingEarly pretrainingRemaining pretraining
DCLM data viewGlobal shard 01Global shards 02–10
Token fractionApproximately 1/11 (9.09%)Approximately 10/11 (90.91%)
Vanilla parametersAll trainableAll trainable
BLD: frozen componentsEntire KDA blocks: mixer, MLP, and normalizationNone
BLD: trainable componentsAttention blocks, tied embeddings, and final normalizationAll components
Weight / optimizer initializationTrain from scratchContinue from current weights; reset optimizer and schedule

Table 9. Freezing configuration of BLD in pretraining experiments in § 4.2.

Table 10 summarizes the token budgets.

Model sizeEarly pretraining tokensRemaining pretraining tokens
180M120M1.20B
250M280M2.80B
390M480M4.80B
510M720M7.20B
750M1.07B10.65B
1B1.60B16.00B

Table 10. Training token budgets for the LLM pretraining experiments in § 4.2, rounded for readability.

Early pretraining uses approximately 2.05N2.05N tokens, followed by approximately 20.5N20.5N tokens in the remaining pretraining, where NN is the number of non-embedding parameters, following the Chinchilla scaling principle [16].

SettingEarly pretrainingRemaining pretraining
OptimizerAdamW [28]Muon [21] with auxiliary AdamW
Peak learning rate10−410^{-4}Muon: 0.02; AdamW: 0.001
Minimum learning rate10−410^{-4} (no terminal decay)Muon: 0.001; AdamW: 5×10−55 \times10^{-5}
ScheduleLinear warmup, then constantLinear warmup, constant interval, then cosine decay
Adam coefficients(0.9, 0.95)(0.9, 0.95)
Muon momentum / iterationsNot applicable0.95 / 5 Newton–Schulz iterations
Weight decay / clip0.1 / global norm 1.00.1 / global norm 1.0
Precision / seedBF16 / 0BF16 / 0
Global batch (sequences)1632
Tokens per update262,144524,288
Microbatch per GPU1 sequence2 sequences

Table 11. Optimization settings shared by Vanilla and BLD.

SizeEarly warmupRemaining warmupFinal decayGPUsAccum.
180M23229229116
250M53534534116
390M9291691628
510M1371,3731,37328
750M1982,0322,03228
1B3053,0523,05282

Table 12. Size-dependent schedules and batching. Warmup and decay durations are in optimizer updates; accumulation is unchanged throughout pretraining.

Optimization, batching, and restarts

Muon updates eligible hidden matrix weights; embeddings, the output head, and remaining parameters use auxiliary AdamW. All optimizer groups share the same multiplicative schedule. Both methods reset optimizer and schedule state when the early portion ends.

Evaluation Details

Checkpoint and metric selection

We evaluate the final pretraining checkpoint without fine-tuning, using zero demonstrations for the downstream language-model evaluation tasks. The decoding strategy for generation tasks is greedy decoding.

Language Modeling Loss We report the mean training loss over the final 100 optimizer updates.

Common-Sense Reasoning CSR is the macro average of seven tasks: ARC-Easy and ARC-Challenge [10], HellaSwag [49], and PIQA [7] use normalized accuracy; BoolQ [9], WinoGrande [37], and LAMBADA [32] use accuracy.

Recall We use the Based evaluation suite [4] and average the contains scores over SWDE [27], FDA [3], SQuAD [36], TriviaQA [22], DROP [11], and Natural Questions [24] with a 2,048-token context.

RULER We evaluate RULER [17] at 1K, 2K, 4K, 8K, and 16K tokens, with 100 examples per task–length combination. These lengths include 10, 11, 12, 12, and 12 tasks, respectively; QA-1 is included from 2K and QA-2 from 4K. The overall score averages all 57 task–length combinations. CSR, Recall, and RULER scores are reported as percentages.

WikiText-2 We report word-level perplexity on WikiText-2 [30] using the evaluator’s word_perplexity metric.

LongPPL Following LongPPL [12], we report pooled perplexity over tokens selected using fixed reference-model annotations, as detailed below.

LongPPL reproduction

For token ii, let ℓilong\ell_i^{\mathrm{long}} and ℓishort\ell_i^{\mathrm{short}} be its reference log probabilities under the document prefix and a short-context window. The selected-token indicator is

Mi=1{ℓilong−ℓishort>2}1{ℓilong>−2}.(9)M_i = \mathbb{1}\{\ell_i^{\mathrm{long}}-\ell_i^{\mathrm{short}}>2\}\mathbb{1}\{\ell_i^{\mathrm{long}}>-2\}. \tag*{(9)}

Target tokens within each stride interval share the same left context boundary, so their context lengths range from KK to K+d−1K+d-1 preceding tokens. Table 13 lists the fixed sample and reference settings. The reported metric is

SettingValue
Dataset / sampleGovReport [19] / 50 documents
Sampling seed / token limit42 / 32,768 per document
Input formattingRaw text; no chat template or additional BOS
Reference modelQwen3-8B [46]; fixed annotations across compared models
Short context / strideK=4096K = 4096 / d=1024d = 1024
Selected targets3,920 tokens across 49 documents
AlignmentSame texts and target positions; tokenizer alignment checked

Table 13. Configuration for calculating LongPPL in § 4.2.

LongPPL⁡(θ)=exp⁡[−∑iMilog⁡pθ(xi∣x<i)∑iMi].(10)\operatorname{LongPPL}(\theta)=\exp\left[-\frac{\sum_i M_i\log p_\theta(x_i\mid x_{<i})}{\sum_i M_i}\right]. \tag*{(10)}

We pool selected-token negative log likelihoods before exponentiation; we do not average document perplexities. The document without selected tokens does not enter this denominator.

Detailed Results and Additional Analyses

Downstream task results

Tables 14 and 15 report individual CSR and Recall scores. The CSR mean here covers the seven tasks listed above, including LAMBADA, and uses the same aggregation as the main tables. Table 16 breaks RULER down by context length; Tables 17–19 provide task-wise averages. All entries use the same final checkpoints as Tables 1 and 2.

Size / mixerMethod1K (10)2K (11)4K (12)8K (12)16K (12)All (57)
180MVanilla8.602.911.501.081.082.84
180MBLD21.2013.365.674.252.088.82
250MVanilla27.4023.9114.5013.509.5017.32
250MBLD29.0022.9119.1719.1716.1720.98
390MVanilla32.0025.2721.2518.0816.8322.32
390MBLD36.2030.4526.5025.0818.0826.89
510MVanilla33.2026.4526.3322.5019.1725.25
510MBLD35.1033.0030.6724.5825.0029.42
750MVanilla36.7032.9127.9221.2516.0826.53
750MBLD41.7035.4531.1729.0028.5032.82
1BVanilla42.1037.5532.6729.3324.0832.75
1BBLD49.3040.6434.1731.7526.9236.04
GDN (400M)Vanilla18.6013.2711.3310.179.4212.33
GDN (400M)BLD32.3026.4523.8324.7521.0025.42
GLA (400M)Vanilla29.0026.5523.4225.0816.9223.98
GLA (400M)BLD34.3030.6428.5827.5822.7528.54

Table 16. RULER scores by context length (percent). Parentheses give task counts; All averages the 57 task–length entries. Unless otherwise specified, all models are KDA-based hybrid models.

Figure 11 compares Vanilla and BLD at each context length across the six KDA model sizes.

RULER accuracy by context length for six KDA model sizes

Figure 11. RULER accuracy by context length for six KDA model sizes. Blue dashed lines denote Vanilla; orange solid lines denote BLD. Darker shades indicate larger models. Each point averages the tasks evaluated at that length.

Scaling fits

We use actual nonembedding parameter counts NN as the model-size variable. A power-plus-constant fit with a shared floor and method-specific amplitudes and exponents has the form

Lm(N)=E+Am(N/109)−αm,m∈{Vanilla,BLD}.(11)L_m(N)=E+A_m(N/10^9)^{-\alpha_m},\qquad m\in\{\mathrm{Vanilla},\mathrm{BLD}\}. \tag*{(11)}

The archived fitting procedure minimizes unweighted squared loss residuals jointly over both methods, with nonnegative floor/amplitudes and positive exponents. It examines the final-100-update average.

Table 20 reports the fitting using the same checkpoints as Table 1. Figure 8 uses the final-100-update fit. Its right panel shows the 1B model’s training loss over 50–100% of the total pretraining token budget, smoothed for display by a Gaussian filter with standard deviation 100 updates in the remaining portion and reflected boundaries.

Loss windowEEAVA_VαV\alpha_VABA_BαB\alpha_BRMSE (V)RMSE (B)
Final 1002.388670.459600.346490.452660.345020.013210.01424

Table 20. Shared-floor fits for the original-checkpoint six-size series. AVA_V, αV\alpha_V are scaling law fitted coefficients for the vanilla model while ABA_B, αB\alpha_B are those for the BLD models. RMSE columns are Vanilla/BLD.

Position-wise Language-Modeling Loss

Table 21 describes the diagnostic underlying Figure 6. Figure 12 shows the results of the same diagnostic across all model sizes.

SettingValue
DatasetFirst 50 nonempty documents from each local Books3 and BookCorpus2 cache from The Pile [14] (100 total)
Input processingIndependent documents; no added special tokens; cached token IDs and checked tokenization
Input / prediction limit16,384 input tokens / 16,384 predictions per document
ExecutionFull decoder prefix; chunked output projection; original position settings
PrecisionBF16 model execution; FP32 logits

Table 21. Position-wise language-modeling diagnostic settings.

Average positional loss of KDA hybrid models at six scales

Figure 12. Average loss of KDA hybrid models of different scales, as functions of token positions.

Size / mixerMethodSWDEFDASQuADTriviaQADROPNQMean
180MVanilla9.090.5413.4021.7413.084.5010.39
180MBLD13.9513.4314.6823.5214.234.9114.12
250MVanilla27.9017.1521.8833.1219.459.7221.54
250MBLD29.7930.8525.0035.2518.9312.1325.33
390MVanilla34.7426.0427.3838.6820.1713.3426.73
390MBLD38.3440.8330.0941.3519.8417.1431.27
510MVanilla36.7234.2128.9243.3621.9917.7730.50
510MBLD44.4646.5530.0644.2523.3819.5134.70
750MVanilla40.5941.4730.9047.4521.6619.0433.52
750MBLD49.2350.5433.3149.4121.5621.0337.52
1BVanilla44.5542.7433.9152.1924.7720.8436.50
1BBLD48.1543.8336.7653.0824.2022.8138.14
GDNVanilla17.553.2720.9536.4316.299.5017.33
GDNBLD43.7440.7430.0641.8819.5016.3432.05
GLAVanilla36.1827.5922.5233.9517.639.6024.58
GLABLD40.8641.2027.7838.1517.9714.7330.12

Table 15. Recall results using the contains metric (percent). Means use unrounded scores. Unless otherwise specified, all models are KDA-based hybrid models.

Task180M V180M B250M V250M B390M V390M B
Single-18.2034.8096.20100.00100.0098.40
Single-28.6040.4041.0031.4062.8072.80
Single-30.005.4028.6069.0049.0078.60
Multi-key-16.6011.2015.8020.8026.4032.40
Multi-key-20.000.000.200.400.803.20
Multi-key-30.000.000.001.600.802.00
Multi-value0.000.000.000.000.000.00
Multi-query0.000.000.000.000.000.00
Variable tracking0.000.000.000.000.000.00
Frequent words0.000.000.200.000.003.20
QA-14.504.009.5011.0010.509.75
QA-29.009.3313.0012.0010.3313.67

Table 17. Task-wise RULER scores averaged over evaluated lengths (percent). V: Vanilla; B: BLD. QA-1 averages four lengths, QA-2 three, and other tasks five.

Task510M V510M B750M V750M B1B V1B B
Single-1100.0098.8099.60100.0099.80100.00
Single-267.8099.0079.6090.4083.0092.80
Single-373.8060.2060.6081.4071.6077.00
Multi-key-126.6048.4039.2061.0061.8058.40
Multi-key-21.002.802.805.4026.6030.80
Multi-key-31.603.802.206.602.606.60
Multi-value0.000.000.004.200.406.80
Multi-query0.000.000.000.400.401.20
Variable tracking0.000.000.000.000.000.00
Frequent words0.402.600.200.600.409.40
QA-110.2513.2514.2517.7519.5024.50
QA-214.0015.3311.3316.6718.6713.67

Table 18. Task-wise RULER scores averaged over evaluated lengths (percent). V: Vanilla; B: BLD. QA-1 averages four lengths, QA-2 three, and other tasks five.

TaskGDN VGDN BGLA VGLA B
Single-199.6099.6094.8099.80
Single-218.2086.0084.8093.40
Single-31.0044.2055.0079.20
Multi-key-113.2038.0027.2033.40
Multi-key-20.001.200.602.60
Multi-key-30.002.601.001.60
Multi-value0.000.000.000.00
Multi-query0.000.000.000.00
Variable tracking0.000.000.000.00
Frequent words0.400.200.000.20
QA-14.0011.754.507.50
QA-28.3314.3310.6715.33

Table 19. Task-wise RULER scores averaged over evaluated lengths (percent). V: Vanilla; B: BLD. QA-1 averages four lengths, QA-2 three, and other tasks five.

Transfer to GDN and GLA

Table 22 reports the GDN [48] and GLA [47] replacement architectures. The 400M designation in Table 2 identifies the reference KDA configuration. They match

ArchitectureSizeModelLM Loss ↓CSR ↑Recall ↑RULER ↑WikiText ↓LongPPL ↓
GDN400MVanilla3.194743.2317.3312.3331.25152.84
GDN400MBLD3.162443.9032.0525.4228.6911.77
GLA400MVanilla3.291141.1924.5823.9834.5732.69
GLA400MBLD3.211343.2030.1228.5430.6513.26

Table 2. Zero-shot evaluation results of BLD (ours) versus vanilla pre-training with GDN and GLA hybrid models with 3:1 recurrence-to-attention ratio.

SettingGDNGLA
Blocks / hidden / FFN width16 / 1,024 / 2,68816 / 1,024 / 2,688
Attention block indices0, 4, 8, 120, 4, 8, 12
Attention Q / KV heads8 / 28 / 2
Recurrent blocks / heads12 / 812 / 8
Recurrent dimensionsHead dimension 128Key expansion 1
Value expansion22
Convolution width / output gate4 / enabled4 / enabled
Rotary embeddingsDisabledDisabled
Total parameters400M401M
Nonembedding parameters244M244M
Early / remaining updates1,831 / 9,1551,831 / 9,155
Early pretraining tokens480M480M
Remaining pretraining tokens4.80B4.80B

Table 22. Configurations for the GDN and GLA models in § 4.4. Parameter and token counts are rounded; M and B denote million and billion.

KDA in depth, width, and token budget. Optimization and full-block freezing/unfreezing follow the 390M KDA configuration. Data budgets remain fixed rather than being rescaled to each replacement’s parameter count. Detailed downstream scores appear in Table 14–Table 16.

Size / mixerMethodARC-EARC-CHella.PIQABoolQWino.LAMBADAMean
180MVanilla36.3622.4427.3858.2758.8751.079.9437.76
180MBLD35.6522.4427.6459.3055.8449.9611.5937.49
250MVanilla38.4323.9829.8058.9845.0551.3820.5738.31
250MBLD41.1623.7230.3362.3560.5848.7023.5641.49
390MVanilla43.7324.7434.3164.2047.6849.2529.4641.91
390MBLD43.4324.5735.3565.4058.7550.7531.4844.25
510MVanilla46.5126.1136.9366.2758.0150.4329.3444.80
510MBLD47.3125.1737.4266.9755.6951.2227.6144.49
750MVanilla48.0625.5140.6867.1953.7651.1435.2645.94
750MBLD48.9125.2640.9368.5053.7351.8537.1246.61
1BVanilla51.2627.6545.1169.7553.8252.9640.2548.69
1BBLD51.0927.9045.9169.1055.6955.2541.2249.45
GDN (400M)Vanilla44.4424.4034.4164.5356.7351.0727.0343.23
GDN (400M)BLD44.2324.6634.7764.9158.6951.5428.5143.90
GLA (400M)Vanilla43.4324.0632.4364.2552.2349.8022.1041.19
GLA (400M)BLD44.5324.7433.3263.4459.4850.3626.5743.20

Table 14. The concrete results of the hybrid models on CSR (§ 4.2). LAMBADA reports accuracy. Means use unrounded scores from all seven tasks. GDN and GLA denote the transfer configurations in Appendix § 15. Unless otherwise specified, all models are KDA-based hybrid models.

Retrieval Head Identification and Retrieval Evaluation

Retrieval Head identification. We apply a DuoAttention-style retrieval head identification procedure [45] to the final 510M Vanilla and BLD checkpoints. Each model has six attention layers, with two KV heads and eight query heads per layer. We learn one gate αℓ,g∈[0,1]\alpha_{\ell,g} \in[0,1] per KV head (12 gates in total), shared by its four query heads. Before the attention output projection, each head interpolates between full causal and streaming attention:

o~ℓ,h=αℓ,g(h)oℓ,hfull+(1−αℓ,g(h))oℓ,hstream.(12)\tilde{o}_{\ell,h} = \alpha_{\ell,g(h)}o^{\mathrm{full}}_{\ell,h} + \left(1-\alpha_{\ell,g(h)}\right)o^{\mathrm{stream}}_{\ell,h}. \tag*{(12)}

Streaming attention retains the first 128 tokens and the most recent 256 tokens, subject to causality. All pretrained parameters are frozen; KDA layers retain their original computation without gates.

Each model serves as its own full-attention teacher. We optimize the gates using mean squared error between teacher and student final hidden states at reference-answer token positions, plus 0.05 mean(∣α∣|\alpha|). Both branches receive reference answers during identification; this is hidden-state distillation, not retrieval fine-tuning of the base model. Gates start at one and are clamped to [0,1][0, 1] after each update. Table 23 summarizes the main settings.

SettingValue
Optimization steps / batch size1,000 / 1 sequence
OptimizerAdamW, no weight decay
Peak / minimum learning rate0.02 / 0.002
Schedule200-step warmup and final 200-step decay
Sequence length16,384 tokens
Passkeys per sequence10, each containing 32 words
Background / insertion depthBookSum / 5–95%

Table 23. Settings for retrieval head identification experiments in § 4.5.

Masking and evaluation. Within each model, we rank all 12 KV heads by increasing learned alpha and progressively replace full attention with streaming attention, starting with the lowest-alpha heads. Remaining heads use full attention; the continuous alpha values are used only for ranking. No further training is performed. Thus, a “masked head” denotes a KV head whose four query heads use restricted context, rather than a head with zeroed output. The evaluated budgets are 0, 1, 2, 4, 5, 6, 7, 8, 10, 11, 12 KV heads, obtained by rounding masking ratios of 0%, 10%, . . . , 100%.

We use the same separately generated set of 64 documents and 10 passkeys per document for both models and every budget (640 queries per condition). Each passkey contains 32 random NATO-alphabet words embedded in BookSum text. The 16K length includes the document and reference question–answer pairs. At evaluation, each question is answered independently from the document cache using greedy decoding, without reference answers or earlier question–answer pairs. The plotted accuracy is the percentage of queries whose first generated token matches the reference.

Details of the Gradient Dynamics Experiment

Figure 5 compares a never-frozen baseline with a KDA-freezing intervention under the settings in Table 24. At the branching point, the frozen trajectory is split into continued-freezing and unfreezing branches with identical model, optimizer, scheduler. Unfreezing resumes the paused KDA Adam states without resetting the optimizer. Within each seed, all compared branches follow the same training-data sequence. Training uses full backward passes and the same step-specific baseline clipping coefficient before frozen updates are masked.

SettingValue
Mixer orderKDA–Attention–KDA–Attention
Total model parameters3,555,588
Independent seeds10
Frozen modulesBoth KDA mixers
Frozen parameter count1,453,060
Measured parameters262,144 per attention mixer
Freezing beginsAfter update 175
Frozen/unfrozen branches splitAfter update 225
Final measured step425
Gradient probe32 fixed training examples
Retrieval gap8192
Probe lossFirst-answer-token cross-entropy
Measurement frequencyEvery training step
Temporal smoothingNone

Table 24. Experimental settings for Figure 5.

We measure unclipped attention gradients using the same gradient-enabled diagnostic graph across conditions. For each attention mixer, we average the per-example gradient vectors before taking their ℓ2\ell_{2} norm, then divide by the corresponding baseline norm at the same step. The plotted statistic is the arithmetic mean of the two attention mixers’ trajectories, each computed as the geometric mean of paired ratios across seeds. The left panel enlarges the freezing phase of the full trajectory shown on the right.

References

  1. [1]Kirill Afendulev, Alexey Dontsov, Elena Tutubalina, and Anton Korznikov. What attention recalls and recurrence controls in hybrid language models. arXiv preprint arXiv:2609.04434, 2026.arxiv.org/abs/2609.04434
  2. [2]Joshua Ainslie, James Lee-Thorp, Michiel de Jong, Yury Zemlyanskiy, Federico Lebron, and Sumit Sanghai. GQA: Training generalized multi-query transformer models from multi-head checkpoints. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 4895–4901, Singapore, December 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.emnlp-main.298. URL https://aclanthology.org/2023.emnlp-main.298/.DOI
  3. [3]Simran Arora, Brandon Yang, Sabri Eyuboglu, Avanika Narayan, Andrew Hoel, Immanuel Trummer, and Christopher Ré. Language models enable simple systems for generating structured views of heterogeneous data lakes. arXiv preprint arXiv:2304.09433, 2023.arxiv.org/abs/2304.09433
  4. [4]Simran Arora, Sabri Eyuboglu, Michael Zhang, Aman Timalsina, Silas Alberti, Dylan Zinsley, James Zou, Atri Rudra, and Christopher Ré. Simple linear attention language models balance the recall-throughput tradeoff. arXiv:2402.18668, 2024.arxiv.org/abs/2402.18668
  5. [5]Aviv Bick, Eric Xing, and Albert Gu. Understanding the skill gap in recurrent language models: The role of the gather-and-aggregate mechanism. arXiv preprint arXiv:2504.18574, 2025.arxiv.org/abs/2504.18574
  6. [6]Aviv Bick, Eric P Xing, and Albert Gu. Retrieval-aware distillation for transformer-ssm hybrids. arXiv preprint arXiv:2602.11374, 2026.arxiv.org/abs/2602.11374
  7. [7]Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. Piqa: Reasoning about physical commonsense in natural language. In Thirty-Fourth AAAI Conference on Artificial Intelligence, 2020.arxiv.org/abs/1911.11641
  8. [8]Yingfa Chen, Zhen Leng Thai, Zihan Zhou, Zhu Zhang, Xingyu Shen, Shuo Wang, Chaojun Xiao, Xu Han, and Zhiyuan Liu. Hybrid linear attention done right: Efficient distillation and effective architectures for extremely long contexts. arXiv preprint arXiv:2601.22156, 2026.arxiv.org/abs/2601.22156
  9. [9]Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. BoolQ: Exploring the surprising difficulty of natural yes/no questions. In NAACL, 2019.arxiv.org/abs/1905.10044
  10. [10]Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? ty arc, the ai2 reasoning challenge. arXiv:1803.05457v1, 2018.arxiv.org/abs/1803.05457
  11. [11]Dheeru Dua, Yizhong Wang, Pradeep Dasigi, Gabriel Stanovsky, Sameer Singh, and Matt Gardner. Drop: A reading comprehension benchmark requiring discrete reasoning over paragraphs. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 2368–2378, 2019.arxiv.org/abs/1903.00161
  12. [12]Lizhe Fang, Yifei Wang, Zhaoyang Liu, Chengheng Zhang, Stefanie Jegelka, Jinyang Gao, Bolin Ding, and Yisen Wang. Ding: What is wrong with perplexity for long-context language modeling? In International Conference on Learning Representations, volume 2025, pp. 94541–94563, 2025.arxiv.org/abs/2410.23771
  13. [13]Richard Futrell, Kyle Mahowald, and Edward Gibson. Large-scale evidence of dependency length minimization in 37 languages. Proceedings of the National Academy of Sciences, 112(33):10336–10341, 2015. doi: 10.1073/pnas.1502134112. URL https://www.pnas.org/doi/abs/10.1073/pnas.1502134112.DOI
  14. [14]Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, et al. The pile: An 800gb dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027, 2020.arxiv.org/abs/2101.00027
  15. [15]GLM Team. Glm-5.3-flash: Frontier intelligence, flash cost, 2026. URL https://z.ai/blog/glm-5.3-flash.
  16. [16]Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, et al. Training in compute-optimal large language models. arXiv preprint arXiv:2203.15556, 2022.arxiv.org/abs/2203.15556
  17. [17]Cheng-Ping Hsieh, Simeng Sun, Samuel Kriman, Shantanu Acharya, Dima Rekesh, Fei Jia, Yang Zhang, and Boris Ginsburg. Ruler: What’s the real context size of your long-context language models? arXiv preprint arXiv:2404.06654, 2024.arxiv.org/abs/2404.06654
  18. [18]Lei Huang, Xiaocheng Feng, Weitao Ma, Yuchun Fan, Xiachong Feng, Yangfan Ye, Weihong Zhong, Yuxuan Gu, Baoxin Wang, Dayong Wu, et al. Improving contextual faithfulness of large language models via retrieval heads-induced optimization. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 16896–16913, 2025.arxiv.org/abs/2501.13573
  19. [19]Luyang Huang, Shuyang Cao, Nikolaus Parulian, Heng Ji, and Lu Wang. Efficient attentions for long document summarization. In Proceedings of the 2021 conference of the north American chapter of the association for computational linguistics: Human language technologies, pp. 1419–1436, 2021.arxiv.org/abs/2104.02112
  20. [20]Samy Jelassi, David Brandfonbrener, Sham M Kakade, and Eran Malach. Repeat after me: Transformers are better than state space models at copying. arXiv preprint arXiv:2402.01032, 2024.arxiv.org/abs/2402.01032
  21. [21]Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks, 2024. URL https://kellerjordan.github.io/posts/muon/.
  22. [22]Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1601–1611, 2017.arxiv.org/abs/1705.03551
  23. [23]Kimi Team, Yu Zhang, Zongyu Lin, Xingcheng Yao, Jiaxi Hu, Fanqing Meng, Chengyin Liu, Xin Men, Songlin Yang, Zhiyuan Li, et al. Kimi linear: An expressive, efficient attention architecture. arXiv preprint arXiv:2510.26692, 2025.
  24. [24]Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:453–466, 2019. Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Gadre, Hritik Bansal, Etash Guha, Sedrick Keh, Kushal Arora, Saurabh Garg, Rui Xin, Niklas Muennighoff, Reinhard Heckel, Jean Mercat, Mayee Chen, Suchin Gururangan, Mitchell Wortsman, Alon Albalak, Yonatan Bitton, Marianna Nezhurina, Amro Abbas, Cheng-Yu Hsieh, Dhruba Ghosh, Josh Gardner, Maciej Kilian, Hanlin Zhang, Rulin Shao, Sarah Pratt, Sunny Sanyal, Gabriel Ilharco, Giannis Daras, Kalyani Marathe, Aaron Gokaslan, Jieyu Zhang, Khyathi Chandu, Thao Nguyen, Igor Vasiljevic, Sham Kakade, Shuran Song, Sujay Sanghavi, Fartash Faghri, Sewoong Oh, Luke Zettlemoyer, Kyle Lo, Alaaeldin El-Nouby, Hadi Pouransari, Alexander Toshev, Stephanie Wang, Dirk Groenveld, Luca Soldaini, Pang Wei Koh, Jenia Jitsev, Thomas Kollar, Alexandros G. Dimakis, Yair Carmon, Achal Dave, Ludwig Schmidt, and Vaishaal Shankar. Datacomp-lm: In search of the next generation of training sets for language models, 2024.
  25. [25]Yanhong Li, Songlin Yang, Shawn Tan, Mayank Mishra, Rameswar Panda, Jiawei Zhou, and Yoon Kim. Distilling to hybrid attention models via kl-guided layer selection. In International Conference on Learning Representations, volume 2026, pp. 108531–108555, 2026.
  26. [26]Yupu Liang, Shuang Chen, Guanwei Zhang, Shaolei Wang, and Suncong Zheng. Revealing the learning dynamics of long-context continual pre-training. arXiv preprint arXiv:2604.02650, 2026.arxiv.org/abs/2604.02650
  27. [27]Colin Lockard, Prashant Shilralkar, and Xin Luna Dong. Openceres: When open information extraction meets the semi-structured web. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 3047–3056, 2019.DOI
  28. [28]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.arxiv.org/abs/1711.05101
  29. [29]Youmi Ma and Naoaki Okazaki. From interpretability to performance: Optimizing retrieval heads for long-context language models. In Findings of the Association for Computational Linguistics: ACL 2026, pp. 27731–27747, 2026.
  30. [30]Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models, 2016.arxiv.org/abs/1609.07843
  31. [31]NVIDIA Team. Nemotron 3 ultra: Open, efficient mixture-of-experts hybrid mamba-transformer model for agentic reasoning, 2026. URL https://arxiv.org/abs/2606.15007.
  32. [32]Denis Paperno, Germán Kruszewski, Angeliki Lazaridou, Ngoc-Quan Pham, Raffaella Bernardi, Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernández. The lambada dataset: Word prediction requiring a broad discourse context. In Proceedings of the 54th annual meeting of the association for computational linguistics (volume 1: Long Papers), pp. 1525–1534, 2016.arxiv.org/abs/1606.06031
  33. [33]Ziqing Qiao, Yinuo Xu, Chaojun Xiao, Zhou Su, Zihan Zhou, Yingfa Chen, Xiaoyue Xu, Xu Han, and Zhiyuan Liu. Rethinking the role of efficient attention in hybrid architectures. arXiv preprint arXiv:2606.15378, 2026.arxiv.org/abs/2606.15378
  34. [34]Zhen Qin, Songlin Yang, Weixuan Sun, Xuyang Shen, Dong Li, Weigao Sun, and Yiran Zhong. Hgrn2: Gated linear rnns with state expansion. arXiv preprint arXiv:2404.07904, 2024.arxiv.org/abs/2404.07904
  35. [35]Qwen Team. Qwen3.8-Flash-Next: A new architecture, towards ultimate cost-efficiency, August 2026. URL https://qwen.ai/blog?id=qwen3.8-flash-next.
  36. [36]Pranav Rajpurkar, Robin Jia, and Percy Liang. Know what you don’t know: Unanswerable questions for squad. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pp. 784–789, 2018.arxiv.org/abs/1806.03822
  37. [37]Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adversarial winograd schema challenge at scale, 2019. URL https://arxiv.org/abs/1907.10641.
  38. [38]Noam Shazeer. Glu variants improve transformer. arXiv preprint arXiv:2002.05202, 2020.arxiv.org/abs/2002.05202
  39. [39]Xingyu Shen, Yingfa Chen, Zhen Leng Thai, Xu Han, Zhiyuan Liu, and Maosong Sun. Statex: Enhancing rnn recall via post-training state expansion. In Findings of the Association for Computational Linguistics: ACL 2026, pp. 21339–21353, 2026.
  40. [40]Yu Sun, Xinhao Li, Karan Dalal, Jiarui Xu, Arjun Vikram, Genghan Zhang, Yann Dubois, Xinlei Chen, Xiaolong Wang, Sanmi Koyejo, et al. Learning to (learn at test time): Rnns with expressive hidden states. arXiv preprint arXiv:2407.04620, 2024.arxiv.org/abs/2407.04620
  41. [41]Team Kimi, Tongtong Bai, Yifan Bai, Yiping Bao, Jianfeng Cai, Xinyuan Cai, Peizhou Cao, Yuxuan Cao, Ziwei Chai, Y Charles, et al. Kimi k3: Open frontier intelligence. arXiv preprint arXiv:2607.24653, 2026.arxiv.org/abs/2607.24653
  42. [42]Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.arxiv.org/abs/1706.03762
  43. [43]Dustin Wang, Rui-Jie Zhu, Steven Abreu, Yong Shan, Taylor Kergan, Yuqi Pan, Yuhong Chou, Zheng Li, Jibin Wu, Ge Zhang, et al. A systematic analysis of hybrid linear attention. arXiv preprint arXiv:2507.06457, 2025.arxiv.org/abs/2507.06457
  44. [44]Wenhao Wu, Yizhong Wang, Guangxuan Xiao, Hao Peng, and Yao Fu. Retrieval head mechanistically explains long-context factuality. In International Conference on Learning Representations, volume 2025, pp. 62143–62156, 2025.arxiv.org/abs/2404.15574
  45. [45]Guangxuan Xiao, Jiaming Tang, Jingwei Zuo, Junxian Guo, Shang Yang, Haotian Tang, Yao Fu, and Song Han. Duoattention: Efficient long-context llm inference with retrieval and streaming heads. In International Conference on Learning Representations, volume 2025, pp. 37228–37253, 2025.
  46. [46]An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025a.arxiv.org/abs/2505.09388
  47. [47]Songlin Yang, Bailin Wang, Yikang Shen, Rameswar Panda, and Yoon Kim. Gated linear attention transformers with hardware-efficient training. arXiv preprint arXiv:2312.06635, 2023.arxiv.org/abs/2312.06635
  48. [48]Songlin Yang, Jan Kautz, and Ali Hatamizadeh. Gated delta networks: Improving mamba2 with delta rule. In International Conference on Learning Representations, volume 2025, pp. 29687–29707, 2025b.arxiv.org/abs/2412.06464
  49. [49]Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. Hellaswag: Can a machine really finish your sentence? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 2019.arxiv.org/abs/1905.07830
  50. [50]Biao Zhang and Rico Sennrich. Root mean square layer normalization. Advances in neural information processing systems, 32, 2019.
  51. [51]Xinyu Zhao, Fangcong Yin, and Greg Durrett. Understanding synthetic context extension via retrieval heads. arXiv preprint arXiv:2410.22316, 2024.arxiv.org/abs/2410.22316

Paper details

vlnc:W_evqrutjp
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY-SA 4.0

Original source

  • Computer Science

generative AI tools, LLM · View statement →

Looking for related papers…
Contents