Manuscript Offprint
arXiv:2610.10114Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Position
Abstract
The architectural design of Large Language Models (LLMs) is shifting from traditional full-attention-only models to hybrid models, which combine different attention modules to improve long-context efficiency and performance in length extrapolation and context extension. To explain why hybrid models work and how to design them better, we propose Mechanics of Long-Context Hybrid Models. As Part 1.1 of this series, we begin with hybrids of full attention and either sliding-window attention (SWA) or gated variants of linear attention (LA), represented by GLA and GDN. We first observe a Seesaw Effect in Context Extension: LA hybrids benefit more from long-context continual pretraining, whereas SWA hybrids perform better under length extrapolation. We attribute this behavior to differences in the positional inductive biases induced by these attention mechanisms. We find that SWA hybrids suffer from a Short-Context Learning Trap, Short-Window Weariness, and Long-Window Laziness, and require extended windows to enhance performance in continual long-context pretraining. For LA hybrids, we summarize the Matthew Effect of Hybrid Position Extrapolation and propose Sliding-Window Linear Attention, achieving 16× training-free length extrapolation while maintaining 100% accuracy on NIAH-SK1 in 64k context length.
Correspondence: xrliu24@m.fudan.edu.cn, ziwei.he@sii.edu.cn, xpqiu@fudan.edu.cn
Code Repository: https://github.com/OpenMOSS/Hybrid-Mechanics
Takeaway List
T1 From Hybrid Attention to Hybrid Position. Hybrid models improve long-context performance and length extrapolation through hybrid position, combining NoPE with other position biases.
T2 Seesaw Effect in Context Extension of SWA Hybrid. The advantage of SWA-NoPE hybrids over LA-NoPE hybrids in long-context performance is reversed after long-context pretraining, especially for layer-wise hybrids, due to their Short-Context Learning Trap in Context Extension.
T3 No-Free-Lunch Effect in Length Extrapolation of LA Hybrid. LA-NoPE hybrids are weaker than SWA-NoPE hybrids in direct extrapolation, though stronger within the training context.
T4 Tidal Effect in Collaboration of Hybrid Position. Effective collaboration of hybrid position relies on a minority of high-hit-rate NoPE attention with coarse aggregation and a majority of low-entropy position-biased attention (i.e., RoPE attention and gated linear attention) for noise reduction.
T5 Short-Window Weariness and Long-Window Laziness of SWA Hybrid. In length extrapolation, SWA hybrids with short window size perform better, but in context extension, SWA hybrids with sliding window extended to a larger size overcome the short-context trap better.
T6 Matthew Effect of Hybrid Position Extrapolation. Applying a sliding window in position-biased attention and enhanced global aggregation in NoPE attention leads to strong length extrapolation.
• Why Hybrid? Hybrid models have become an important paradigm in LLM design [13, 16, 17]. Compared with traditional RoPE-based full-attention-only models [24, 25], hybrid models not only offer higher computational and memory efficiency [10, 11, 20], but also provide better performance in retrieval, state tracking, language modeling, and length extrapolation [22, 23, 26–29].
• Why Long-Context? LLMs need to support longer context [15, 20, 30–32], and long context is one of the most important application scenarios for current hybrid models [22, 23, 26]. At the same time, million-token-level contexts in the agentic era impose strong constraints on model architectures [15, 16, 20]. Relying solely on full attention is prohibitively expensive, while any single efficient attention is unreliable [22, 33, 34]. This makes hybrid models worth studying in long-context LLMs [21, 23, 35, 36].
• Why Mechanics? There has already been substantial work discussing hybrid models from the perspectives of downstream task evaluation, scaling curves, or system efficiency [21, 23, 26, 35, 36], but these results often remain at the level of comparing the phenomenon of "which model is better" [23, 35]. We instead focus on how different attention modules inside a hybrid model interact, collaborate, and affect length extrapolation [37] during inference and context extension during training. This is why we use Mechanics to summarize this series of works.
On account of this long journey involving comparisons across multiple hybrid modules, hybrid paradigms, and training scenarios, we proceed step by step. This paper is Part 1.1 of the whole series.
• In Part 1, we first discuss the hybridization of memory-constant sliding-window attention (SWA) or linear attention (LA) with full attention, which is also one of the most widely used classes of hybrid models at present [13, 14, 16–18, 23]; in subsequent work, we will continue to explore hybrid models such as sparse-attention hybrids [11, 28, 38–40] and compressed-attention hybrids [20, 41].
• In Part 1.1, we start from the perspective of hybrid position, focusing on the length extrapolation (i.e. training-free generalization beyond the pretraining context length) and context extension (i.e. long-context continual pretraining that expands context length) performance of RoPE-based full-attention models, RoPE-NoPE hybrid-position full-attention models, SWA hybrid models, and LA hybrid models represented by GLA/GDN [17, 33, 34]. In this paper, we focus on the long-context language modeling [42, 43], retrieval [44, 45], and state-tracking abilities [46] in pretraining; in subsequent work, we will continue to explore more advanced abilities in post-training and multi-modal training.
Regarding the results obtained in Part 1.1, we give a complete Takeaway List on the first page of the paper. Specifically, the contributions of this paper can be summarized as follows:
• We compare RoPE-based full attention, RoPE-NoPE hybrid, SWA hybrid, and GLA/GDN hybrid, both layer-wise and head-wise, across model scales of 376M, 776M, and 1B through long-context retrieval, state-tracking, and language-modeling performance under length extrapolation in short-context pretraining and context extension after long-context continual pretraining.
• On hybrid position, we find that hybrid models improve long-context performance and length extrapolation by combining NoPE with other positional biases, i.e., RoPE attention and gated linear attention (Takeaway 1). They occupy distinct functional regions in the entropy-hit-rate scatter diagram, where the boundaries shift with the hybrid ratio (Takeaway 4, Tidal Effect).
• On SWA hybrids, we demonstrate that although SWA hybrids exhibit clear advantages in length extrapolation, they suffer from the short-context learning trap in context extension (Takeaway 2, Seesaw Effect). To address this, we improve SWA hybrids by enlarging the window size and applying the LongCE loss, and further summarize the underlying short-window weariness (Takeaway 5).
• On LA hybrids, we find that LA hybrids perform better in long-context pretraining, but are weaker in length extrapolation (Takeaway 3, No-Free-Lunch Effect). Through our extended attention-entropy analysis, we observe that LA and RoPE attention exhibit similar patterns in the entropy-hit-rate diagram, and both can be viewed as position-biased attention. Based on this, we propose Sliding-Window Linear Attention, achieving length extrapolation with 100% accuracy on NIAH-SK1, and summarize the underlying Matthew Effect of Hybrid Position Extrapolation (Takeaway 6).
2 Related Work
2.1 The Rise of Hybrid Models
LLM architecture design has shifted from traditional full-attention-only models to hybrid models [12–20], combining attention modules with different forms, complexities, and position embeddings to mix information along the sequence dimension [21, 22]. For example, Qwen-3.5 [17, 47], Kimi-K3 [16, 22], and OLMoHybrid [23] mix full softmax attention (e.g., GQA [9] and MLA [10]) or sparse attention (e.g., DSA [11]) with linear attention (e.g., GDN [34] and KDA [22]). Gemma4 [14], Inkling [48], and Mimo-v2 [18] mix full softmax attention with sliding-window softmax attention. GLM-5.3 [19, 49] and MiniMax-M3 [38, 50] adopt sparse-attention hybrids [11, 39, 40], while DeepSeek-v4 [20] uses compressed-attention hybrids [41] with different compression intensity. Hybrid attention often comes with hybrid positional biases and has position-embedding designs that differ from those in traditional models. For example, Jamba [12], Kimi-K3 [16], SWAN-GPT [26], and RNoPE [29] also show that full-attention layers in hybrid models do not necessarily require explicit position embeddings like RoPE [24].
These hybrid models can be more computationally and memory efficient than traditional models, while achieving downstream performance close to or even better than traditional full-attention models. As a result, hybrid models have received increasing attention [16, 21, 23, 35]. Among them, hybrids with fixed memory complexity, especially linear attention (LA) and sliding-window attention (SWA) hybrids, after the early exploration [51–53], have since been adopted by LLMs including Jamba [12], GPT-OSS [13], MiniMax-01 [15], Qwen [17, 47], Kimi [16, 22], Nemotron-H [54], and MiniCPM-SALA [55]. They have also inspired fine-tuning attempts [56–59], and refined efficiency optimizations [27, 60]. Therefore, we start from this class of hybrids to study why hybrid models are effective and how to design them more effectively.
2.2 Long-Context Performance of Hybrid Models
Beyond efficiency, previous work also suggests that hybrid models can bring performance gains within the training context length [16, 23, 29]. Early works [61, 62] show that hybrid models can combine the advantages of traditional softmax attention in retrieval with the advantages of linear attention in state tracing. Kimi-K3 [16] and OLMo Hybrid [23] further verify at larger scales that LA hybrids can improve model expressivity and pretraining scaling efficiency. In addition to layer-wise hybrids, Hymba [63] and HydraHead [36] also verify the effectiveness of head-wise hybrids.
Beyond empirical validation, some works have begun to analyze SWA and LA hybrids theoretically. For example, Wang et al. [21] suggests that a ratio around 3:1 suits hybrid models, while Wu et al. [64] points out that retrieval is mainly handled by full attention, whereas SWA or LA affects the training trajectory. Although these works explain the benefits of hybrid models, there is still a lack of mechanistic analysis of how attention modules cooperate based on their different positional inductive biases in length extrapolation and context extension. Based on this, can we combine the strengths and weaknesses of different attention modules in their positional-bias designs and derive new hybrid strategies that advance length extrapolation and context extension? These are the questions we study in this paper.
2.3 Extrapolation based on Hybrid Models
Besides improving long-context performance within the training length, hybrid models have also been shown to improve length extrapolation, or length generalization [37]. For example, iRoPE [65], RNoPE [29], and SWAN-GPT [26] use RoPE only in some layers and restrict the attention window of these layers during extrapolation, while retaining access to full context only in NoPE layers, achieving strong extrapolation performance. This hybrid position design has also proven to improve retrieval performance within the training length [29]. Similarly, in LA hybrids, Jamba [12], Kimi-K3 [16], and HypeNet [57] find that RoPE can also be removed from full-attention layers, which also helps direct length generalization [37].
Although LA hybrids do not use explicit position embeddings, this does not mean there is no positional bias. Linear attention also contains various position designs, some of which have already been used to improve traditional softmax attention and build stronger position embeddings or attentions [66], such as FoX [67], DeltaFormer [68], and PaTH [69]. Accordingly, we can extrapolate LA hybrids in the same way as RoPE-NoPE hybrids by limiting position-biased attention to local windows while strengthening global perception in NoPE attention, which is also one of the contributions in this paper.
3 Observation
3.1 Setup
We conduct 4k short-context pretraining with 50B tokens and 32k long-context continual pretraining with 5B tokens at 376M, 776M, and 1B model sizes, and we also verify key conclusions by pretraining a 3B model with the configuration detailed in Table 2 in Appendix A. By default, we use length extrapolation performance to refer to long-context performance after 4k short-context pretraining and context extension performance to refer to that after 32k long-context continual pretraining. We abbreviate layer-wise hybrid as LH and head-wise hybrid as HH, and use RoPE and NoPE to denote full attention with and without RoPE, respectively. For example, SWA-NoPE-LH denotes a model where SWA and NoPE full attention are mixed by layer with a ratio of 3:1 [17, 21, 26] by default. We set the window size of SWA to 128, following GPT-OSS [13] and Mimo-v2.5 [18], and set the rotary base of SWA and RoPE full attention to 10000 [24], while GLA and GDN follow their original papers [33, 34, 70]. We only use MHA, since GDN does not support GQA.
We use the PG19 dataset [42] for perplexity (PPL) and LongPPL [43] evaluation, and use RULER [45] and BABILong [46] to evaluate retrieval and state-tracking abilities, respectively. In addition, we also report the average scores within 4k and beyond 4k as references for in-domain and out-of-domain performance.
3.2 Short-Context Training
Figure 1 and Figure 2 show the results of layer-wise hybrids, while Figure 3 and Figure 4 show those of head-wise hybrids. Compared with the RoPE-only full attention model, the hybrid models exhibit lower training loss and perplexity within the training length, even for RoPE-NoPE hybrid full attention models [29]. In SWA hybrids and LA hybrids, removing the position embedding in the full attention layer still enhances long-context performance and length extrapolation [12, 26], in both layer-wise and head-wise hybrids.
We also verify the effectiveness of RoPE-NoPE extrapolation in an SWA-NoPE hybrid manner [26, 29] rather than positional interpolation [71–74]. For RoPE attention, we retain only the attention window of the nearest pretraining context length, 4k. For NoPE attention, we use a log-scaled attention extrapolation, increasing the attention-logit scale to prevent attention entropy from increasing as the context grows, with the log base equal to the pretraining context length [75, 76]. As shown in Figure 5, this hybrid extrapolation method significantly outperforms RoPE or RoPE-NoPE hybrids using Dynamic NTK interpolation [72, 76].

(a) Results on Full Attention and SWA Hybrid.

(a) Results on Full Attention and SWA Hybrid.
(b) Results on Full Attention and GLA/GDN Hybrid.
Figure 1 Comparison of training loss, perplexity (PPL), and LongPPL among different layer-wise hybrid models after 4k context length pretraining. SWA/GLA/GDN-NoPE hybrids achieve stronger long-context language modeling.

(a) Results on Full Attention and SWA Hybrid.

(a) Results on Full Attention and SWA Hybrid.
(b) Results on Full Attention and GLA/GDN Hybrid.
Figure 2 Comparison of long-context performance under RULER and BABILong benchmarks among different layer-wise hybrid models after 4k context length pretraining. SWA/GLA/GDN-NoPE hybrids achieve both stronger long-context downstream performance within and beyond the training context length.

(a) Results on Full Attention and SWA Hybrid.

(a) Results on Full Attention and SWA Hybrid.
(b) Results on Full Attention and GLA/GDN Hybrid.
Figure 3 Comparison of training loss, perplexity (PPL), and LongPPL among different head-wise hybrid models after 4k context length pretraining. SWA/GLA/GDN-NoPE hybrids achieve stronger long-context language modeling.

(a) Results on Full Attention and SWA Hybrid.

(a) Results on Full Attention and SWA Hybrid.
(b) Results on Full Attention and GLA/GDN Hybrid.
Figure 4 Comparison of long-context performance under RULER and BABILong benchmarks among different head-wise hybrid models after 4k context length pretraining. SWA/GLA/GDN-NoPE hybrids achieve both stronger long-context downstream performance within and beyond the training context length.


(a) Results on Layer-wise Hybrid Model (LH).
(b) Results on Head-wise Hybrid Model (HH).
Figure 5 Comparison of long-context performance between RoPE-only and RoPE-NoPE hybrid full-attention models. Both layer-wise and head-wise RoPE-NoPE hybrids have better long-context performance and can achieve effective length extrapolation directly or under log-scaled NoPE extrapolation.
This observation motivates Takeaway 1 in this paper, From Hybrid Attention to Hybrid Position, because the gate mechanism in linear attention can be viewed as inducing a data-dependent position bias [67–69]. In hybrid models, the hybrid position between NoPE and other position biases plays an important role in long-context performance, and we will provide a detailed analysis in Section 4 and Section 6.
Takeaway 1: From Hybrid Attention to Hybrid Position
Hybrid models improve long-context performance and length extrapolation through a hybrid position of NoPE and other position biases. Even in RoPE-NoPE hybrid models, training-free effective length extrapolation is achieved for LLMs pretrained with full attention.
3.3 Long-Context Training
We further conduct long-context continual pretraining. Figure 6 shows results on layer-wise hybrids, while Figure 7 shows those on head-wise hybrids. Notably, there exists a very interesting phenomenon. SWA hybrids, which perform best in length extrapolation, underperform the LA hybrids after context extension, as shown in Figure 8 and Figure 9, and may even fail to surpass their performance under log-scaled NoPE extrapolation, which is more remarkable in layer-wise hybrids. We call this phenomenon of SWA hybrids

(a) Results on Full Attention and SWA Hybrid.

(a) Results on Full Attention and SWA Hybrid.
(b) Results on Full Attention and GLA/GDN Hybrid.
Figure 6 Comparison of long-context performance under RULER and BABILong benchmarks among different layer-wise hybrid models after 32k context length continual pretraining.

(a) Results on Full Attention and SWA Hybrid.

(a) Results on Full Attention and SWA Hybrid.
(b) Results on Full Attention and GLA/GDN Hybrid.
Figure 7 Comparison of long-context performance under RULER and BABILong benchmarks among different head-wise hybrid models after 32k context length continual pretraining.


SWA-NoPE-LH
GLA-NoPE-LH
GDN-NoPE-LH
(a) Performance of log-scale NoPE extrapolation.
SWA-NoPE-LH
GLA-NoPE-LH
GDN-NoPE-LH
(b) Performance after long-context continual pretraining.
Figure 8 Comparison of the long-context performance of the SWA/GLA/GDN-NoPE layer-wise hybrid models under log-scale NoPE extrapolation after short-context pretraining (left) and after long-context continual pretraining (right). The results of SWA hybrids exhibit a remarkable seesaw effect, as detailed in Takeaway 2.
being outperformed by LA hybrids in long-context pretraining the Seesaw Effect of Context Extension in SWA Hybrid, which is Takeaway 2 in this paper. In Section 5, we will try to find the cause of this phenomenon and enhance the context extension of SWA hybrids through a deeper analysis.
Takeaway 2: Seesaw Effect in Context Extension of SWA Hybrid
For the SWA-NoPE hybrid model, the advantage in long-context performance over the LA-NoPE hybrid is inverted after long-context continual pretraining. Moreover, this phenomenon is more remarkable in the SWA-NoPE layer-wise hybrid model.
In contrast, LA hybrids benefit more from context extension during long-context continual pretraining, but lag behind SWA hybrids in length extrapolation. In other words, compared with SWA hybrids, LA hybrids exhibit stronger fitting capability within the training context length, yet weaker generalization beyond it. This phenomenon is consistent with the No-Free-Lunch principle in machine learning and neural network design, leading to Takeaway 3 in this paper, No-Free-Lunch Effect in LA Hybrids. In section 6, we will try to figure out the position bias in LA hybrids and enhance their length extrapolation.


SWA-NoPE-HH
GLA-NoPE-HH
GDN-NoPE-HH
(a) Performance of log-scale NoPE extrapolation.
SWA-NoPE-HH
GLA-NoPE-HH
GDN-NoPE-HH
(b) Performance after long-context continual pretraining.
Figure 9 Comparison of the long-context performance of the SWA/GLA/GDN-NoPE head-wise hybrid models under log-scale NoPE extrapolation after short-context pretraining (left) and after long-context continual pretraining (right). The results of SWA hybrids exhibit a remarkable seesaw effect, as detailed in Takeaway 2.
Takeaway 3: No-Free-Lunch Effect in Length Extrapolation of LA Hybrid
The GLA/GDN-NoPE hybrid model shows its disadvantages in extrapolation (OOD) compared to the SWA-NoPE hybrid model and advantages within the training context (in-domain). Particularly,
• GLA/GDN-NoPE underperforms SWA-NoPE under direct extrapolation and log-scaled NoPE extrapolation after short-context pretraining, while
• GLA/GDN-NoPE outperforms SWA-NoPE within the training context length in both short- and long-context pretraining.
4 Discussion on Hybrid Position
The effectiveness of hybrid models raises thought-provoking questions: why do RoPE/NoPE full attention, sliding-window attention, and linear attention each have shortcomings, but hybrid models can achieve better long-context performance within and beyond the training context length? What specific roles do NoPE and other position-biased attention play in the same model?
4.1 Ratio Ablation and Noise Analysis
To answer these questions, we first analyze NoPE head-wise hybrid models with different NoPE ratios. We choose head-wise hybrids because they let NoPE and other attention types collaborate in parallel within the same layer, making them better suited for role attribution than layer-wise hybrids, and avoiding the impact of layer order and functional differences at different depths.
We compare RoPE-NoPE-HH, SWA-NoPE-HH, GLA-NoPE-HH, and GDN-NoPE-HH with different hybrid ratios, 3:1, 1:1, and 1:3, using the same setup for pretraining on model sizes of 376M and 776M. We only conduct the first stage of pretraining with a context length of 4k, and apply a sliding window with a window size of 4k for RoPE attention in RoPE-NoPE-HH [26, 29], as well as log attention scaling for NoPE attention in all hybrids to achieve better length extrapolation [75, 76]. The results are shown in Figure 10. The results indicate that a 3:1 RoPE-NoPE ratio performs best within and beyond the training length in most cases. While NoPE attention plays an important role in long-context performance and extrapolation capability, more NoPE attention actually weakens the extrapolation effect.
Particularly, we conduct noise experiments on the 1:1 NoPE head hybrids. We add Gaussian noise to NoPE heads or other position-biased heads and observe which part of the noise has a greater impact on downstream tasks such as RULER and BABILong in 4k context length as the variance increases. Surprisingly, as shown in Figure 11, adding noise to the position-biased heads, including RoPE/SWA/GLA/GDN heads, has a greater impact on downstream long-context tasks. This contradicts the intuition that NoPE is more responsible for global information retrieval, tending to dominate long-context performance, prompting us to investigate further: what role does NoPE full attention play in the hybrid models, and why could adding only a small amount of NoPE attention improve the performance of the original RoPE model?
4.2 Attention Analysis of Hybrid Position
To analyze the role of NoPE full attention in the hybrid models more clearly, we carry out three more in-depth experiments on attention distribution for the RoPE-NoPE hybrids.

RoPE
RoPE-NoPE-3:1
RoPE-NoPE-1:1
RoPE-NoPE-1:3
(a) Results on RoPE-NoPE hybrids.

RoPE
SWA-NoPE-3:1
SWA-NoPE-1:1
SWA-NoPE-1:3
(b) Results on SWA-NoPE hybrids.

RoPE
GLA-NoPE-3:1
GLA-NoPE-1:1
GLA-NoPE-1:3
(c) Results on GLA-NoPE hybrids.

RoPE
GDN-NoPE-3:1
GDN-NoPE-1:1
GDN-NoPE-1:3
(d) Results on GDN-NoPE hybrids.
Figure 10 Comparison of training loss, RULER, and BABILong among different hybrid ratios in head-wise hybrid models.

RoPE / SWA / GLA / GDN NoPE
(a) Results on RULER Benchmark.

RoPE / SWA / GLA / GDN NoPE
(b) Results on BABILong Benchmark.
Figure 11 Results of noise experiments on RULER and BABILong benchmark. Adding Gaussian noise to RoPE full attention or SWA/GLA/GDN degrades long-context performance more severely than the same perturbation applied to NoPE full attention in the corresponding hybrid models.
-
Hit Rate Experiment. Input the prompt of the 4k SK1 task in RULER [45], and calculate the probability that the top-k attention score in RoPE or NoPE attention hits the position to be retrieved for the query tokens at the end of the input. This experiment determines whether RoPE or NoPE is more responsible for direct information localization.
-
Retrieval Head Experiment. Follow the definition of the retrieval head and streaming head in DuoAttention [77] and compare the retrieval scores in RoPE and NoPE attention. According to Xiao et al. [77], a retrieval head is an attention head that preserves distant tokens in addition to the initial sink and the recent local tokens, whereas a streaming head primarily preserves the sink and local tokens. This experiment determines whether RoPE or NoPE reads distant content more frequently.
-
Attention Entropy Experiment: Count the attention entropy of RoPE and NoPE attention on the PG19 dataset [42]. We normalize the entropy between 0 and 1 by dividing by the maximum possible entropy value, the logarithm of the context length. This experiment determines whether RoPE or NoPE attention has a broader attention range.
Since retrieval scores are concentrated near 0 within , we divide them into three bins: high , medium , and low , and report each proportion. The results are shown in Figure 12, where NoPE and RoPE show the biggest gap in the hit-rate plot when . To better reflect the distinct roles of RoPE and NoPE attentions, we add a scatter plot where each point represents an attention head, using its attention entropy at 4k and its top-64 hit rate as its coordinates. In this entropy-hit-rate diagram, we also use different colors to distinguish the retrieval head and streaming head in RoPE and NoPE attention.
We first compare the RoPE-NoPE head-wise hybrid models with a 1:1 head mix. We find that NoPE attention has a higher hit rate, a higher retrieval-head proportion, and a higher attention entropy, mainly occupying the strip area from the upper middle to the lower right in the entropy-hit-rate diagram. In contrast, RoPE attention has a lower hit rate, a higher streaming-head proportion, and a lower attention entropy, mainly occupying the sector area extending outward from the lower-left corner in the entropy-hit-rate diagram. This indicates that NoPE mainly supports coarse global localization in the hybrid models, since it dominates the high-entropy region. However, the negative correlation between entropy and hit rate indicates that when NoPE achieves a medium or lower hit rate, its higher attention entropy may introduce more noise. That is why localization relying solely on NoPE is unreliable, and a higher NoPE ratio may imply worse performance.
This is even more evident in comparing RoPE-NoPE hybrids with different RoPE-NoPE ratios. As the NoPE ratio increases, the distribution of RoPE attentions in the entropy-hit-rate diagram gradually shrinks towards the lower-left corner. In contrast, NoPE attentions occupy the high-hit-rate region and extend to the low-hit-rate and high-entropy region simultaneously. This is just like a tidal lane, where traffic may

(a) Comparison within 1:1 RoPE-NoPE-HH.
(b) Comparison among RoPE-NoPE-HH
Figure 12 The results of attention analysis within 1:1 RoPE-NoPE-HH and among RoPE-NoPE-HH with different hybrid ratio. NoPE full attention shows a stronger tendency for coarse global information localization, given the higher attention score hit rate and larger attention entropy, compared with RoPE full attention in RoPE-NoPE hybrids.

(a) Comparison within 1:1 RoPE-NoPE-LH.
(b) Comparison among RoPE-NoPE-LH
Figure 13 The results of attention analysis within 1:1 RoPE-NoPE-LH and among RoPE-NoPE-LH with different hybrid ratios. The tidal effect of hybrid position is still applicable in RoPE-NoPE layer-wise hybrid models.
travel in either direction, depending on certain conditions. Therefore, we name this redistribution, under the collaboration between position-biased attention and NoPE attention, the Tidal Effect of Hybrid Position, which is Takeaway 4 in this paper: position-biased and NoPE attention heads occupy distinct regions in the entropy-hit-rate diagram, and their functional boundaries shift with the hybrid ratio.
Takeaway 4: Tidal Effect in Collaboration of Hybrid Position
Effective collaboration of hybrid position relies on a minority of high-hit-rate NoPE attention with coarse aggregation and a majority of low-entropy position-biased attention (i.e., RoPE attention and gated linear attention) for noise reduction. In the entropy-hit-rate diagram, position-biased attention occupies a sector region extending from the lower-left corner, while NoPE attention occupies a strip region from the upper middle to the lower right, and their boundaries shift with the hybrid ratio.
Notably, here we extend this effect from RoPE-NoPE hybrid modes to other hybrid models, including GLA-NoPE and GDN-NoPE hybrids. We will verify such an extension in Section 6. Here, we first verify the Tidal Effect in RoPE-NoPE layer-wise hybrid models. Considering the impact of layer order and functional differences at different depths, we conduct the validation experiment on 3:1 RoPE-NoPE, 1 NoPE layer after 3 RoPE layers, 1:1 RoPE-NoPE, 1 NoPE after 1 RoPE layer, 1:3 NoPE-RoPE, 3 RoPE layers after 1 NoPE layer, and 1:1 NoPE-RoPE, 1 RoPE after 1 NoPE layer. We compare the hit-rate curve, retrieval score distribution, and attention entropy curve in both 1:1 RoPE-NoPE (NR) and 1:1 NoPE-RoPE (RN), and present the entropy-hit-rate diagram for 4 hybrids in 376M and 776M model sizes in Figure 13. The relative rankings of hit rate, retrieval score, and attention entropy, and the distribution pattern between RoPE and NoPE attention are consistent with those in head-wise hybrid models. In addition, we find that attentions in upper layers tend to have higher hit rates and larger entropy for both NoPE and RoPE attentions.
To sum up, we clarify how RoPE and NoPE attention collaborate, extending Takeaway 1 to a more fine-grained level. Although NoPE attention enables training-free effective length extrapolation and a higher attention hit rate, its coarse global localization still requires collaboration with position-biased attention to maintain performance in long-context tasks as the distribution shifts with the hybrid ratio.
Takeaway 1: From Hybrid Attention to Hybrid Position (Complete Version)
Hybrid models improve long-context performance and length extrapolation through a hybrid position of NoPE and other position biases. Particularly,
• On one hand, training-free effective length extrapolation can be achieved even for LLMs pretrained with full attention by limiting the attention scope of position bias.
• On the other hand, although NoPE attention consistently aggregates global information, downstream performance still relies on collaboration with other modules.
5 Discussion on SWA Hybrid
For SWA hybrids, we focus on why the seesaw effect appears during context extension, and why a model that extrapolates well from short-context pretraining can become less competitive after long-context continual pretraining. We first use perplexity curves and parameter change ratios to analyze the source of the problem. Then, we improve context-extension performance by enlarging the window size in long-context continual pretraining and strengthening long-context dependency learning with LongCE [43].
5.1 Short-Context Learning Trap of SWA Hybrids
We start the discussion by observing the perplexity curves, and this reveals a potential reason behind the reversal in downstream task ranking. Figure 14 compares the perplexity curves of SWA-NoPE, RoPE-NoPE, GLA-NoPE, and GDN-NoPE hybrids before and after long-context continual pretraining. For most models, the perplexity curve before long-context training rises clearly beyond the pretraining context length. After long-context continual pretraining, the curve becomes much flatter or steadily decreases, indicating that the model can support longer contexts and use context to predict the next token better.
However, SWA-NoPE hybrids show the opposite behavior. Because they already have strong extrapolation ability, their perplexity curves keep decreasing within 32k before long-context continual pretraining. After long-context continual pretraining, especially for layer-wise SWA-NoPE hybrids, the perplexity curve instead shows an upward trend: the loss on long-context positions decreases only slightly, while the loss on short-context positions drops abnormally strongly, and this phenomenon becomes more obvious as the model size increases. This means that long-context dependencies do not help SWA-NoPE hybrids make better predictions. Long-context continual pretraining of SWA-NoPE hybrids focuses too much on short contexts, and as a result, LA-NoPE hybrids surpass SWA-NoPE hybrids after long-context continual pretraining. We refer to this phenomenon as the Short-Context Learning Trap in Context Extension of SWA Hybrid. This explains why the seesaw effect emerges during context extension of SWA hybrids and refines Takeaway 2.
To further verify the existence of the short-context learning trap, we plot the parameter change ratios in Figure 15, comparing SWA-NoPE, RoPE-NoPE, GLA-NoPE, and GDN-NoPE hybrids. The x-axis represents
Takeaway 2: Seesaw Effect in Context Extension of SWA Hybrid (Complete Version).
For the SWA-NoPE hybrid model, the advantage in long-context performance over the LA-NoPE hybrid is inverted after long-context continual pretraining, which is more remarkable in SWA-NoPE layer-wise hybrids, due to the Short-Context Learning Trap in Context Extension of SWA Hybrid.
different layers, and the y-axis represents the parameter change ratios of the and matrices. Taking as an example, let and denote its values before and after long-context continual pretraining. We define the change ratio as . We first compute this ratio for each head within the same layer, and then average over heads. For head-wise hybrids, we separately aggregate NoPE heads and non-NoPE heads in each layer. For layer-wise hybrids, we do not make an additional distinction within each layer, and the non-NoPE layers and NoPE layers are interleaved at a 3:1 ratio.
We find that for GLA-NoPE and GDN-NoPE hybrids, the parameter change ratios of GLA/GDN and NoPE attention are close. In contrast, for SWA and RoPE attention, especially SWA, the parameter change ratio is significantly larger than that of NoPE attention in both layer-wise and head-wise hybrids. This suggests that during long-context continual pretraining, SWA and RoPE attention receive much more optimization in SWA-NoPE and RoPE-NoPE hybrids. For SWA, however, the window size remains fixed, so the range of context dependencies that it can model is still limited. Therefore, its abnormal focus on this bounded local branch is what drives SWA-NoPE hybrids into the short-context learning trap during context extension.
5.2 Short-Window Weariness and Long-Window Laziness
Motivated by Figure 15, we enlarge the SWA window size during long-context continual pretraining of layer-wise SWA-NoPE hybrids. The idea is to use the abnormal focus on the SWA branch to capture longer context dependencies. Specifically, we increase the window size from 128 to 256, 512, 1024, 2048, and 4096.

SWA-NoPE-LH
SWA-NoPE-HH
(a) Perplexity of SWA Hybrids.

RoPE-NoPE-LH
RoPE-NoPE-HH
(b) Perplexity on RoPE-NoPE hybrids.

GLA-NoPE-LH
GLA-NoPE-HH
(c) Perplexity of GLA Hybrids.

GDN-NoPE-LH
GDN-NoPE-HH
(d) Perplexity of GDN Hybrids.
Figure 14 Perplexity curves of different hybrid models under direct extrapolation, log-scale NoPE extrapolation (Log), and long-context continual pretraining (LC-CPT). The perplexity curves of SWA-NoPE-LH show a remarkable increasing trend as the context length grows, different from other hybrid models.

(a) Comparison of layer-wise hybrid models.

Q in NoPE
K in NoPE
Q in otherwise
K in otherwise
(b) Comparison of head-wise hybrid models.
Figure 15 Comparison of the change rates of the and matrices in attention modules across different hybrid models before and after long-context training. In layer-wise hybrids, 1 NoPE layer is inserted every 3 RoPE/SWA/GLA/GDN layers. In head-wise hybrids, each layer contains the and matrices of NoPE as well as those of the other RoPE/SWA/GLA/GDN modules. Remarkably, in SWA-NoPE hybrids, the SWA modules receive anomalous emphasis during long-context training. However, their limited window size cannot support modeling longer contexts.
Following the scaling law of RoPE-based extrapolation [76], we also compute the rotary base corresponding to each enlarged window size when the initial window size is 128, and the original rotary base is 10000. Figure 16 and Figure 18 compare the PG19 perplexity, RULER, and BABILong performance of SWA hybrids after enlarging the window. The results show that increasing the window size indeed improves downstream long-context performance, and a window size of 2048 gives the best results at both 376M and 776M scales.
In addition, enlarging the window only exploits the short-context learning trap rather than emphasizing long-context dependencies directly. Therefore, we also use LongCE [43] as the training objective for layer-wise SWA-NoPE hybrids in long-context continual pretraining. As shown in Figure 20, both enlarging the window to 2048 and using LongCE improve the long-context performance of SWA-NoPE layer-wise hybrids, and the two methods can be combined. With both methods, SWA-NoPE-LH becomes competitive with GDN-NoPE-LH across different model sizes. Since the short-context trap in SWA hybrid long-context continual pretraining may not be limited to SWA-NoPE layer-wise hybrids, we further apply the same two strategies to SWA-RoPE layer-wise hybrids. Enlarging the window and using LongCE also improves the long-context training performance of SWA-RoPE-LH at different scales, making it close to GDN-RoPE-LH.
These results show that keeping a small SWA window during long-context continual pretraining harms context extension. SWA hybrids suffer from the short-context learning trap and require enlarged windows as well as training strategies that emphasize long-context learning. We call this phenomenon Short-Window Weariness of SWA Hybrid. At the same time, some previous works have reported that for SWA hybrids, shorter windows can be more advantageous than longer windows during the initial training stage, because they better activate the potential of NoPE full-attention layers [28, 35]; this phenomenon is sometimes called Long-Window Laziness. We argue that the two observations are not contradictory. In fact, we can also verify this tendency as shown in Figure 17 and Figure 19. The coexistence of short-window weariness and long-window laziness indicates that SWA hybrids may require fine-grained adjustment of positional bias across short-context and long-context training stages, just as RoPE full-attention models need to tune the rotary base and scaling factor in context extension [73, 74, 76, 78]. We summarize the coexistence of short-window weariness and long-window laziness as Takeaway 5 in this paper.
Takeaway 5: Short-Window Weariness and Long-Window Laziness of SWA Hybrid
• In short-context pretraining, SWA hybrids with shorter window size show better length extrapolation.
• In long-context pretraining, SWA hybrids with larger window size show better context extension.

SWA-NoPE-LH
-
Log
-
w128 CPT
-
w256 CPT
-
w512 CPT
-
w1024 CPT
-
w2048 CPT
-
w4096 CPT
Figure 16 Comparison of long-context perplexity and performance of SWA-NoPE-LH with different window sizes (wsz) in long-context continual pretraining (CPT).

SWA-NoPE-LH
-
wsz=256
-
wsz=512
-
wsz=1024
-
wsz=2048
-
wsz=4096
Figure 17 Comparison of long-context perplexity and performance of SWA-NoPE-LH with different window sizes (wsz) in short-context pretraining.

376M
776M
Figure 18 Tendency of long-context perplexity and performance as the window size of SWA-NoPE-LH increases in long-context pretraining. Larger window sizes show better context extension, implying short-window weariness.

376M
376M + Log
776M
776M + Log
Figure 19 Tendency of long-context perplexity and performance as the window size of SWA-NoPE-LH increases in short-context pretraining. Shorter window sizes show better length extrapolation, implying long-window laziness.
6 Discussion on LA Hybrid
For LA hybrids, we first ask how to present the collaboration of LA variants with NoPE attention, and whether this collaboration differs from that between RoPE attention and NoPE attention. Moreover, since GLA/GDN-NoPE hybrids still underperform SWA hybrids in length extrapolation, revealing the No-Free-Lunch Effect in Takeaway 3, we therefore need to consider how to improve their extrapolation performance.
6.1 Extended Hybrid Position Analysis
The biggest difference between linear attention and softmax attention is that linear attention does not have a standard attention distribution, and its attention scores are not necessarily non-negative. Therefore, we cannot compute the attention entropy directly. Of course, one could apply softmax to the attention scores of linear attention and obtain a distribution, but this is inconsistent with the original computation of linear attention. Before analyzing linear attention, we therefore need a method that extends concepts such as attention distribution and attention entropy to arbitrary attention mechanisms, compatible with softmax attention and without extra operations on other attention algorithms.


(a) Results of SWA-NoPE-LH.
(b) Results of SWA-RoPE-LH.
Figure 20 Comparison of long-context performance of SWA-NoPE-LH after long-context continual pretraining enhanced by LongCE and extended window size. Both clearly weaken the seesaw effect and also contribute to SWA-RoPE-LH.
We note that the original attention distribution is not only the softmax of the scaled inner product between and , but also the combination weight of when forming . From this perspective, depends on the internal attention computation only in the forward pass. In the backward view, it corresponds to the derivative of with respect to , more precisely, the norm of the Jacobian matrix as shown in Equation 1.
Since a matrix norm is non-negative, after normalization it yields a value in and can be used as a distribution to compute attention entropy. For softmax attention, because is already normalized, this extension does not change the original result. For linear attention, this extension does not modify the original attention computation. We call the resulting distribution the extended attention distribution, and call its entropy the extended attention entropy. By default, we also normalize this entropy by dividing by the logarithm of the context length. We use the induced matrix 2-norm (spectral norm) for the Jacobian, compute extended attention entropy and top-k hit rate, and use them to discuss the characteristics of SWA, GLA, and GDN beyond RoPE attention. The results are shown in Figure 21 and Figure 22.
Figure 21 first compares the characteristics of different attention modules in 3:1 layer-wise SWA-NoPE, RoPE-NoPE, GLA-NoPE, and GDN-NoPE hybrids. Because SWA always keeps a fixed attention range, its attention entropy changes only slightly as the context length increases. Correspondingly, SWA also struggles

NoPE SWA GLA GDN
(a) Entropy comparison within NoPE-LH.
RoPE NoPE SWA GLA GDN
(b) Entropy-hit-rate scatter diagram comparison among NoPE-LH.

NoPE SWA GLA GDN
(c) Entropy comparison within NoPE-HH.
RoPE NoPE SWA GLA GDN
(d) Entropy-hit-rate scatter diagram comparison among NoPE-HH.
Figure 21 Attention analysis results among 3:1 RoPE-NoPE, SWA-NoPE, GLA-NoPE, and GDN-NoPE hybrid models, with extended attention entropy and hit rate. In the entropy-hit-rate diagram, NoPE attention still shows a stronger tendency to aggregate global information coarsely, with a higher attention hit rate and larger attention entropy. In contrast, SWA, GLA, and GDN show a similar distribution pattern to RoPE attention.
to hit key information in the previous context, and its points stay close to the x-axis in the entropy-hit-rate diagram. NoPE attention behaves similarly to Figure 12: its entropy still increases with context length, indicating a more uniform distribution and a coarser aggregation. In the entropy-hit-rate diagram, NoPE attention again occupies the strip region from the upper middle to the lower right. In contrast, GLA and GDN behave more like the RoPE attention in Figure 12: their entropy decreases as the context length increases, suggesting that they perceive only a limited amount of information and become more concentrated at longer lengths. The difference is that GLA and GDN start in a medium-entropy region compared with RoPE, which may be related to the absence of softmax in GLA and GDN: high-score positions are not explicitly amplified by softmax. Therefore, in the entropy-hit-rate diagram, GLA and GDN still occupy regions close to the lower-left area like RoPE attention, but overall shift toward the right, higher-entropy side.
We further compare head-wise GLA-NoPE and GDN-NoPE hybrids with different hybrid ratios in Figure 22. Similar to Figure 12, as the NoPE ratio increases, the distribution of GLA or GDN in the entropy-hit-rate diagram gradually shrinks toward the lower-left region, while NoPE attention simultaneously occupies the high-hit-rate region. A difference from RoPE attention is that because the distributions of GLA and GDN are overall compressed toward the right, they also have points in the lower-right region with low hit rate and high entropy. This corresponds to the observation in Figure 10 that RoPE-NoPE hybrids are more sensitive to the increase of the NoPE ratio than LA-NoPE hybrids. Therefore, we answer the hypothesis left in Section 4, and extend the Tidal Effect of Hybrid Position from RoPE-NoPE hybrids to mixtures of NoPE attention.

(a) Comparison among GLA-NoPE-HH
(b) Comparison among GDN-NoPE-HH
Figure 22 Attention analysis results among GLA-NoPE-HH and GDN-NoPE-HH with different hybrid ratios. The tidal effect of hybrid position is still applicable in GLA-NoPE and GDN-NoPE head-wise hybrid models.
and position-biased attention, including RoPE attention as well as gated linear attention such as GLA and GDN. This naturally leads to the next question: can we also use the extrapolation strategy of RoPE-NoPE hybrids [26, 29] to enhance the length extrapolation of GLA-NoPE and GDN-NoPE hybrids?
6.2 Length Extrapolation of LA Hybrid
In RoPE-NoPE hybrids, we achieve length extrapolation beyond traditional NTK interpolation by treating RoPE attention as a sliding-window attention module with a 4k window, while keeping NoPE attention globally aware and strengthening it in a log-scale correction [26, 29]. For LA-NoPE hybrids, we analogously propose Sliding-Window Linear Attention, which applies a sliding window to linear attention with gates. This may sound counterintuitive, because it appears to conflict with the recurrent nature of linear attention, but it can still be implemented. Without modifying FLA kernels [70], we use an approximation similar to sliding-window perplexity evaluation [37]. Suppose the window size is 4096 and the stride is 1024. We can use the original GLA or GDN operator to compute attention on chunks [0, 4095], [1024, 5119], [2048, 6143], … in parallel, and then extract the outputs at [0, 4095], [4096, 5119], [5120, 6143], … before stacking them back together. This implementation is independent of the internal details of a specific LA variant.
From the internal logic of linear attention, using GLA as an example, the original interaction between and is multiplied by . After applying Sliding-Window Linear Attention, the number of factors accumulated in this product is bounded by the window size, implying that the relative-position signal is also restricted to the training length. As shown in Figures 23 and 24, GLA-NoPE and GDN-NoPE hybrids with Sliding-Window Linear Attention achieve clear improvements in length extrapolation. Moreover, directly adding log-scale correction to the NoPE attention in LA-NoPE hybrids brings only limited improvement, but after applying SWLA, log-scale correction becomes much more effective. This strategy effectively relieves the no-free-lunch effect in length extrapolation of LA hybrids and also implies that even for linear attention with implicit positional bias, extrapolation should still restrict the relative-position range. This gives Takeaway 6 of this paper: in length extrapolation of hybrid-position models, position-biased attention should use a sliding window to restrict its relative-position information, while NoPE attention should strengthen its global perception. We call this phenomenon the Matthew Effect of Hybrid Position Extrapolation, and abbreviate
Takeaway 6: Matthew Effect of Hybrid Position Extrapolation
Applying a sliding window in position-biased attention (i.e., SWA for RoPE attention and SWLA for linear attention with gates) and enhanced global aggregation in NoPE attention by increasing the attention-logit scale can lead to strong length extrapolation for hybrid models.


GLA-NoPE-LH
-
Log
-
wsz=4096
-
Both
(a) Results on GLA-NoPE-LH.
GLA-NoPE-HH
-
Log
-
wsz=4096
-
Both
(b) Results on GLA-NoPE-HH.
Figure 23 Comparison of length extrapolation in GLA-NoPE hybrid models. Applying a sliding window for GLA and a log scale for NoPE attention achieves the best length extrapolation performance.
the Extrapolation based on Matthew effect as EME. This gives a simple yet effective extrapolation strategy, and on RoPE-NoPE hybrids it outperforms classical interpolation methods.
In this paper, we verify the effectiveness of EME on RoPE-NoPE, GLA-NoPE, and GDN-NoPE hybrids, and further show that, for RoPE-NoPE hybrids, EME outperforms traditional interpolation methods. Figure 25 summarizes the comparison among three hybrid models extrapolated with EME and SWA-NoPE extrapolation. The four models show roughly comparable performance. We also highlight the results on the NIAH-SK1, SK2, and SK3 tasks in RULER, which are the most frequently reported tasks in hybrid model research. GLA-NoPE and GDN-NoPE with EME achieve 16× training-free length extrapolation from a 4k training length to 64k inference length, while maintaining 100% accuracy on SK1. The results at the 776M scale are shown in Table 1, with more reported in Table 16. In fact, our finding is also consistent with reports from other work. For example, in Figure 5 of Chen et al. [57], the best extrapolating linear-attention hybrid is HypeNet-Lightning, and long-range decay is a key feature of Lightning Attention [79]. Our approach based on SWLA further amplifies this property through the sliding window, breaks the traditional boundaries between SWA and LA, and is potentially compatible with arbitrary LA variants.
In addition to the aforementioned discussion of length extrapolation and context extension phenomena in hybrid models, we also include further validation experiments and open discussions in Appendix A.
- In Appendix A.1, we also add evaluation results on LongBench [80], a more realistic and comprehensive benchmark for long-context tasks. Although small-scale pre-trained models perform relatively poorly, the results on In-Context Learning (ICL) tasks [1] still validate these takeaways.


GDN-NoPE-LH + Log + wsz=4096 + Both
(a) Results on Layer-wise Hybrid Model (LH).
GLA-NoPE-HH
-
Log
-
wsz=4096
-
Both
(b) Results on Head-wise Hybrid Model (HH).
Figure 24 Comparison of length extrapolation in GDN-NoPE hybrid models. Still, applying a sliding window for GDN and a log scale for NoPE attention achieves the best length extrapolation performance in most cases.
• In Appendix A.2, we first demonstrate that the Seesaw Effect persists under different long-context learning rates and YOCO-style layer-wise hybrid [60]. Then, we also validate the effectiveness of the enhanced recipe for context extension in SWA hybrids under different layer-wise hybrid layouts.
• In Appendix A.3, we also include discussions on topics where conclusions are not yet definitive, such as the selection of the rotary base for SWA in SWA hybrids, performance differences within LA-based hybrids, transfer training experiments and more analysis of hybrid position.
Furthermore, Appendix B provides detailed evaluation scores, along with results from additional standard short-context tasks [81]. We believe our work contributes to a better understanding of long-context phenomena in hybrid models and fosters the development of the hybrid model research community.
6.3 Efficiency Comparison
Additionally, we include a brief comparison of inference and training efficiency, as shown in Figure 26 and 27. Regarding inference efficiency, we compare traditional full-attention-only models with 3:1 layer-wise or head-wise hybrid models that combine SWA, GLA, or GDN with NoPE full attention, across model sizes of 376M, 776M, 1B, and 3B. We measure prefilling efficiency with Time to First Token (TTFT) and decoding efficiency with Time per Output Token (TPOT), both in microseconds. We evaluate memory efficiency based on peak allocated GPU memory and cache size, both measured in GB. As shown in Figure 26, hybrid models offer clear advantages as the model size and context length increase. Notably, although head-wise hybrids compute attention twice in every layer, the advantage in larger model sizes and longer context


(a) Results on Layer-wise Hybrid Model (LH).
(b) Results on Head-wise Hybrid Model (HH).
Figure 25 Comparison of EME in RoPE-NoPE, GLA-NoPE, and GDN-NoPE hybrids as well as SWA-NoPE hybrids.
| NIAH-SK1 | NIAH-SK2 | NIAH-SK3 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 4k | 8k | 16k | 32k | 64k | 4k | 8k | 16k | 32k | 64k | |
| 776M Short | |||||||||||||||
| GLA-NoPE-LH | 99.0 | 95.0 | 80.0 | 0.0 | 0.0 | 99.0 | 69.0 | 0.0 | 0.0 | 0.0 | 90.0 | 88.0 | 0.0 | 0.0 | 0.0 |
| + Log | 99.0 | 99.0 | 98.0 | 0.0 | 0.0 | 99.0 | 68.0 | 1.0 | 0.0 | 0.0 | 90.0 | 91.0 | 0.0 | 0.0 | 0.0 |
| + SWLA | 99.0 | 100.0 | 100.0 | 97.0 | 97.0 | 99.0 | 74.0 | 5.0 | 0.0 | 0.0 | 90.0 | 56.0 | 21.0 | 8.0 | 3.0 |
| + SWLA & Log (EME) | 99.0 | 100.0 | 100.0 | 96.0 | 100.0 | 99.0 | 92.0 | 87.0 | 72.0 | 59.0 | 90.0 | 79.0 | 75.0 | 76.0 | 64.0 |
| GLA-NoPE-HH | 100.0 | 100.0 | 68.0 | 82.0 | 0.0 | 100.0 | 71.0 | 0.0 | 0.0 | 0.0 | 65.0 | 45.0 | 0.0 | 0.0 | 0.0 |
| + Log | 100.0 | 100.0 | 98.0 | 95.0 | 72.0 | 100.0 | 68.0 | 0.0 | 0.0 | 0.0 | 65.0 | 49.0 | 0.0 | 0.0 | 0.0 |
| + SWLA | 100.0 | 100.0 | 100.0 | 92.0 | 75.0 | 100.0 | 100.0 | 82.0 | 32.0 | 1.0 | 65.0 | 62.0 | 44.0 | 9.0 | 1.0 |
| + SWLA & Log (EME) | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 97.0 | 66.0 | 31.0 | 65.0 | 68.0 | 65.0 | 62.0 | 34.0 |
| GDN-NoPE-LH | 100.0 | 100.0 | 100.0 | 100.0 | 99.0 | 99.0 | 98.0 | 2.0 | 0.0 | 0.0 | 62.0 | 71.0 | 5.0 | 0.0 | 0.0 |
| + Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 99.0 | 98.0 | 9.0 | 1.0 | 0.0 | 62.0 | 70.0 | 9.0 | 0.0 | 0.0 |
| + SWLA | 100.0 | 100.0 | 100.0 | 100.0 | 99.0 | 99.0 | 97.0 | 96.0 | 92.0 | 53.0 | 62.0 | 64.0 | 61.0 | 56.0 | 31.0 |
| + SWLA & Log (EME) | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 99.0 | 97.0 | 99.0 | 99.0 | 90.0 | 62.0 | 67.0 | 64.0 | 66.0 | 53.0 |
| GDN-NoPE-HH | 100.0 | 100.0 | 100.0 | 99.0 | 92.0 | 100.0 | 95.0 | 2.0 | 0.0 | 0.0 | 94.0 | 38.0 | 0.0 | 0.0 | 0.0 |
| + Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 93.0 | 3.0 | 0.0 | 0.0 | 94.0 | 43.0 | 0.0 | 0.0 | 0.0 |
| + SWLA | 100.0 | 99.0 | 100.0 | 95.0 | 92.0 | 100.0 | 99.0 | 64.0 | 4.0 | 0.0 | 94.0 | 68.0 | 31.0 | 5.0 | 2.0 |
| + SWLA & Log (EME) | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 97.0 | 72.0 | 35.0 | 94.0 | 71.0 | 65.0 | 47.0 | 16.0 |
Table 1 Extrapolation comparison of the 776M GLA/GDN-NoPE hybrid model on the NIAH-SK1, SK2, and SK3 tasks. Applying a sliding-window linear attention and a log scale for NoPE attention achieves the best length extrapolation.

(a) Results on Layer-wise Hybrid Model (LH).

Full SWA-NoPE-HH GLA-NoPE-HH GDN-NoPE-HH
(b) Results on Head-wise Hybrid Model (HH).
Figure 26 A brief comparison between the traditional full attention model and hybrid models on inference efficiency.

(a) Results on Layer-wise Hybrid Model (LH).

(b) Results on Head-wise Hybrid Model (HH).
Figure 27 A brief comparison between the traditional full attention model and hybrid models on training efficiency.
lengths is still remarkable. Similarly, regarding training efficiency, we compare training throughput on 8 H200 GPUs, measured by TGS (tokens per GPU per second) in 4k and 32k context lengths. We still compare full-attention-only models with 3:1 layer-wise or head-wise hybrid models on 376M, 776M, and 1B, without 3B, since training 3B models requires 16 H200 GPUs. As shown in Figure 27, hybrid models still offer a larger throughput, especially for the 1B model size and 32k context length.
Moreover, because the GLA and GDN variants store their recurrent states in higher FP32 precision, their resulting cache sizes are comparable to the cache overhead of the SWA hybrid with a window size of 128 and FP16 precision, so the corresponding curves overlap in the memory-efficiency comparison. In addition, because the QKV matrices of head-wise SWA hybrids are concatenated rather than split, as in head-wise LA hybrids, the intermediate memory footprint is larger, so head-wise SWA hybrids share the same peak inference memory as full attention and offer lower training throughput than LA hybrids.
7 Conclusion
In this paper, we conduct extensive experiments to validate the effectiveness of the hybrid model in length extrapolation and context extension. Regarding hybrid position in NoPE attention versus other position-biased attention, we propose the Tidal Effect in collaboration and the Matthew Effect in extrapolation. We also discover the Seesaw Effect in context extension of the sliding-window attention hybrid models and the No-Free-Lunch Effect in length extrapolation of linear attention hybrid models. For SWA hybrids, we identify short-window weariness as well as long-window laziness and enlarge the window during extended training to overcome its Short-Context Learning Trap. For LA hybrids, we propose the Sliding-Window Linear Attention, achieving training-free extrapolation with 100% accuracy on NIAH-SK1 in 64k context length.
Limitations
This paper provides a mechanistic analysis of long-context hybrid models, with a broad training-validation-observation-induction loop. Even so, several directions remain open.
• Validation scope. Our current validation pipeline is focused on context extension and length extrapolation in the pretraining stage. We still need to extend it to post-training [4, 32] and multimodal, especially vision-language [7, 82, 83] models. On that basis, we should also extend our evaluation to complex reasoning, agentic tasks, multimodal retrieval, and multimodal understanding.
• Architecture scope. Our analysis focuses on RoPE/NoPE hybrids, SWA hybrids, and LA hybrids. We still need to apply the same mechanistic lens to other efficient hybrid families, such as sparse-attention [10, 38, 47] and compressed-attention [20, 41] models. We leave this broader comparison for future work.
• Mechanism scope. Even within the hybrid families studied here, we only probe a subset of position and attention design choices. We will also further our study by analyzing techniques such as sink bias [13, 18, 84], partial RoPE [17, 19], gated attention variants [17, 85], and ablation of short convolution [34, 48, 69].
Acknowledgement
I am grateful to all advisors who have helped and encouraged me, and to all friends who still value and trust me. In particular, I want to thank Ms. Chunying Wang, a counselor at the Shanghai Innovation Institute, for her invaluable support, and Dr. Yutao Sun and Dr. Qipeng Guo for the academic exchanges we shared.
References
[1] Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901, 2020.
[2] Tianxiang Sun, Xiaotian Zhang, Zhengfu He, Peng Li, Qinyuan Cheng, Xiangyang Liu, Hang Yan, Yunfan Shao, Qiong Tang, Shiduo Zhang, Xingjian Zhao, Ke Chen, Yining Zheng, Zhejiang Zhou, Ruixiao Li, Jun Zhan, Yunhua Zhou, Linyang Li, Xiaogui Yang, Lingling Wu, Zhangyue Yin, Xuanjing Huang, Yu-Gang Jiang, and Xipeng Qiu. Moss: An open conversational large language model. Machine Intelligence Research, 2024. ISSN 2731-5398. doi:10.1007/s11633-024-1502-8. URL https://github.com/OpenMOSS/MOSS.
[3] Zheng Cai, Maosong Cao, Haojiong Chen, Kai Chen, Keyu Chen, Xin Chen, Xun Chen, Zehui Chen, Zhi Chen, Pei Chu, Xiaoyi Dong, Haodong Duan, Qi Fan, Zhaoye Fei, Yang Gao, Jiaye Ge, Chenya Gu, Yuzhe Gu, Tao Gui, Aijia Guo, Qipeng Guo, Conghui He, Yingfan Hu, Ting Huang, Tao Jiang, Penglong Jiao, Zhenjiang Jin, Zhikai Lei, Jiaxing Li, Jingwen Li, Linyang Li, Shuaibin Li, Wei Li, Yining Li, Hongwei Liu, Jiangning Liu, Jiawei Hong, Kaiwen Liu, Kuikun Liu, Xiaoran Liu, Chengqi Lv, Haijun Lv, Kai Lv, Li Ma, Runyuan Ma, Zerun Ma, Wenchang Ning, Linke Ouyang, Jiantao Qiu, Yuan Qu, Fukai Shang, Yunfan Shao, Demin Song, Zifan Song, Zhihao Sui, Peng Sun, Yu Sun, Huanze Tang, Bin Wang, Guoteng Wang, Jiaqi Wang, Jiayu Wang, Rui Wang, Yudong Wang, Ziyi Wang, Xingjian Wei, Qizhen Weng, Fan Wu, Yingtong Xiong, Chao Xu, Ruiliang Xu, Hang Yan, Yirong Yan, Xiaogui Yang, Haochen Ye, Huaiyuan Ying, Jia Yu, Jing Yu, Yuhang Zang, Chuyu Zhang, Li Zhang, Pan Zhang, Peng Zhang,
Ruijie Zhang, Shuo Zhang, Songyang Zhang, Wenjian Zhang, Wenwei Zhang, Xingcheng Zhang, Xinyue Zhang, Hui Zhao, Qian Zhao, Xiaomeng Zhao, Fengzhe Zhou, Zaida Zhou, Jingming Zhuo, Yicheng Zou, Xipeng Qiu, Yu Qiao, and Dahua Lin. Internlm2 technical report, 2024.
[4] Nex, Yuxuan Cai, Lu Chen, Qiaoling Chen, Yuyang Ding, Liwen Fan, Wenjie Fu, Yufei Gao, Honglin Guo, Pinxue Guo, Zhenhua Han, Zhengfu He, Hanglei Hu, Kai Hu, Shengjia Hua, Tianyu Huai, Baodai Huang, Li Ji, Zhen Jiang, Zhikai Lei, Bufan Li, Jiahang Lin, Lizhi Lin, Jinxiu Liu, Shichun Liu, Ziming Liu, Yuchen Ni, Pengfang Qian, Yujiong Shen, Qingyun Shi, Wentao Shu, Peng Sun, Yiran Suo, Tian Tang, Boyu Tian, Guoteng Wang, Junzhe Wang, Peixin Wang, Zhiheng Xi, Hang Yan, Jie Yang, Zhixiong Yang, Tianchu Yao, Guangze Ye, Qianxi Yu, Shuo Zhang, Xinyue Zhang, Yiqi Zhang, Jiarong Zhao, Miao Zheng, Rui Zheng, Enyu Zhou, Jiazheng Zhou, Maosen Zhou, Yuhao Zhou, Tao Gui, Yining Zheng, Xinchi Chen, Jie Zhou, Siyuan Feng, Qin Chen, Liang He, Qi Zhang, Xuanjing Huang, and Xipeng Qiu. Nex-n1: Agentic models trained via a unified ecosystem for large-scale environment construction, 2025. URL https://arxiv.org/abs/2512.04987.
[5] Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, Angela Fan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
[6] Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.
[7] 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, 2025.
[8] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf.
[9] Joshua Ainslie, James Lee-Thorp, Michiel de Jong, Yury Zemlyanskiy, Federico Lebrón, and Sumit Sanghai. Gqa: Training generalized multi-query transformer models from multi-head checkpoints. arXiv preprint arXiv:2305.13245, 2023.
[10] Aixin Liu, Bei Feng, Bin Wang, Bingxuan Wang, Bo Liu, Chenggang Zhao, Chengqi Dengr, Chong Ruan, Damai Dai, Daya Guo, et al. Deepseek-v2: A strong, economical, and efficient mixture-of-experts language model. arXiv preprint arXiv:2405.04434, 2024.
[11] Aixin Liu, Aoxue Mei, Bangcai Lin, Bing Xue, Bingxuan Wang, Bingzheng Xu, Bochao Wu, Bowei Zhang, Chaofan Lin, Chen Dong, et al. Deepseek-v3.2: Pushing the frontier of open large language models. arXiv preprint arXiv:2512.02556, 2025.
[12] Jamba, Barak Lenz, Alan Arazi, Amir Bergman, Avshalom Manevich, Barak Peleg, Ben Aviram, Chen Almagor, Clara Fridman, Dan Padnos, et al. Jamba-1.5: Hybrid transformer-mamba models at scale. arXiv preprint arXiv:2408.12570, 2024.
[13] Sandhini Agarwal, Lama Ahmad, Jason Ai, Sam Altman, Andy Applebaum, Edwin Arbus, Rahul K Arora, Yu Bai, Bowen Baker, Haiming Bao, et al. gpt-oss-120b and gpt-oss-20b model card. arXiv preprint arXiv:2508.10925, 2025.
[14] Gemma, Sherif El Abd, Vaibhav Aggarwal, Robin Algayres, Alek Andreev, Olivier Bachem, Ian Ballantyne, Cormac Brick, Victor Cărbune, Michelle Casbon, et al. Gemma 4 technical report. arXiv preprint arXiv:2607.02770, 2026.
[15] Aonian Li, Bangwei Gong, Bo Yang, Boji Shan, Chang Liu, Cheng Zhu, Chunhao Zhang, Congchao Guo, Da Chen, Dong Li, et al. Minimax-01: Scaling foundation models with lightning attention. arXiv preprint arXiv:2501.08313, 2025.
[16] 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.
[17] Qwen. Qwen3.5: Accelerating productivity with native multimodal agents, February 2026. URL https://qwen.ai/blog?id=qwen3.5.
[18] MiMo. Mimo-v2.5-pro. https://huggingface.co/collections/XiaomiMiMo/mimo-v25, 2026.
[19] Aohan Zeng, Xin Lv, Zhenyu Hou, Zhengxiao Du, Qinkai Zheng, Bin Chen, Da Yin, Chendi Ge, Chenghua Huang, Chengxing Xie, et al. Glm-5: from vibe coding to agentic engineering. arXiv preprint arXiv:2602.15763, 2026.
[20] Anyi Xu, Bangcai Lin, Bing Xue, Bingxuan Wang, Bingzheng Xu, Bochao Wu, Bowei Zhang, Chaofan Lin, Chen Dong, Chenchen Ling, et al. Deepseek-v4: Towards highly efficient million-token context intelligence. arXiv preprint arXiv:2606.19348, 2026.
[21] 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.
[22] Kimi, 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.
[23] William Merrill, Yanhong Li, Tyler Romero, Anej Svete, Caia Costello, Pradeep Dasigi, Dirk Groeneveld, David Heineman, Bailey Kuehl, Nathan Lambert, et al. Olmo hybrid: From theory to practice and back. arXiv preprint arXiv:2604.03444, 2026.
[24] Jianlin Su, Murtadha Ahmed, Yu Lu, Shengfeng Pan, Wen Bo, and Yunfeng Liu. Roformer: Enhanced transformer with rotary position embedding. Neurocomputing, 568:127063, 2024.
[25] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.
[26] Krishna C Puvvada, Faisal Ladhak, Santiago Akle Serrano, Cheng-Ping Hsieh, Shantanu Acharya, Somshubra Majumdar, Fei Jia, Samuel Kriman, Simeng Sun, Dima Rekesh, et al. Swan-gpt: An efficient and scalable approach for long-context language modeling. arXiv preprint arXiv:2504.08719, 2025.
[27] Xiang Hu, Jiaqi Leng, Jun Zhao, Kewei Tu, and Wei Wu. Hardware-aligned hierarchical sparse attention for efficient long-term memory access. Advances in Neural Information Processing Systems, 38:88925–88950, 2026.
[28] Xiang Hu, Zhanchao Zhou, Ruiqi Liang, Zehuan Li, Wei Wu, and Jianguo Li. Every token counts: Generalizing 16m ultra-long context in large language models. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 10208–10220, 2026.
[29] Bowen Yang, Bharat Venkitesh, Dwaraknath Gnaneshwar Talupuru, Hangyu Lin, David Cairuz, Phil Blunsom, and Acyr Locatelli. Rope to nope and back again: A new hybrid attention strategy. Advances in Neural Information Processing Systems, 38:64133–64157, 2026.
[30] Xiaoran Liu, Ruixiao Li, Mianqiu Huang, Zhigeng Liu, Yuerong Song, Qipeng Guo, Siyang He, Qiqi Wang, Linlin Li, Qun Liu, et al. Thus spake long-context large language model. arXiv preprint arXiv:2502.17129, 2025.
[31] Jiaheng Liu, Dawei Zhu, Zhiqi Bai, Yancheng He, Huanxuan Liao, Haoran Que, Zekun Wang, Chenchen Zhang, Ge Zhang, Jiebin Zhang, et al. A comprehensive survey on long context language modeling. arXiv preprint arXiv:2503.17407, 2025.
[32] Zhiyuan Zeng, Qinyuan Cheng, Zhangyue Yin, Bo Wang, Shimin Li, Yunhua Zhou, Qipeng Guo, Xuanjing Huang, and Xipeng Qiu. Scaling of search and learning: A roadmap to reproduce o1 from reinforcement learning perspective. arXiv preprint arXiv:2412.14135, 2024.
[33] Songlin Yang, Bailin Wang, Yikang Shen, Rameswar Panda, and Yoon Kim. Gated linear attention transformers with hardware-efficient training. In Forty-first International Conference on Machine Learning, 2024.
[34] Songlin Yang, Jan Kautz, and Ali Hatamizadeh. Gated delta networks: Improving mamba2 with delta rule. In International Conference on Learning Representations, volume 2025, pages 29687–29707, 2025.
[35] 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.
[36] Zhentao Tan, Wei Chen, Jingyi Shen, Yao Liu, Xu Shen, Yue Wu, and Jieping Ye. Hydrahead: From head-level functional heterogeneity to specialized attention hybridization. arXiv preprint arXiv:2606.20097, 2026.
[37] Ofir Press, Noah Smith, and Mike Lewis. Train short, test long: Attention with linear biases enables input length extrapolation. In International Conference on Learning Representations, 2022.
[38] Xunhao Lai, Weiqi Xu, Yufeng Yang, Qiaorui Chen, Yang Xu, Lunbin Zeng, Xiaolong Li, Haohai Sun, Haichao Zhu, Vito Zhang, et al. Minimax sparse attention. arXiv preprint arXiv:2606.13392, 2026.
[39] Yizhao Gao, Jianyu Wei, Qihao Zhang, Yu Cheng, Shimao Chen, Zhengju Tang, Zihan Jiang, Yifan Song, Hailin Zhang, Liang Zhao, et al. Hysparse: a hybrid sparse attention architecture with oracle token selection and kv cache sharing. arXiv preprint arXiv:2602.03560, 2026.
[40] Xiang Hu, Xinyu Wei, Hao Gu, Minshen Zhang, Tian Liang, Huayang Li, Lei Zhu, Yan Wang, Sirui Han, Yushi Bai, et al. Hierarchical sparse attention done right: Toward infinite context modeling. arXiv preprint arXiv:2607.02980, 2026.
[41] Chenglong Chu, Guorui Zhou, Guowang Zhang, Han Li, Hao Peng, Hongtao Cheng, Hui Wang, Jian Liang, Jiangxia Cao, Kun Gai, et al. Kwai summary attention technical report. arXiv preprint arXiv:2604.24432, 2026.
[42] Jack W Rae, Anna Potapenko, Siddhant M Jayakumar, and Timothy P Lillicrap. Compressive transformers for long-range sequence modelling. arXiv preprint arXiv:1911.05507, 2019.
[43] Lizhe Fang, Yifei Wang, Zhaoyang Liu, Chenheng Zhang, Stefanie Jegelka, Jinyang Gao, Bolin Ding, and Yisen Wang. What is wrong with perplexity for long-context language modeling? arXiv preprint arXiv:2410.23771, 2024.
[44] Greg Kamradt. Needle in a haystack - pressure testing llms. https://github.com/gkamradt/LLMTest_NeedleInAHaystack, 2023.
[45] 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.
[46] Yuri Kuratov, Aydar Bulatov, Petr Anokhin, Ivan Rodkin, Dmitry Sorokin, Artyom Sorokin, and Mikhail Burtsev. Babilong: Testing the limits of llms with long context reasoning-in-a-haystack. arXiv preprint arXiv:2406.10149, 2024.
[47] Qwen. Qwen3.8-Flash-Next: A new architecture, towards ultimate cost-efficiency, August 2026. URL https://qwen.ai/blog?id=qwen3.8-flash-next.
[48] Thinking Machines. Inkling: Our open-weights model, July 2026. URL https://thinkingmachines.ai/news/introducing-inkling/.
[49] Yushi Bai, Qian Dong, Ting Jiang, Xin Lv, Zhengxiao Du, Aohan Zeng, Jie Tang, and Juanzi Li. Indexcache: Accelerating sparse attention via cross-layer index reuse. arXiv preprint arXiv:2603.12201, 2026.
[50] Minimax. Minimax m3: The first open-weight model with three frontier capabilities, coding & agentic frontier, 1m-context msa, native multimodality., June 2026. URL https://www.minimax.io/models/text/m3.
[51] Soham De, Samuel L Smith, Anushan Fernando, Aleksandar Botev, George Cristian-Muraru, Albert Gu, Ruba Haroun, Leonard Berrada, Yutian Chen, Srivatsan Srinivasan, et al. Griffin: Mixing gated linear recurrences with local attention for efficient language models. arXiv preprint arXiv:2402.19427, 2024.
[52] Aleksandar Botev, Soham De, Samuel L Smith, Anushan Fernando, George-Cristian Muraru, Ruba Haroun, Leonard Berrada, Razvan Pascanu, Pier Giuseppe Sessa, Robert Dadashi, et al. Recurrentemma: Moving past transformers for efficient open language models. arXiv preprint arXiv:2404.07839, 2024.
[53] Liliang Ren, Yang Liu, Yadong Lu, Chen Liang, Weizhu Chen, et al. Samba: Simple hybrid state space models for efficient unlimited context language modeling. In International Conference on Learning Representations, volume 2025, pages 53551–53575, 2025.
[54] Aaron Blakeman, Aarti Basant, Abhinav Khattar, Adithya Renduchintala, Akhiad Bercovich, Aleksander Ficek, Alexis Bjorlin, Ali Taghibakhshi, Amala Sanjay Deshmukh, Ameya Sunil Mahabaleshwarkar, et al. Nemotron-h: A family of accurate and efficient hybrid mamba-transformer models. arXiv preprint arXiv:2504.03624, 2025.
[55] MiniCPM, Wenhao An, Yingfa Chen, Yewei Fang, Jiayi Li, Xin Li, Yaohui Li, Yishan Li, Yuxuan Li, Biyuan Lin, et al. Minicpm-sala: Hybridizing sparse and linear attention for efficient long-context modeling. arXiv preprint arXiv:2602.11761, 2026.
[56] Disen Lan, Weigao Sun, Jiaxi Hu, Jusen Du, and Yu Cheng. Liger: Linearizing large language models to gated recurrent structures. arXiv preprint arXiv:2503.01496, 2025.
[57] 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.
[58] Disen Lan, Jianbin Zheng, Yuxi Ren, Xin Xia, Xuanda Wang, Xuefeng Xiao, Xipeng Qiu, and Yu Cheng. Morphing into hybrid attention models. arXiv preprint arXiv:2606.30562, 2026.
[59] Alexia Jolicoeur-Martineau, Rhea Sukthanker, Pashmina Cameron, and Emy Gervais. Sliding-window beats linear attention. arXiv preprint arXiv:2608.28444, 2026.
[60] Yutao Sun, Li Dong, Yi Zhu, Shaohan Huang, Wenhui Wang, Shuming Ma, Quanlu Zhang, Jianyong Wang, and Furu Wei. You only cache once: Decoder-decoder architectures for language models. arXiv preprint arXiv:2405.05254, 2024.
[61] Daniel Y Fu, Tri Dao, Khaled K Saab, Armin W Thomas, Atri Rudra, and Christopher Ré. Hungry hungry hippos: Towards language modeling with state space models. arXiv preprint arXiv:2212.14052, 2022.
[62] John Cooper, Ilias Diakonikolas, Mingchen Ma, and Frederic Sala. Expressivity-efficiency tradeoffs for hybrid sequence models. arXiv preprint arXiv:2603.08859, 2026.
[63] Xin Dong, Yonggan Fu, Shizhe Diao, Wonmin Byeon, Zijia Chen, Ameya Sunil Mahabaleshwarkar, Shih-Yang Liu, Matthijs Van Keirsbilck, Min-Hung Chen, Yoshi Suhara, et al. Hymba: A hybrid-head architecture for small language models. arXiv preprint arXiv:2411.13676, 2024.
[64] Chan Wu, Hanxiao Zhang, Lin Ju, Jinjing Huang, Youshao Xiao, Zhaoxin Huan, Siyuan Li, Fanzhuang Meng, Lei Liang, Xiaolu Zhang, et al. Rethinking memory and communication cost for efficient large language model training. arXiv preprint arXiv:2310.06003, 2023.
[65] Meta AI. The llama 4 herd: The beginning of a new era of natively multimodal ai innovation, 2025. URL https://ai.meta.com/blog/llama-4-multimodal-intelligence/.
[66] Jianlin Su. A brief history of linear attention: From imitation and innovation to feedback. Jun 2025. URL https://spaces.ac.cn/archives/11033.
[67] Zhixuan Lin, Evgenii Nikishin, Xu Owen He, and Aaron Courville. Forgetting transformer: Softmax attention with a forget gate. arXiv preprint arXiv:2503.02130, 2025.
[68] Shu Zhong, Mingyu Xu, Tenglong Ao, and Guang Shi. Understanding transformer from the perspective of associative memory. arXiv preprint arXiv:2505.19488, 2025.
[69] Songlin Yang, Yikang Shen, Kaiyue Wen, Shawn Tan, Mayank Mishra, Liliang Ren, Rameswar Panda, and Yoon Kim. Path attention: Position encoding via accumulating householder transformations. arXiv preprint arXiv:2505.16381, 2025.
[70] Songlin Yang and Yu Zhang. Fla: A triton-based library for hardware-efficient implementations of linear attention mechanism, January 2024. URL https://github.com/fla-org/flash-linear-attention.
[71] bloc97. Ntk-aware scaled rope allows llama models to have extended (8k+) context size without any fine-tuning and minimal perplexity degradation., June 2023. URL https://www.reddit.com/r/LocalLLaMA/comments/14lz7j5/ntkaware_scaled_ropeAllows_llama_models_to_have/.
[72] bloc97. Dynamically scaled rope further increases performance of long context llama with zero fine-tuning, July 2023. URL https://www.reddit.com/r/LocalLLaMA/comments/14mrgpr/dynamically_scaled_rope_further_increases/.
[73] Shouyuan Chen, Sherman Wong, Liangjian Chen, and Yuandong Tian. Extending context window of large language models via positional interpolation. arXiv preprint arXiv:2306.15595, 2023.
[74] Bowen Peng, Jeffrey Quesnelle, Honglu Fan, and Enrico Shippole. Yarn: Efficient context window extension of large language models. In The Twelfth International Conference on Learning Representations, 2024.
[75] Jianlin Su. Improving transformer: Length extrapolation ability and position robustness. 2023. URL https://spaces.ac.cn/archives/9444.
[76] Xiaoran Liu, Hang Yan, Chenxin An, Xipeng Qiu, and Dahua Lin. Scaling laws of rope-based extrapolation. In The Twelfth International Conference on Learning Representations, 2024.
[77] 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. arXiv preprint arXiv:2410.10819, 2024.
[78] Wenhan Xiong, Jingyu Liu, Igor Molybog, Hejia Zhang, Prajjwal Bhargava, Rui Hou, Louis Martin, Rashi Rungta, Karthik Abinav Sankararaman, Barlas Oguz, et al. Effective long-context scaling of foundation models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 4643–4663, 2024.
[79] Zhen Qin, Weigao Sun, Dong Li, Xuyang Shen, Weixuan Sun, and Yiran Zhong. Various lengths, constant speed: Efficient language modeling with lightning attention. arXiv preprint arXiv:2405.17381, 2024.
[80] Yushi Bai, Xin Lv, Jiajie Zhang, Hongchang Lyu, Jiankai Tang, Zhidian Huang, Zhengxiao Du, Xiao Liu, Aohan Zeng, Lei Hou, et al. Longbench: A bilingual, multitask benchmark for long context understanding. In Proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: Long papers), pages 3119–3137, 2024.
[81] HuggingFace. Open llm leaderboard. 2023. URL https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard.
[82] Pengyu Wang, Chenkun Tan, Shaojun Zhou, Qirui Zhou, Yanxin Chen, Xingyang He, Huazheng Zeng, Jijun Cheng, Chenghao Wang, Xiaomeng Qian, et al. Moss-vl technical report. arXiv preprint arXiv:2608.15045, 2026.
[83] Xilin Wei, Xiaoran Liu, Yuhang Zang, Xiaoyi Dong, Pan Zhang, Yuhang Cao, Jian Tong, Haodong Duan, Qipeng Guo, Jiaqi Wang, et al. Videorope: What makes for good video rotary position embedding? arXiv preprint arXiv:2502.05173, 2025.
[84] Guangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han, and Mike Lewis. Efficient streaming language models with attention sinks. In The Twelfth International Conference on Learning Representations, 2024.
[85] Zihan Qiu, Zekun Wang, Bo Zheng, Zeyu Huang, Kaiyue Wen, Songlin Yang, Rui Men, Le Yu, Fei Huang, Suozhi Huang, et al. Gated attention for large language models: Non-linearity, sparsity, and attention-sink-free. Advances in Neural Information Processing Systems, 38:100092–100118, 2026.
[86] AI Meta. Llama 3.2: Revolutionizing edge ai and vision with open, customizable models. Meta AI., 2024.
[87] AI Meta. Introducing meta llama 3: The most capable openly available llm to date. Meta AI., 2024.
[88] Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Yitzhak Gadre, Hritik Bansal, Etash Guha, Sedrick Scott Keh, Kushal Arora, et al. Datacomp-lm: In search of the next generation of training sets for language models. Advances in Neural Information Processing Systems, 37:14200–14282, 2024.
[89] Jeff Rasley, Samyam Rajbhandari, Olatunji Ruwase, and Yuxiong He. Deepspeed: System optimizations enable training deep learning models with over 100 billion parameters. In Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery & data mining, pages 3505–3506, 2020.
[90] Tri Dao. Flashattention-2: Faster attention with better parallelism and work partitioning. In The Twelfth International Conference on Learning Representations, 2024.
[91] Ilya Loshchilov, Frank Hutter, et al. Fixing weight decay regularization in adam. arXiv preprint arXiv:1711.05101, 5(5):5, 2017.
[92] Kai Lv, Xiaoran Liu, Qipeng Guo, Hang Yan, Conghui He, Xipeng Qiu, and Dahua Lin. Longwanjuan: Towards systematic measurement for long text quality. arXiv preprint arXiv:2402.13583, 2024.
[93] Xiaoran Liu, Yuerong Song, Zhigeng Liu, Zengfeng Huang, Qipeng Guo, Ziwei He, and Xipeng Qiu. Longllada: Unlocking long context capabilities in diffusion llms. arXiv preprint arXiv:2506.14429, 2025.
[94] Songlin Yang, Bailin Wang, Yu Zhang, Yikang Shen, and Yoon Kim. Parallelizing linear transformers with the delta rule over sequence length. Advances in neural information processing systems, 37:115491–115522, 2024.
[95] Yoav Gelberg, Koshi Eguchi, Takuya Akiba, and Edoardo Cetin. Extending the context of pretrained llms by dropping their positional embedding. In International Conference on Learning Representations, volume 2026, pages 60170–60197, 2026.
[96] Stephanie Lin, Jacob Hilton, and Owain Evans. Truthfulqa: Measuring how models mimic human falsehoods. In Smaranda Muresan, Preslav Nakov, and Aline Villavicencio, editors, Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2022, Dublin, Ireland, May 22-27, 2022, pages 3214–3252. Association for Computational Linguistics, 2022. doi: 10.18653/V1/2022.ACL-LONG.229. URL https://doi.org/10.18653/v1/2022.acl-long.229.
[97] Denis Paperno, Germán Kruszewski, Angeliki Lazaridou, Quan Ngoc 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, ACL 2016, August 7-12, 2016, Berlin, Germany, Volume 1: Long Papers. The Association for Computer Linguistics, 2016. doi: 10.18653/V1/P16-1144. URL https://doi.org/10.18653/v1/p16-1144.
[98] Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. PIQA: reasoning about physical commonsense in natural language. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 7432–7439. AAAI Press, 2020. doi: 10.1609/AAAI.V34I05.6239. URL https://doi.org/10.1609/aaai.v34i05.6239.
[99] Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. Hellaswag: Can a machine really finish your sentence? In Anna Korhonen, David R. Traum, and Lluís Márquez, editors, Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 4791–4800. Association for Computational Linguistics, 2019. doi: 10.18653/V1/P19-1472. URL https://doi.org/10.18653/v1/p19-1472.
[100] Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adversarial winograd schema challenge at scale. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 8732–8740. AAAI Press, 2020. doi: 10.1609/AAAI.V34I05.6399. URL https://doi.org/10.1609/aaai.v34i05.6399.
[101] Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? try arc, the AI2 reasoning challenge. CoRR, abs/1803.05457, 2018. URL http://arxiv.org/abs/1803.05457.
[102] David Rein, Betty Li Hou, Asa Cooper Stickland, Jackson Petty, Richard Yuanzhe Pang, Julien Dirani, Julian Michael, and Samuel R. Bowman. GPQA: A graduate-level google-proof q&a benchmark. CoRR, abs/2311.12022, 2023. doi:10.48550/ARXIV.2311.12022. URL https://doi.org/10.48550/arXiv.2311.12022.
[103] Maarten Sap, Hannah Rashkin, Derek Chen, Ronan Le Bras, and Yejin Choi. Social iqa: Commonsense reasoning about social interactions. In Kentaro Inui, Jing Jiang, Vincent Ng, and Xiaojun Wan, editors, Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019, Hong Kong, China, November 3-7, 2019, pages 4462–4472. Association for Computational Linguistics, 2019. doi: 10.18653/V1/D19-1454. URL https://doi.org/10.18653/v1/D19-1454.
[104] Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a suit of armor conduct electricity? A new dataset for open book question answering. In Ellen Riloff, David Chiang, Julia Hockenmaier, and Jun'ichi Tsujii, editors, Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, October 31 - November 4, 2018, pages 2381–2391. Association for Computational Linguistics, 2018. doi:10.18653/V1/D18-1260. URL https://doi.org/10.18653/v1/d18-1260.
| 376M | 776M | 1B | 3B | |
|---|---|---|---|---|
| Hidden Size | 1024 | 1536 | 2048 | 3072 |
| Intermediate Size | 3584 | 5376 | 7168 | 10752 |
| Num Layer | 8 | 12 | 16 | 24 |
| Num Attn Head | 8 | 12 | 16 | 24 |
| Num KV Head | 8 | 12 | 16 | 24 |
| Vocab Size | 128256 | 128256 | 128256 | 128256 |
Table 2 The hyperparameters of different model sizes.
[105] Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. Superglue: A stickier benchmark for general-purpose language understanding systems. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d'Alché-Buc, Emily B. Fox, and Roman Garnett, editors, Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 3261–3275, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/4496bf24afe7fab6f046bf4923da8de6-Abstract.html.
[106] Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring massive multitask language understanding. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021. URL https://openreview.net/forum?id=d7KBjmI3GmQ.
Appendix
A Extended Verification
We conduct experiments at 376M, 776M, 1B, and 3B model sizes, with the configuration detailed in Table 2. Our models use the same tokenizer as the Llama 3 Series [5, 86, 87].
All models are first pretrained on the DCLM-Baseline-1.0 corpus [88] in BFloat16 with a 4k context length using DeepSpeed [89], FlashAttention2 [90] and FlashLinearAttention [70]. The 3B models use 16 NVIDIA H200 GPUs; all other models use 8 GPUs. For each size, we use a batch size of 1M tokens and pretrain for 50B tokens. We use the AdamW [91] optimizer with weight decay 0.1, a maximum learning rate of 1e-3, and a cosine annealing scheduler. We use the first 0.5B tokens for warm-up, and the learning rate ends at 0.
In long-context continual pretraining, we use holistic long documents from the high-quality long-context corpus LongWanjuan [92], and continue training at a 32k context length. We follow the data mixture ratios used in Touvron et al. [25] and Lv et al. [92], and increase the rotary base from 10000 to 500000 for RoPE full-attention to support contexts of around 64k tokens based on the scaling laws of RoPE-based extrapolation [76, 93]. We use a 0.5M batch size and continue training for 5B tokens. We use the AdamW [91] optimizer with 0 weight decay, a peak learning rate of 1e-3, and a cosine annealing scheduler. We use the first 1B tokens for warm-up, and finally decay the learning rate to 0.
A.1 More Verification on LongBench Tasks
To validate the takeaways in this paper, we add evaluations on LongBench [80], a more realistic and comprehensive benchmark for long-context tasks. The evaluation is conducted with a maximum input length of 31500 and a maximum output length of 500. Although small-scale pre-trained models perform relatively poorly, the results on In-Context Learning (ICL) tasks [1] still confirm our findings. Figure 28 compares SWA/GLA/GDN-NoPE hybrid models under log-scale NoPE extrapolation (Short-Log) and context extension (Long). The SWA-NoPE hybrids outperform in short-context extrapolation; however, after long-context training, layer-mixed LA-NoPE outperforms layer-mixed SWA-NoPE, while head-mixed LA-NoPE performs comparably to head-mixed SWA-NoPE, confirming the Seesaw Effect in LongBench evaluations.

SWA-NoPE-LH
GLA-NoPE-LH
GDN-NoPE-LH
(a) Results of layer-wise hybrid models.

SWA-NoPE-HH
GLA-NoPE-HH
GDN-NoPE-HH
(b) Results of head-wise hybrid models.
Figure 28 Comparison of the LongBench performance of the SWA/GLA/GDN-NoPE hybrid models under log-scale NoPE extrapolation (Short-Log) and context extension (Long). The Seesaw Effect still exists.

RoPE
+ NTK & Log
RoPE-NoPE-LH
+ NTK & Log
SWA-4k-NoPE-LH
+ Log
(a) Results of layer-wise hybrid models.

RoPE
+ NTK & Log
RoPE-NoPE-HH
+ NTK & Log
SWA-4k-NoPE-HH
+ Log
(b) Results of head-wise hybrid models.
Figure 29 Comparison of LongBench performance in RoPE-NoPE hybrid models. Applying a sliding-window RoPE attention and a log-scale NoPE attention achieves the best length extrapolation. The Matthew Effect still works.
We also validate the Matthew Effect of hybrid position extrapolation on the LongBench benchmark; Figures 29, 30, and 31 illustrate the extrapolation performance of RoPE-NoPE, GLA-NoPE, and GDN-NoPE, respectively, when employing this effect. We find that applying a sliding window for position-biased attention and a log scale for NoPE attention yields the best length extrapolation results on average. We also include detailed LongBench scores in Tables 18, 19, 20, 21, 22 and 23.

(a) Results of layer-wise hybrid models.

(b) Results of head-wise hybrid models.
Figure 30 Comparison of LongBench performance in GLA-NoPE hybrid models. Applying a sliding-window GLA and a log-scale NoPE attention achieves the best length extrapolation. The Matthew Effect still works.

(a) Results of layer-wise hybrid models.

(b) Results of head-wise hybrid models.
Figure 31 Comparison of LongBench performance in GDN-NoPE hybrid models. Applying a sliding-window GDN and a log-scale NoPE attention achieves the best length extrapolation. The Matthew Effect still works.
A.2 More Verification of Seesaw Effect
To verify that the seesaw effect is stable, we first compare long-context continual pretraining results for SWA and LA hybrids at different peak learning rates, including 1e-4, 2e-4, 5e-4, and 1e-3, with 1e-3 as the default learning rate. We conduct this comparison at both 376M and 776M scales. We use the point with a zero learning rate to denote the direct length extrapolation result before long-context pretraining. As shown in Figure 32, the seesaw effect remains stable under different learning rates: after context extension, SWA-NoPE

(a) Results of 376M models.

(b) Results of 776M models.
Figure 32 Comparison of long-context training performance between SWA-NoPE-LH, GLA-NoPE-LH, and GDN-NoPE-LH under different learning rates, where 0 learning rate means the performance before long-context continual pretraining.

(a) Performance of log-scale NoPE extrapolation.

(b) Performance after long-context pretraining.
Figure 33 Comparison of the long-context performance of the SWA/GLA/GDN-NoPE layer-wise hybrid models in YOCO-like layout under log-scale NoPE extrapolation and context extension. The Seesaw Effect still exists.
hybrids, especially on long-context tasks, consistently lag behind LA-NoPE hybrids.
We also verify the existence of the Seesaw Effect in YOCO-like layer-wise hybrid models, in which all efficient-attention layers are placed at the lower layers. As shown in Figure 33, the Seesaw Effect is a general phenomenon in SWA hybrids across different layer layouts. We further examine the enhanced context extension strategy based on enlarged window sizes, as well as LongCE and RoPE/GLA/GDN-NoPE extrapolation based on the Matthew Effect in layer-wise hybrid models in a YOCO-like layout, as shown in Figure 34. However, although the enhanced SWA-NoPE context extension still works, the RoPE/GLA/GDN-NoPE extrapolation based on the Matthew Effect becomes less effective. The model behavior may still differ across layer-wise hybrid layouts, requiring in-depth observation, analysis, and verification.
A.3 Broader Discussion
Smaller Rotary Base in SWA Hybrids We have compared short-context training results for SWA hybrids with different window sizes in short-context pretraining and long-context pretraining above. During window-size extension, the RoPE base must be adjusted accordingly. When the window size is increased from 128 to 256, 512, 1024, 2048, and 4096, the RoPE bases, calculated according to the scaling laws for RoPE extrapolation [76] and rounded up, become 90000, 700000, 6000000, 50000000, and 400000000, respectively.
These values are clearly very large. This is because the initial window size is only 128, meaning that only a very limited number of dimensions have observed the complete positional information range; consequently, substantial interpolation is required. However, an excessively large RoPE base can reduce the discriminability of the position embedding. This motivated us to investigate the use of smaller RoPE bases in SWA. We kept

(a) Performance of SWA-NoPE-LH context extension.

(b) Performance of RoPE-NoPE-LH extrapolation.

GLA-NoPE-LH + Log + wsz=4096 + Both
(c) Performance of GLA-NoPE-LH extrapolation.

GDN-NoPE-LH + Log + wsz=4096 + Both
(d) Performance of GDN-NoPE-LH extrapolation.
Figure 34 Performance of enhanced SWA-NoPE-LH context extension and RoPE/GLA/GDN-NoPE-LH extrapolation based on the Matthew Effect in layer-wise hybrid models in YOCO-like layout.
the window size fixed at 128 and experimented with RoPE bases ranging from 5000 to 100 on both the 376M and 776M models. The results confirm that smaller bases can lead to better length extrapolation and context extension performance, as shown in Table 25, but we do not observe a consistent trend across all settings. So we do not emphasize this finding in the main text. We will further investigate the underlying mechanism and try to develop an optimal scheduler for the training length, window size, and RoPE base in SWA hybrids.
Performance Difference within LA Hybrids In the main text, we analyze LA hybrids by treating GLA and GDN as a whole. Nevertheless, there still exist differences within LA hybrids. For example, in short-context training, GLA hybrids are better at fitting but weaker at extrapolation than GDN hybrids, as shown in Figures 2, 6, 4 and 7. In contrast, GDN's fitting and extrapolation performance are more moderate, falling between GLA and SWA. However, when combined with SWLA, GLA hybrids show better length extrapolation performance than GDN hybrids, as shown in Figures 23 and 24. Moreover, in the entropy-hit-rate diagram, GDN also occupies some part of the high-entropy hit-rate region while GLA does not, as shown in Figure 21 and Figure 22. These differences imply that there might exist a mechanism related to the introduction of the delta rule [94], and we intend to conduct additional analysis in the future.

SWA GLA GDN RoPE NoPE
(a) Comparison among RoPE-LH

SWA GLA GDN RoPE NoPE
(b) Comparison among RoPE-HH
Figure 35 The entropy-hit-rate diagram of RoPE-based full attention models and SWA/GLA/GDN-RoPE hybrid models.

RoPE NoPE
Figure 36 The entropy-hit-rate diagram of NoPE/RoPE-based full attention models and RoPE-NoPE-HH models.
Transfer Training Experiment Inspired by the effectiveness of hybrid position, we also attempt to transfer SWA/GLA/GDN-RoPE hybrids trained in 4k short contexts to corresponding SWA/GLA/GDN-NoPE in the long-context training phase, namely dropping RoPE in long-context training like DRoPE [23, 95]. We report both short- and long-context evaluation results in Table 5, 6, 11, 12 and 24, and find no consistent pattern across models or sizes. This area may still need further exploration.
More Analysis of Hybrid Position We further analyze the hybrid position in hybrid models that combine RoPE with other attention mechanisms. As shown in Figure 35, in SWA/GLA/GDN-RoPE hybrid models, RoPE attention loses the lower-left region of the entropy-hit-rate diagram and instead retains the outward sector region. The low-entropy region at the bottom is mainly occupied by SWA or LA, resulting in a distribution pattern similar to that of NoPE attention. This observation motivates us to rethink the characteristic distribution of NoPE attention: is the band-like distribution extending from the upper-middle to the lower-right a property of softmax attention in hybrid models, or is it intrinsic to NoPE attention itself?
Unfortunately, because NoPE-only models have inherent limitations, we are currently unable to answer this question. As shown in Figure 36, at the beginning of training, NoPE attentions try to develop a trend that expands outward from the lower-left region of the entropy-hit-rate diagram, similar to RoPE attentions. However, as the loss fluctuates remarkably during training, this distribution pattern also collapses. In contrast, in standard RoPE models and RoPE-NoPE hybrid models, the features analyzed in the main text emerge after only a relatively small number of training tokens. Given the observed behavior of the NoPE-RoPE hybrid model and the instability of the NoPE-only model, we still regard the band-like distribution as a property of NoPE-based attention in the hybrid settings, rather than as a universal property of all softmax attention.
B Detailed Evaluation Results
In this section, we first report the results of short-context evaluation. We evaluate both short-context and long-context models on downstream tasks mainly in Open LLM Leaderboard [81], including TruthfulQA [96], LAMBADA[97], PIQA [98], HellaSwag [99], WinoGrande [100], ARC [101], GPQA [102], SocialIQA [103], OpenBookQA [104], SuperGLUE [105], and MMLU [106]. All models are tested within a 2k context length. The results are reported in Tables 3, 5, 4 and 6. Hybrid models achieve performance comparable to the traditional RoPE-based full-attention-only model, before and after long-context continual pretraining.
Regarding the experiments listed in the main text, we report the long-context performance of hybrid models after short-context pretraining in Tables 7, 8, 9 and 10. The length extrapolation performance verifies the effectiveness of the Matthew Effect in extrapolation and the sliding-window linear attention. We also report long-context performance of hybrid models after long-context continual pretraining in Tables 11 and 12. The context extension performance validates the Seesaw Effect of SWA Hybrids, while the length extrapolation performance validates the No-Free-Lunch Effect of LA Hybrids. We further detail the long-context performance of SWA layer-wise hybrid models with different window sizes in short-context pretraining and long-context continual pretraining in Tables 13 and 14, validating the Short-Window Weariness and Long-Window Laziness. Besides, in Table 15, we also report the long-context performance of SWA-LH after long-context continual pretraining with extended window sizes (wsz) and LongCE enhancement, both of which effectively relieve the short-context learning trap. We detail more NIAH results in the RULER evaluation in Table 16 to verify the effectiveness of sliding-window linear attention, and report the long-context performance of RoPE/SWA/GLA/GDN-NoPE-HH with different hybrid ratios in Table 17.
Regarding the experiments listed in the Appendix, we also include detailed LongBench scores in Tables 18, 19, 20, 21, 22 and 23, verifying the Seesaw Effect and Matthew Effect in different evaluation benchmarks. Additionally, in Table 24, we verify the Seesaw Effect under different layer-wise hybrid layouts. Finally, in Table 25, we report the long-context performance of SWA-NoPE-LH with different rotary bases in SWA.
We provide these detailed results at the end of the paper to convey the excitement of discovering patterns through careful observation. Although the tables may appear tedious, reliable conclusions emerge only from momentary observations followed by repeated verification, just like Oersted's accidental discovery during a classroom demonstration that an electric current in a straight wire could deflect a magnetic needle. Through subsequent verification and systematic induction, this observation became an important starting point for the development of electromagnetism. Although our mechanics of long-context hybrid models are still at an early stage, we believe that continued observation will reveal more of their underlying principles. We also hope that readers may discover, from these results, conclusions that we have not yet recognized.
| TQA | LMD | PIQA | Hella | Wino | ARC-e | ARC-c | GPQA | SIQA | OBQA | SG | MMLU | Avg. | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 376M Short | |||||||||||||
| RoPE | 36.8 | 40.2 | 65.9 | 33.8 | 52.2 | 39.7 | 26.4 | 26.3 | 39.2 | 27.4 | 42.1 | 24.6 | 37.9 |
| RoPE-NoPE-LH | 36.4 | 41.7 | 65.9 | 33.8 | 51.1 | 39.2 | 27.5 | 28.8 | 40.3 | 25.8 | 45.2 | 26.9 | 38.5 |
| SWA-RoPE-LH | 35.8 | 42.6 | 65.8 | 33.4 | 52.3 | 37.0 | 25.4 | 24.8 | 39.9 | 27.6 | 44.8 | 25.9 | 37.9 |
| SWA-NoPE-LH | 36.4 | 42.0 | 66.4 | 33.4 | 50.2 | 37.2 | 24.1 | 25.8 | 39.7 | 21.6 | 43.6 | 25.6 | 37.2 |
| GLA-RoPE-LH | 37.0 | 42.7 | 66.4 | 33.8 | 52.3 | 38.8 | 25.1 | 24.2 | 39.0 | 26.6 | 44.7 | 26.3 | 38.1 |
| GLA-NoPE-LH | 36.0 | 44.2 | 65.9 | 34.1 | 52.4 | 39.7 | 23.4 | 23.7 | 38.9 | 27.4 | 44.9 | 24.9 | 38.0 |
| GDN-RoPE-LH | 36.1 | 45.3 | 66.5 | 34.4 | 52.9 | 38.8 | 24.1 | 26.8 | 40.6 | 27.6 | 43.6 | 25.0 | 38.5 |
| GDN-NoPE-LH | 36.0 | 44.9 | 65.1 | 34.4 | 50.5 | 37.7 | 25.4 | 28.8 | 39.8 | 27.2 | 43.5 | 26.4 | 38.3 |
| 776M Short | |||||||||||||
| RoPE | 35.8 | 51.3 | 68.4 | 42.0 | 52.7 | 45.9 | 27.1 | 25.3 | 40.6 | 26.6 | 43.0 | 24.6 | 40.3 |
| RoPE-NoPE-LH | 36.4 | 50.9 | 68.8 | 41.5 | 52.0 | 41.3 | 26.4 | 27.3 | 40.4 | 24.6 | 43.2 | 25.1 | 39.8 |
| SWA-RoPE-LH | 36.7 | 49.8 | 69.9 | 42.2 | 51.6 | 44.4 | 30.5 | 28.3 | 40.7 | 27.4 | 45.2 | 25.2 | 41.0 |
| SWA-NoPE-LH | 36.3 | 50.7 | 69.8 | 41.7 | 53.9 | 42.3 | 28.8 | 24.2 | 40.9 | 26.6 | 45.7 | 26.4 | 40.6 |
| GLA-RoPE-LH | 36.8 | 52.1 | 69.2 | 42.2 | 53.7 | 45.2 | 29.5 | 26.8 | 41.0 | 27.8 | 43.5 | 25.6 | 41.1 |
| GLA-NoPE-LH | 37.3 | 52.6 | 69.8 | 42.5 | 52.6 | 41.3 | 31.2 | 23.7 | 40.1 | 24.2 | 43.8 | 24.9 | 40.3 |
| GDN-RoPE-LH | 37.7 | 53.9 | 68.9 | 42.2 | 53.8 | 42.2 | 32.2 | 19.2 | 40.4 | 25.6 | 44.6 | 25.9 | 40.5 |
| GDN-NoPE-LH | 37.3 | 52.6 | 69.4 | 42.9 | 54.6 | 42.0 | 29.8 | 27.8 | 40.8 | 26.4 | 45.4 | 26.5 | 41.3 |
| 1B Short | |||||||||||||
| RoPE | 38.7 | 56.5 | 70.8 | 46.8 | 55.3 | 47.6 | 29.5 | 29.3 | 41.3 | 22.0 | 44.5 | 26.8 | 42.4 |
| RoPE-NoPE-LH | 36.8 | 57.4 | 71.6 | 48.6 | 55.3 | 48.9 | 28.8 | 21.2 | 40.7 | 23.6 | 43.2 | 26.1 | 41.8 |
| SWA-RoPE-LH | 37.4 | 57.9 | 70.2 | 47.6 | 53.4 | 46.4 | 31.5 | 24.2 | 41.7 | 23.4 | 44.3 | 26.2 | 42.0 |
| SWA-NoPE-LH | 37.9 | 57.1 | 71.3 | 46.8 | 52.8 | 47.3 | 31.9 | 23.7 | 41.1 | 25.8 | 45.3 | 26.6 | 42.3 |
| GLA-RoPE-LH | 37.4 | 57.4 | 71.0 | 48.6 | 56.3 | 47.1 | 31.5 | 25.3 | 41.6 | 23.2 | 43.1 | 26.4 | 42.4 |
| GLA-NoPE-LH | 36.7 | 59.1 | 71.9 | 48.4 | 55.2 | 46.4 | 31.9 | 23.2 | 41.0 | 25.6 | 44.5 | 25.1 | 42.4 |
| GDN-RoPE-LH | 37.9 | 59.2 | 71.8 | 47.9 | 56.6 | 47.6 | 29.8 | 21.7 | 41.8 | 22.2 | 46.6 | 25.2 | 42.4 |
| GDN-NoPE-LH | 37.7 | 57.7 | 71.2 | 47.2 | 55.0 | 46.4 | 30.9 | 28.3 | 41.5 | 24.6 | 47.4 | 23.4 | 42.6 |
| 3B Short | |||||||||||||
| RoPE | 36.6 | 62.9 | 73.3 | 55.2 | 58.0 | 51.7 | 33.6 | 25.8 | 41.7 | 27.6 | 45.4 | 25.6 | 44.8 |
| RoPE-NoPE-LH | 36.0 | 63.5 | 73.6 | 56.1 | 58.0 | 52.6 | 29.8 | 21.2 | 42.6 | 27.6 | 46.5 | 26.7 | 44.5 |
| SWA-RoPE-LH | 36.6 | 62.9 | 73.6 | 55.3 | 58.6 | 54.7 | 31.9 | 25.3 | 42.3 | 22.0 | 47.8 | 26.0 | 44.7 |
| SWA-NoPE-LH | 37.3 | 62.2 | 73.5 | 55.7 | 57.3 | 53.6 | 32.5 | 21.7 | 42.0 | 23.6 | 45.0 | 26.5 | 44.3 |
| GLA-RoPE-LH | 37.6 | 62.3 | 73.1 | 52.8 | 56.9 | 49.9 | 32.5 | 25.8 | 42.0 | 25.4 | 46.7 | 25.6 | 44.2 |
| GLA-NoPE-LH | 36.8 | 64.2 | 73.7 | 54.5 | 57.4 | 50.3 | 33.2 | 29.3 | 42.0 | 26.2 | 47.7 | 25.0 | 45.0 |
| GDN-RoPE-LH | 37.0 | 65.4 | 73.7 | 54.8 | 60.6 | 53.8 | 32.2 | 22.7 | 41.6 | 26.2 | 48.6 | 26.4 | 45.3 |
| GDN-NoPE-LH | 36.1 | 64.2 | 74.2 | 56.1 | 57.7 | 55.7 | 30.9 | 21.2 | 42.4 | 27.0 | 46.8 | 26.5 | 44.9 |
Table 3 Short-context performance of layer-wise hybrid models after short-context pretraining.
| TQA | LMD | PIQA | Hella | Wino | ARC-e | ARC-c | GPQA | SIQA | OBQA | SG | MMLU | Avg. | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 376M Short | |||||||||||||
| RoPE | 36.8 | 40.2 | 65.9 | 33.8 | 52.2 | 39.7 | 26.4 | 26.3 | 39.2 | 27.4 | 42.1 | 24.6 | 37.9 |
| RoPE-NoPE-HH | 37.1 | 40.1 | 66.0 | 33.3 | 50.4 | 40.0 | 24.8 | 27.8 | 39.9 | 27.8 | 43.3 | 25.8 | 38.0 |
| SWA-RoPE-HH | 35.1 | 41.3 | 65.4 | 33.6 | 51.3 | 39.7 | 23.7 | 22.7 | 38.8 | 28.0 | 45.0 | 26.3 | 37.6 |
| SWA-NoPE-HH | 35.8 | 41.7 | 65.5 | 33.8 | 51.7 | 39.0 | 26.4 | 27.8 | 38.7 | 23.4 | 42.2 | 25.2 | 37.6 |
| GLA-RoPE-HH | 36.0 | 46.0 | 66.0 | 35.0 | 52.4 | 40.2 | 24.8 | 25.8 | 39.1 | 23.6 | 43.5 | 25.6 | 38.2 |
| GLA-NoPE-HH | 36.0 | 45.2 | 65.7 | 34.6 | 51.5 | 37.7 | 25.8 | 27.8 | 39.6 | 27.8 | 44.7 | 26.2 | 38.5 |
| GDN-RoPE-HH | 36.8 | 44.9 | 66.3 | 34.7 | 51.3 | 38.3 | 24.8 | 26.8 | 40.6 | 28.0 | 44.0 | 26.7 | 38.6 |
| GDN-NoPE-HH | 35.8 | 44.2 | 67.1 | 34.7 | 52.6 | 39.7 | 23.4 | 30.8 | 39.1 | 26.4 | 46.1 | 25.4 | 38.8 |
| 776M Short | |||||||||||||
| RoPE | 35.8 | 51.3 | 68.4 | 42.0 | 52.7 | 45.9 | 27.1 | 25.3 | 40.6 | 26.6 | 43.0 | 24.6 | 40.3 |
| RoPE-NoPE-HH | 35.2 | 51.6 | 68.9 | 42.4 | 54.3 | 42.2 | 27.1 | 24.8 | 40.1 | 21.2 | 43.6 | 25.3 | 39.7 |
| SWA-RoPE-HH | 37.3 | 49.7 | 67.9 | 41.5 | 52.0 | 40.7 | 26.4 | 24.2 | 39.6 | 18.8 | 42.8 | 26.1 | 38.9 |
| SWA-NoPE-HH | 35.8 | 50.8 | 69.7 | 42.3 | 53.4 | 42.2 | 26.8 | 25.3 | 40.0 | 24.8 | 44.3 | 26.4 | 40.1 |
| GLA-RoPE-HH | 38.3 | 51.9 | 70.2 | 42.4 | 52.3 | 43.7 | 29.8 | 26.3 | 40.9 | 31.6 | 42.9 | 25.9 | 41.4 |
| GLA-NoPE-HH | 36.0 | 53.0 | 70.1 | 42.9 | 52.3 | 45.5 | 28.1 | 24.8 | 39.7 | 23.2 | 44.0 | 25.3 | 40.4 |
| GDN-RoPE-HH | 36.4 | 52.0 | 70.7 | 43.5 | 53.0 | 46.4 | 30.2 | 24.2 | 40.7 | 21.8 | 44.2 | 25.5 | 40.7 |
| GDN-NoPE-HH | 37.6 | 54.0 | 68.8 | 43.2 | 55.2 | 45.7 | 29.5 | 21.2 | 40.3 | 27.0 | 43.3 | 24.2 | 40.8 |
| 1B Short | |||||||||||||
| RoPE | 38.7 | 56.5 | 70.8 | 46.8 | 55.3 | 47.6 | 29.5 | 29.3 | 41.3 | 22.0 | 44.5 | 26.8 | 42.4 |
| RoPE-NoPE-HH | 36.6 | 57.0 | 70.0 | 47.6 | 55.0 | 46.4 | 30.2 | 25.8 | 41.2 | 27.8 | 45.9 | 25.1 | 42.4 |
| SWA-RoPE-HH | 38.7 | 56.3 | 70.6 | 47.2 | 55.3 | 46.6 | 32.2 | 27.3 | 40.9 | 24.6 | 44.1 | 25.9 | 42.5 |
| SWA-NoPE-HH | 36.1 | 56.1 | 71.1 | 47.9 | 55.0 | 46.6 | 30.9 | 22.2 | 41.0 | 26.8 | 45.1 | 26.3 | 42.1 |
| GLA-RoPE-HH | 36.1 | 58.8 | 70.6 | 49.6 | 54.5 | 48.9 | 31.9 | 20.2 | 41.7 | 26.6 | 43.3 | 26.3 | 42.4 |
| GLA-NoPE-HH | 36.7 | 59.1 | 71.0 | 48.7 | 55.8 | 47.8 | 32.2 | 24.8 | 41.3 | 26.6 | 44.6 | 24.9 | 42.8 |
| GDN-RoPE-HH | 36.1 | 57.9 | 72.0 | 49.6 | 54.7 | 46.0 | 29.8 | 21.7 | 41.8 | 27.2 | 46.7 | 26.6 | 42.5 |
| GDN-NoPE-HH | 35.2 | 58.8 | 70.1 | 49.3 | 53.6 | 47.4 | 31.5 | 20.7 | 41.8 | 19.6 | 47.8 | 25.7 | 41.8 |
| 3B Short | |||||||||||||
| RoPE | 36.6 | 62.9 | 73.3 | 55.2 | 58.0 | 51.7 | 33.6 | 25.8 | 41.7 | 27.6 | 45.4 | 25.6 | 44.8 |
| RoPE-NoPE-HH | 36.3 | 63.5 | 73.1 | 56.0 | 57.5 | 49.9 | 32.5 | 28.3 | 42.0 | 23.8 | 46.9 | 24.4 | 44.5 |
| SWA-RoPE-HH | 37.1 | 63.2 | 73.7 | 56.3 | 58.4 | 51.2 | 35.3 | 26.8 | 42.4 | 25.8 | 46.4 | 27.6 | 45.3 |
| SWA-NoPE-HH | 36.4 | 62.4 | 73.2 | 54.4 | 58.5 | 51.5 | 31.5 | 21.7 | 42.3 | 22.4 | 45.9 | 25.7 | 43.8 |
| GLA-RoPE-HH | 36.6 | 63.3 | 73.7 | 56.2 | 59.0 | 51.0 | 31.9 | 24.2 | 43.1 | 20.8 | 46.4 | 27.4 | 44.5 |
| GLA-NoPE-HH | 35.4 | 63.9 | 74.2 | 56.3 | 58.3 | 50.6 | 31.2 | 24.2 | 42.7 | 28.8 | 48.6 | 25.9 | 45.0 |
| GDN-RoPE-HH | 37.7 | 64.1 | 74.5 | 57.5 | 59.8 | 51.2 | 34.9 | 27.3 | 43.5 | 24.0 | 45.0 | 25.6 | 45.4 |
| GDN-NoPE-HH | 36.8 | 63.9 | 73.7 | 54.7 | 60.3 | 50.8 | 37.3 | 29.3 | 42.6 | 25.8 | 48.1 | 24.8 | 45.7 |
Table 4 Short-context performance of head-wise hybrid models after short-context pretraining.
| TQA | LMD | PIQA | Hella | Wino | ARC-e | ARC-c | GPQA | SIQA | OBQA | SG | MMLU | Avg. | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 376M Long | |||||||||||||
| RoPE | 35.2 | 35.8 | 64.3 | 31.2 | 51.2 | 36.7 | 25.8 | 24.8 | 38.5 | 28.0 | 43.6 | 24.2 | 36.6 |
| RoPE-NoPE-LH | 36.0 | 38.7 | 64.2 | 31.7 | 52.5 | 37.6 | 28.8 | 25.8 | 39.2 | 28.2 | 42.9 | 24.7 | 37.5 |
| SWA-RoPE-LH | 35.4 | 39.3 | 64.2 | 31.0 | 52.4 | 39.2 | 25.8 | 23.7 | 38.3 | 28.0 | 45.3 | 25.2 | 37.3 |
| + DRoPE | 35.5 | 39.1 | 65.0 | 30.8 | 51.6 | 39.0 | 23.4 | 24.8 | 38.1 | 27.6 | 44.7 | 25.7 | 37.1 |
| SWA-NoPE-LH | 35.8 | 39.6 | 64.3 | 31.4 | 49.0 | 36.7 | 25.4 | 25.3 | 37.6 | 26.4 | 44.4 | 25.0 | 36.7 |
| GLA-RoPE-LH | 37.1 | 41.6 | 64.4 | 32.0 | 52.2 | 37.0 | 24.1 | 25.3 | 39.1 | 27.2 | 44.9 | 26.2 | 37.6 |
| + DRoPE | 36.0 | 40.2 | 63.7 | 31.6 | 51.2 | 37.6 | 25.1 | 26.3 | 38.4 | 27.4 | 43.4 | 25.7 | 37.2 |
| GLA-NoPE-LH | 37.6 | 41.6 | 64.4 | 31.7 | 51.5 | 38.6 | 23.4 | 25.8 | 38.0 | 27.8 | 44.3 | 24.6 | 37.4 |
| GDN-RoPE-LH | 36.0 | 43.7 | 63.8 | 32.2 | 52.8 | 39.0 | 23.4 | 25.8 | 38.7 | 27.6 | 44.2 | 24.8 | 37.7 |
| + DRoPE | 35.8 | 43.3 | 64.1 | 32.1 | 52.0 | 39.3 | 22.7 | 24.2 | 39.0 | 27.6 | 44.7 | 25.1 | 37.5 |
| GDN-NoPE-LH | 36.4 | 41.9 | 64.5 | 32.1 | 51.2 | 37.6 | 25.4 | 24.2 | 39.0 | 28.0 | 44.0 | 24.9 | 37.4 |
| 776M Long | |||||||||||||
| RoPE | 37.7 | 47.9 | 66.1 | 38.7 | 52.6 | 41.1 | 26.1 | 25.8 | 39.6 | 27.6 | 43.1 | 24.6 | 39.2 |
| RoPE-NoPE-LH | 37.0 | 48.3 | 67.0 | 38.4 | 51.8 | 41.5 | 26.8 | 25.8 | 40.3 | 27.6 | 42.9 | 24.6 | 39.3 |
| SWA-RoPE-LH | 36.4 | 45.1 | 67.7 | 38.6 | 51.9 | 42.2 | 25.4 | 17.7 | 39.0 | 27.6 | 45.3 | 24.0 | 38.4 |
| + DRoPE | 36.3 | 45.7 | 67.8 | 38.7 | 52.0 | 41.8 | 25.8 | 21.2 | 39.0 | 26.4 | 44.9 | 23.9 | 38.6 |
| SWA-NoPE-LH | 37.0 | 45.8 | 66.7 | 38.3 | 52.3 | 41.5 | 28.1 | 24.8 | 39.8 | 27.8 | 45.5 | 24.3 | 39.3 |
| GLA-RoPE-LH | 37.6 | 49.1 | 67.7 | 39.0 | 53.8 | 41.6 | 27.8 | 24.2 | 40.3 | 26.8 | 45.5 | 24.7 | 39.8 |
| + DRoPE | 37.3 | 49.7 | 68.0 | 38.7 | 54.6 | 42.0 | 25.8 | 24.2 | 40.1 | 27.2 | 45.0 | 25.2 | 39.8 |
| GLA-NoPE-LH | 36.8 | 50.6 | 67.2 | 39.2 | 52.3 | 41.8 | 30.2 | 20.7 | 40.0 | 27.6 | 45.0 | 25.6 | 39.7 |
| GDN-RoPE-LH | 37.4 | 51.4 | 66.9 | 40.1 | 53.5 | 42.0 | 29.8 | 25.3 | 40.6 | 27.4 | 44.3 | 25.0 | 40.3 |
| + DRoPE | 36.6 | 50.6 | 65.9 | 39.2 | 52.5 | 41.3 | 28.8 | 24.2 | 40.2 | 27.0 | 44.1 | 24.2 | 39.5 |
| GDN-NoPE-LH | 37.0 | 51.1 | 68.0 | 40.1 | 52.8 | 39.9 | 27.1 | 25.3 | 40.4 | 27.4 | 43.8 | 25.7 | 39.9 |
| 1B Long | |||||||||||||
| RoPE | 38.7 | 54.4 | 69.2 | 43.8 | 53.8 | 44.1 | 27.5 | 25.8 | 40.3 | 27.0 | 45.4 | 27.8 | 41.5 |
| RoPE-NoPE-LH | 37.9 | 54.0 | 69.3 | 44.6 | 54.7 | 45.7 | 28.1 | 24.2 | 40.0 | 25.8 | 44.8 | 26.6 | 41.3 |
| SWA-RoPE-LH | 37.0 | 54.7 | 69.6 | 44.7 | 54.5 | 48.0 | 28.5 | 24.8 | 40.7 | 27.6 | 44.6 | 27.3 | 41.8 |
| + DRoPE | 37.1 | 54.1 | 68.9 | 44.0 | 52.6 | 46.2 | 28.8 | 24.8 | 40.9 | 28.0 | 45.0 | 26.6 | 41.4 |
| SWA-NoPE-LH | 39.0 | 53.4 | 69.2 | 44.2 | 51.9 | 43.9 | 30.5 | 23.2 | 41.5 | 27.8 | 45.4 | 27.2 | 41.4 |
| GLA-RoPE-LH | 37.7 | 55.2 | 69.2 | 45.8 | 55.5 | 46.4 | 29.8 | 24.8 | 40.5 | 26.0 | 43.9 | 26.7 | 41.8 |
| + DRoPE | 35.7 | 55.0 | 69.4 | 45.3 | 55.5 | 44.1 | 28.5 | 26.3 | 40.6 | 27.0 | 43.4 | 26.2 | 41.4 |
| GLA-NoPE-LH | 37.4 | 55.8 | 69.8 | 45.5 | 54.2 | 44.4 | 29.2 | 26.8 | 40.6 | 27.8 | 43.3 | 23.5 | 41.5 |
| GDN-RoPE-LH | 38.0 | 56.3 | 70.2 | 45.8 | 56.3 | 46.4 | 28.8 | 22.2 | 39.8 | 27.2 | 44.4 | 26.3 | 41.8 |
| + DRoPE | 37.9 | 55.9 | 71.2 | 45.8 | 56.3 | 47.4 | 29.8 | 22.2 | 40.2 | 27.8 | 45.0 | 25.7 | 42.1 |
| GDN-NoPE-LH | 37.3 | 55.8 | 69.2 | 45.1 | 55.8 | 44.8 | 29.8 | 25.8 | 40.8 | 27.0 | 45.1 | 25.7 | 41.9 |
| 3B Long | |||||||||||||
| RoPE | 36.6 | 59.9 | 71.6 | 50.4 | 56.3 | 46.4 | 29.2 | 23.7 | 41.5 | 28.2 | 45.8 | 27.2 | 43.1 |
| RoPE-NoPE-LH | 36.4 | 61.1 | 72.5 | 51.3 | 57.1 | 47.6 | 30.9 | 23.2 | 41.5 | 27.4 | 46.1 | 26.1 | 43.4 |
| SWA-RoPE-LH | 37.4 | 61.3 | 72.1 | 52.4 | 57.2 | 49.9 | 30.5 | 27.3 | 41.1 | 27.6 | 48.1 | 27.3 | 44.3 |
| + DRoPE | 37.6 | 60.6 | 71.8 | 52.4 | 56.1 | 50.6 | 32.5 | 28.8 | 41.4 | 25.4 | 48.0 | 26.7 | 44.3 |
| SWA-NoPE-LH | 36.0 | 60.4 | 72.5 | 52.2 | 57.1 | 50.3 | 30.5 | 19.7 | 41.8 | 27.2 | 45.9 | 24.5 | 43.2 |
| GLA-RoPE-LH | 37.4 | 61.4 | 72.9 | 53.4 | 58.5 | 51.0 | 33.2 | 27.8 | 40.3 | 26.4 | 46.6 | 26.5 | 44.6 |
| + DRoPE | 37.1 | 61.4 | 72.9 | 54.2 | 56.8 | 51.7 | 31.2 | 25.8 | 40.7 | 26.2 | 46.5 | 23.9 | 44.0 |
| GLA-NoPE-LH | 37.1 | 62.3 | 72.3 | 51.5 | 55.4 | 48.0 | 34.2 | 21.7 | 41.7 | 25.8 | 46.0 | 26.5 | 43.5 |
| GDN-RoPE-LH | 38.5 | 63.7 | 73.1 | 52.1 | 59.3 | 52.6 | 31.2 | 24.8 | 40.5 | 23.2 | 49.0 | 26.5 | 44.5 |
| + DRoPE | 37.6 | 63.3 | 73.0 | 51.9 | 60.9 | 52.4 | 31.2 | 24.8 | 40.4 | 25.4 | 46.5 | 26.2 | 44.5 |
| GDN-NoPE-LH | 36.6 | 62.2 | 72.5 | 53.1 | 56.4 | 52.4 | 32.9 | 27.8 | 41.8 | 26.8 | 46.5 | 24.6 | 44.5 |
Table 5 Short-context performance of layer-wise hybrid models after long-context continual pretraining.
| TQA | LMD | PIQA | Hella | Wino | ARC-e | ARC-c | GPQA | SIQA | OBQA | SG | MMLU | Avg. | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 376M Long | |||||||||||||
| RoPE | 35.2 | 35.8 | 64.3 | 31.2 | 51.2 | 36.7 | 25.8 | 24.8 | 38.5 | 28.0 | 43.6 | 24.2 | 36.6 |
| RoPE-NoPE-HH | 37.9 | 36.4 | 63.6 | 31.3 | 50.2 | 38.5 | 27.1 | 26.3 | 37.8 | 28.0 | 44.1 | 26.1 | 37.3 |
| SWA-RoPE-HH | 35.2 | 37.6 | 63.3 | 31.4 | 51.0 | 37.0 | 22.4 | 24.8 | 37.9 | 28.0 | 45.1 | 25.1 | 36.6 |
| + DRoPE | 35.1 | 37.1 | 63.3 | 31.3 | 52.0 | 38.1 | 23.4 | 24.8 | 37.2 | 27.8 | 45.1 | 25.2 | 36.7 |
| SWA-NoPE-HH | 35.5 | 36.9 | 63.8 | 31.5 | 51.7 | 37.2 | 26.1 | 25.8 | 37.9 | 27.8 | 43.8 | 23.5 | 36.8 |
| GLA-RoPE-HH | 37.0 | 43.0 | 65.4 | 32.4 | 51.5 | 39.2 | 24.4 | 25.8 | 38.2 | 24.6 | 43.9 | 25.4 | 37.6 |
| + DRoPE | 36.3 | 42.6 | 64.4 | 32.2 | 51.6 | 37.2 | 23.4 | 25.3 | 38.3 | 26.8 | 44.7 | 25.1 | 37.3 |
| GLA-NoPE-HH | 36.3 | 42.4 | 63.3 | 32.6 | 51.9 | 38.1 | 25.1 | 24.2 | 39.1 | 27.4 | 44.7 | 25.4 | 37.5 |
| GDN-RoPE-HH | 34.9 | 41.5 | 63.9 | 32.9 | 52.3 | 38.8 | 23.4 | 24.8 | 39.0 | 28.0 | 43.1 | 25.7 | 37.4 |
| + DRoPE | 36.7 | 40.3 | 64.3 | 32.4 | 51.5 | 39.2 | 23.7 | 25.3 | 39.2 | 28.2 | 43.7 | 25.7 | 37.5 |
| GDN-NoPE-HH | 36.1 | 39.1 | 64.6 | 32.6 | 51.6 | 38.1 | 25.1 | 24.2 | 38.3 | 27.6 | 43.6 | 26.1 | 37.2 |
| 776M Long | |||||||||||||
| RoPE | 37.7 | 47.9 | 66.1 | 38.7 | 52.6 | 41.1 | 26.1 | 25.8 | 39.6 | 27.6 | 43.1 | 24.6 | 39.2 |
| RoPE-NoPE-HH | 35.7 | 47.4 | 67.7 | 38.5 | 53.8 | 40.9 | 24.4 | 25.8 | 39.0 | 22.6 | 44.8 | 26.2 | 38.9 |
| SWA-RoPE-HH | 36.7 | 46.6 | 66.3 | 38.8 | 51.3 | 42.2 | 27.1 | 24.8 | 39.3 | 27.0 | 43.6 | 25.0 | 39.1 |
| + DRoPE | 37.4 | 45.8 | 66.4 | 38.2 | 52.6 | 40.7 | 27.1 | 26.3 | 39.5 | 26.6 | 44.3 | 24.4 | 39.1 |
| SWA-NoPE-HH | 35.8 | 46.3 | 67.2 | 39.1 | 52.8 | 43.0 | 24.1 | 25.3 | 40.3 | 27.6 | 43.0 | 24.4 | 39.1 |
| GLA-RoPE-HH | 38.3 | 49.1 | 68.2 | 39.4 | 53.4 | 42.3 | 25.4 | 25.8 | 40.3 | 28.0 | 44.0 | 25.4 | 40.0 |
| + DRoPE | 38.0 | 48.4 | 68.7 | 39.5 | 52.9 | 41.8 | 26.1 | 25.3 | 40.8 | 28.0 | 45.3 | 26.8 | 40.1 |
| GLA-NoPE-HH | 37.0 | 50.3 | 68.6 | 39.8 | 52.6 | 42.3 | 25.8 | 26.3 | 39.7 | 26.6 | 44.0 | 26.0 | 39.9 |
| GDN-RoPE-HH | 36.4 | 48.4 | 69.2 | 40.1 | 53.0 | 43.6 | 27.5 | 26.3 | 40.7 | 27.4 | 45.7 | 24.5 | 40.2 |
| + DRoPE | 35.7 | 48.3 | 69.6 | 39.9 | 53.3 | 41.3 | 30.5 | 26.8 | 40.3 | 28.2 | 45.2 | 25.4 | 40.4 |
| GDN-NoPE-HH | 38.9 | 51.6 | 67.9 | 40.2 | 55.0 | 44.8 | 27.8 | 19.7 | 39.2 | 27.6 | 45.5 | 24.2 | 40.2 |
| 1B Long | |||||||||||||
| RoPE | 38.7 | 54.4 | 69.2 | 43.8 | 53.8 | 44.1 | 27.5 | 25.8 | 40.3 | 27.0 | 45.4 | 27.8 | 41.5 |
| RoPE-NoPE-HH | 36.8 | 53.6 | 69.3 | 44.8 | 54.0 | 43.7 | 28.5 | 24.2 | 39.7 | 28.0 | 44.8 | 25.1 | 41.1 |
| SWA-RoPE-HH | 38.5 | 51.8 | 69.8 | 45.0 | 53.7 | 45.7 | 28.8 | 25.8 | 41.6 | 27.2 | 44.3 | 24.7 | 41.4 |
| + DRoPE | 38.7 | 52.1 | 70.1 | 44.4 | 52.9 | 43.9 | 27.5 | 26.3 | 41.7 | 28.2 | 44.8 | 24.7 | 41.3 |
| SWA-NoPE-HH | 37.9 | 54.6 | 69.2 | 44.7 | 55.2 | 43.2 | 29.2 | 19.7 | 39.8 | 25.0 | 44.5 | 27.2 | 40.8 |
| GLA-RoPE-HH | 37.4 | 54.2 | 69.5 | 45.2 | 52.6 | 47.1 | 28.1 | 20.7 | 41.1 | 28.0 | 44.1 | 25.2 | 41.1 |
| + DRoPE | 38.0 | 54.2 | 69.9 | 45.6 | 53.2 | 45.7 | 27.1 | 23.7 | 40.5 | 27.6 | 44.3 | 24.8 | 41.2 |
| GLA-NoPE-HH | 36.8 | 56.2 | 70.2 | 45.5 | 53.9 | 47.8 | 30.9 | 24.2 | 41.0 | 27.8 | 44.3 | 26.4 | 42.1 |
| GDN-RoPE-HH | 36.7 | 55.2 | 70.7 | 45.9 | 54.1 | 44.3 | 30.2 | 25.3 | 40.9 | 27.4 | 45.7 | 25.8 | 41.8 |
| + DRoPE | 37.0 | 55.3 | 70.1 | 45.3 | 53.3 | 43.0 | 28.1 | 26.3 | 41.0 | 28.2 | 45.6 | 26.6 | 41.7 |
| GDN-NoPE-HH | 37.6 | 56.8 | 69.4 | 45.2 | 54.1 | 45.2 | 30.2 | 20.7 | 40.8 | 27.4 | 46.1 | 26.0 | 41.6 |
| 3B Long | |||||||||||||
| RoPE | 36.6 | 59.9 | 71.6 | 50.4 | 56.3 | 46.4 | 29.2 | 23.7 | 41.5 | 28.2 | 45.8 | 27.2 | 43.1 |
| RoPE-NoPE-HH | 35.8 | 61.1 | 72.1 | 52.4 | 56.9 | 49.7 | 30.5 | 23.2 | 40.5 | 22.8 | 44.1 | 25.5 | 42.9 |
| SWA-RoPE-HH | 36.6 | 61.1 | 72.0 | 51.8 | 57.6 | 50.6 | 32.5 | 21.7 | 41.2 | 23.0 | 46.0 | 28.6 | 43.6 |
| + DRoPE | 37.0 | 60.6 | 72.0 | 52.4 | 56.8 | 49.9 | 30.2 | 25.8 | 41.3 | 24.0 | 45.0 | 27.5 | 43.5 |
| SWA-NoPE-HH | 36.4 | 59.9 | 72.5 | 51.9 | 58.2 | 50.6 | 29.5 | 24.8 | 41.8 | 25.2 | 46.0 | 25.5 | 43.5 |
| GLA-RoPE-HH | 36.1 | 61.1 | 72.9 | 53.4 | 56.8 | 51.3 | 31.9 | 23.7 | 41.5 | 26.4 | 44.7 | 26.7 | 43.9 |
| + DRoPE | 37.3 | 60.3 | 72.9 | 53.4 | 56.8 | 50.1 | 30.9 | 24.2 | 41.0 | 24.4 | 45.5 | 26.3 | 43.6 |
| GLA-NoPE-HH | 35.8 | 61.6 | 73.4 | 53.1 | 57.7 | 49.9 | 30.5 | 28.3 | 42.3 | 25.8 | 45.5 | 26.6 | 44.2 |
| GDN-RoPE-HH | 37.6 | 62.7 | 72.0 | 53.8 | 58.2 | 50.3 | 33.2 | 28.8 | 42.1 | 26.2 | 45.8 | 26.5 | 44.8 |
| + DRoPE | 37.4 | 62.0 | 73.1 | 53.1 | 57.3 | 49.0 | 33.9 | 27.8 | 42.0 | 23.4 | 46.6 | 24.3 | 44.2 |
| GDN-NoPE-HH | 36.8 | 62.4 | 72.3 | 52.5 | 60.6 | 51.0 | 35.3 | 25.8 | 41.8 | 26.0 | 45.9 | 25.7 | 44.7 |
Table 6 Short-context performance of head-wise hybrid models after long-context continual pretraining.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 376M Short | |||||||||||||||||
| RoPE | 25.8 | 0.0 | 0.0 | 0.0 | 0.0 | 21.7 | 17.8 | 8.0 | 0.4 | 0.0 | 0.0 | 0.0 | 5.2 | 6.8 | 18.3 | 0.1 | 6.1 |
| + NTK | 26.5 | 9.9 | 0.6 | 0.1 | 0.0 | 21.8 | 17.8 | 7.8 | 8.9 | 2.2 | 0.6 | 0.0 | 7.4 | 8.4 | 18.5 | 2.8 | 8.0 |
| + NTK + Log | 26.5 | 14.0 | 1.9 | 0.9 | 0.5 | 21.8 | 17.8 | 8.0 | 7.4 | 7.9 | 2.2 | 0.6 | 8.8 | 9.4 | 18.5 | 4.4 | 9.1 |
| RoPE-NoPE-LH | 29.9 | 0.1 | 0.0 | 0.0 | 0.0 | 32.9 | 19.5 | 15.7 | 0.6 | 0.2 | 0.0 | 0.0 | 6.0 | 9.8 | 24.5 | 0.1 | 8.2 |
| + NTK | 30.6 | 12.1 | 1.3 | 0.7 | 0.4 | 33.0 | 19.5 | 15.9 | 23.2 | 4.9 | 0.7 | 0.0 | 9.0 | 13.9 | 24.7 | 5.4 | 11.9 |
| + NTK + Log | 30.6 | 18.7 | 2.2 | 0.6 | 0.3 | 33.0 | 19.4 | 15.9 | 28.4 | 18.4 | 5.7 | 0.9 | 10.5 | 17.4 | 24.7 | 9.4 | 14.5 |
| SWA-4k-NoPE-LH | 29.9 | 18.0 | 6.6 | 2.8 | 2.2 | 33.1 | 19.5 | 15.7 | 24.4 | 18.7 | 13.7 | 7.9 | 11.9 | 19.0 | 24.6 | 11.8 | 16.0 |
| + Log (EME) | 29.9 | 18.4 | 11.5 | 6.6 | 3.3 | 33.0 | 19.5 | 15.7 | 26.8 | 26.7 | 25.9 | 24.7 | 14.0 | 24.6 | 24.5 | 18.0 | 20.2 |
| SWA-RoPE-LH | 20.8 | 6.0 | 0.5 | 0.2 | 0.2 | 32.1 | 26.5 | 13.0 | 9.4 | 5.8 | 4.4 | 3.9 | 5.5 | 13.6 | 23.1 | 3.8 | 10.2 |
| SWA-NoPE-LH | 29.1 | 23.5 | 19.3 | 11.0 | 9.2 | 31.0 | 27.2 | 23.9 | 20.7 | 17.1 | 12.9 | 12.6 | 18.4 | 20.8 | 27.8 | 15.8 | 19.8 |
| + Log | 29.1 | 24.2 | 22.5 | 24.9 | 19.4 | 31.4 | 27.2 | 23.9 | 23.4 | 22.0 | 19.3 | 19.0 | 24.0 | 23.7 | 27.9 | 21.8 | 23.9 |
| GLA-RoPE-LH | 24.2 | 3.8 | 0.7 | 0.2 | 0.0 | 38.1 | 22.6 | 13.5 | 9.4 | 8.8 | 6.7 | 5.1 | 5.8 | 14.9 | 24.6 | 4.3 | 11.1 |
| GLA-NoPE-LH | 28.6 | 17.0 | 2.0 | 1.3 | 0.6 | 39.0 | 37.0 | 33.8 | 25.5 | 11.3 | 2.6 | 2.8 | 9.9 | 21.7 | 34.6 | 7.9 | 16.8 |
| + Log | 28.6 | 19.0 | 2.6 | 1.3 | 0.7 | 39.0 | 37.0 | 33.9 | 20.6 | 9.7 | 3.0 | 3.1 | 10.4 | 20.9 | 34.6 | 7.5 | 16.5 |
| + wsz=4k | 28.5 | 23.1 | 16.9 | 10.2 | 4.5 | 38.8 | 37.0 | 33.8 | 28.0 | 15.6 | 13.0 | 12.9 | 16.7 | 25.6 | 34.5 | 15.5 | 21.9 |
| + EME | 28.6 | 23.7 | 26.5 | 26.0 | 19.9 | 38.8 | 37.0 | 33.9 | 31.4 | 27.3 | 22.9 | 19.2 | 24.9 | 30.1 | 34.6 | 24.6 | 27.9 |
| GDN-RoPE-LH | 21.2 | 2.0 | 0.9 | 0.5 | 0.0 | 36.8 | 31.9 | 16.6 | 13.5 | 4.2 | 1.4 | 0.3 | 4.9 | 15.0 | 26.6 | 2.9 | 10.8 |
| GDN-NoPE-LH | 22.9 | 20.4 | 10.4 | 6.0 | 3.6 | 31.8 | 34.0 | 30.3 | 27.0 | 11.8 | 1.7 | 0.1 | 12.7 | 19.5 | 29.7 | 10.1 | 16.7 |
| + Log | 22.9 | 21.2 | 14.6 | 7.9 | 6.9 | 31.9 | 34.0 | 30.3 | 28.7 | 16.3 | 3.8 | 0.2 | 14.7 | 20.7 | 29.8 | 12.5 | 18.2 |
| + wsz=4k | 22.9 | 21.5 | 18.1 | 15.5 | 7.6 | 32.0 | 34.0 | 30.3 | 28.2 | 28.7 | 21.7 | 16.9 | 17.1 | 27.4 | 29.8 | 19.8 | 23.1 |
| + EME | 22.9 | 21.9 | 22.7 | 20.8 | 13.6 | 31.9 | 34.0 | 30.3 | 29.0 | 29.5 | 28.4 | 26.2 | 20.4 | 29.9 | 29.8 | 24.0 | 25.9 |
| 776M Short | |||||||||||||||||
| RoPE | 34.9 | 0.5 | 0.0 | 0.0 | 0.0 | 43.9 | 39.8 | 26.5 | 1.6 | 0.7 | 0.1 | 0.0 | 7.1 | 16.1 | 36.3 | 0.4 | 12.3 |
| + NTK | 36.8 | 28.6 | 2.5 | 0.3 | 1.8 | 43.9 | 39.7 | 28.4 | 18.4 | 5.5 | 4.8 | 2.4 | 14.0 | 20.4 | 37.2 | 8.0 | 17.8 |
| + NTK + Log | 36.9 | 30.4 | 12.3 | 2.8 | 1.2 | 44.1 | 39.8 | 28.2 | 22.7 | 10.6 | 3.0 | 2.9 | 16.7 | 21.6 | 37.2 | 10.7 | 19.6 |
| RoPE-NoPE-LH | 32.1 | 0.3 | 0.0 | 0.0 | 0.0 | 41.1 | 34.7 | 30.9 | 1.9 | 0.3 | 2.3 | 0.0 | 6.5 | 15.9 | 34.7 | 0.6 | 12.0 |
| + NTK | 32.3 | 17.8 | 0.5 | 0.1 | 0.1 | 41.2 | 34.6 | 31.6 | 24.5 | 5.9 | 1.9 | 0.5 | 10.2 | 20.0 | 34.9 | 6.4 | 15.9 |
| + NTK + Log | 32.3 | 26.1 | 5.0 | 1.5 | 0.3 | 41.0 | 34.7 | 31.3 | 29.3 | 20.7 | 6.9 | 4.8 | 13.0 | 24.1 | 34.8 | 11.8 | 19.5 |
| SWA-4k-NoPE-LH | 32.2 | 22.7 | 15.5 | 3.0 | 1.4 | 41.0 | 34.7 | 30.8 | 31.0 | 27.2 | 21.9 | 18.5 | 15.0 | 29.3 | 34.7 | 17.7 | 23.3 |
| + Log (EME) | 32.2 | 24.2 | 9.7 | 7.0 | 2.5 | 41.1 | 34.6 | 30.8 | 30.6 | 29.3 | 25.6 | 23.3 | 15.1 | 30.8 | 34.7 | 19.0 | 24.2 |
| SWA-RoPE-LH | 22.9 | 11.4 | 3.2 | 1.1 | 0.8 | 46.3 | 31.4 | 20.5 | 16.8 | 12.2 | 9.3 | 7.5 | 7.9 | 20.6 | 30.3 | 7.8 | 15.3 |
| SWA-NoPE-LH | 34.9 | 29.4 | 23.2 | 11.7 | 9.9 | 35.3 | 33.6 | 30.5 | 28.2 | 23.4 | 20.5 | 16.8 | 21.8 | 26.9 | 33.6 | 20.4 | 24.8 |
| + Log | 34.8 | 32.5 | 31.7 | 26.6 | 25.2 | 35.3 | 33.7 | 30.5 | 30.6 | 26.9 | 24.7 | 24.2 | 30.2 | 29.4 | 33.6 | 27.8 | 29.7 |
| GLA-RoPE-LH | 31.6 | 6.7 | 1.5 | 1.1 | 0.5 | 46.3 | 34.9 | 24.7 | 19.5 | 13.7 | 11.0 | 3.0 | 8.3 | 21.9 | 34.4 | 7.1 | 16.2 |
| GLA-NoPE-LH | 35.0 | 28.7 | 10.5 | 0.5 | 0.9 | 40.4 | 36.3 | 33.4 | 28.7 | 14.9 | 2.5 | 2.6 | 15.1 | 22.7 | 36.3 | 11.2 | 19.5 |
| + Log | 35.0 | 29.2 | 11.5 | 0.7 | 0.6 | 40.3 | 36.3 | 33.5 | 31.2 | 17.6 | 2.4 | 2.5 | 15.4 | 23.4 | 36.3 | 12.0 | 20.1 |
| + wsz=4k | 35.2 | 26.9 | 15.2 | 11.2 | 10.9 | 40.4 | 36.3 | 33.4 | 26.7 | 19.0 | 14.8 | 12.8 | 19.9 | 26.2 | 36.3 | 17.2 | 23.6 |
| + EME | 35.1 | 32.1 | 30.5 | 26.1 | 22.3 | 40.3 | 36.3 | 33.4 | 31.3 | 28.4 | 24.3 | 20.8 | 29.2 | 30.7 | 36.3 | 27.0 | 30.1 |
| GDN-RoPE-LH | 31.2 | 9.1 | 2.0 | 1.5 | 1.1 | 42.1 | 32.7 | 22.9 | 16.1 | 13.2 | 10.2 | 2.1 | 9.0 | 19.9 | 32.2 | 6.9 | 15.3 |
| GDN-NoPE-LH | 37.3 | 33.4 | 15.5 | 11.6 | 8.8 | 38.2 | 32.0 | 32.1 | 22.2 | 12.4 | 9.5 | 3.9 | 21.4 | 21.5 | 34.9 | 14.7 | 21.4 |
| + Log | 37.3 | 33.7 | 16.7 | 11.1 | 8.6 | 38.3 | 32.0 | 32.0 | 21.9 | 10.1 | 8.0 | 6.7 | 21.5 | 21.3 | 34.9 | 14.6 | 21.4 |
| + wsz=4k | 37.3 | 34.4 | 34.3 | 30.4 | 21.2 | 38.2 | 32.0 | 32.0 | 27.2 | 21.9 | 17.4 | 15.6 | 31.5 | 26.3 | 34.9 | 25.3 | 28.5 |
| + EME | 37.2 | 34.7 | 34.6 | 33.0 | 28.3 | 38.3 | 32.0 | 32.1 | 29.3 | 26.8 | 25.7 | 22.0 | 33.6 | 29.5 | 34.9 | 29.3 | 31.2 |
Table 7 Long-context performance of 376M and 776M layer-wise hybrid models after short-context pretraining.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 1B Short | |||||||||||||||||
| RoPE | 37.3 | 1.5 | 0.0 | 0.0 | 0.0 | 47.4 | 41.7 | 28.8 | 1.7 | 0.3 | 0.2 | 0.1 | 7.8 | 17.2 | 38.8 | 0.5 | 13.3 |
| + NTK | 39.3 | 29.7 | 6.9 | 0.5 | 0.7 | 47.5 | 41.6 | 28.8 | 21.5 | 9.0 | 7.0 | 2.0 | 15.4 | 22.5 | 39.3 | 9.7 | 19.5 |
| + NTK + Log | 39.3 | 33.4 | 18.7 | 8.6 | 5.8 | 47.4 | 41.7 | 28.8 | 24.7 | 20.0 | 13.4 | 9.5 | 21.2 | 26.5 | 39.3 | 16.8 | 24.3 |
| RoPE-NoPE-LH | 46.9 | 0.1 | 0.2 | 0.0 | 0.0 | 65.2 | 51.9 | 48.1 | 2.5 | 0.1 | 0.0 | 0.0 | 9.4 | 24.0 | 53.0 | 0.4 | 17.9 |
| + NTK | 45.8 | 35.9 | 6.9 | 0.3 | 0.2 | 65.1 | 51.7 | 47.0 | 39.3 | 13.3 | 4.2 | 0.2 | 17.8 | 31.5 | 52.4 | 12.5 | 25.8 |
| + NTK + Log | 45.8 | 37.5 | 23.7 | 5.2 | 1.4 | 65.3 | 51.9 | 47.0 | 45.4 | 41.9 | 30.8 | 9.9 | 22.7 | 41.7 | 52.5 | 24.5 | 33.8 |
| SWA-4k-NoPE-LH | 46.9 | 40.4 | 39.5 | 34.1 | 22.2 | 65.3 | 51.9 | 48.1 | 39.0 | 31.8 | 24.9 | 20.0 | 36.6 | 40.1 | 53.1 | 31.5 | 38.7 |
| + Log (EME) | 46.9 | 41.1 | 41.3 | 42.0 | 38.0 | 65.3 | 51.9 | 48.1 | 40.5 | 38.5 | 34.3 | 28.7 | 41.9 | 43.9 | 53.1 | 38.1 | 43.1 |
| SWA-RoPE-LH | 34.8 | 14.2 | 3.3 | 1.1 | 0.9 | 63.3 | 42.8 | 28.1 | 21.3 | 9.0 | 8.3 | 9.6 | 10.9 | 26.1 | 42.2 | 8.5 | 19.7 |
| SWA-NoPE-LH | 44.8 | 38.1 | 29.5 | 13.0 | 9.9 | 53.9 | 40.7 | 37.0 | 31.4 | 29.8 | 21.9 | 17.1 | 27.1 | 33.1 | 44.1 | 23.8 | 30.6 |
| + Log | 44.8 | 42.6 | 43.0 | 40.9 | 35.1 | 53.8 | 40.7 | 37.0 | 34.5 | 34.0 | 29.0 | 27.0 | 41.3 | 36.6 | 44.1 | 35.8 | 38.5 |
| GLA-RoPE-LH | 37.1 | 12.3 | 0.5 | 0.5 | 0.2 | 47.7 | 47.5 | 31.6 | 19.4 | 5.8 | 6.2 | 4.2 | 10.1 | 23.2 | 41.0 | 6.1 | 17.8 |
| GLA-NoPE-LH | 47.0 | 40.3 | 13.5 | 3.2 | 1.5 | 42.7 | 47.2 | 45.4 | 38.9 | 20.3 | 9.8 | 8.7 | 21.1 | 30.4 | 45.6 | 17.0 | 26.6 |
| + Log | 47.1 | 41.2 | 20.7 | 4.3 | 2.3 | 42.8 | 47.3 | 45.4 | 40.7 | 20.1 | 11.5 | 10.8 | 23.1 | 31.2 | 45.7 | 18.9 | 27.8 |
| + wsz=4k | 47.0 | 40.2 | 37.2 | 35.3 | 16.8 | 42.6 | 47.3 | 45.4 | 38.3 | 30.5 | 20.9 | 17.3 | 35.3 | 34.6 | 45.6 | 29.6 | 34.9 |
| + EME | 47.0 | 42.1 | 41.5 | 42.5 | 37.5 | 42.8 | 47.3 | 45.4 | 40.3 | 34.9 | 31.9 | 29.3 | 42.1 | 38.8 | 45.6 | 37.5 | 40.2 |
| GDN-RoPE-LH | 41.3 | 16.0 | 3.8 | 1.6 | 0.7 | 61.3 | 50.2 | 32.8 | 20.7 | 13.0 | 3.8 | 5.7 | 12.7 | 26.8 | 46.4 | 8.2 | 20.9 |
| GDN-NoPE-LH | 44.7 | 27.5 | 13.8 | 11.6 | 9.6 | 38.6 | 36.8 | 37.6 | 31.7 | 29.2 | 15.6 | 14.7 | 21.4 | 29.2 | 39.4 | 19.2 | 25.9 |
| + Log | 44.6 | 31.1 | 14.8 | 11.1 | 9.4 | 38.6 | 36.8 | 37.6 | 34.0 | 29.9 | 16.9 | 14.6 | 22.2 | 29.8 | 39.4 | 20.2 | 26.6 |
| + wsz=4k | 44.7 | 36.0 | 36.6 | 27.8 | 18.6 | 38.6 | 36.8 | 37.6 | 34.9 | 27.9 | 21.2 | 16.1 | 32.7 | 30.4 | 39.4 | 27.4 | 31.4 |
| + EME | 44.7 | 38.8 | 41.4 | 38.2 | 33.5 | 38.6 | 36.8 | 37.6 | 38.1 | 32.1 | 28.8 | 26.4 | 39.3 | 34.1 | 39.4 | 34.7 | 36.2 |
| 3B Short | |||||||||||||||||
| RoPE | 42.4 | 1.6 | 0.1 | 0.0 | 0.0 | 56.8 | 55.7 | 40.4 | 5.9 | 0.7 | 0.0 | 0.0 | 8.8 | 22.8 | 48.8 | 1.0 | 17.0 |
| + NTK | 43.7 | 34.6 | 15.2 | 1.1 | 0.7 | 56.6 | 56.0 | 39.8 | 28.9 | 15.1 | 6.4 | 0.4 | 19.1 | 29.0 | 49.0 | 12.8 | 24.9 |
| + NTK + Log | 43.8 | 37.0 | 32.1 | 19.6 | 6.5 | 57.1 | 55.9 | 39.5 | 30.7 | 26.1 | 20.4 | 14.7 | 27.8 | 34.9 | 49.1 | 23.4 | 31.9 |
| RoPE-NoPE-LH | 56.6 | 20.5 | 0.1 | 0.0 | 0.0 | 67.4 | 58.7 | 52.0 | 29.0 | 3.2 | 2.4 | 0.4 | 15.5 | 30.4 | 58.7 | 7.0 | 24.2 |
| + NTK | 57.1 | 40.0 | 19.1 | 2.4 | 0.8 | 67.3 | 58.7 | 50.7 | 42.6 | 25.0 | 7.8 | 3.1 | 23.9 | 36.5 | 58.5 | 17.6 | 31.2 |
| + NTK + Log | 57.0 | 45.7 | 34.3 | 13.3 | 5.8 | 66.9 | 58.6 | 50.7 | 45.9 | 41.4 | 32.8 | 16.7 | 31.2 | 44.7 | 58.3 | 29.5 | 39.1 |
| SWA-4k-NoPE-LH | 56.5 | 40.2 | 36.6 | 33.3 | 27.1 | 67.5 | 58.7 | 52.2 | 45.8 | 41.1 | 30.4 | 20.4 | 38.7 | 45.2 | 58.7 | 34.4 | 42.5 |
| + Log (EME) | 56.9 | 40.3 | 36.2 | 31.9 | 25.7 | 67.4 | 58.6 | 52.1 | 44.7 | 43.2 | 38.5 | 32.7 | 38.2 | 48.2 | 58.8 | 36.7 | 44.0 |
| SWA-NoPE-LH | 51.8 | 46.9 | 44.6 | 35.5 | 22.9 | 64.3 | 56.5 | 48.9 | 41.7 | 36.6 | 31.0 | 22.4 | 40.3 | 43.1 | 55.4 | 35.2 | 41.9 |
| + Log | 51.9 | 48.9 | 48.8 | 45.9 | 44.0 | 63.9 | 56.4 | 48.8 | 44.8 | 43.1 | 37.2 | 32.5 | 47.9 | 46.7 | 55.2 | 43.2 | 47.2 |
| GLA-RoPE-LH | 41.8 | 19.3 | 6.6 | 0.5 | 0.1 | 49.1 | 54.8 | 46.7 | 29.1 | 12.5 | 0.6 | 1.2 | 13.7 | 27.7 | 48.1 | 8.7 | 21.9 |
| GLA-NoPE-LH | 57.7 | 35.9 | 16.5 | 7.7 | 9.8 | 61.5 | 52.4 | 48.4 | 35.2 | 20.9 | 24.2 | 14.5 | 25.5 | 36.7 | 55.0 | 20.6 | 32.1 |
| + Log | 57.7 | 35.5 | 17.2 | 11.7 | 10.0 | 61.3 | 52.6 | 48.8 | 35.9 | 12.6 | 27.0 | 18.0 | 26.4 | 36.6 | 55.1 | 21.0 | 32.4 |
| + wsz=4k | 57.7 | 43.0 | 39.4 | 32.8 | 22.7 | 61.6 | 52.6 | 48.8 | 39.8 | 35.0 | 26.6 | 19.8 | 39.1 | 40.6 | 55.2 | 32.4 | 40.0 |
| + EME | 58.0 | 43.2 | 40.8 | 36.1 | 31.2 | 60.9 | 52.3 | 49.0 | 40.6 | 37.8 | 35.6 | 32.0 | 41.9 | 44.0 | 55.1 | 37.2 | 43.1 |
| GDN-RoPE-LH | 49.9 | 19.9 | 6.6 | 2.3 | 1.5 | 53.2 | 52.0 | 43.8 | 30.1 | 15.8 | 5.9 | 4.0 | 16.1 | 29.3 | 49.7 | 10.8 | 23.8 |
| GDN-NoPE-LH | 52.0 | 39.1 | 29.5 | 15.9 | 14.3 | 57.0 | 56.1 | 53.2 | 40.2 | 29.4 | 21.1 | 18.2 | 30.1 | 39.3 | 54.6 | 26.0 | 35.5 |
| + Log | 51.9 | 39.5 | 33.0 | 22.0 | 15.9 | 57.1 | 56.1 | 53.2 | 41.8 | 35.2 | 31.2 | 24.3 | 32.5 | 42.7 | 54.6 | 30.4 | 38.4 |
| + wsz=4k | 51.9 | 41.2 | 38.7 | 35.0 | 29.2 | 57.1 | 55.9 | 53.0 | 44.4 | 35.8 | 29.5 | 22.3 | 39.2 | 42.6 | 54.5 | 34.5 | 41.2 |
| + EME | 51.9 | 41.8 | 40.5 | 41.9 | 35.9 | 57.1 | 56.1 | 52.9 | 46.3 | 40.7 | 38.5 | 33.6 | 42.4 | 46.5 | 54.5 | 39.9 | 44.8 |
Table 8 Long-context performance of 1B and 3B layer-wise hybrid models after short-context pretraining.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 376M Short | |||||||||||||||||
| RoPE | 25.8 | 0.0 | 0.0 | 0.0 | 0.0 | 21.7 | 17.8 | 8.0 | 0.4 | 0.0 | 0.0 | 0.0 | 5.2 | 6.8 | 18.3 | 0.1 | 6.1 |
| + NTK | 26.5 | 9.9 | 0.6 | 0.1 | 0.0 | 21.8 | 17.8 | 7.8 | 8.9 | 2.2 | 0.6 | 0.0 | 7.4 | 8.4 | 18.5 | 2.8 | 8.0 |
| + NTK + Log | 26.5 | 14.0 | 1.9 | 0.9 | 0.5 | 21.8 | 17.8 | 8.0 | 7.4 | 7.9 | 2.2 | 0.6 | 8.8 | 9.4 | 18.5 | 4.4 | 9.1 |
| RoPE-NoPE-HH | 33.1 | 0.3 | 0.0 | 0.0 | 0.0 | 27.1 | 28.4 | 27.0 | 0.3 | 0.0 | 0.0 | 0.0 | 6.7 | 11.8 | 28.9 | 0.1 | 9.7 |
| + NTK | 33.2 | 14.3 | 0.6 | 0.2 | 0.1 | 27.3 | 28.4 | 27.0 | 24.6 | 2.9 | 1.4 | 0.1 | 9.7 | 16.0 | 29.0 | 5.5 | 13.3 |
| + NTK + Log | 33.2 | 20.3 | 1.8 | 0.2 | 0.3 | 27.2 | 28.4 | 26.8 | 23.8 | 5.2 | 2.4 | 0.0 | 11.2 | 16.3 | 28.9 | 6.8 | 14.1 |
| SWA-4k-NoPE-HH | 33.1 | 14.6 | 4.7 | 2.2 | 1.2 | 27.2 | 28.4 | 27.0 | 28.5 | 27.0 | 21.0 | 16.4 | 11.2 | 25.1 | 28.9 | 14.5 | 19.3 |
| + Log (EME) | 33.1 | 21.9 | 15.6 | 15.8 | 9.3 | 27.0 | 28.4 | 27.0 | 27.0 | 25.3 | 26.0 | 22.9 | 19.1 | 26.2 | 28.9 | 20.5 | 23.3 |
| SWA-RoPE-HH | 20.6 | 1.9 | 0.4 | 0.4 | 0.5 | 36.3 | 32.8 | 18.7 | 11.0 | 7.4 | 5.2 | 4.7 | 4.7 | 16.6 | 27.1 | 3.9 | 11.7 |
| SWA-NoPE-HH | 29.4 | 30.0 | 24.9 | 17.0 | 10.5 | 44.4 | 33.0 | 31.1 | 27.1 | 26.7 | 17.0 | 15.2 | 22.4 | 27.8 | 34.5 | 21.1 | 25.5 |
| + Log | 29.5 | 31.2 | 29.6 | 28.7 | 29.1 | 44.3 | 33.0 | 31.1 | 28.6 | 29.2 | 25.0 | 22.0 | 29.6 | 30.5 | 34.5 | 27.9 | 30.1 |
| GLA-RoPE-HH | 28.1 | 2.1 | 0.3 | 0.0 | 0.0 | 28.5 | 27.0 | 17.6 | 11.0 | 2.4 | 1.7 | 0.2 | 6.1 | 12.6 | 25.3 | 2.2 | 9.9 |
| GLA-NoPE-HH | 31.2 | 26.5 | 6.3 | 1.3 | 1.3 | 20.8 | 25.6 | 25.1 | 24.8 | 19.7 | 9.6 | 6.1 | 13.3 | 18.8 | 25.7 | 12.0 | 16.5 |
| + Log | 31.2 | 27.4 | 8.0 | 1.0 | 0.9 | 20.9 | 25.6 | 25.1 | 26.5 | 26.9 | 13.8 | 7.9 | 13.7 | 21.0 | 25.7 | 14.0 | 17.9 |
| + wsz=4k | 31.2 | 27.9 | 19.0 | 12.0 | 8.8 | 20.9 | 25.7 | 25.1 | 20.4 | 16.3 | 12.6 | 11.2 | 19.8 | 18.9 | 25.7 | 16.0 | 19.3 |
| + EME | 31.2 | 28.6 | 27.7 | 24.6 | 16.7 | 20.9 | 25.7 | 25.1 | 21.6 | 20.4 | 18.7 | 18.6 | 25.7 | 21.6 | 25.7 | 22.1 | 23.3 |
| GDN-RoPE-HH | 19.2 | 3.9 | 0.9 | 0.6 | 0.2 | 32.4 | 22.5 | 18.5 | 11.6 | 9.8 | 7.3 | 6.4 | 5.0 | 15.5 | 23.2 | 5.1 | 11.1 |
| GDN-NoPE-HH | 33.5 | 30.6 | 18.4 | 11.7 | 7.0 | 38.4 | 32.8 | 29.5 | 24.9 | 25.2 | 24.7 | 14.0 | 20.2 | 27.1 | 33.5 | 19.6 | 24.2 |
| + Log | 33.5 | 31.9 | 24.7 | 16.5 | 8.9 | 38.5 | 32.8 | 29.5 | 26.3 | 26.3 | 29.3 | 25.7 | 23.1 | 29.8 | 33.6 | 23.7 | 27.0 |
| + wsz=4k | 33.5 | 30.0 | 19.2 | 10.7 | 7.4 | 38.6 | 32.8 | 29.5 | 27.5 | 21.9 | 16.1 | 13.5 | 20.2 | 25.7 | 33.6 | 18.3 | 23.4 |
| + EME | 33.5 | 31.5 | 30.6 | 27.8 | 25.2 | 38.6 | 32.8 | 29.5 | 29.2 | 27.3 | 24.9 | 21.2 | 29.7 | 29.1 | 33.6 | 27.2 | 29.3 |
| 776M Short | |||||||||||||||||
| RoPE | 34.9 | 0.5 | 0.0 | 0.0 | 0.0 | 43.9 | 39.8 | 26.5 | 1.6 | 0.7 | 0.1 | 0.0 | 7.1 | 16.1 | 36.3 | 0.4 | 12.3 |
| + NTK | 36.8 | 28.6 | 2.5 | 0.3 | 1.8 | 43.9 | 39.7 | 28.4 | 18.4 | 5.5 | 4.8 | 2.4 | 14.0 | 20.4 | 37.2 | 8.0 | 17.8 |
| + NTK + Log | 36.9 | 30.4 | 12.3 | 2.8 | 1.2 | 44.1 | 39.8 | 28.2 | 22.7 | 10.6 | 3.0 | 2.9 | 16.7 | 21.6 | 37.2 | 10.7 | 19.6 |
| RoPE-NoPE-HH | 40.7 | 0.2 | 0.0 | 0.0 | 0.0 | 49.6 | 38.7 | 37.0 | 1.5 | 0.1 | 0.0 | 0.0 | 8.2 | 18.1 | 41.5 | 0.2 | 14.0 |
| + NTK | 40.7 | 33.7 | 5.8 | 0.8 | 0.2 | 50.3 | 38.8 | 35.9 | 29.7 | 5.9 | 1.4 | 0.3 | 16.2 | 23.2 | 41.4 | 9.7 | 20.3 |
| + NTK + Log | 40.8 | 34.9 | 6.5 | 1.2 | 0.2 | 50.0 | 38.7 | 35.9 | 33.9 | 7.4 | 3.7 | 1.4 | 16.7 | 24.4 | 41.3 | 11.2 | 21.2 |
| SWA-4k-NoPE-HH | 40.7 | 28.6 | 15.8 | 5.2 | 1.9 | 49.9 | 38.7 | 36.9 | 27.3 | 25.0 | 20.4 | 16.1 | 18.4 | 30.6 | 41.6 | 17.5 | 25.5 |
| + Log (EME) | 40.7 | 31.2 | 25.6 | 22.7 | 8.5 | 50.0 | 38.7 | 36.9 | 30.6 | 28.4 | 27.1 | 24.7 | 25.7 | 33.8 | 41.6 | 24.9 | 30.4 |
| SWA-RoPE-HH | 32.2 | 6.6 | 2.6 | 0.1 | 0.0 | 40.2 | 31.2 | 20.8 | 13.8 | 11.0 | 1.8 | 0.1 | 8.3 | 17.0 | 31.1 | 4.5 | 13.4 |
| SWA-NoPE-HH | 32.1 | 29.7 | 27.9 | 18.0 | 10.2 | 39.5 | 39.6 | 34.2 | 30.8 | 26.8 | 18.8 | 17.1 | 23.6 | 29.5 | 36.3 | 22.4 | 27.1 |
| + Log | 32.1 | 30.7 | 30.4 | 28.3 | 26.6 | 39.4 | 39.7 | 34.1 | 33.2 | 32.6 | 28.8 | 23.8 | 29.6 | 33.1 | 36.3 | 29.3 | 31.6 |
| GLA-RoPE-HH | 31.0 | 7.3 | 1.3 | 0.4 | 0.2 | 41.5 | 34.5 | 24.9 | 18.4 | 6.8 | 0.8 | 2.5 | 8.0 | 18.5 | 33.0 | 4.7 | 14.1 |
| GLA-NoPE-HH | 35.6 | 27.2 | 7.9 | 8.2 | 1.9 | 43.1 | 36.9 | 36.0 | 25.6 | 3.3 | 3.9 | 0.3 | 16.2 | 21.3 | 37.9 | 9.8 | 19.2 |
| + Log | 35.7 | 27.6 | 9.9 | 8.8 | 7.1 | 43.1 | 37.0 | 36.0 | 25.0 | 3.4 | 3.6 | 0.6 | 17.8 | 21.2 | 38.0 | 10.8 | 19.8 |
| + wsz=4k | 35.6 | 30.0 | 27.1 | 15.3 | 10.5 | 43.1 | 36.8 | 36.0 | 30.2 | 26.4 | 21.1 | 16.9 | 23.7 | 30.1 | 37.9 | 22.2 | 27.4 |
| + EME | 35.6 | 32.3 | 32.0 | 25.2 | 17.8 | 43.1 | 37.0 | 36.0 | 31.7 | 29.7 | 25.1 | 21.8 | 28.6 | 32.1 | 37.9 | 27.0 | 30.6 |
| GDN-RoPE-HH | 32.4 | 6.8 | 2.7 | 1.6 | 1.5 | 45.2 | 36.1 | 23.9 | 18.6 | 13.1 | 10.6 | 10.5 | 9.0 | 22.6 | 34.4 | 8.2 | 16.9 |
| GDN-NoPE-HH | 37.8 | 24.7 | 12.4 | 9.8 | 8.6 | 43.1 | 39.2 | 35.5 | 23.4 | 9.0 | 7.5 | 7.6 | 18.7 | 23.6 | 38.9 | 12.9 | 21.6 |
| + Log | 37.8 | 25.9 | 12.9 | 9.7 | 9.6 | 43.2 | 39.1 | 35.5 | 22.6 | 9.4 | 7.8 | 8.5 | 19.2 | 23.7 | 38.9 | 13.3 | 21.8 |
| + wsz=4k | 37.7 | 32.3 | 24.5 | 11.5 | 9.4 | 43.2 | 39.4 | 35.3 | 29.0 | 26.9 | 26.0 | 23.4 | 23.1 | 31.9 | 38.9 | 22.9 | 28.2 |
| + EME | 37.8 | 33.2 | 31.6 | 23.4 | 16.2 | 43.1 | 39.1 | 35.3 | 28.0 | 25.9 | 25.2 | 28.0 | 28.4 | 32.1 | 38.8 | 26.4 | 30.6 |
Table 9 Long-context performance of 376M and 776M head-wise hybrid models after short-context pretraining.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 1B Short | |||||||||||||||||
| RoPE | 37.3 | 1.5 | 0.0 | 0.0 | 0.0 | 47.4 | 41.7 | 28.8 | 1.7 | 0.3 | 0.2 | 0.1 | 7.8 | 17.2 | 38.8 | 0.5 | 13.3 |
| + NTK | 39.3 | 29.7 | 6.9 | 0.5 | 0.7 | 47.5 | 41.6 | 28.8 | 21.5 | 9.0 | 7.0 | 2.0 | 15.4 | 22.5 | 39.3 | 9.7 | 19.5 |
| + NTK + Log | 39.3 | 33.4 | 18.7 | 8.6 | 5.8 | 47.4 | 41.7 | 28.8 | 24.7 | 20.0 | 13.4 | 9.5 | 21.2 | 26.5 | 39.3 | 16.8 | 24.3 |
| RoPE-NoPE-HH | 44.4 | 1.0 | 0.1 | 0.0 | 0.0 | 54.9 | 39.7 | 35.9 | 11.4 | 0.0 | 0.0 | 0.0 | 9.1 | 20.3 | 43.7 | 1.6 | 15.6 |
| + NTK | 43.9 | 33.7 | 10.1 | 1.5 | 0.8 | 54.8 | 39.6 | 35.6 | 32.4 | 13.2 | 3.7 | 0.0 | 18.0 | 25.6 | 43.5 | 11.9 | 22.5 |
| + NTK + Log | 43.9 | 35.4 | 13.6 | 2.6 | 0.9 | 54.8 | 39.7 | 35.6 | 34.4 | 18.3 | 3.7 | 0.0 | 19.3 | 26.6 | 43.5 | 13.6 | 23.6 |
| SWA-4k-NoPE-HH | 44.4 | 35.5 | 34.1 | 28.3 | 16.8 | 54.8 | 39.7 | 35.8 | 31.4 | 26.1 | 21.6 | 17.0 | 31.8 | 32.3 | 43.7 | 26.4 | 32.1 |
| + Log (EME) | 44.4 | 36.4 | 36.7 | 34.2 | 32.8 | 54.7 | 39.7 | 35.8 | 31.7 | 31.0 | 28.9 | 28.6 | 36.9 | 35.8 | 43.7 | 32.5 | 36.3 |
| SWA-RoPE-HH | 42.0 | 11.2 | 2.7 | 0.5 | 0.3 | 53.6 | 37.7 | 29.7 | 25.4 | 8.2 | 0.5 | 0.7 | 11.3 | 22.3 | 40.8 | 6.2 | 17.7 |
| SWA-NoPE-HH | 43.6 | 41.1 | 39.1 | 29.1 | 18.8 | 45.2 | 43.4 | 40.2 | 37.7 | 31.6 | 23.5 | 16.5 | 34.4 | 34.0 | 43.1 | 29.7 | 34.2 |
| + Log | 43.7 | 42.9 | 44.2 | 41.1 | 41.0 | 45.3 | 43.4 | 40.2 | 39.9 | 35.9 | 31.2 | 28.3 | 42.6 | 37.7 | 43.1 | 38.1 | 39.8 |
| GLA-RoPE-HH | 36.8 | 12.9 | 4.8 | 1.4 | 0.3 | 37.9 | 35.4 | 30.1 | 22.9 | 16.9 | 11.7 | 1.0 | 11.2 | 22.3 | 35.1 | 9.0 | 17.7 |
| GLA-NoPE-HH | 46.6 | 28.8 | 3.2 | 2.7 | 1.6 | 54.4 | 42.3 | 42.1 | 36.3 | 2.3 | 0.7 | 0.4 | 16.6 | 25.5 | 46.4 | 9.5 | 21.8 |
| + Log | 46.6 | 28.3 | 3.3 | 2.2 | 2.0 | 54.5 | 42.3 | 42.1 | 36.3 | 2.4 | 1.1 | 1.4 | 16.5 | 25.7 | 46.4 | 9.6 | 21.9 |
| + wsz=4k | 46.6 | 30.7 | 28.2 | 11.6 | 4.9 | 54.5 | 42.3 | 42.1 | 34.8 | 28.3 | 19.9 | 11.6 | 24.4 | 33.4 | 46.4 | 21.3 | 29.6 |
| + EME | 46.6 | 32.0 | 32.6 | 30.8 | 23.9 | 54.5 | 42.3 | 42.1 | 36.3 | 32.2 | 27.5 | 24.6 | 33.2 | 37.1 | 46.4 | 30.0 | 35.5 |
| GDN-RoPE-HH | 41.3 | 7.5 | 3.2 | 0.2 | 0.4 | 29.0 | 46.5 | 29.2 | 19.4 | 14.0 | 4.4 | 7.6 | 10.5 | 21.4 | 36.5 | 7.1 | 16.9 |
| GDN-NoPE-HH | 44.4 | 28.2 | 12.8 | 10.6 | 10.2 | 36.0 | 43.6 | 40.7 | 26.1 | 4.4 | 5.8 | 6.4 | 21.2 | 23.3 | 41.2 | 13.1 | 22.4 |
| + Log | 44.4 | 26.5 | 12.8 | 10.6 | 9.9 | 36.1 | 43.6 | 40.7 | 26.5 | 5.6 | 4.0 | 2.9 | 20.8 | 22.8 | 41.2 | 12.4 | 22.0 |
| + wsz=4k | 44.4 | 37.1 | 36.9 | 20.9 | 11.9 | 36.0 | 43.6 | 40.7 | 33.7 | 26.1 | 21.7 | 15.2 | 30.3 | 31.0 | 41.2 | 25.5 | 30.7 |
| + EME | 44.4 | 37.6 | 38.8 | 31.6 | 31.4 | 36.1 | 43.6 | 40.7 | 35.6 | 30.6 | 28.0 | 23.4 | 36.8 | 34.0 | 41.2 | 32.1 | 35.2 |
| 3B Short | |||||||||||||||||
| RoPE | 42.4 | 1.6 | 0.1 | 0.0 | 0.0 | 56.8 | 55.7 | 40.4 | 5.9 | 0.7 | 0.0 | 0.0 | 8.8 | 22.8 | 48.8 | 1.0 | 17.0 |
| + NTK | 43.7 | 34.6 | 15.2 | 1.1 | 0.7 | 56.6 | 56.0 | 39.8 | 28.9 | 15.1 | 6.4 | 0.4 | 19.1 | 29.0 | 49.0 | 12.8 | 24.9 |
| + NTK + Log | 43.8 | 37.0 | 32.1 | 19.6 | 6.5 | 57.1 | 55.9 | 39.5 | 30.7 | 26.1 | 20.4 | 14.7 | 27.8 | 34.9 | 49.1 | 23.4 | 31.9 |
| RoPE-NoPE-HH | 50.9 | 24.1 | 1.1 | 1.0 | 1.0 | 68.7 | 65.2 | 57.5 | 12.6 | 2.3 | 0.0 | 0.0 | 15.6 | 29.5 | 60.6 | 5.3 | 23.7 |
| + NTK | 51.5 | 43.1 | 25.3 | 3.0 | 2.7 | 68.9 | 65.2 | 56.2 | 44.0 | 21.3 | 7.0 | 1.4 | 25.1 | 37.7 | 60.5 | 18.5 | 32.5 |
| + NTK + Log | 51.5 | 43.4 | 28.5 | 6.1 | 2.3 | 69.0 | 65.1 | 55.8 | 45.0 | 25.4 | 7.7 | 2.1 | 26.4 | 38.6 | 60.4 | 20.1 | 33.5 |
| SWA-4k-NoPE-HH | 50.8 | 39.1 | 35.2 | 33.5 | 25.0 | 69.5 | 65.2 | 57.5 | 46.4 | 36.8 | 26.7 | 21.5 | 36.7 | 46.2 | 60.8 | 33.0 | 42.3 |
| + Log (EME) | 50.8 | 39.6 | 37.0 | 37.7 | 34.2 | 69.2 | 65.3 | 57.5 | 48.1 | 40.9 | 38.5 | 33.6 | 39.9 | 50.4 | 60.7 | 38.7 | 46.0 |
| SWA-NoPE-HH | 53.9 | 46.1 | 41.9 | 32.7 | 21.7 | 46.3 | 47.6 | 45.9 | 41.6 | 33.7 | 28.8 | 20.9 | 39.3 | 37.8 | 48.4 | 33.4 | 38.4 |
| + Log | 53.9 | 48.2 | 49.5 | 48.0 | 45.6 | 46.3 | 47.7 | 45.9 | 44.9 | 43.2 | 42.7 | 36.1 | 49.0 | 43.8 | 48.5 | 44.8 | 46.0 |
| GLA-RoPE-HH | 44.8 | 15.7 | 6.3 | 0.0 | 0.0 | 59.6 | 43.0 | 38.4 | 27.4 | 18.6 | 2.2 | 0.9 | 13.4 | 27.2 | 46.5 | 8.9 | 21.4 |
| GLA-NoPE-HH | 51.4 | 25.9 | 4.3 | 2.7 | 2.6 | 59.4 | 50.0 | 42.8 | 16.5 | 0.6 | 0.6 | 0.2 | 17.4 | 24.3 | 50.9 | 6.7 | 21.4 |
| + Log | 51.4 | 26.1 | 4.2 | 3.0 | 2.4 | 59.5 | 49.5 | 42.7 | 14.6 | 0.8 | 0.2 | 1.0 | 17.4 | 24.0 | 50.8 | 6.5 | 21.3 |
| + wsz=4k | 51.4 | 42.4 | 32.5 | 22.8 | 15.9 | 59.6 | 49.6 | 42.8 | 39.2 | 32.7 | 23.2 | 16.9 | 33.0 | 37.7 | 50.8 | 28.2 | 35.8 |
| + EME | 51.3 | 42.5 | 36.6 | 30.1 | 28.7 | 59.7 | 50.0 | 42.8 | 39.4 | 35.4 | 29.3 | 22.0 | 37.9 | 39.8 | 51.0 | 33.0 | 39.0 |
| GDN-RoPE-HH | 51.6 | 20.0 | 7.3 | 1.9 | 1.0 | 54.4 | 54.0 | 38.2 | 28.4 | 18.3 | 11.6 | 8.6 | 16.4 | 30.5 | 49.6 | 12.2 | 24.6 |
| GDN-NoPE-HH | 51.3 | 19.1 | 12.2 | 8.9 | 8.2 | 58.9 | 56.6 | 52.9 | 30.6 | 0.5 | 0.6 | 0.1 | 19.9 | 28.6 | 54.9 | 10.0 | 25.0 |
| + Log | 51.1 | 29.6 | 11.6 | 9.2 | 8.4 | 59.2 | 55.8 | 52.9 | 32.9 | 0.9 | 1.5 | 1.2 | 22.0 | 29.2 | 54.8 | 11.9 | 26.2 |
| + wsz=4k | 51.2 | 30.5 | 37.2 | 18.8 | 13.9 | 58.9 | 56.1 | 52.8 | 32.1 | 12.1 | 15.2 | 15.4 | 30.3 | 34.7 | 54.7 | 21.9 | 32.8 |
| + EME | 51.3 | 26.4 | 34.9 | 29.4 | 31.9 | 58.6 | 56.0 | 52.8 | 33.9 | 15.4 | 13.3 | 11.2 | 34.8 | 34.5 | 54.7 | 24.6 | 34.6 |
Table 10 Long-context performance of 1B and 3B head-wise hybrid models after short-context pretraining.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 376M Long | |||||||||||||||||
| RoPE | 31.8 | 26.0 | 24.9 | 10.6 | 2.4 | 30.1 | 25.0 | 21.7 | 19.1 | 10.8 | 5.0 | 2.6 | 19.2 | 16.3 | 27.2 | 12.7 | 17.5 |
| RoPE-NoPE-LH | 35.0 | 28.0 | 27.1 | 14.0 | 3.7 | 39.7 | 30.1 | 26.2 | 27.5 | 30.5 | 28.2 | 19.2 | 21.6 | 28.8 | 32.8 | 22.3 | 25.8 |
| SWA-RoPE-LH | 30.4 | 28.6 | 25.8 | 12.8 | 6.1 | 31.1 | 27.9 | 24.6 | 23.3 | 25.6 | 15.5 | 12.6 | 20.7 | 22.9 | 28.5 | 18.8 | 22.0 |
| + DRoPE | 28.2 | 23.6 | 23.9 | 15.0 | 11.0 | 30.4 | 25.6 | 21.8 | 20.9 | 20.1 | 18.2 | 16.2 | 20.3 | 21.9 | 26.5 | 18.6 | 21.2 |
| SWA-NoPE-LH | 35.4 | 28.1 | 26.8 | 22.2 | 17.1 | 35.3 | 30.6 | 29.2 | 28.0 | 24.4 | 20.7 | 17.3 | 25.9 | 26.5 | 32.6 | 23.1 | 26.3 |
| GLA-RoPE-LH | 32.8 | 30.9 | 30.2 | 24.6 | 10.2 | 33.6 | 25.4 | 25.5 | 24.7 | 20.2 | 12.1 | 7.3 | 25.7 | 21.3 | 29.3 | 20.0 | 23.1 |
| + DRoPE | 32.4 | 29.6 | 29.3 | 27.1 | 13.6 | 31.5 | 25.6 | 22.8 | 21.4 | 16.9 | 8.1 | 7.3 | 26.4 | 19.1 | 28.1 | 19.2 | 22.1 |
| GLA-NoPE-LH | 27.5 | 26.2 | 25.3 | 26.9 | 19.5 | 30.7 | 33.2 | 31.8 | 30.4 | 30.0 | 29.4 | 23.8 | 25.1 | 29.9 | 30.8 | 26.4 | 27.9 |
| GDN-RoPE-LH | 27.1 | 28.3 | 27.9 | 12.3 | 11.0 | 34.8 | 31.5 | 30.5 | 27.2 | 22.8 | 16.3 | 10.7 | 21.3 | 24.8 | 31.0 | 19.6 | 23.4 |
| + DRoPE | 31.2 | 28.8 | 29.5 | 18.9 | 14.0 | 35.8 | 33.7 | 32.2 | 31.8 | 28.4 | 28.1 | 24.9 | 24.5 | 30.7 | 33.2 | 25.6 | 28.1 |
| GDN-NoPE-LH | 28.2 | 27.7 | 27.7 | 27.3 | 20.7 | 32.6 | 31.9 | 29.8 | 29.1 | 31.0 | 30.5 | 30.0 | 26.3 | 30.7 | 30.6 | 28.0 | 28.9 |
| 776M Long | |||||||||||||||||
| RoPE | 39.4 | 37.6 | 37.3 | 35.5 | 20.5 | 44.3 | 40.2 | 39.8 | 36.9 | 32.8 | 24.8 | 22.6 | 34.1 | 34.5 | 40.9 | 31.0 | 34.3 |
| RoPE-NoPE-LH | 37.7 | 36.5 | 35.5 | 31.9 | 22.7 | 43.0 | 38.1 | 37.1 | 32.8 | 31.1 | 26.1 | 22.2 | 32.9 | 32.9 | 39.0 | 29.9 | 32.9 |
| SWA-RoPE-LH | 46.2 | 38.4 | 32.5 | 12.6 | 6.7 | 38.0 | 32.7 | 31.5 | 27.8 | 23.1 | 16.9 | 13.7 | 27.3 | 26.2 | 37.1 | 21.5 | 26.7 |
| + DRoPE | 42.4 | 33.5 | 18.9 | 10.5 | 6.6 | 50.3 | 35.9 | 32.9 | 26.4 | 23.8 | 20.0 | 16.0 | 22.4 | 29.3 | 40.4 | 19.5 | 26.4 |
| SWA-NoPE-LH | 40.6 | 33.4 | 30.2 | 21.2 | 14.4 | 47.1 | 33.7 | 33.4 | 30.8 | 27.3 | 22.5 | 18.6 | 27.9 | 30.5 | 38.7 | 24.8 | 29.4 |
| GLA-RoPE-LH | 43.6 | 37.1 | 36.0 | 33.0 | 14.5 | 48.0 | 35.9 | 33.6 | 29.9 | 25.2 | 21.7 | 15.2 | 32.8 | 29.9 | 40.3 | 26.6 | 31.1 |
| + DRoPE | 36.4 | 33.6 | 31.1 | 30.9 | 17.9 | 40.2 | 34.2 | 34.0 | 31.2 | 31.0 | 28.6 | 21.7 | 30.0 | 31.6 | 36.2 | 28.3 | 30.9 |
| GLA-NoPE-LH | 38.8 | 37.9 | 32.9 | 27.5 | 23.7 | 38.9 | 40.6 | 37.7 | 33.2 | 32.5 | 28.4 | 25.9 | 32.2 | 33.9 | 39.0 | 30.3 | 33.2 |
| GDN-RoPE-LH | 41.1 | 37.5 | 36.0 | 29.9 | 19.8 | 39.6 | 36.9 | 32.3 | 28.1 | 25.9 | 20.6 | 15.3 | 32.9 | 28.4 | 37.5 | 26.6 | 30.3 |
| + DRoPE | 37.3 | 35.0 | 35.4 | 29.2 | 29.1 | 39.2 | 38.4 | 35.9 | 31.9 | 33.5 | 30.8 | 24.8 | 33.2 | 33.5 | 37.7 | 31.2 | 33.4 |
| GDN-NoPE-LH | 45.1 | 41.0 | 40.2 | 37.4 | 31.9 | 48.9 | 46.4 | 47.3 | 46.8 | 45.7 | 45.3 | 27.5 | 39.1 | 44.0 | 46.9 | 39.5 | 42.0 |
| 1B Long | |||||||||||||||||
| RoPE | 39.6 | 38.4 | 36.4 | 30.9 | 15.2 | 48.7 | 45.3 | 48.5 | 41.2 | 39.0 | 29.0 | 24.2 | 32.1 | 39.4 | 45.5 | 31.8 | 36.4 |
| RoPE-NoPE-LH | 48.1 | 45.2 | 44.8 | 38.5 | 29.0 | 53.3 | 43.4 | 42.0 | 41.6 | 41.6 | 43.5 | 35.8 | 41.1 | 43.0 | 46.7 | 40.0 | 42.2 |
| SWA-RoPE-LH | 43.8 | 40.7 | 36.7 | 24.7 | 13.1 | 54.9 | 44.9 | 43.6 | 41.6 | 36.1 | 24.9 | 16.7 | 31.8 | 37.5 | 46.8 | 29.3 | 35.1 |
| + DRoPE | 40.3 | 38.3 | 35.1 | 27.0 | 17.4 | 42.4 | 39.1 | 40.5 | 34.4 | 33.0 | 25.6 | 19.8 | 31.6 | 33.5 | 40.6 | 28.8 | 32.7 |
| SWA-NoPE-LH | 50.7 | 47.5 | 42.9 | 29.6 | 15.7 | 53.8 | 47.4 | 42.9 | 35.5 | 34.1 | 27.3 | 24.2 | 37.3 | 37.9 | 48.7 | 32.1 | 37.6 |
| GLA-RoPE-LH | 47.0 | 44.2 | 41.7 | 36.2 | 20.3 | 40.1 | 44.2 | 40.7 | 39.2 | 36.3 | 33.1 | 20.1 | 37.9 | 36.2 | 43.0 | 33.9 | 36.9 |
| + DRoPE | 48.4 | 46.4 | 46.1 | 40.0 | 31.0 | 44.6 | 47.3 | 44.5 | 44.7 | 44.5 | 40.8 | 30.7 | 42.4 | 42.4 | 46.2 | 40.5 | 42.4 |
| GLA-NoPE-LH | 55.5 | 49.7 | 49.8 | 44.3 | 41.5 | 38.8 | 44.0 | 42.8 | 40.6 | 40.0 | 38.4 | 30.8 | 48.2 | 39.3 | 45.3 | 41.9 | 43.0 |
| GDN-RoPE-LH | 52.3 | 44.9 | 41.7 | 38.0 | 20.6 | 58.7 | 50.2 | 50.7 | 47.4 | 46.2 | 39.5 | 19.7 | 39.5 | 44.6 | 53.0 | 37.2 | 42.5 |
| + DRoPE | 50.3 | 46.8 | 44.2 | 39.6 | 33.3 | 54.3 | 54.9 | 54.2 | 52.3 | 50.8 | 47.4 | 41.3 | 42.9 | 50.7 | 53.4 | 44.5 | 47.5 |
| GDN-NoPE-LH | 48.7 | 43.7 | 43.0 | 41.8 | 28.6 | 40.7 | 43.9 | 42.1 | 39.6 | 40.2 | 38.8 | 36.5 | 41.2 | 40.3 | 43.8 | 39.0 | 40.6 |
| 3B Long | |||||||||||||||||
| RoPE | 48.3 | 44.3 | 41.1 | 32.0 | 17.5 | 58.5 | 52.2 | 47.6 | 49.3 | 47.1 | 35.5 | 24.6 | 36.6 | 45.0 | 51.7 | 36.4 | 41.5 |
| RoPE-NoPE-LH | 70.4 | 64.5 | 58.9 | 50.2 | 31.8 | 67.4 | 52.4 | 51.1 | 50.3 | 48.5 | 42.4 | 44.9 | 55.1 | 51.0 | 60.3 | 48.9 | 52.7 |
| SWA-RoPE-LH | 52.2 | 45.8 | 41.8 | 33.6 | 17.1 | 59.4 | 46.2 | 45.0 | 45.4 | 46.3 | 29.8 | 20.6 | 38.1 | 41.8 | 50.7 | 35.0 | 40.3 |
| + DRoPE | 49.3 | 44.9 | 39.6 | 31.8 | 18.4 | 52.1 | 45.7 | 42.9 | 40.5 | 39.0 | 32.2 | 26.7 | 36.8 | 39.9 | 47.5 | 34.1 | 38.6 |
| SWA-NoPE-LH | 56.9 | 51.4 | 48.2 | 41.2 | 32.5 | 60.4 | 52.8 | 52.4 | 47.6 | 44.7 | 33.9 | 28.4 | 46.1 | 45.7 | 55.6 | 41.0 | 45.9 |
| GLA-RoPE-LH | 56.1 | 52.1 | 48.4 | 40.5 | 26.8 | 59.8 | 59.5 | 55.9 | 47.3 | 45.7 | 37.8 | 24.2 | 44.8 | 47.2 | 57.8 | 40.4 | 46.2 |
| + DRoPE | 56.5 | 53.0 | 51.4 | 42.3 | 38.0 | 51.4 | 50.4 | 48.6 | 45.2 | 44.3 | 41.8 | 34.1 | 48.2 | 45.1 | 51.7 | 43.8 | 46.4 |
| GLA-NoPE-LH | 67.2 | 63.0 | 59.2 | 49.3 | 42.5 | 71.2 | 52.7 | 49.5 | 43.5 | 44.0 | 40.5 | 37.3 | 56.2 | 48.4 | 60.2 | 47.4 | 51.7 |
| GDN-RoPE-LH | 56.8 | 49.5 | 45.2 | 38.9 | 22.0 | 48.3 | 45.2 | 42.6 | 40.9 | 44.0 | 40.4 | 28.3 | 42.5 | 41.4 | 48.2 | 38.6 | 41.8 |
| + DRoPE | 54.7 | 49.5 | 41.9 | 41.7 | 35.6 | 50.0 | 51.2 | 44.4 | 45.9 | 45.6 | 45.2 | 38.4 | 44.7 | 45.8 | 50.1 | 43.0 | 45.3 |
| GDN-NoPE-LH | 57.6 | 52.4 | 51.2 | 44.3 | 37.2 | 50.1 | 56.4 | 57.5 | 56.7 | 58.0 | 55.3 | 42.8 | 48.5 | 53.8 | 55.4 | 49.7 | 51.6 |
Table 11 Long-context performance of layer-wise hybrid models after long-context continual pretraining.
| RULER | BABILong | Average | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | ||
| 376M Long | ||||||||||||||||||
| RoPE | 31.8 | 26.0 | 24.9 | 10.6 | 2.4 | 30.1 | 25.0 | 21.7 | 19.1 | 10.8 | 5.0 | 2.6 | 19.2 | 16.3 | 27.2 | 12.7 | 17.5 | |
| RoPE-NoPE-HH | 39.0 | 33.3 | 26.3 | 9.8 | 7.3 | 35.9 | 25.7 | 27.1 | 25.3 | 24.2 | 14.1 | 5.9 | 23.1 | 22.6 | 31.9 | 18.3 | 22.8 | |
| SWA-RoPE-HH | 24.3 | 19.3 | 16.4 | 9.7 | 6.3 | 39.9 | 33.8 | 27.9 | 27.0 | 25.0 | 17.6 | 13.5 | 15.2 | 26.4 | 31.5 | 16.8 | 21.7 | |
| + DRoPE | 22.8 | 20.8 | 16.6 | 16.4 | 14.3 | 42.6 | 30.9 | 29.1 | 29.5 | 27.2 | 26.2 | 23.8 | 18.2 | 29.9 | 31.3 | 21.9 | 25.0 | |
| SWA-NoPE-HH | 35.9 | 35.7 | 35.1 | 33.7 | 32.3 | 33.3 | 34.5 | 34.5 | 32.9 | 31.5 | 30.5 | 26.7 | 34.5 | 32.0 | 34.6 | 32.3 | 33.1 | |
| GLA-RoPE-HH | 34.8 | 32.3 | 28.2 | 26.8 | 15.4 | 26.2 | 21.2 | 19.5 | 20.5 | 17.7 | 13.8 | 11.3 | 27.5 | 18.6 | 25.4 | 20.8 | 22.3 | |
| + DRoPE | 31.4 | 27.9 | 29.5 | 29.1 | 26.3 | 34.8 | 24.1 | 19.7 | 21.1 | 19.8 | 22.5 | 15.9 | 28.8 | 22.6 | 27.5 | 24.0 | 25.2 | |
| GLA-NoPE-HH | 33.7 | 27.5 | 24.7 | 19.9 | 13.3 | 36.4 | 34.3 | 32.9 | 30.8 | 27.4 | 27.7 | 26.7 | 23.9 | 30.9 | 34.3 | 24.8 | 28.0 | |
| GDN-RoPE-HH | 16.3 | 13.4 | 13.3 | 10.0 | 6.8 | 38.6 | 24.2 | 20.1 | 18.9 | 11.2 | 7.9 | 8.3 | 12.0 | 18.5 | 24.8 | 11.2 | 15.8 | |
| + DRoPE | 21.2 | 19.9 | 17.5 | 14.3 | 11.0 | 38.5 | 27.5 | 22.1 | 22.1 | 21.2 | 19.9 | 12.9 | 16.8 | 23.5 | 27.3 | 17.4 | 20.7 | |
| GDN-NoPE-HH | 40.3 | 35.2 | 31.9 | 35.0 | 23.7 | 34.8 | 26.7 | 27.2 | 26.1 | 28.2 | 26.1 | 23.1 | 33.2 | 27.5 | 32.3 | 28.7 | 29.9 | |
| 776M Long | ||||||||||||||||||
| RoPE | 39.4 | 37.6 | 37.3 | 35.5 | 20.5 | 44.3 | 40.2 | 39.8 | 36.9 | 32.8 | 24.8 | 22.6 | 34.1 | 34.5 | 40.9 | 31.0 | 34.3 | |
| RoPE-NoPE-HH | 38.6 | 35.5 | 31.4 | 28.4 | 8.8 | 38.3 | 39.4 | 40.7 | 37.9 | 38.1 | 36.4 | 30.6 | 28.5 | 37.3 | 39.3 | 30.9 | 33.7 | |
| SWA-RoPE-HH | 40.9 | 36.1 | 34.8 | 30.7 | 14.7 | 42.7 | 36.9 | 35.9 | 32.5 | 26.2 | 20.4 | 14.9 | 31.5 | 29.9 | 39.1 | 26.3 | 30.6 | |
| + DRoPE | 35.3 | 33.4 | 32.8 | 32.7 | 29.1 | 41.9 | 36.6 | 35.8 | 33.0 | 32.4 | 30.6 | 27.6 | 32.7 | 34.0 | 37.4 | 31.4 | 33.4 | |
| SWA-NoPE-HH | 35.7 | 32.2 | 33.2 | 32.1 | 30.7 | 43.3 | 41.7 | 39.1 | 35.3 | 35.6 | 33.0 | 30.2 | 32.8 | 36.9 | 40.0 | 32.8 | 35.2 | |
| GLA-RoPE-HH | 40.7 | 38.1 | 36.9 | 31.7 | 13.5 | 46.1 | 42.5 | 41.8 | 36.8 | 33.7 | 20.6 | 16.0 | 32.2 | 33.9 | 42.8 | 28.4 | 33.2 | |
| + DRoPE | 41.5 | 37.1 | 36.9 | 31.2 | 10.9 | 54.3 | 38.6 | 37.4 | 34.9 | 34.7 | 31.9 | 11.3 | 31.5 | 34.7 | 43.0 | 28.6 | 33.4 | |
| GLA-NoPE-HH | 42.4 | 40.5 | 39.8 | 36.9 | 22.5 | 55.8 | 45.9 | 45.4 | 39.9 | 37.8 | 34.2 | 27.6 | 36.4 | 40.9 | 47.4 | 34.9 | 39.1 | |
| GDN-RoPE-HH | 42.8 | 39.9 | 36.6 | 28.4 | 12.8 | 58.2 | 39.1 | 37.3 | 34.4 | 34.2 | 22.5 | 16.3 | 32.1 | 34.6 | 44.4 | 28.1 | 33.5 | |
| + DRoPE | 36.0 | 35.9 | 34.3 | 28.8 | 19.2 | 62.1 | 44.2 | 41.4 | 38.3 | 38.9 | 32.4 | 26.6 | 30.8 | 40.6 | 45.9 | 31.8 | 36.5 | |
| GDN-NoPE-HH | 45.1 | 43.0 | 39.5 | 38.1 | 28.6 | 45.1 | 43.0 | 40.7 | 37.7 | 39.8 | 36.5 | 37.0 | 38.8 | 40.0 | 43.5 | 37.5 | 39.5 | |
| 1B Long | ||||||||||||||||||
| RoPE | 39.6 | 38.4 | 36.4 | 30.9 | 15.2 | 48.7 | 45.3 | 48.5 | 41.2 | 39.0 | 29.0 | 24.2 | 32.1 | 39.4 | 45.5 | 31.8 | 36.4 | |
| RoPE-NoPE-HH | 51.4 | 46.4 | 45.1 | 40.7 | 36.4 | 47.2 | 41.9 | 42.1 | 42.3 | 37.0 | 34.9 | 28.4 | 44.0 | 39.1 | 45.7 | 38.9 | 41.2 | |
| SWA-RoPE-HH | 45.1 | 41.9 | 41.8 | 33.3 | 16.2 | 58.1 | 46.2 | 42.5 | 40.9 | 43.9 | 28.4 | 19.4 | 35.6 | 39.9 | 48.0 | 33.2 | 38.1 | |
| + DRoPE | 41.0 | 37.7 | 40.3 | 34.8 | 32.9 | 57.2 | 44.4 | 43.6 | 41.7 | 40.9 | 39.4 | 38.0 | 37.3 | 43.6 | 46.6 | 38.2 | 41.0 | |
| SWA-NoPE-HH | 46.8 | 44.8 | 43.5 | 42.4 | 43.0 | 46.4 | 41.2 | 40.2 | 39.0 | 39.2 | 36.9 | 37.6 | 44.1 | 40.1 | 43.6 | 40.8 | 41.8 | |
| GLA-RoPE-HH | 46.9 | 40.6 | 38.9 | 35.2 | 16.6 | 55.4 | 41.8 | 40.8 | 36.4 | 34.4 | 29.2 | 18.1 | 35.7 | 36.6 | 46.2 | 31.2 | 36.2 | |
| + DRoPE | 44.9 | 44.5 | 41.0 | 37.5 | 34.6 | 48.0 | 42.9 | 41.6 | 39.9 | 39.9 | 37.0 | 25.7 | 40.5 | 39.3 | 44.4 | 37.5 | 39.8 | |
| GLA-NoPE-HH | 52.1 | 49.6 | 48.1 | 42.5 | 32.3 | 60.7 | 48.5 | 47.2 | 45.5 | 45.6 | 39.9 | 29.7 | 44.9 | 45.3 | 52.1 | 41.7 | 45.2 | |
| GDN-RoPE-HH | 53.1 | 48.0 | 42.0 | 38.7 | 19.2 | 50.0 | 43.6 | 42.0 | 42.4 | 36.6 | 34.8 | 18.5 | 40.2 | 38.3 | 47.2 | 35.0 | 39.1 | |
| + DRoPE | 54.1 | 49.7 | 46.8 | 42.9 | 35.9 | 44.7 | 45.2 | 41.9 | 42.9 | 40.7 | 37.1 | 28.6 | 45.9 | 40.2 | 46.5 | 40.6 | 42.5 | |
| GDN-NoPE-HH | 51.6 | 47.1 | 43.7 | 37.9 | 31.9 | 45.3 | 43.7 | 44.0 | 43.0 | 41.5 | 41.0 | 34.8 | 42.4 | 41.9 | 46.2 | 40.1 | 42.1 | |
| 3B Long | ||||||||||||||||||
| RoPE | 48.3 | 44.3 | 41.1 | 32.0 | 17.5 | 58.5 | 52.2 | 47.6 | 49.3 | 47.1 | 35.5 | 24.6 | 36.6 | 45.0 | 51.7 | 36.4 | 41.5 | |
| RoPE-NoPE-HH | 57.5 | 52.7 | 48.8 | 44.1 | 35.1 | 58.7 | 62.8 | 63.3 | 59.2 | 57.3 | 52.7 | 45.1 | 47.6 | 57.0 | 60.6 | 49.4 | 53.1 | |
| SWA-RoPE-HH | 50.0 | 46.7 | 45.8 | 40.6 | 21.2 | 66.6 | 55.3 | 53.4 | 50.4 | 46.5 | 36.9 | 27.2 | 40.9 | 48.0 | 56.3 | 39.4 | 45.1 | |
| + DRoPE | 46.8 | 46.2 | 44.4 | 41.8 | 39.8 | 59.1 | 48.5 | 48.1 | 46.9 | 46.8 | 43.1 | 41.1 | 43.8 | 47.7 | 50.6 | 43.8 | 46.1 | |
| SWA-NoPE-HH | 59.2 | 56.7 | 50.6 | 50.5 | 42.6 | 51.0 | 47.2 | 45.5 | 43.0 | 43.4 | 43.7 | 39.8 | 51.9 | 44.8 | 50.7 | 46.3 | 47.8 | |
| GLA-RoPE-HH | 53.9 | 46.8 | 43.7 | 36.6 | 22.4 | 47.0 | 44.9 | 42.8 | 40.7 | 35.5 | 37.0 | 21.7 | 40.7 | 38.5 | 47.2 | 35.6 | 39.4 | |
| + DRoPE | 53.8 | 49.5 | 43.5 | 41.2 | 26.1 | 63.0 | 44.0 | 45.2 | 41.8 | 41.4 | 40.1 | 30.8 | 42.8 | 43.8 | 51.5 | 39.3 | 43.4 | |
| GLA-NoPE-HH | 57.1 | 55.2 | 53.7 | 47.4 | 38.8 | 60.9 | 48.9 | 48.3 | 45.8 | 45.8 | 45.4 | 34.9 | 50.4 | 47.1 | 53.8 | 45.9 | 48.5 | |
| GDN-RoPE-HH | 61.1 | 54.3 | 49.2 | 38.3 | 20.9 | 54.7 | 47.7 | 48.8 | 47.8 | 46.0 | 39.0 | 23.3 | 44.8 | 43.9 | 53.1 | 39.9 | 44.3 | |
| + DRoPE | 57.6 | 51.0 | 45.9 | 41.2 | 38.7 | 47.0 | 49.4 | 49.9 | 47.5 | 50.9 | 47.1 | 39.5 | 46.9 | 47.3 | 51.0 | 45.2 | 47.2 | |
| GDN-NoPE-HH | 58.0 | 53.3 | 49.5 | 43.3 | 31.5 | 56.8 | 53.6 | 49.1 | 51.4 | 58.1 | 52.7 | 17.8 | 47.1 | 48.5 | 54.4 | 44.7 | 47.9 | |
Table 12 Long-context performance of head-wise hybrid models after long-context continual pretraining.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 376M Long | |||||||||||||||||
| SWA-NoPE-LH | 35.4 | 28.1 | 26.8 | 22.2 | 17.1 | 35.3 | 30.6 | 29.2 | 28.0 | 24.4 | 20.7 | 17.3 | 25.9 | 26.5 | 32.6 | 23.1 | 26.3 |
| + wsz=256 | 35.1 | 26.4 | 24.8 | 21.7 | 17.7 | 35.7 | 31.0 | 28.7 | 28.8 | 25.5 | 23.5 | 19.2 | 25.2 | 27.5 | 32.6 | 23.5 | 26.5 |
| + wsz=512 | 37.5 | 26.5 | 27.4 | 24.4 | 20.9 | 39.1 | 33.4 | 29.1 | 30.4 | 28.0 | 23.9 | 20.1 | 27.4 | 29.1 | 34.8 | 25.2 | 28.4 |
| + wsz=1k | 36.8 | 26.0 | 26.5 | 23.3 | 22.1 | 37.6 | 33.7 | 30.0 | 32.1 | 30.7 | 29.3 | 21.7 | 27.0 | 30.7 | 34.5 | 26.5 | 29.2 |
| + wsz=2k | 36.2 | 24.4 | 27.4 | 25.8 | 22.8 | 34.6 | 33.8 | 31.3 | 32.8 | 32.2 | 29.9 | 24.7 | 27.3 | 31.3 | 34.0 | 27.5 | 29.7 |
| + wsz=4k | 36.6 | 26.1 | 26.1 | 24.7 | 21.2 | 36.8 | 32.1 | 31.1 | 32.3 | 30.5 | 27.6 | 23.5 | 26.9 | 30.6 | 34.1 | 26.5 | 29.0 |
| 776M Long | |||||||||||||||||
| SWA-NoPE-LH | 40.6 | 33.4 | 30.2 | 21.2 | 14.4 | 47.1 | 33.7 | 33.4 | 30.8 | 27.3 | 22.5 | 18.6 | 27.9 | 30.5 | 38.7 | 24.8 | 29.4 |
| + wsz=256 | 41.8 | 36.1 | 31.3 | 24.0 | 16.5 | 48.0 | 34.9 | 33.4 | 31.6 | 29.1 | 25.7 | 19.3 | 29.9 | 31.7 | 39.5 | 26.7 | 31.0 |
| + wsz=512 | 45.7 | 39.0 | 35.1 | 25.2 | 18.9 | 48.4 | 35.7 | 34.0 | 31.0 | 30.6 | 27.3 | 20.0 | 32.8 | 32.4 | 41.0 | 28.4 | 32.6 |
| + wsz=1k | 41.9 | 37.7 | 32.9 | 25.1 | 19.9 | 45.6 | 38.2 | 35.9 | 33.0 | 32.7 | 29.2 | 22.9 | 31.5 | 33.9 | 40.4 | 29.2 | 32.9 |
| + wsz=2k | 45.1 | 38.9 | 35.0 | 29.4 | 25.0 | 46.6 | 37.4 | 33.9 | 33.2 | 32.2 | 27.7 | 23.7 | 34.7 | 33.5 | 40.7 | 30.6 | 34.0 |
| + wsz=4k | 43.4 | 39.2 | 35.2 | 30.8 | 27.1 | 45.1 | 35.4 | 32.1 | 31.7 | 31.4 | 29.5 | 23.9 | 35.1 | 32.7 | 39.0 | 31.1 | 33.7 |
Table 13 Long-context performance of SWA-NoPE-LH under long-context continual pretraining with larger window sizes (wsz). Larger window sizes exhibit better long-context performance, implying the Short-Window Weariness.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 376M Short | |||||||||||||||||
| SWA-NoPE-LH | 29.1 | 23.5 | 19.3 | 11.0 | 9.2 | 31.0 | 27.2 | 23.9 | 20.7 | 17.1 | 12.9 | 12.6 | 18.4 | 20.8 | 27.8 | 15.8 | 19.8 |
| + wsz=256 | 33.2 | 30.2 | 20.8 | 11.3 | 8.5 | 42.3 | 35.2 | 29.6 | 24.9 | 23.1 | 17.2 | 15.3 | 20.8 | 26.8 | 35.1 | 18.9 | 24.3 |
| + wsz=512 | 30.6 | 26.1 | 20.6 | 11.6 | 8.3 | 40.5 | 35.8 | 32.4 | 28.3 | 24.5 | 17.8 | 11.2 | 19.5 | 27.2 | 34.8 | 18.6 | 24.0 |
| + wsz=1k | 32.9 | 25.9 | 22.8 | 12.4 | 4.8 | 26.6 | 33.8 | 30.7 | 28.8 | 25.7 | 23.0 | 21.4 | 19.8 | 27.1 | 31.0 | 20.6 | 24.1 |
| + wsz=2k | 27.1 | 18.2 | 10.2 | 2.4 | 1.6 | 39.9 | 34.1 | 34.1 | 30.6 | 25.4 | 19.7 | 15.2 | 11.9 | 28.4 | 33.8 | 15.4 | 21.6 |
| + wsz=4k | 29.9 | 18.0 | 6.6 | 2.8 | 2.2 | 33.1 | 19.5 | 15.7 | 24.4 | 18.7 | 13.7 | 7.9 | 11.9 | 19.0 | 24.6 | 11.8 | 16.0 |
| 376M Short + Log | |||||||||||||||||
| SWA-NoPE-LH | 29.1 | 24.2 | 22.5 | 24.9 | 19.4 | 31.4 | 27.2 | 23.9 | 23.4 | 22.0 | 19.3 | 19.0 | 24.0 | 23.7 | 27.9 | 21.8 | 23.9 |
| + wsz=256 | 33.2 | 31.4 | 29.4 | 28.7 | 27.8 | 42.3 | 35.2 | 29.6 | 27.3 | 27.3 | 24.5 | 21.6 | 30.1 | 29.7 | 35.1 | 27.3 | 29.9 |
| + wsz=512 | 30.6 | 27.9 | 26.8 | 23.0 | 16.8 | 40.6 | 35.8 | 32.4 | 30.0 | 29.2 | 26.5 | 22.8 | 25.0 | 31.0 | 34.8 | 25.4 | 28.5 |
| + wsz=1k | 29.1 | 26.7 | 26.0 | 25.6 | 21.2 | 26.9 | 33.8 | 30.7 | 30.7 | 30.0 | 27.4 | 26.3 | 25.7 | 29.4 | 30.1 | 26.7 | 27.9 |
| + wsz=2k | 27.1 | 19.9 | 15.0 | 13.1 | 6.3 | 40.0 | 34.1 | 34.1 | 32.7 | 30.4 | 27.0 | 26.0 | 16.3 | 32.0 | 33.8 | 21.3 | 25.5 |
| + wsz=4k | 29.9 | 18.4 | 11.5 | 6.6 | 3.3 | 33.0 | 19.5 | 15.7 | 26.8 | 26.7 | 25.9 | 24.7 | 14.0 | 24.6 | 24.5 | 18.0 | 20.2 |
| 776M Short | |||||||||||||||||
| SWA-NoPE-LH | 34.9 | 29.4 | 23.2 | 11.7 | 9.9 | 35.3 | 33.6 | 30.5 | 28.2 | 23.4 | 20.5 | 16.8 | 21.8 | 26.9 | 33.6 | 20.4 | 24.8 |
| + wsz=256 | 33.4 | 26.4 | 23.0 | 12.1 | 9.4 | 48.5 | 40.2 | 34.0 | 28.9 | 25.5 | 21.3 | 17.6 | 20.9 | 30.9 | 39.0 | 20.5 | 26.7 |
| + wsz=512 | 33.4 | 28.6 | 25.0 | 13.9 | 9.9 | 40.9 | 36.0 | 35.0 | 33.3 | 27.5 | 20.7 | 18.3 | 22.2 | 30.2 | 36.3 | 22.2 | 26.9 |
| + wsz=1k | 32.9 | 25.9 | 22.8 | 12.4 | 8.4 | 40.8 | 36.2 | 34.7 | 28.2 | 23.0 | 17.9 | 16.7 | 20.5 | 28.2 | 36.2 | 19.4 | 25.0 |
| + wsz=2k | 30.4 | 24.5 | 17.6 | 6.5 | 3.5 | 41.3 | 39.9 | 34.3 | 29.9 | 26.8 | 22.4 | 17.9 | 16.5 | 30.4 | 36.5 | 18.6 | 24.6 |
| + wsz=4k | 32.2 | 22.7 | 15.5 | 3.0 | 1.4 | 41.0 | 34.7 | 30.8 | 31.0 | 27.2 | 21.9 | 18.5 | 15.0 | 29.3 | 34.7 | 17.7 | 23.3 |
| 776m Short + Log | |||||||||||||||||
| SWA-NoPE-LH | 34.8 | 32.5 | 31.7 | 26.6 | 25.2 | 35.3 | 33.7 | 30.5 | 30.6 | 26.9 | 24.7 | 24.2 | 30.2 | 29.4 | 33.6 | 27.8 | 29.7 |
| + wsz=256 | 33.4 | 29.1 | 30.3 | 29.0 | 26.0 | 48.6 | 40.2 | 33.9 | 31.9 | 29.7 | 27.7 | 25.4 | 29.5 | 33.9 | 39.0 | 28.6 | 32.1 |
| + wsz=512 | 33.4 | 29.7 | 30.4 | 28.0 | 29.0 | 40.9 | 36.0 | 35.0 | 35.7 | 34.7 | 33.0 | 31.5 | 30.1 | 35.3 | 36.3 | 31.5 | 33.1 |
| + wsz=1k | 32.9 | 27.4 | 28.6 | 27.6 | 21.9 | 40.9 | 36.2 | 34.7 | 31.8 | 29.5 | 27.4 | 24.8 | 27.7 | 32.2 | 36.2 | 27.4 | 30.3 |
| + wsz=2k | 30.4 | 25.5 | 23.9 | 17.8 | 11.7 | 41.2 | 39.8 | 34.1 | 31.3 | 31.2 | 27.5 | 25.6 | 21.8 | 33.0 | 36.4 | 24.3 | 28.3 |
| + wsz=4k | 32.2 | 24.2 | 9.7 | 7.0 | 2.5 | 41.1 | 34.6 | 30.8 | 30.6 | 29.3 | 25.6 | 23.3 | 15.1 | 30.8 | 34.7 | 19.0 | 24.2 |
Table 14 Long-context performance of SWA-NoPE-LH under short-context pretraining with larger window sizes (wsz). Shorter window sizes exhibit better length extrapolation, implying the Long-Window Laziness.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 376M Long | |||||||||||||||||
| SWA-RoPE-LH | 30.4 | 28.6 | 25.8 | 12.8 | 6.1 | 31.1 | 27.9 | 24.6 | 23.3 | 25.6 | 15.5 | 12.6 | 20.7 | 22.9 | 28.5 | 18.8 | 22.0 |
| + wsz=2k | 30.9 | 30.9 | 28.0 | 16.9 | 7.6 | 26.1 | 25.9 | 24.7 | 22.3 | 21.8 | 17.8 | 14.1 | 22.9 | 21.8 | 26.9 | 19.9 | 22.3 |
| + LongCE | 32.1 | 29.3 | 29.2 | 28.7 | 13.5 | 37.7 | 31.7 | 29.0 | 31.8 | 32.5 | 18.8 | 15.3 | 26.5 | 28.1 | 32.6 | 24.9 | 27.5 |
| + Both | 33.7 | 34.2 | 32.3 | 26.8 | 12.8 | 38.7 | 31.5 | 28.3 | 31.2 | 35.2 | 21.0 | 18.4 | 28.0 | 29.2 | 33.1 | 26.5 | 28.7 |
| SWA-NoPE-LH | 35.4 | 28.1 | 26.8 | 22.2 | 17.1 | 35.3 | 30.6 | 29.2 | 28.0 | 24.4 | 20.7 | 17.3 | 25.9 | 26.5 | 32.6 | 23.1 | 26.3 |
| + wsz=2k | 36.2 | 24.4 | 27.4 | 25.8 | 22.8 | 34.6 | 33.8 | 31.3 | 32.8 | 32.2 | 29.9 | 24.7 | 27.3 | 31.3 | 34.0 | 27.5 | 29.7 |
| + LongCE | 41.4 | 35.7 | 34.3 | 34.7 | 26.4 | 35.3 | 34.6 | 33.2 | 34.2 | 31.3 | 29.2 | 23.5 | 34.5 | 31.6 | 36.1 | 31.2 | 32.8 |
| + Both | 43.4 | 38.7 | 37.7 | 35.7 | 31.0 | 35.0 | 32.3 | 30.8 | 31.0 | 28.3 | 26.5 | 24.1 | 37.3 | 29.7 | 35.4 | 31.6 | 32.9 |
| 776M Long | |||||||||||||||||
| SWA-RoPE-LH | 46.2 | 38.4 | 32.5 | 12.6 | 6.7 | 38.0 | 32.7 | 31.5 | 27.8 | 23.1 | 16.9 | 13.7 | 27.3 | 26.2 | 37.1 | 21.5 | 26.7 |
| + wsz=2k | 48.0 | 35.9 | 36.2 | 19.2 | 8.4 | 44.7 | 37.8 | 36.7 | 33.7 | 25.7 | 16.0 | 15.4 | 29.5 | 30.0 | 41.8 | 23.8 | 29.8 |
| + LongCE | 45.7 | 38.3 | 39.6 | 24.7 | 12.1 | 42.0 | 39.2 | 33.8 | 39.4 | 30.3 | 20.9 | 17.8 | 32.1 | 31.9 | 40.2 | 27.9 | 32.0 |
| + Both | 45.3 | 34.0 | 36.3 | 33.3 | 13.2 | 48.8 | 38.0 | 33.0 | 35.7 | 36.5 | 28.9 | 18.3 | 32.4 | 34.2 | 41.3 | 29.5 | 33.5 |
| SWA-NoPE-LH | 40.6 | 33.4 | 30.2 | 21.2 | 14.4 | 47.1 | 33.7 | 33.4 | 30.8 | 27.3 | 22.5 | 18.6 | 27.9 | 30.5 | 38.7 | 24.8 | 29.4 |
| + wsz=2k | 45.1 | 38.9 | 35.0 | 29.4 | 25.0 | 46.6 | 37.4 | 33.9 | 33.2 | 32.2 | 27.7 | 23.7 | 34.7 | 33.5 | 40.7 | 30.6 | 34.0 |
| + LongCE | 42.2 | 36.9 | 32.9 | 26.7 | 18.4 | 48.3 | 39.4 | 36.2 | 32.4 | 27.4 | 24.3 | 21.0 | 31.4 | 32.7 | 41.5 | 27.5 | 32.2 |
| + Both | 45.3 | 42.0 | 40.3 | 39.7 | 35.3 | 44.2 | 37.9 | 35.8 | 33.9 | 34.7 | 30.9 | 29.1 | 40.5 | 35.2 | 40.8 | 35.7 | 37.4 |
| 1B Long | |||||||||||||||||
| SWA-RoPE-LH | 43.8 | 40.7 | 36.7 | 24.7 | 13.1 | 54.9 | 44.9 | 43.6 | 41.6 | 36.1 | 24.9 | 16.7 | 31.8 | 37.5 | 46.8 | 29.3 | 35.1 |
| + wsz=2k | 48.2 | 44.3 | 40.1 | 28.9 | 14.9 | 57.6 | 43.4 | 42.5 | 42.9 | 39.3 | 28.6 | 17.8 | 35.3 | 38.9 | 47.9 | 32.1 | 37.4 |
| + LongCE | 43.6 | 42.7 | 43.5 | 36.4 | 19.8 | 49.9 | 42.9 | 43.2 | 38.9 | 41.7 | 33.4 | 17.4 | 37.2 | 38.2 | 44.9 | 34.2 | 37.8 |
| + Both | 44.1 | 37.4 | 35.7 | 37.1 | 19.9 | 47.6 | 47.6 | 50.1 | 34.4 | 41.2 | 41.3 | 14.1 | 34.8 | 39.5 | 47.4 | 32.6 | 37.5 |
| SWA-NoPE-LH | 50.7 | 47.5 | 42.9 | 29.6 | 15.7 | 53.8 | 47.4 | 42.9 | 35.5 | 34.1 | 27.3 | 24.2 | 37.3 | 37.9 | 48.7 | 32.1 | 37.6 |
| + wsz=2k | 44.9 | 44.2 | 42.1 | 36.7 | 28.9 | 61.5 | 52.5 | 46.3 | 40.8 | 39.4 | 33.3 | 29.4 | 39.4 | 43.3 | 51.3 | 36.9 | 41.7 |
| + LongCE | 52.7 | 49.8 | 44.1 | 34.1 | 21.7 | 56.0 | 41.6 | 38.7 | 35.9 | 31.3 | 27.5 | 23.9 | 40.5 | 36.4 | 47.2 | 33.5 | 38.1 |
| + Both | 48.8 | 45.2 | 45.4 | 41.7 | 37.2 | 47.7 | 46.1 | 45.6 | 42.0 | 41.9 | 37.0 | 34.3 | 43.7 | 42.1 | 47.1 | 40.6 | 42.7 |
| 3B Long | |||||||||||||||||
| SWA-RoPE-LH | 52.2 | 45.8 | 41.8 | 33.6 | 17.1 | 59.4 | 46.2 | 45.0 | 45.4 | 46.3 | 29.8 | 20.6 | 38.1 | 41.8 | 50.7 | 35.0 | 40.3 |
| + wsz=2k | 57.2 | 45.4 | 41.8 | 33.8 | 15.5 | 52.4 | 47.2 | 48.7 | 46.6 | 49.6 | 33.8 | 22.1 | 38.8 | 42.9 | 51.4 | 36.1 | 41.2 |
| + LongCE | 52.2 | 54.4 | 46.0 | 42.6 | 22.0 | 52.2 | 45.8 | 49.2 | 33.6 | 45.3 | 41.4 | 25.5 | 43.4 | 41.9 | 49.9 | 38.8 | 42.5 |
| + Both | 58.2 | 59.1 | 53.0 | 44.5 | 26.2 | 60.6 | 50.1 | 49.4 | 37.0 | 43.2 | 44.8 | 27.0 | 48.2 | 44.6 | 54.6 | 41.9 | 46.1 |
| SWA-NoPE-LH | 56.9 | 51.4 | 48.2 | 41.2 | 32.5 | 60.4 | 52.8 | 52.4 | 47.6 | 44.7 | 33.9 | 28.4 | 46.1 | 45.7 | 55.6 | 41.0 | 45.9 |
| + wsz=2k | 58.4 | 51.7 | 50.7 | 43.9 | 41.1 | 63.7 | 48.8 | 47.0 | 42.5 | 44.4 | 40.5 | 34.2 | 49.2 | 45.9 | 54.5 | 43.6 | 47.3 |
| + LongCE | 54.0 | 50.5 | 48.0 | 42.2 | 37.7 | 60.4 | 52.1 | 54.0 | 52.4 | 48.1 | 36.3 | 30.2 | 46.5 | 47.6 | 55.1 | 43.2 | 47.2 |
| + Both | 58.9 | 57.0 | 52.9 | 47.0 | 41.7 | 59.7 | 55.9 | 59.9 | 56.6 | 55.7 | 50.3 | 49.3 | 51.5 | 55.3 | 58.6 | 51.3 | 53.7 |
Table 15 Long-context performance of SWA layer-wise hybrid models after long-context continual pretraining with extended window sizes (wsz) and LongCE enhancement, both relieving the short-context learning trap effectively.
| NIAH-SK1 | NIAH-SK2 | NIAH-SK3 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 4k | 8k | 16k | 32k | 64k | 4k | 8k | 16k | 32k | 64k | |
| 376M Short | |||||||||||||||
| GLA-NoPE-LH | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | 88.0 | 0.0 | 0.0 | 0.0 | 39.0 | 35.0 | 0.0 | 0.0 | 0.0 |
| + Log | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | 94.0 | 3.0 | 0.0 | 0.0 | 39.0 | 51.0 | 0.0 | 0.0 | 0.0 |
| + SWLA | 100.0 | 70.0 | 79.0 | 75.0 | 46.0 | 100.0 | 94.0 | 57.0 | 9.0 | 0.0 | 39.0 | 34.0 | 17.0 | 16.0 | 0.0 |
| + SWLA & Log | 100.0 | 70.0 | 81.0 | 84.0 | 84.0 | 100.0 | 99.0 | 97.0 | 92.0 | 68.0 | 39.0 | 34.0 | 52.0 | 70.0 | 37.0 |
| GLA-NoPE-HH | 100.0 | 100.0 | 75.0 | 0.0 | 0.0 | 100.0 | 98.0 | 0.0 | 0.0 | 0.0 | 96.0 | 75.0 | 0.0 | 0.0 | 0.0 |
| + Log | 100.0 | 100.0 | 92.0 | 1.0 | 0.0 | 100.0 | 100.0 | 0.0 | 0.0 | 0.0 | 96.0 | 84.0 | 0.0 | 0.0 | 0.0 |
| + SWLA | 100.0 | 100.0 | 100.0 | 100.0 | 93.0 | 100.0 | 98.0 | 54.0 | 15.0 | 5.0 | 96.0 | 69.0 | 29.0 | 6.0 | 1.0 |
| + SWLA & Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 99.0 | 98.0 | 91.0 | 49.0 | 96.0 | 81.0 | 89.0 | 77.0 | 37.0 |
| GDN-NoPE-LH | 99.0 | 97.0 | 88.0 | 67.0 | 43.0 | 75.0 | 28.0 | 1.0 | 0.0 | 0.0 | 45.0 | 82.0 | 13.0 | 0.0 | 0.0 |
| + Log | 99.0 | 98.0 | 94.0 | 91.0 | 84.0 | 75.0 | 37.0 | 16.0 | 0.0 | 0.0 | 45.0 | 76.0 | 25.0 | 0.0 | 0.0 |
| + SWLA | 99.0 | 97.0 | 82.0 | 62.0 | 40.0 | 75.0 | 57.0 | 54.0 | 31.0 | 12.0 | 45.0 | 65.0 | 61.0 | 74.0 | 23.0 |
| + SWLA & Log | 99.0 | 97.0 | 90.0 | 88.0 | 79.0 | 75.0 | 59.0 | 71.0 | 54.0 | 33.0 | 45.0 | 63.0 | 68.0 | 71.0 | 22.0 |
| GDN-NoPE-HH | 100.0 | 98.0 | 96.0 | 89.0 | 79.0 | 99.0 | 94.0 | 37.0 | 16.0 | 0.0 | 99.0 | 97.0 | 37.0 | 2.0 | 2.0 |
| + Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 99.0 | 99.0 | 60.0 | 30.0 | 1.0 | 99.0 | 98.0 | 57.0 | 12.0 | 2.0 |
| + SWLA | 100.0 | 100.0 | 100.0 | 90.0 | 82.0 | 99.0 | 95.0 | 20.0 | 0.0 | 0.0 | 99.0 | 88.0 | 60.0 | 28.0 | 2.0 |
| + SWLA & Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 99.0 | 99.0 | 91.0 | 76.0 | 71.0 | 99.0 | 96.0 | 93.0 | 91.0 | 83.0 |
| 1B Short | |||||||||||||||
| GLA-NoPE-LH | 100.0 | 98.0 | 6.0 | 0.0 | 0.0 | 100.0 | 100.0 | 48.0 | 2.0 | 0.0 | 91.0 | 82.0 | 8.0 | 0.0 | 0.0 |
| + Log | 100.0 | 98.0 | 23.0 | 0.0 | 0.0 | 100.0 | 100.0 | 77.0 | 5.0 | 1.0 | 91.0 | 89.0 | 22.0 | 0.0 | 0.0 |
| + SWLA | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 82.0 | 85.0 | 33.0 | 91.0 | 78.0 | 59.0 | 52.0 | 1.0 |
| + SWLA & Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 98.0 | 100.0 | 99.0 | 91.0 | 85.0 | 73.0 | 73.0 | 71.0 |
| GLA-NoPE-HH | 96.0 | 24.0 | 0.0 | 0.0 | 0.0 | 100.0 | 100.0 | 0.0 | 0.0 | 0.0 | 92.0 | 80.0 | 0.0 | 0.0 | 0.0 |
| + Log | 96.0 | 22.0 | 0.0 | 0.0 | 0.0 | 100.0 | 100.0 | 0.0 | 0.0 | 0.0 | 92.0 | 77.0 | 0.0 | 0.0 | 0.0 |
| + SWLA | 96.0 | 35.0 | 20.0 | 6.0 | 1.0 | 100.0 | 100.0 | 99.0 | 10.0 | 0.0 | 92.0 | 85.0 | 75.0 | 46.0 | 0.0 |
| + SWLA & Log | 96.0 | 47.0 | 59.0 | 77.0 | 64.0 | 100.0 | 100.0 | 100.0 | 99.0 | 68.0 | 92.0 | 86.0 | 81.0 | 80.0 | 66.0 |
| GDN-NoPE-LH | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 69.0 | 0.0 | 0.0 | 0.0 | 76.0 | 47.0 | 0.0 | 0.0 | 0.0 |
| + Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 90.0 | 4.0 | 0.0 | 0.0 | 76.0 | 56.0 | 0.0 | 0.0 | 0.0 |
| + SWLA | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 91.0 | 93.0 | 73.0 | 32.0 | 76.0 | 62.0 | 60.0 | 44.0 | 12.0 |
| + SWLA & Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 96.0 | 76.0 | 66.0 | 76.0 | 69.0 | 64.0 |
| GDN-NoPE-HH | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 97.0 | 0.0 | 0.0 | 0.0 | 69.0 | 17.0 | 0.0 | 0.0 | 0.0 |
| + Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 95.0 | 0.0 | 0.0 | 0.0 | 69.0 | 7.0 | 0.0 | 0.0 | 0.0 |
| + SWLA | 100.0 | 100.0 | 100.0 | 100.0 | 97.0 | 100.0 | 100.0 | 97.0 | 36.0 | 5.0 | 69.0 | 62.0 | 55.0 | 19.0 | 9.0 |
| + SWLA & Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 99.0 | 91.0 | 96.0 | 69.0 | 63.0 | 61.0 | 56.0 | 55.0 |
| 3B Short | |||||||||||||||
| GLA-NoPE-LH | 100.0 | 46.0 | 10.0 | 33.0 | 62.0 | 100.0 | 98.0 | 54.0 | 3.0 | 0.0 | 100.0 | 82.0 | 25.0 | 0.0 | 0.0 |
| + Log | 100.0 | 50.0 | 12.0 | 21.0 | 39.0 | 100.0 | 97.0 | 51.0 | 34.0 | 20.0 | 100.0 | 85.0 | 28.0 | 12.0 | 7.0 |
| + SWLA | 100.0 | 74.0 | 81.0 | 71.0 | 69.0 | 100.0 | 100.0 | 100.0 | 94.0 | 53.0 | 100.0 | 98.0 | 82.0 | 75.0 | 38.0 |
| + SWLA & Log | 100.0 | 75.0 | 67.0 | 56.0 | 64.0 | 100.0 | 100.0 | 100.0 | 99.0 | 95.0 | 100.0 | 99.0 | 94.0 | 85.0 | 69.0 |
| GLA-NoPE-HH | 88.0 | 3.0 | 0.0 | 0.0 | 0.0 | 100.0 | 93.0 | 0.0 | 0.0 | 0.0 | 100.0 | 41.0 | 0.0 | 0.0 | 0.0 |
| + Log | 88.0 | 13.0 | 0.0 | 0.0 | 0.0 | 100.0 | 80.0 | 0.0 | 0.0 | 0.0 | 100.0 | 37.0 | 0.0 | 0.0 | 0.0 |
| + SWLA | 88.0 | 41.0 | 15.0 | 1.0 | 0.0 | 100.0 | 100.0 | 100.0 | 86.0 | 59.0 | 100.0 | 92.0 | 62.0 | 54.0 | 26.0 |
| + SWLA & Log | 88.0 | 44.0 | 20.0 | 6.0 | 5.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 95.0 | 76.0 | 69.0 | 73.0 |
| GDN-NoPE-LH | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 88.0 | 4.0 | 0.0 | 95.0 | 64.0 | 15.0 | 0.0 | 0.0 |
| + Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 99.0 | 43.0 | 14.0 | 95.0 | 65.0 | 26.0 | 9.0 | 0.0 |
| + SWLA | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 92.0 | 90.0 | 95.0 | 75.0 | 66.0 | 56.0 | 33.0 |
| + SWLA & Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 98.0 | 97.0 | 95.0 | 80.0 | 69.0 | 68.0 | 66.0 |
| GDN-NoPE-HH | 100.0 | 100.0 | 100.0 | 99.0 | 99.0 | 100.0 | 6.0 | 0.0 | 0.0 | 0.0 | 96.0 | 60.0 | 0.0 | 0.0 | 0.0 |
| + Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 74.0 | 0.0 | 0.0 | 0.0 | 96.0 | 58.0 | 0.0 | 0.0 | 0.0 |
| + SWLA | 100.0 | 100.0 | 100.0 | 100.0 | 96.0 | 100.0 | 78.0 | 100.0 | 22.0 | 10.0 | 96.0 | 55.0 | 60.0 | 21.0 | 4.0 |
| + SWLA & Log | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 39.0 | 100.0 | 98.0 | 99.0 | 96.0 | 57.0 | 58.0 | 42.0 | 63.0 |
Table 16 Extrapolation comparison of the GLA/GDN-NoPE hybrid model on the NIAH-SK1, SK2, and SK3 tasks. Applying a sliding-window linear attention and a log scale for NoPE attention achieves the best length extrapolation.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 376M Short | |||||||||||||||||
| RoPE | 25.8 | 0.0 | 0.0 | 0.0 | 0.0 | 21.7 | 17.8 | 8.0 | 0.4 | 0.0 | 0.0 | 0.0 | 5.2 | 6.8 | 18.3 | 0.1 | 6.1 |
| RoPE-NoPE-3:1 | 33.1 | 0.3 | 0.0 | 0.0 | 0.0 | 27.1 | 28.4 | 27.0 | 0.3 | 0.0 | 0.0 | 0.0 | 6.7 | 11.8 | 28.9 | 0.1 | 9.7 |
| + EME | 33.1 | 21.9 | 15.6 | 15.8 | 9.3 | 27.0 | 28.4 | 27.0 | 27.0 | 25.3 | 26.0 | 22.9 | 19.1 | 26.2 | 28.9 | 20.5 | 23.3 |
| RoPE-NoPE-1:1 | 27.6 | 0.2 | 0.0 | 0.0 | 0.0 | 29.8 | 26.7 | 21.9 | 0.1 | 0.5 | 0.1 | 0.1 | 5.6 | 11.3 | 26.5 | 0.1 | 8.9 |
| + EME | 27.7 | 22.3 | 11.6 | 7.6 | 6.2 | 29.9 | 26.7 | 21.9 | 24.0 | 22.2 | 20.5 | 16.4 | 15.1 | 23.1 | 26.6 | 16.4 | 19.8 |
| RoPE-NoPE-1:3 | 32.9 | 0.1 | 0.0 | 0.0 | 0.1 | 27.5 | 33.5 | 30.4 | 0.0 | 0.0 | 0.0 | 1.0 | 6.6 | 13.2 | 31.1 | 0.1 | 10.5 |
| + EME | 32.9 | 26.0 | 14.2 | 5.7 | 4.2 | 27.4 | 33.5 | 30.4 | 16.4 | 2.9 | 2.1 | 1.7 | 16.6 | 16.3 | 31.0 | 9.2 | 16.5 |
| SWA-NoPE-3:1 | 29.4 | 30.0 | 24.9 | 17.0 | 10.5 | 44.4 | 33.0 | 31.1 | 27.1 | 26.7 | 17.0 | 15.2 | 22.4 | 27.8 | 34.5 | 21.1 | 25.5 |
| + Log | 29.5 | 31.2 | 29.6 | 28.7 | 29.1 | 44.3 | 33.0 | 31.1 | 28.6 | 29.2 | 25.0 | 22.0 | 29.6 | 30.5 | 34.5 | 27.9 | 30.1 |
| SWA-NoPE-1:1 | 32.0 | 26.9 | 16.7 | 8.7 | 7.5 | 32.2 | 31.3 | 31.2 | 29.1 | 25.3 | 22.4 | 21.2 | 18.4 | 27.5 | 31.7 | 19.7 | 23.7 |
| + Log | 32.0 | 29.7 | 27.1 | 23.5 | 17.0 | 32.1 | 31.3 | 31.2 | 29.3 | 28.2 | 27.0 | 24.8 | 25.9 | 29.1 | 31.7 | 25.8 | 27.8 |
| SWA-NoPE-1:3 | 28.2 | 7.6 | 7.7 | 7.8 | 7.5 | 39.8 | 28.8 | 25.3 | 12.4 | 0.6 | 0.6 | 1.6 | 11.8 | 15.6 | 30.5 | 5.7 | 14.0 |
| + Log | 28.2 | 12.0 | 6.2 | 7.6 | 7.2 | 39.7 | 28.8 | 25.3 | 16.0 | 7.4 | 7.9 | 4.9 | 12.2 | 18.6 | 30.5 | 8.6 | 15.9 |
| GLA-NoPE-3:1 | 31.2 | 26.5 | 6.3 | 1.3 | 1.3 | 20.8 | 25.6 | 25.1 | 24.8 | 19.7 | 9.6 | 6.1 | 13.3 | 18.8 | 25.7 | 12.0 | 16.5 |
| GLA-NoPE-1:1 | 32.3 | 20.1 | 0.9 | 1.1 | 0.8 | 32.1 | 36.0 | 31.0 | 25.3 | 11.9 | 1.5 | 0.0 | 11.1 | 19.7 | 32.9 | 7.7 | 16.1 |
| GLA-NoPE-1:3 | 32.4 | 3.5 | 0.3 | 0.4 | 0.2 | 44.9 | 30.2 | 26.9 | 10.3 | 4.0 | 2.8 | 0.5 | 7.4 | 17.1 | 33.6 | 2.8 | 13.0 |
| GDN-NoPE-3:1 | 33.5 | 30.6 | 18.4 | 11.7 | 7.0 | 38.4 | 32.8 | 29.5 | 24.9 | 25.2 | 24.7 | 14.0 | 20.2 | 27.1 | 33.5 | 19.6 | 24.2 |
| GDN-NoPE-1:1 | 31.7 | 20.2 | 9.4 | 8.3 | 7.9 | 32.5 | 23.5 | 23.3 | 23.4 | 15.8 | 7.8 | 7.7 | 15.5 | 19.1 | 27.7 | 12.6 | 17.6 |
| GDN-NoPE-1:3 | 29.8 | 18.8 | 10.6 | 8.5 | 8.1 | 33.8 | 28.7 | 23.5 | 5.3 | 1.5 | 0.1 | 0.0 | 15.1 | 13.3 | 28.9 | 6.6 | 14.1 |
| 776M Short | |||||||||||||||||
| RoPE | 34.9 | 0.5 | 0.0 | 0.0 | 0.0 | 43.9 | 39.8 | 26.5 | 1.6 | 0.7 | 0.1 | 0.0 | 7.1 | 16.1 | 36.3 | 0.4 | 12.3 |
| RoPE-NoPE-3:1 | 40.7 | 0.2 | 0.0 | 0.0 | 0.0 | 49.6 | 38.7 | 37.0 | 1.5 | 0.1 | 0.0 | 0.0 | 8.2 | 18.1 | 41.5 | 0.2 | 14.0 |
| + EME | 40.7 | 31.2 | 25.6 | 22.7 | 8.5 | 50.0 | 38.7 | 36.9 | 30.6 | 28.4 | 27.1 | 24.7 | 25.7 | 33.8 | 41.6 | 24.8 | 30.4 |
| RoPE-NoPE-1:1 | 35.9 | 0.7 | 0.0 | 0.0 | 0.0 | 46.9 | 38.8 | 36.9 | 1.8 | 0.2 | 0.1 | 0.0 | 7.3 | 17.8 | 39.6 | 0.4 | 13.4 |
| + EME | 35.9 | 32.6 | 15.8 | 9.6 | 7.0 | 46.8 | 38.8 | 36.8 | 33.4 | 23.3 | 16.8 | 11.1 | 20.2 | 29.6 | 39.6 | 18.7 | 25.7 |
| RoPE-NoPE-1:3 | 34.1 | 0.7 | 0.2 | 0.0 | 0.0 | 47.7 | 37.2 | 37.8 | 1.7 | 0.2 | 1.3 | 1.9 | 7.0 | 18.3 | 39.2 | 0.7 | 13.6 |
| + EME | 34.1 | 30.6 | 26.1 | 8.3 | 3.0 | 47.7 | 37.2 | 37.7 | 21.9 | 7.6 | 7.2 | 6.0 | 20.4 | 23.6 | 39.2 | 13.8 | 22.3 |
| SWA-NoPE-3:1 | 32.1 | 29.7 | 27.9 | 18.0 | 10.2 | 39.5 | 39.6 | 34.2 | 30.8 | 26.8 | 18.8 | 17.1 | 23.6 | 29.5 | 36.3 | 22.4 | 27.1 |
| + Log | 32.1 | 30.7 | 30.4 | 28.3 | 26.6 | 39.4 | 39.7 | 34.1 | 33.2 | 32.6 | 28.8 | 23.8 | 29.6 | 33.1 | 36.3 | 29.3 | 31.6 |
| SWA-NoPE-1:1 | 39.3 | 37.4 | 35.4 | 28.2 | 15.6 | 42.5 | 38.1 | 36.5 | 32.9 | 29.3 | 24.3 | 21.0 | 31.2 | 32.1 | 39.1 | 28.0 | 31.7 |
| + Log | 39.2 | 38.4 | 37.8 | 35.5 | 33.5 | 42.5 | 38.1 | 36.5 | 33.8 | 32.4 | 27.9 | 26.2 | 36.9 | 33.9 | 39.1 | 33.2 | 35.2 |
| SWA-NoPE-1:3 | 38.7 | 34.5 | 28.9 | 11.1 | 6.7 | 43.7 | 40.3 | 39.6 | 35.9 | 32.7 | 15.3 | 6.0 | 24.0 | 30.5 | 40.6 | 21.4 | 27.8 |
| + Log | 38.6 | 35.2 | 31.9 | 23.7 | 10.0 | 43.8 | 40.3 | 39.5 | 37.7 | 39.7 | 30.7 | 12.1 | 27.9 | 34.8 | 40.6 | 27.6 | 31.9 |
| GLA-NoPE-3:1 | 35.6 | 27.2 | 7.9 | 8.2 | 1.9 | 43.1 | 36.9 | 36.0 | 25.6 | 3.3 | 3.9 | 0.3 | 16.2 | 21.3 | 37.9 | 9.8 | 19.2 |
| GLA-NoPE-1:1 | 37.6 | 22.0 | 1.9 | 1.7 | 1.5 | 49.2 | 38.3 | 35.2 | 18.2 | 5.9 | 5.1 | 2.1 | 12.9 | 22.0 | 40.1 | 7.3 | 18.2 |
| GLA-NoPE-1:3 | 40.7 | 6.3 | 1.2 | 0.7 | 0.4 | 53.0 | 42.8 | 40.0 | 7.3 | 0.0 | 0.0 | 0.0 | 9.9 | 20.4 | 44.1 | 2.0 | 16.0 |
| GDN-NoPE-3:1 | 37.8 | 24.7 | 12.4 | 9.8 | 8.6 | 43.1 | 39.2 | 35.5 | 23.4 | 9.0 | 7.5 | 7.6 | 18.7 | 23.6 | 38.9 | 12.9 | 21.6 |
| GDN-NoPE-1:1 | 38.3 | 29.2 | 16.7 | 10.8 | 8.8 | 49.9 | 44.7 | 38.8 | 30.9 | 23.5 | 20.1 | 1.7 | 20.8 | 29.9 | 42.9 | 17.7 | 26.1 |
| GDN-NoPE-1:3 | 34.5 | 29.1 | 9.0 | 9.5 | 8.1 | 38.5 | 37.8 | 35.0 | 17.1 | 2.3 | 0.1 | 0.0 | 18.0 | 18.7 | 36.5 | 9.4 | 18.4 |
Table 17 Long-context performance of head-wise hybrids with different hybrid ratios after short-context pre-training.
| SD | MD | Sum | ICL | Syn | Code | Avg. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NQ | Qsp | MF | HG | WQ | Msq | GR | QS | MN | TR | TQ | SS | PC | PR | LCC | Re-P | ||
| 376M Short | |||||||||||||||||
| RoPE | 0.6 | 5.0 | 4.1 | 1.0 | 2.2 | 0.5 | 2.8 | 4.4 | 11.3 | 2.0 | 3.2 | 5.2 | 1.0 | 4.5 | 22.0 | 18.7 | 5.5 |
| + NTK | 0.6 | 5.8 | 5.6 | 1.0 | 3.0 | 0.8 | 3.9 | 8.9 | 9.6 | 2.5 | 3.3 | 8.8 | 0.2 | 2.8 | 27.2 | 30.8 | 7.2 |
| + NTK + Log | 1.4 | 6.1 | 6.8 | 1.6 | 3.9 | 1.3 | 4.3 | 9.3 | 9.8 | 1.5 | 7.3 | 11.9 | 0.5 | 3.6 | 26.9 | 31.3 | 8.0 |
| RoPE-NoPE-LH | 0.4 | 6.8 | 4.9 | 1.3 | 2.7 | 0.8 | 3.8 | 4.7 | 12.5 | 2.5 | 4.5 | 2.9 | 1.6 | 1.1 | 21.9 | 19.0 | 5.7 |
| + NTK | 0.6 | 5.3 | 5.2 | 1.1 | 2.2 | 1.4 | 3.3 | 4.5 | 11.3 | 11.0 | 4.9 | 8.8 | 0.8 | 3.0 | 31.9 | 33.1 | 8.0 |
| + NTK + Log | 0.9 | 5.4 | 6.2 | 1.9 | 2.9 | 1.2 | 4.9 | 7.0 | 11.1 | 11.0 | 8.2 | 7.6 | 2.0 | 4.0 | 31.6 | 33.7 | 8.7 |
| SWA-4k-NoPE-LH | 1.9 | 9.2 | 10.7 | 3.7 | 7.5 | 2.7 | 7.4 | 11.4 | 13.0 | 9.0 | 15.0 | 9.2 | 3.2 | 3.6 | 22.8 | 31.0 | 10.1 |
| + Log (EME) | 1.7 | 9.1 | 10.7 | 3.7 | 7.3 | 3.1 | 8.7 | 10.3 | 13.0 | 7.5 | 14.2 | 9.5 | 3.2 | 3.2 | 22.8 | 31.1 | 9.9 |
| SWA-RoPE-LH | 0.9 | 8.4 | 7.1 | 2.2 | 6.1 | 0.8 | 4.8 | 5.1 | 10.1 | 9.5 | 4.8 | 8.9 | 0.9 | 2.3 | 24.0 | 22.0 | 7.4 |
| SWA-NoPE-LH | 1.6 | 9.5 | 9.9 | 4.5 | 5.8 | 3.0 | 8.8 | 9.9 | 13.1 | 21.5 | 16.5 | 11.3 | 3.1 | 3.8 | 23.1 | 27.3 | 10.8 |
| + Log | 1.7 | 9.5 | 10.7 | 4.7 | 6.0 | 3.3 | 9.0 | 9.3 | 13.1 | 20.5 | 18.9 | 10.7 | 3.0 | 4.2 | 23.2 | 27.9 | 11.0 |
| GLA-RoPE-LH | 0.9 | 8.5 | 8.7 | 2.6 | 6.2 | 1.6 | 8.8 | 9.1 | 13.4 | 5.0 | 7.7 | 10.5 | 1.5 | 3.6 | 20.8 | 19.2 | 8.0 |
| GLA-NoPE-LH | 1.5 | 9.7 | 9.5 | 3.1 | 7.2 | 1.1 | 10.7 | 10.2 | 13.5 | 20.0 | 8.4 | 10.5 | 1.6 | 3.7 | 26.0 | 34.0 | 10.7 |
| + Log | 1.7 | 9.6 | 10.1 | 2.9 | 6.8 | 1.3 | 11.2 | 9.0 | 13.4 | 19.5 | 8.2 | 10.5 | 2.0 | 4.2 | 26.0 | 33.8 | 10.6 |
| + wsz=4k | 1.8 | 9.6 | 9.3 | 4.8 | 6.9 | 3.0 | 9.7 | 10.6 | 13.4 | 22.0 | 11.3 | 13.3 | 3.0 | 3.5 | 25.9 | 33.9 | 11.4 |
| + EME | 2.0 | 9.7 | 10.7 | 5.9 | 7.4 | 3.4 | 10.0 | 10.7 | 13.5 | 22.5 | 11.8 | 13.8 | 2.9 | 3.1 | 25.8 | 34.2 | 11.7 |
| GDN-RoPE-LH | 1.1 | 8.3 | 8.2 | 3.0 | 5.1 | 1.6 | 6.1 | 6.5 | 8.9 | 14.5 | 8.3 | 10.5 | 3.7 | 3.6 | 20.1 | 22.7 | 8.3 |
| GDN-NoPE-LH | 0.8 | 9.4 | 10.4 | 3.3 | 6.7 | 2.2 | 6.8 | 5.4 | 12.0 | 23.5 | 13.9 | 12.7 | 3.3 | 3.3 | 19.4 | 29.3 | 10.1 |
| + Log | 0.8 | 9.2 | 10.3 | 3.6 | 7.0 | 2.3 | 7.2 | 5.3 | 12.1 | 23.0 | 16.1 | 12.3 | 3.3 | 3.4 | 19.5 | 29.7 | 10.3 |
| + wsz=4k | 1.7 | 9.0 | 10.3 | 3.9 | 7.5 | 2.6 | 5.8 | 7.5 | 12.0 | 24.0 | 17.9 | 14.2 | 3.0 | 3.5 | 19.9 | 30.7 | 10.8 |
| + EME | 1.6 | 8.7 | 11.2 | 4.6 | 7.9 | 2.9 | 6.3 | 7.6 | 12.1 | 23.0 | 19.9 | 14.3 | 3.1 | 3.6 | 20.2 | 30.2 | 11.1 |
| 776M Short | |||||||||||||||||
| RoPE | 0.4 | 8.2 | 6.1 | 1.7 | 4.9 | 0.5 | 4.8 | 6.4 | 12.8 | 8.5 | 7.9 | 13.2 | 1.8 | 2.0 | 27.1 | 23.7 | 8.1 |
| + NTK | 0.9 | 7.5 | 6.3 | 3.2 | 5.3 | 1.2 | 4.2 | 4.4 | 10.0 | 17.5 | 10.0 | 6.7 | 2.3 | 3.4 | 33.9 | 37.6 | 9.6 |
| + NTK + Log | 1.1 | 7.6 | 8.6 | 3.9 | 7.1 | 2.8 | 4.7 | 5.8 | 10.1 | 19.5 | 28.3 | 11.4 | 2.0 | 2.7 | 33.5 | 37.6 | 11.7 |
| RoPE-NoPE-LH | 0.4 | 10.7 | 7.0 | 2.1 | 5.3 | 0.8 | 5.6 | 5.5 | 14.7 | 16.0 | 10.3 | 12.2 | 0.4 | 2.0 | 19.5 | 26.7 | 8.7 |
| + NTK | 0.8 | 8.5 | 6.6 | 2.6 | 4.6 | 1.0 | 4.7 | 6.1 | 12.0 | 11.0 | 5.5 | 5.8 | 1.4 | 2.9 | 28.7 | 36.7 | 8.7 |
| + NTK + Log | 1.3 | 8.5 | 8.0 | 3.9 | 6.4 | 2.7 | 6.8 | 6.8 | 12.4 | 11.5 | 14.4 | 9.8 | 2.4 | 3.6 | 27.7 | 36.6 | 10.2 |
| SWA-4k-NoPE-LH | 2.0 | 12.5 | 14.4 | 5.1 | 10.1 | 3.4 | 11.3 | 16.8 | 15.3 | 42.5 | 30.2 | 26.3 | 3.2 | 4.5 | 19.8 | 32.7 | 15.6 |
| + Log (EME) | 2.0 | 12.3 | 14.9 | 5.5 | 10.8 | 3.1 | 12.7 | 16.5 | 15.3 | 42.0 | 32.5 | 26.2 | 3.1 | 4.3 | 19.9 | 32.6 | 15.9 |
| SWA-RoPE-LH | 1.5 | 9.5 | 9.9 | 4.3 | 7.7 | 2.5 | 8.4 | 9.9 | 10.2 | 10.5 | 22.8 | 22.3 | 3.1 | 4.0 | 26.8 | 34.2 | 11.7 |
| SWA-NoPE-LH | 2.0 | 12.8 | 11.6 | 5.7 | 9.1 | 5.0 | 9.5 | 9.8 | 14.0 | 15.5 | 23.7 | 21.5 | 3.2 | 3.3 | 21.7 | 30.9 | 12.4 |
| + Log | 2.0 | 13.5 | 12.9 | 5.7 | 9.0 | 4.9 | 9.9 | 9.7 | 14.3 | 14.0 | 26.9 | 21.7 | 3.2 | 2.7 | 21.6 | 30.1 | 12.6 |
| GLA-RoPE-LH | 1.7 | 10.6 | 11.2 | 4.4 | 8.4 | 2.6 | 7.4 | 15.7 | 12.8 | 10.0 | 23.4 | 20.0 | 3.2 | 3.9 | 29.1 | 35.0 | 12.5 |
| GLA-NoPE-LH | 1.6 | 10.4 | 12.9 | 2.9 | 7.8 | 1.6 | 9.1 | 10.4 | 15.7 | 36.0 | 18.4 | 17.4 | 1.3 | 3.0 | 24.3 | 34.7 | 13.0 |
| + Log | 1.5 | 10.4 | 12.7 | 2.9 | 8.2 | 1.4 | 9.3 | 10.5 | 15.6 | 37.5 | 18.9 | 18.0 | 1.5 | 1.7 | 24.5 | 34.1 | 13.0 |
| + wsz=4k | 2.0 | 11.0 | 13.1 | 6.6 | 8.6 | 4.0 | 11.4 | 13.1 | 16.0 | 23.5 | 23.6 | 22.4 | 3.9 | 3.9 | 24.5 | 35.2 | 13.9 |
| + EME | 2.0 | 10.8 | 13.0 | 6.2 | 9.5 | 4.0 | 12.2 | 13.8 | 16.2 | 26.5 | 27.0 | 22.3 | 3.7 | 1.7 | 24.6 | 34.0 | 14.2 |
| GDN-RoPE-LH | 1.9 | 10.2 | 11.8 | 4.8 | 7.9 | 2.4 | 5.2 | 12.9 | 10.0 | 36.0 | 29.6 | 25.4 | 3.0 | 3.3 | 27.1 | 33.9 | 14.1 |
| GDN-NoPE-LH | 1.5 | 13.3 | 11.2 | 4.1 | 9.0 | 2.3 | 7.2 | 9.5 | 13.6 | 32.0 | 22.2 | 20.5 | 2.6 | 3.5 | 19.7 | 29.6 | 12.6 |
| + Log | 1.4 | 13.2 | 11.2 | 4.4 | 9.1 | 2.4 | 7.6 | 9.7 | 13.7 | 33.0 | 22.8 | 19.8 | 1.8 | 2.6 | 20.0 | 29.7 | 12.7 |
| + wsz=4k | 2.1 | 13.7 | 12.7 | 6.4 | 10.5 | 4.3 | 7.4 | 13.6 | 14.0 | 30.0 | 35.7 | 22.9 | 3.1 | 3.8 | 19.7 | 29.9 | 14.3 |
| + EME | 2.3 | 14.2 | 13.5 | 6.5 | 10.5 | 4.4 | 7.8 | 13.6 | 14.0 | 31.0 | 36.9 | 23.0 | 3.2 | 3.7 | 19.5 | 29.8 | 14.6 |
Table 18 LongBench performance of 376M and 776M layer-wise hybrid models after short-context pretraining.
| SD | MD | Sum | ICL | Syn | Code | Avg. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NQ | Qsp | MF | HG | WQ | Msq | GR | QS | MN | TR | TQ | SS | PC | PR | LCC | Re-P | ||
| 1B Short | |||||||||||||||||
| RoPE | 0.4 | 9.5 | 7.1 | 1.3 | 5.2 | 0.4 | 4.2 | 5.8 | 10.7 | 17.5 | 9.2 | 12.7 | 0.3 | 4.2 | 18.5 | 26.9 | 8.4 |
| + NTK | 0.9 | 10.3 | 9.4 | 4.4 | 8.7 | 1.9 | 6.7 | 7.1 | 8.3 | 25.0 | 16.4 | 24.7 | 2.7 | 3.1 | 24.4 | 38.4 | 12.0 |
| + NTK + Log | 2.2 | 10.6 | 12.1 | 5.5 | 9.3 | 3.8 | 6.6 | 12.3 | 8.4 | 29.5 | 32.0 | 31.2 | 3.0 | 4.0 | 23.9 | 37.4 | 14.5 |
| RoPE-NoPE-LH | 0.9 | 10.9 | 8.9 | 2.3 | 6.4 | 1.0 | 6.6 | 4.8 | 14.5 | 14.0 | 11.4 | 7.8 | 2.0 | 1.1 | 23.9 | 28.3 | 9.0 |
| + NTK | 0.8 | 10.2 | 10.4 | 3.4 | 7.1 | 2.1 | 6.0 | 4.5 | 9.5 | 18.0 | 17.3 | 14.6 | 2.9 | 3.7 | 29.1 | 36.3 | 11.0 |
| + NTK + Log | 2.1 | 10.0 | 11.9 | 5.6 | 9.0 | 3.8 | 8.8 | 8.5 | 9.6 | 18.5 | 30.4 | 23.7 | 3.2 | 2.6 | 28.3 | 36.2 | 13.2 |
| SWA-4k-NoPE-LH | 2.3 | 13.2 | 16.4 | 6.3 | 9.9 | 3.8 | 12.4 | 16.5 | 15.2 | 31.0 | 38.8 | 25.1 | 3.1 | 4.5 | 23.8 | 31.9 | 15.9 |
| + Log (EME) | 2.3 | 13.2 | 16.7 | 6.8 | 9.8 | 3.6 | 15.0 | 16.8 | 15.1 | 31.0 | 41.9 | 27.0 | 3.1 | 5.2 | 23.8 | 32.2 | 16.5 |
| SWA-RoPE-LH | 1.2 | 11.5 | 11.6 | 4.6 | 7.6 | 2.1 | 7.2 | 4.0 | 12.5 | 26.5 | 25.2 | 16.9 | 3.1 | 2.8 | 23.3 | 31.6 | 12.0 |
| SWA-NoPE-LH | 2.4 | 14.2 | 14.9 | 6.6 | 9.8 | 4.9 | 11.4 | 14.4 | 11.6 | 32.5 | 37.5 | 23.3 | 3.2 | 4.3 | 27.3 | 36.1 | 15.9 |
| + Log | 2.4 | 14.6 | 15.0 | 7.1 | 9.5 | 5.4 | 11.0 | 15.4 | 12.0 | 33.0 | 41.5 | 24.6 | 3.2 | 2.9 | 27.1 | 35.1 | 16.2 |
| GLA-RoPE-LH | 1.1 | 11.0 | 11.2 | 3.2 | 8.1 | 1.3 | 6.0 | 7.1 | 13.3 | 32.5 | 14.0 | 17.5 | 2.9 | 2.6 | 28.2 | 37.1 | 12.3 |
| GLA-NoPE-LH | 2.0 | 15.0 | 15.4 | 5.8 | 9.6 | 3.3 | 10.0 | 7.4 | 12.9 | 36.0 | 33.9 | 23.6 | 2.8 | 4.1 | 19.4 | 34.5 | 14.7 |
| + Log | 2.1 | 15.0 | 15.4 | 4.8 | 9.8 | 3.9 | 10.2 | 7.1 | 12.9 | 34.5 | 36.9 | 23.3 | 2.9 | 3.4 | 19.0 | 34.5 | 14.7 |
| + wsz=4k | 2.6 | 15.3 | 14.8 | 6.5 | 10.8 | 4.1 | 10.5 | 14.8 | 13.4 | 31.5 | 39.5 | 25.3 | 3.0 | 3.8 | 19.9 | 33.1 | 15.6 |
| + EME | 2.5 | 15.3 | 14.9 | 6.9 | 10.2 | 4.4 | 10.9 | 14.8 | 13.3 | 32.5 | 41.5 | 24.8 | 2.9 | 3.2 | 19.7 | 33.4 | 15.7 |
| GDN-RoPE-LH | 1.3 | 12.3 | 11.0 | 4.0 | 7.5 | 2.4 | 6.6 | 12.7 | 14.4 | 40.5 | 23.0 | 24.7 | 2.8 | 3.3 | 20.1 | 29.7 | 13.5 |
| GDN-NoPE-LH | 1.6 | 13.1 | 13.8 | 5.3 | 8.9 | 2.7 | 5.5 | 11.6 | 15.4 | 37.0 | 30.8 | 20.9 | 2.4 | 4.1 | 21.5 | 33.5 | 14.2 |
| + Log | 1.5 | 13.1 | 14.7 | 5.2 | 8.4 | 2.5 | 5.2 | 10.0 | 15.5 | 35.5 | 28.3 | 19.7 | 2.5 | 3.3 | 21.2 | 32.9 | 13.7 |
| + wsz=4k | 2.1 | 13.5 | 15.2 | 6.0 | 9.7 | 5.0 | 5.4 | 17.1 | 15.6 | 39.0 | 42.5 | 25.9 | 3.1 | 4.2 | 21.1 | 30.6 | 16.0 |
| + EME | 2.1 | 13.3 | 16.4 | 5.9 | 9.5 | 4.2 | 7.8 | 16.6 | 15.8 | 37.5 | 44.5 | 26.2 | 3.2 | 4.4 | 21.2 | 31.2 | 16.2 |
| 3B Short | |||||||||||||||||
| RoPE | 0.3 | 13.5 | 8.9 | 2.2 | 7.0 | 0.7 | 5.8 | 2.9 | 12.8 | 22.0 | 14.1 | 14.6 | 2.0 | 3.3 | 23.7 | 31.3 | 10.3 |
| + NTK | 1.4 | 13.2 | 12.7 | 6.0 | 8.3 | 3.3 | 10.0 | 9.7 | 12.0 | 36.5 | 37.8 | 32.5 | 1.5 | 2.8 | 25.6 | 38.9 | 15.8 |
| + NTK + Log | 2.9 | 13.8 | 13.4 | 6.4 | 7.9 | 4.6 | 12.1 | 15.3 | 12.1 | 39.5 | 48.0 | 36.3 | 2.4 | 3.2 | 25.4 | 38.7 | 17.6 |
| RoPE-NoPE-LH | 0.5 | 15.2 | 12.0 | 2.7 | 8.6 | 0.6 | 9.0 | 4.1 | 7.1 | 39.5 | 21.9 | 20.8 | 2.5 | 2.1 | 23.1 | 35.6 | 12.8 |
| + NTK | 1.3 | 14.5 | 13.6 | 5.8 | 8.4 | 3.1 | 8.6 | 8.1 | 5.2 | 50.0 | 28.3 | 31.3 | 2.9 | 3.8 | 29.6 | 39.7 | 15.9 |
| + NTK + Log | 2.2 | 14.8 | 15.2 | 6.5 | 9.1 | 4.1 | 13.0 | 16.0 | 5.5 | 48.0 | 34.0 | 34.7 | 3.0 | 3.9 | 29.5 | 39.7 | 17.4 |
| SWA-4k-NoPE-LH | 2.5 | 15.5 | 16.1 | 6.5 | 9.8 | 4.0 | 15.6 | 17.9 | 7.2 | 49.5 | 60.1 | 36.5 | 1.1 | 3.8 | 22.8 | 35.9 | 19.0 |
| + Log (EME) | 2.5 | 15.9 | 17.1 | 6.8 | 9.9 | 4.1 | 18.7 | 16.6 | 7.5 | 49.5 | 61.7 | 37.5 | 1.5 | 3.9 | 22.7 | 37.0 | 19.6 |
| SWA-RoPE-LH | 1.9 | 13.3 | 12.5 | 5.7 | 8.5 | 3.6 | 10.5 | 15.2 | 14.6 | 36.0 | 39.8 | 29.2 | 2.5 | 3.8 | 23.2 | 34.9 | 15.9 |
| SWA-NoPE-LH | 2.7 | 16.1 | 15.2 | 7.6 | 9.8 | 5.0 | 14.2 | 19.4 | 18.1 | 48.5 | 52.8 | 29.1 | 3.1 | 3.9 | 30.2 | 37.6 | 19.6 |
| + Log | 2.8 | 16.6 | 15.9 | 7.6 | 9.5 | 4.9 | 16.6 | 19.5 | 18.1 | 49.0 | 55.1 | 30.4 | 3.2 | 3.9 | 30.0 | 38.1 | 20.1 |
| GLA-RoPE-LH | 1.2 | 13.3 | 12.5 | 4.8 | 9.5 | 2.0 | 8.5 | 14.2 | 17.3 | 42.0 | 38.1 | 28.6 | 3.0 | 4.9 | 26.0 | 34.1 | 16.2 |
| GLA-NoPE-LH | 2.0 | 15.3 | 11.4 | 6.6 | 9.2 | 3.8 | 10.1 | 6.1 | 20.5 | 44.0 | 54.6 | 26.4 | 2.9 | 2.6 | 33.7 | 39.0 | 18.0 |
| + Log | 1.7 | 14.8 | 11.4 | 6.4 | 9.6 | 3.7 | 10.4 | 6.5 | 20.4 | 43.0 | 53.3 | 25.3 | 2.8 | 2.9 | 33.4 | 37.9 | 17.7 |
| + wsz=4k | 2.5 | 15.2 | 15.3 | 7.6 | 9.5 | 5.3 | 14.2 | 15.7 | 20.7 | 45.0 | 54.7 | 25.2 | 2.7 | 4.0 | 33.7 | 38.8 | 19.4 |
| + EME | 2.3 | 16.0 | 15.3 | 8.6 | 9.9 | 5.7 | 16.1 | 16.1 | 21.1 | 44.0 | 56.8 | 26.9 | 2.4 | 4.0 | 33.6 | 38.3 | 19.8 |
| GDN-RoPE-LH | 1.3 | 13.7 | 12.8 | 5.8 | 9.3 | 3.1 | 6.6 | 12.8 | 11.0 | 41.0 | 41.4 | 27.1 | 3.1 | 3.4 | 29.4 | 36.5 | 16.1 |
| GDN-NoPE-LH | 2.2 | 15.1 | 15.7 | 6.9 | 10.2 | 4.6 | 13.2 | 14.8 | 18.6 | 41.5 | 48.5 | 30.6 | 1.4 | 3.8 | 23.7 | 36.0 | 17.9 |
| + Log | 2.3 | 15.4 | 16.3 | 7.2 | 10.1 | 4.6 | 12.6 | 14.7 | 18.9 | 41.5 | 50.5 | 31.2 | 1.5 | 3.8 | 23.8 | 35.8 | 18.1 |
| + wsz=4k | 2.4 | 15.1 | 16.6 | 8.3 | 10.2 | 3.9 | 14.7 | 17.1 | 18.7 | 43.5 | 54.0 | 29.4 | 0.5 | 4.1 | 23.7 | 35.1 | 18.6 |
| + EME | 2.7 | 15.3 | 17.1 | 8.6 | 10.0 | 4.1 | 16.2 | 15.4 | 18.6 | 43.5 | 54.0 | 28.8 | 1.0 | 3.8 | 23.7 | 35.0 | 18.6 |
Table 19 LongBench performance of 1B and 3B layer-wise hybrid models after short-context pretraining.
| SD | MD | Sum | ICL | Syn | Code | Avg. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NQ | Qsp | MF | HG | WQ | Msq | GR | QS | MN | TR | TQ | SS | PC | PR | LCC | Re-P | ||
| 376M Short | |||||||||||||||||
| RoPE | 0.6 | 5.0 | 4.1 | 1.0 | 2.2 | 0.5 | 2.8 | 4.4 | 11.3 | 2.0 | 3.2 | 5.2 | 1.0 | 4.5 | 22.0 | 18.7 | 5.5 |
| + NTK | 0.6 | 5.8 | 5.6 | 1.0 | 3.0 | 0.8 | 3.9 | 8.9 | 9.6 | 2.5 | 3.3 | 8.8 | 0.2 | 2.8 | 27.2 | 30.8 | 7.2 |
| + NTK + Log | 1.4 | 6.1 | 6.8 | 1.6 | 3.9 | 1.3 | 4.3 | 9.3 | 9.8 | 1.5 | 7.3 | 11.9 | 0.5 | 3.6 | 26.9 | 31.3 | 8.0 |
| RoPE-NoPE-HH | 1.2 | 6.5 | 5.1 | 1.0 | 3.6 | 0.7 | 4.3 | 5.0 | 15.0 | 4.5 | 5.3 | 5.0 | 0.1 | 2.4 | 18.7 | 17.9 | 6.0 |
| + NTK | 0.7 | 4.9 | 4.4 | 1.0 | 3.2 | 1.0 | 3.0 | 5.2 | 12.5 | 0.0 | 4.3 | 6.2 | 1.3 | 3.3 | 32.0 | 29.9 | 7.1 |
| + NTK + Log | 0.6 | 5.2 | 4.7 | 1.3 | 3.2 | 1.0 | 3.2 | 5.3 | 12.6 | 0.0 | 4.3 | 6.3 | 1.3 | 1.8 | 32.3 | 30.9 | 7.1 |
| SWA-4k-NoPE-HH | 1.6 | 8.4 | 10.8 | 3.5 | 7.4 | 2.2 | 8.3 | 8.6 | 15.7 | 9.0 | 14.8 | 5.8 | 2.9 | 3.6 | 20.0 | 30.3 | 9.6 |
| + Log (EME) | 1.9 | 9.1 | 12.1 | 3.0 | 7.2 | 2.5 | 8.8 | 8.6 | 15.8 | 8.5 | 14.1 | 7.6 | 3.0 | 3.0 | 20.0 | 30.7 | 9.7 |
| SWA-RoPE-HH | 0.8 | 7.7 | 7.2 | 1.7 | 5.8 | 0.8 | 5.2 | 7.3 | 10.3 | 4.0 | 6.8 | 4.8 | 3.1 | 2.8 | 21.4 | 25.9 | 7.2 |
| SWA-NoPE-HH | 1.9 | 9.5 | 10.5 | 4.7 | 9.2 | 3.4 | 8.8 | 10.0 | 13.0 | 17.5 | 16.7 | 15.7 | 3.1 | 3.9 | 25.0 | 32.3 | 11.6 |
| + Log | 1.9 | 9.7 | 11.0 | 4.1 | 9.1 | 3.8 | 9.4 | 10.0 | 13.1 | 15.0 | 17.7 | 16.4 | 3.1 | 4.5 | 24.8 | 31.7 | 11.6 |
| GLA-RoPE-HH | 1.3 | 7.8 | 8.1 | 1.4 | 6.4 | 0.8 | 5.3 | 4.4 | 12.9 | 8.5 | 5.8 | 7.4 | 0.5 | 1.1 | 18.3 | 25.8 | 7.2 |
| GLA-NoPE-HH | 1.5 | 10.1 | 10.7 | 2.8 | 7.1 | 1.3 | 10.1 | 10.7 | 12.7 | 26.8 | 9.8 | 11.0 | 1.7 | 3.1 | 24.7 | 31.9 | 11.0 |
| + Log | 1.5 | 10.0 | 10.4 | 2.5 | 6.8 | 1.1 | 10.5 | 11.4 | 12.7 | 29.0 | 10.5 | 12.2 | 1.3 | 3.7 | 24.6 | 31.8 | 11.2 |
| + wsz=4k | 1.9 | 10.2 | 10.6 | 4.4 | 7.9 | 2.9 | 9.4 | 10.7 | 12.8 | 26.5 | 21.6 | 18.7 | 3.3 | 3.8 | 25.5 | 34.7 | 12.8 |
| + EME | 1.8 | 9.6 | 10.7 | 4.5 | 7.8 | 3.1 | 10.4 | 11.2 | 12.7 | 25.5 | 24.8 | 20.1 | 3.0 | 4.4 | 25.5 | 33.6 | 13.0 |
| GDN-RoPE-HH | 1.5 | 9.3 | 8.7 | 3.1 | 7.0 | 2.0 | 7.7 | 12.2 | 12.4 | 6.5 | 10.5 | 15.5 | 2.7 | 2.8 | 22.5 | 26.0 | 9.4 |
| GDN-NoPE-HH | 1.9 | 8.6 | 10.8 | 3.9 | 7.2 | 2.4 | 9.8 | 9.1 | 8.7 | 22.0 | 12.4 | 12.0 | 3.4 | 4.6 | 24.4 | 33.3 | 10.9 |
| + Log | 1.7 | 8.6 | 10.7 | 4.2 | 7.2 | 3.0 | 9.9 | 9.6 | 8.9 | 22.5 | 12.9 | 12.7 | 3.4 | 3.4 | 24.3 | 33.9 | 11.1 |
| + wsz=4k | 1.7 | 8.7 | 10.8 | 4.5 | 7.8 | 2.7 | 6.5 | 10.5 | 8.7 | 19.5 | 19.3 | 18.4 | 3.5 | 4.4 | 24.0 | 34.5 | 11.6 |
| + EME | 1.9 | 9.0 | 10.9 | 4.3 | 7.6 | 2.4 | 6.7 | 10.8 | 8.7 | 20.0 | 21.3 | 19.0 | 3.2 | 3.6 | 24.0 | 34.4 | 11.7 |
| 776M Short | |||||||||||||||||
| RoPE | 0.4 | 8.2 | 6.1 | 1.7 | 4.9 | 0.5 | 4.8 | 6.4 | 12.8 | 8.5 | 7.9 | 13.2 | 1.8 | 2.0 | 27.1 | 23.7 | 8.1 |
| + NTK | 0.9 | 7.5 | 6.3 | 3.2 | 5.3 | 1.2 | 4.2 | 4.4 | 10.0 | 17.5 | 10.0 | 6.7 | 2.3 | 3.4 | 33.9 | 37.6 | 9.6 |
| + NTK + Log | 1.1 | 7.6 | 8.6 | 3.9 | 7.1 | 2.8 | 4.7 | 5.8 | 10.1 | 19.5 | 28.3 | 11.4 | 2.0 | 2.7 | 33.5 | 37.6 | 11.7 |
| RoPE-NoPE-HH | 0.2 | 6.8 | 5.6 | 1.1 | 4.8 | 0.8 | 3.7 | 1.2 | 14.1 | 6.5 | 6.4 | 6.7 | 0.2 | 3.1 | 23.6 | 22.6 | 6.7 |
| + NTK | 0.5 | 7.2 | 7.0 | 2.6 | 6.0 | 1.0 | 4.8 | 4.6 | 13.8 | 16.5 | 6.5 | 9.2 | 2.9 | 4.2 | 27.1 | 35.4 | 9.3 |
| + NTK + Log | 0.5 | 7.0 | 7.7 | 1.9 | 5.9 | 1.2 | 5.2 | 5.6 | 13.9 | 15.5 | 8.1 | 9.2 | 3.3 | 3.8 | 27.1 | 34.2 | 9.4 |
| SWA-4k-NoPE-HH | 1.8 | 10.6 | 13.4 | 4.4 | 8.9 | 3.1 | 5.9 | 16.2 | 14.9 | 24.5 | 22.0 | 22.9 | 3.2 | 4.5 | 23.3 | 30.4 | 13.1 |
| + Log (EME) | 1.8 | 11.1 | 14.5 | 4.9 | 8.9 | 3.2 | 8.2 | 15.5 | 14.9 | 24.0 | 24.2 | 23.0 | 3.1 | 4.0 | 23.3 | 31.1 | 13.5 |
| SWA-RoPE-HH | 1.0 | 9.9 | 10.7 | 4.0 | 8.4 | 2.4 | 5.5 | 3.9 | 11.2 | 16.5 | 17.5 | 10.6 | 2.2 | 3.6 | 20.1 | 31.7 | 9.9 |
| SWA-NoPE-HH | 1.8 | 12.1 | 12.6 | 6.4 | 9.0 | 4.1 | 6.8 | 13.5 | 16.0 | 31.0 | 27.5 | 24.1 | 3.2 | 3.2 | 24.5 | 32.4 | 14.3 |
| + Log | 1.9 | 12.3 | 12.9 | 6.6 | 9.5 | 4.3 | 8.6 | 13.1 | 16.1 | 32.0 | 33.4 | 26.2 | 3.2 | 3.4 | 24.3 | 31.4 | 15.0 |
| GLA-RoPE-HH | 1.4 | 10.7 | 10.5 | 4.4 | 8.0 | 2.3 | 8.2 | 7.4 | 12.6 | 9.0 | 15.4 | 11.3 | 1.4 | 3.6 | 22.4 | 30.2 | 9.9 |
| GLA-NoPE-HH | 0.8 | 12.4 | 12.4 | 2.7 | 7.1 | 1.0 | 9.9 | 6.9 | 12.1 | 28.0 | 18.8 | 15.6 | 1.2 | 4.5 | 22.0 | 32.0 | 11.7 |
| + Log | 0.9 | 12.8 | 12.5 | 2.3 | 6.9 | 1.3 | 10.1 | 7.4 | 12.1 | 26.5 | 18.6 | 14.7 | 1.1 | 4.5 | 21.8 | 31.9 | 11.6 |
| + wsz=4k | 2.1 | 12.6 | 14.2 | 5.9 | 8.9 | 3.7 | 9.5 | 12.4 | 12.1 | 28.0 | 37.7 | 24.3 | 3.2 | 3.7 | 21.5 | 32.0 | 14.5 |
| + EME | 2.0 | 12.9 | 15.2 | 5.1 | 8.7 | 4.2 | 11.4 | 12.4 | 12.4 | 29.0 | 40.0 | 24.8 | 3.7 | 3.6 | 21.5 | 31.5 | 14.9 |
| GDN-RoPE-HH | 1.9 | 9.2 | 11.2 | 4.1 | 8.1 | 3.1 | 6.6 | 15.9 | 11.7 | 17.5 | 25.2 | 28.1 | 2.9 | 5.6 | 23.7 | 32.5 | 12.9 |
| GDN-NoPE-HH | 1.6 | 11.8 | 11.6 | 4.8 | 8.1 | 2.4 | 13.6 | 7.4 | 11.1 | 20.5 | 21.3 | 12.9 | 2.8 | 3.0 | 25.1 | 35.3 | 12.1 |
| + Log | 1.4 | 11.9 | 11.6 | 4.3 | 7.8 | 2.2 | 14.7 | 7.2 | 11.3 | 23.5 | 17.3 | 13.6 | 2.8 | 2.5 | 25.1 | 34.9 | 12.0 |
| + wsz=4k | 1.9 | 11.4 | 13.4 | 5.7 | 8.9 | 4.1 | 12.9 | 12.2 | 11.0 | 25.0 | 34.6 | 19.1 | 3.3 | 3.8 | 24.7 | 34.5 | 14.2 |
| + EME | 1.9 | 11.7 | 13.7 | 6.0 | 8.8 | 3.9 | 13.9 | 11.7 | 11.2 | 26.0 | 37.6 | 20.1 | 3.2 | 3.7 | 24.6 | 34.8 | 14.5 |
Table 20 LongBench performance of 376M and 776M head-wise hybrid models after short-context pretraining.
| SD | MD | Sum | ICL | Syn | Code | Avg. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NQ | Qsp | MF | HG | WQ | Msq | GR | QS | MN | TR | TQ | SS | PC | PR | LCC | Re-P | ||
| 1B Short | |||||||||||||||||
| RoPE | 0.4 | 9.5 | 7.1 | 1.3 | 5.2 | 0.4 | 4.2 | 5.8 | 10.7 | 17.5 | 9.2 | 12.7 | 0.3 | 4.2 | 18.5 | 26.9 | 8.4 |
| + NTK | 0.9 | 10.3 | 9.4 | 4.4 | 8.7 | 1.9 | 6.7 | 7.1 | 8.3 | 25.0 | 16.4 | 24.7 | 2.7 | 3.1 | 24.4 | 38.4 | 12.0 |
| + NTK + Log | 2.2 | 10.6 | 12.1 | 5.5 | 9.3 | 3.8 | 6.6 | 12.3 | 8.4 | 29.5 | 32.0 | 31.2 | 3.0 | 4.0 | 23.9 | 37.4 | 14.5 |
| RoPE-NoPE-HH | 0.4 | 12.3 | 8.8 | 1.8 | 7.0 | 0.7 | 5.0 | 3.5 | 15.4 | 16.5 | 11.1 | 17.0 | 1.8 | 4.5 | 21.4 | 31.2 | 9.9 |
| + NTK | 1.1 | 10.7 | 10.9 | 5.2 | 8.6 | 2.7 | 6.3 | 6.7 | 13.6 | 28.5 | 19.8 | 13.5 | 1.8 | 4.0 | 26.7 | 37.5 | 12.3 |
| + NTK + Log | 1.2 | 10.5 | 11.4 | 4.9 | 9.0 | 3.1 | 7.1 | 7.2 | 13.7 | 27.5 | 19.4 | 13.8 | 1.7 | 3.8 | 26.7 | 36.9 | 12.4 |
| SWA-4k-NoPE-HH | 2.2 | 13.5 | 15.7 | 6.2 | 9.7 | 3.3 | 9.6 | 17.9 | 16.1 | 23.5 | 40.8 | 32.6 | 3.2 | 3.5 | 20.0 | 30.5 | 15.5 |
| + Log (EME) | 2.2 | 13.4 | 15.7 | 5.9 | 9.5 | 3.6 | 12.1 | 18.0 | 16.2 | 25.0 | 44.5 | 33.1 | 3.2 | 4.8 | 20.0 | 31.6 | 16.2 |
| SWA-RoPE-HH | 1.1 | 11.5 | 12.1 | 3.6 | 9.8 | 1.5 | 8.3 | 8.8 | 12.9 | 29.0 | 21.6 | 21.5 | 2.2 | 3.5 | 25.6 | 33.2 | 12.9 |
| SWA-NoPE-HH | 2.4 | 14.7 | 13.3 | 7.2 | 10.4 | 4.3 | 11.3 | 9.5 | 13.0 | 50.5 | 41.8 | 29.8 | 3.2 | 4.2 | 24.3 | 32.2 | 17.0 |
| + Log | 2.4 | 14.8 | 13.5 | 7.5 | 10.3 | 5.0 | 12.9 | 13.2 | 12.9 | 49.0 | 43.6 | 30.4 | 3.1 | 4.1 | 24.5 | 32.0 | 17.4 |
| GLA-RoPE-HH | 1.5 | 11.7 | 12.2 | 5.0 | 8.6 | 2.9 | 7.6 | 8.2 | 11.6 | 17.0 | 29.6 | 27.2 | 2.9 | 3.4 | 21.1 | 34.3 | 12.8 |
| GLA-NoPE-HH | 1.1 | 13.8 | 11.5 | 2.8 | 7.6 | 1.1 | 10.4 | 7.8 | 14.8 | 19.0 | 16.2 | 20.3 | 2.2 | 4.6 | 28.4 | 33.4 | 12.2 |
| + Log | 1.0 | 14.0 | 12.0 | 2.6 | 8.1 | 1.3 | 10.2 | 8.1 | 15.0 | 18.5 | 16.5 | 20.1 | 2.2 | 4.0 | 28.4 | 32.9 | 12.2 |
| + wsz=4k | 2.3 | 14.1 | 15.4 | 6.8 | 9.0 | 3.4 | 13.8 | 15.0 | 15.6 | 22.0 | 35.5 | 30.4 | 3.1 | 1.8 | 29.4 | 37.6 | 15.9 |
| + EME | 2.3 | 14.3 | 16.6 | 6.1 | 8.8 | 3.2 | 15.8 | 14.6 | 15.8 | 21.5 | 39.3 | 30.7 | 3.1 | 2.6 | 29.4 | 36.1 | 16.3 |
| GDN-RoPE-HH | 1.4 | 11.7 | 11.2 | 4.4 | 8.0 | 2.3 | 6.1 | 9.7 | 15.7 | 30.0 | 26.7 | 25.8 | 3.1 | 2.3 | 26.7 | 35.5 | 13.8 |
| GDN-NoPE-HH | 1.3 | 14.1 | 12.8 | 4.2 | 7.9 | 1.9 | 8.4 | 7.9 | 15.8 | 31.5 | 21.9 | 17.7 | 0.7 | 2.3 | 26.9 | 35.7 | 13.2 |
| + Log | 1.5 | 13.7 | 12.0 | 4.0 | 7.6 | 1.6 | 8.1 | 6.8 | 15.9 | 31.0 | 21.1 | 16.7 | 1.0 | 2.9 | 26.7 | 35.2 | 12.9 |
| + wsz=4k | 2.4 | 14.3 | 14.9 | 6.1 | 9.3 | 3.7 | 10.9 | 16.3 | 16.2 | 33.0 | 36.5 | 26.1 | 2.2 | 3.2 | 26.2 | 35.2 | 16.0 |
| + EME | 2.3 | 14.3 | 15.5 | 6.3 | 9.1 | 4.1 | 12.5 | 15.3 | 16.0 | 33.0 | 38.8 | 27.9 | 1.8 | 3.8 | 26.3 | 34.9 | 16.4 |
| 3B Short | |||||||||||||||||
| RoPE | 0.3 | 13.5 | 8.9 | 2.2 | 7.0 | 0.7 | 5.8 | 2.9 | 12.8 | 22.0 | 14.1 | 14.6 | 2.0 | 3.3 | 23.7 | 31.3 | 10.3 |
| + NTK | 1.4 | 13.2 | 12.7 | 6.0 | 8.3 | 3.3 | 10.0 | 9.7 | 12.0 | 36.5 | 37.8 | 32.5 | 1.5 | 2.8 | 25.6 | 38.9 | 15.8 |
| + NTK + Log | 2.9 | 13.8 | 13.4 | 6.4 | 7.9 | 4.6 | 12.1 | 15.3 | 12.1 | 39.5 | 48.0 | 36.3 | 2.4 | 3.2 | 25.4 | 38.7 | 17.6 |
| RoPE-NoPE-HH | 0.3 | 14.2 | 10.7 | 2.5 | 8.3 | 0.6 | 8.3 | 4.5 | 17.2 | 44.5 | 20.5 | 18.5 | 2.9 | 3.7 | 27.9 | 33.8 | 13.6 |
| + NTK | 1.5 | 13.3 | 13.9 | 6.8 | 9.0 | 3.4 | 9.8 | 8.1 | 11.5 | 44.0 | 38.2 | 32.6 | 3.2 | 3.4 | 26.7 | 38.8 | 16.5 |
| + NTK + Log | 1.3 | 14.3 | 14.9 | 6.6 | 9.1 | 4.2 | 11.8 | 8.2 | 11.7 | 43.0 | 39.3 | 33.1 | 3.0 | 3.8 | 26.6 | 39.4 | 16.9 |
| SWA-4k-NoPE-HH | 2.7 | 14.7 | 15.9 | 7.4 | 10.1 | 4.2 | 15.9 | 18.7 | 17.9 | 51.5 | 57.3 | 34.6 | 2.6 | 3.5 | 27.1 | 35.1 | 20.0 |
| + Log (EME) | 2.6 | 14.9 | 15.8 | 7.6 | 9.8 | 4.2 | 18.5 | 16.7 | 18.2 | 52.5 | 56.1 | 36.2 | 2.9 | 4.0 | 27.3 | 35.7 | 20.2 |
| SWA-RoPE-HH | 1.7 | 13.2 | 12.4 | 4.8 | 8.4 | 2.9 | 10.2 | 17.4 | 13.1 | 36.0 | 35.8 | 30.8 | 2.9 | 3.2 | 24.7 | 35.4 | 15.8 |
| SWA-NoPE-HH | 2.4 | 16.5 | 15.9 | 7.4 | 10.7 | 5.3 | 13.1 | 19.5 | 15.5 | 56.0 | 52.0 | 30.8 | 2.6 | 4.3 | 31.6 | 41.6 | 20.3 |
| + Log | 2.7 | 16.1 | 16.4 | 7.3 | 10.8 | 5.6 | 14.6 | 19.5 | 15.3 | 54.5 | 53.6 | 32.8 | 2.7 | 3.7 | 31.4 | 40.3 | 20.5 |
| GLA-RoPE-HH | 1.5 | 12.6 | 12.7 | 5.3 | 8.6 | 3.1 | 9.0 | 16.8 | 8.1 | 43.0 | 31.3 | 29.8 | 2.5 | 2.1 | 25.3 | 34.1 | 15.4 |
| GLA-NoPE-HH | 1.2 | 11.9 | 10.2 | 2.9 | 4.3 | 1.1 | 11.1 | 8.9 | 19.0 | 42.5 | 24.0 | 17.9 | 0.1 | 0.4 | 24.4 | 34.5 | 13.4 |
| + Log | 1.1 | 12.0 | 9.8 | 3.3 | 4.7 | 1.1 | 11.7 | 8.1 | 18.8 | 40.5 | 23.2 | 17.6 | 0.2 | 1.0 | 24.4 | 34.3 | 13.2 |
| + wsz=4k | 2.6 | 13.9 | 15.4 | 5.0 | 6.6 | 3.4 | 17.4 | 13.0 | 19.3 | 48.5 | 52.8 | 32.2 | 1.7 | 2.1 | 24.6 | 33.2 | 18.2 |
| + EME | 2.5 | 13.5 | 16.0 | 4.3 | 6.4 | 3.4 | 17.7 | 11.4 | 19.4 | 49.0 | 54.0 | 32.1 | 1.8 | 3.2 | 24.8 | 33.0 | 18.3 |
| GDN-RoPE-HH | 1.8 | 13.1 | 12.4 | 6.7 | 9.5 | 3.8 | 6.4 | 17.5 | 7.3 | 41.0 | 45.8 | 32.8 | 2.3 | 4.0 | 25.4 | 33.5 | 16.5 |
| GDN-NoPE-HH | 0.6 | 14.5 | 9.8 | 1.5 | 6.6 | 0.7 | 7.1 | 5.2 | 21.8 | 55.0 | 15.7 | 16.2 | 0.4 | 2.2 | 26.5 | 27.5 | 13.2 |
| + Log | 0.6 | 14.3 | 10.0 | 2.2 | 6.9 | 0.9 | 7.6 | 5.2 | 22.1 | 51.5 | 18.1 | 17.1 | 0.4 | 2.0 | 26.5 | 27.4 | 13.3 |
| + wsz=4k | 1.3 | 13.2 | 10.9 | 2.8 | 6.4 | 0.6 | 9.0 | 12.1 | 22.1 | 61.5 | 37.1 | 21.7 | 2.9 | 3.0 | 26.5 | 31.8 | 16.4 |
| + EME | 1.1 | 13.3 | 10.9 | 2.1 | 6.5 | 0.4 | 9.4 | 11.8 | 22.0 | 64.5 | 37.7 | 20.0 | 2.3 | 4.0 | 26.4 | 31.5 | 16.5 |
Table 21 LongBench performance of 1B and 3B head-wise hybrid models after short-context pretraining.
| SD | MD | Sum | ICL | Syn | Code | Avg. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NQ | Qsp | MF | HG | WQ | Msq | GR | QS | MN | TR | TQ | SS | PC | PR | LCC | Re-P | ||
| 376M Long | |||||||||||||||||
| RoPE | 1.6 | 9.9 | 10.3 | 3.5 | 6.2 | 2.6 | 20.3 | 10.9 | 16.8 | 18.5 | 17.0 | 17.2 | 2.7 | 3.7 | 29.5 | 32.6 | 12.7 |
| RoPE-NoPE-LH | 1.5 | 12.7 | 12.4 | 3.8 | 7.4 | 3.0 | 19.5 | 10.7 | 18.9 | 38.0 | 19.8 | 9.6 | 3.2 | 3.7 | 27.8 | 31.8 | 14.0 |
| SWA-RoPE-LH | 1.6 | 9.4 | 11.2 | 4.6 | 7.6 | 3.1 | 14.5 | 8.1 | 15.3 | 40.0 | 17.3 | 16.7 | 3.4 | 3.2 | 34.9 | 36.8 | 14.2 |
| + DRoPE | 1.4 | 9.0 | 11.5 | 3.8 | 7.1 | 2.9 | 12.7 | 9.7 | 14.2 | 43.0 | 18.5 | 12.5 | 3.1 | 3.9 | 32.1 | 34.9 | 13.8 |
| SWA-NoPE-LH | 1.6 | 10.1 | 12.1 | 3.9 | 7.2 | 3.6 | 11.0 | 10.4 | 17.2 | 64.5 | 15.0 | 11.8 | 2.8 | 3.8 | 29.5 | 31.4 | 14.7 |
| GLA-RoPE-LH | 1.7 | 11.0 | 11.8 | 4.6 | 7.6 | 2.9 | 20.7 | 12.4 | 18.2 | 45.0 | 17.1 | 18.4 | 2.2 | 4.0 | 25.5 | 31.6 | 14.7 |
| + DRoPE | 1.5 | 9.3 | 11.4 | 4.3 | 8.5 | 2.6 | 18.3 | 11.8 | 17.6 | 37.5 | 18.9 | 15.9 | 2.3 | 3.4 | 24.4 | 30.2 | 13.6 |
| GLA-NoPE-LH | 1.9 | 10.8 | 13.9 | 4.0 | 8.3 | 3.2 | 21.5 | 13.0 | 17.0 | 49.5 | 21.3 | 16.3 | 2.4 | 4.7 | 30.8 | 35.7 | 15.9 |
| GDN-RoPE-LH | 1.7 | 10.4 | 13.8 | 4.6 | 6.9 | 3.1 | 19.0 | 9.2 | 17.5 | 45.0 | 22.6 | 20.4 | 3.1 | 3.4 | 28.0 | 33.7 | 15.2 |
| + DRoPE | 2.2 | 11.2 | 13.0 | 4.7 | 7.5 | 2.7 | 19.5 | 7.9 | 17.7 | 45.5 | 21.6 | 16.7 | 3.1 | 3.7 | 25.7 | 35.2 | 14.9 |
| GDN-NoPE-LH | 1.8 | 11.1 | 11.6 | 4.0 | 6.9 | 3.1 | 16.8 | 9.9 | 14.1 | 51.5 | 27.4 | 20.0 | 3.0 | 3.1 | 29.7 | 37.1 | 15.7 |
| 776M Long | |||||||||||||||||
| RoPE | 2.4 | 13.3 | 14.2 | 6.8 | 10.6 | 3.3 | 24.8 | 11.0 | 22.7 | 61.0 | 35.9 | 31.0 | 2.7 | 1.9 | 37.0 | 39.1 | 19.9 |
| RoPE-NoPE-LH | 2.2 | 13.9 | 13.8 | 6.2 | 9.9 | 3.4 | 25.5 | 15.0 | 25.2 | 52.0 | 45.0 | 29.2 | 1.5 | 3.0 | 34.3 | 40.7 | 20.0 |
| SWA-RoPE-LH | 2.0 | 13.0 | 12.3 | 5.0 | 9.7 | 3.8 | 14.6 | 10.3 | 20.4 | 42.5 | 33.7 | 28.3 | 2.9 | 2.3 | 36.1 | 36.6 | 17.1 |
| + DRoPE | 1.8 | 11.4 | 11.7 | 6.2 | 8.3 | 3.4 | 14.7 | 10.7 | 14.5 | 39.5 | 24.7 | 21.1 | 3.2 | 4.1 | 33.4 | 35.6 | 15.3 |
| SWA-NoPE-LH | 2.1 | 12.1 | 12.6 | 5.7 | 8.4 | 4.6 | 14.2 | 9.5 | 21.2 | 45.5 | 27.0 | 24.1 | 3.2 | 2.1 | 36.0 | 34.7 | 16.4 |
| GLA-RoPE-LH | 1.9 | 12.5 | 15.0 | 6.3 | 8.3 | 4.1 | 23.0 | 12.5 | 23.0 | 50.5 | 41.3 | 29.5 | 2.6 | 3.6 | 36.4 | 40.3 | 19.4 |
| + DRoPE | 1.9 | 12.1 | 14.7 | 6.5 | 8.5 | 3.8 | 27.4 | 11.2 | 22.6 | 50.0 | 38.6 | 28.1 | 2.9 | 3.5 | 36.3 | 40.8 | 19.3 |
| GLA-NoPE-LH | 2.1 | 12.1 | 14.2 | 6.1 | 8.5 | 4.1 | 24.6 | 13.3 | 20.4 | 43.0 | 43.5 | 26.7 | 2.7 | 3.0 | 41.6 | 39.6 | 19.1 |
| GDN-RoPE-LH | 1.8 | 12.7 | 14.4 | 6.2 | 9.6 | 4.2 | 21.7 | 11.0 | 21.4 | 59.5 | 39.9 | 33.2 | 3.3 | 1.0 | 33.5 | 37.9 | 19.5 |
| + DRoPE | 1.8 | 11.7 | 14.5 | 6.6 | 10.2 | 3.4 | 21.2 | 9.7 | 22.1 | 66.0 | 39.3 | 29.5 | 3.0 | 2.6 | 35.2 | 39.2 | 19.7 |
| GDN-NoPE-LH | 2.2 | 14.0 | 15.6 | 6.9 | 10.6 | 3.9 | 23.9 | 15.6 | 22.5 | 41.5 | 41.0 | 28.8 | 3.1 | 2.8 | 37.2 | 39.5 | 19.3 |
| 1B Long | |||||||||||||||||
| RoPE | 2.6 | 14.0 | 15.0 | 6.2 | 9.9 | 4.2 | 25.5 | 15.3 | 21.6 | 59.5 | 46.3 | 35.2 | 2.6 | 4.0 | 35.6 | 38.6 | 21.0 |
| RoPE-NoPE-LH | 2.6 | 16.2 | 17.1 | 6.6 | 10.6 | 4.2 | 26.7 | 10.1 | 22.4 | 61.0 | 50.9 | 33.9 | 3.2 | 0.9 | 37.4 | 41.9 | 21.6 |
| SWA-RoPE-LH | 2.3 | 15.8 | 16.1 | 7.0 | 9.3 | 3.8 | 21.7 | 10.4 | 23.4 | 48.5 | 47.2 | 34.2 | 3.0 | 2.8 | 43.0 | 42.6 | 20.7 |
| + DRoPE | 2.1 | 14.7 | 14.5 | 7.1 | 10.8 | 4.4 | 18.3 | 11.4 | 22.2 | 42.5 | 39.3 | 28.8 | 3.2 | 2.7 | 41.1 | 40.7 | 19.0 |
| SWA-NoPE-LH | 2.5 | 15.5 | 15.6 | 6.4 | 10.5 | 4.4 | 18.7 | 15.4 | 20.9 | 40.5 | 41.5 | 29.9 | 3.2 | 3.1 | 43.1 | 41.8 | 19.6 |
| GLA-RoPE-LH | 2.3 | 14.4 | 16.2 | 6.7 | 11.0 | 4.4 | 23.9 | 14.8 | 21.8 | 53.0 | 41.4 | 33.2 | 2.7 | 4.4 | 36.9 | 42.5 | 20.6 |
| + DRoPE | 2.5 | 15.9 | 17.1 | 6.8 | 10.3 | 3.7 | 24.8 | 18.0 | 24.0 | 55.0 | 44.7 | 30.8 | 2.7 | 3.9 | 33.8 | 38.6 | 20.8 |
| GLA-NoPE-LH | 2.4 | 15.1 | 15.6 | 7.0 | 10.4 | 5.0 | 24.8 | 16.5 | 24.8 | 56.0 | 51.8 | 30.8 | 0.9 | 3.8 | 39.0 | 42.4 | 21.6 |
| GDN-RoPE-LH | 2.2 | 15.2 | 14.4 | 7.1 | 10.4 | 4.3 | 21.5 | 16.7 | 23.5 | 58.5 | 51.9 | 34.9 | 3.2 | 3.7 | 33.8 | 37.7 | 21.2 |
| + DRoPE | 2.3 | 16.1 | 16.4 | 7.5 | 10.6 | 5.0 | 22.7 | 16.2 | 24.7 | 67.0 | 47.2 | 33.2 | 3.2 | 1.8 | 36.1 | 37.6 | 21.7 |
| GDN-NoPE-LH | 2.5 | 15.3 | 17.7 | 7.5 | 9.4 | 5.3 | 22.1 | 16.2 | 22.1 | 55.0 | 52.9 | 34.0 | 3.2 | 3.0 | 39.5 | 40.9 | 21.6 |
| 3B Long | |||||||||||||||||
| RoPE | 2.8 | 18.0 | 17.8 | 7.6 | 9.7 | 4.9 | 26.7 | 19.8 | 23.3 | 59.5 | 54.6 | 35.8 | 3.3 | 4.5 | 37.5 | 40.7 | 22.9 |
| RoPE-NoPE-LH | 2.8 | 18.5 | 19.7 | 7.7 | 10.4 | 4.3 | 25.8 | 17.0 | 23.5 | 64.5 | 61.0 | 37.9 | 2.9 | 4.4 | 44.0 | 43.3 | 24.2 |
| SWA-RoPE-LH | 2.7 | 17.0 | 17.6 | 7.6 | 9.8 | 5.2 | 24.2 | 17.3 | 22.3 | 62.5 | 54.8 | 38.9 | 3.2 | 4.6 | 43.8 | 43.6 | 23.4 |
| + DRoPE | 2.5 | 17.6 | 17.4 | 8.4 | 10.0 | 5.7 | 20.5 | 17.4 | 25.4 | 57.5 | 54.2 | 34.7 | 3.2 | 4.0 | 44.9 | 42.4 | 22.9 |
| SWA-NoPE-LH | 2.7 | 16.2 | 18.3 | 7.5 | 9.6 | 5.8 | 21.8 | 18.8 | 25.7 | 62.5 | 64.0 | 33.0 | 2.1 | 3.7 | 45.2 | 43.1 | 23.7 |
| GLA-RoPE-LH | 2.8 | 17.1 | 18.0 | 7.9 | 10.9 | 4.8 | 25.3 | 19.1 | 26.0 | 67.5 | 66.3 | 38.4 | 3.2 | 2.8 | 44.3 | 44.6 | 24.9 |
| + DRoPE | 2.8 | 17.4 | 18.2 | 8.5 | 10.7 | 4.9 | 27.8 | 20.1 | 26.3 | 65.0 | 64.5 | 37.3 | 3.2 | 3.6 | 44.2 | 43.1 | 24.8 |
| GLA-NoPE-LH | 2.7 | 16.9 | 18.3 | 8.4 | 10.4 | 5.8 | 28.4 | 19.0 | 26.0 | 68.0 | 67.0 | 36.5 | 3.0 | 4.9 | 43.5 | 43.7 | 25.2 |
| GDN-RoPE-LH | 2.8 | 14.8 | 17.8 | 8.4 | 10.9 | 5.2 | 21.5 | 18.0 | 25.5 | 57.0 | 62.8 | 39.1 | 3.2 | 3.7 | 48.3 | 45.2 | 24.0 |
| + DRoPE | 2.5 | 16.0 | 19.1 | 7.5 | 10.6 | 4.8 | 25.9 | 18.7 | 22.8 | 65.5 | 65.0 | 37.0 | 3.2 | 3.3 | 46.3 | 43.8 | 24.5 |
| GDN-NoPE-LH | 2.6 | 16.7 | 19.0 | 8.6 | 10.9 | 4.7 | 26.7 | 18.3 | 23.7 | 70.0 | 61.5 | 38.9 | 2.6 | 3.4 | 46.1 | 45.1 | 24.9 |
Table 22 LongBench performance of layer-wise hybrid models after long-context continual pretraining.
| SD | MD | Sum | ICL | Syn | Code | Avg. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NQ | Qsp | MF | HG | WQ | Msq | GR | QS | MN | TR | TQ | SS | PC | PR | LCC | Re-P | ||
| 376M Long | |||||||||||||||||
| RoPE | 1.6 | 9.9 | 10.3 | 3.5 | 6.2 | 2.6 | 20.3 | 10.9 | 16.8 | 18.5 | 17.0 | 17.2 | 2.7 | 3.7 | 29.5 | 32.6 | 12.7 |
| RoPE-NoPE-HH | 2.7 | 9.8 | 12.3 | 4.0 | 7.4 | 2.6 | 22.6 | 9.1 | 21.7 | 31.0 | 18.2 | 14.5 | 2.4 | 3.8 | 29.2 | 32.4 | 14.0 |
| SWA-RoPE-HH | 1.9 | 11.3 | 12.9 | 3.8 | 6.3 | 3.2 | 18.2 | 13.8 | 16.5 | 23.0 | 17.0 | 15.1 | 3.0 | 3.4 | 29.6 | 35.0 | 13.4 |
| + DRoPE | 1.7 | 9.5 | 12.7 | 4.1 | 6.3 | 3.1 | 18.6 | 12.8 | 17.0 | 26.0 | 15.8 | 13.3 | 3.1 | 2.9 | 34.3 | 35.9 | 13.6 |
| SWA-NoPE-HH | 1.7 | 10.4 | 13.8 | 3.8 | 8.1 | 2.9 | 18.8 | 9.6 | 16.6 | 62.0 | 18.7 | 16.2 | 3.2 | 4.0 | 36.7 | 34.1 | 16.3 |
| GLA-RoPE-HH | 1.7 | 9.5 | 13.2 | 4.3 | 8.7 | 2.6 | 20.3 | 12.5 | 18.9 | 43.0 | 19.3 | 19.4 | 1.9 | 2.8 | 27.3 | 33.0 | 14.9 |
| + DRoPE | 1.8 | 10.0 | 12.9 | 4.9 | 8.6 | 2.8 | 19.7 | 12.2 | 16.5 | 43.5 | 18.5 | 18.6 | 1.3 | 3.1 | 29.9 | 32.7 | 14.8 |
| GLA-NoPE-HH | 1.7 | 10.4 | 13.3 | 4.3 | 6.7 | 3.1 | 20.1 | 11.8 | 19.0 | 36.5 | 26.7 | 21.4 | 2.4 | 3.9 | 31.8 | 34.9 | 15.5 |
| GDN-RoPE-HH | 1.7 | 8.1 | 12.1 | 4.8 | 6.5 | 2.5 | 17.4 | 11.3 | 19.6 | 26.0 | 23.4 | 20.7 | 1.8 | 3.7 | 25.5 | 33.0 | 13.6 |
| + DRoPE | 1.9 | 10.4 | 11.0 | 4.0 | 7.0 | 3.2 | 19.3 | 10.3 | 18.1 | 39.0 | 21.5 | 17.6 | 1.5 | 3.7 | 24.4 | 34.2 | 14.2 |
| GDN-NoPE-HH | 1.7 | 9.8 | 11.5 | 4.3 | 6.7 | 3.0 | 15.4 | 9.6 | 17.0 | 44.5 | 19.2 | 18.3 | 3.2 | 3.8 | 27.9 | 35.4 | 14.4 |
| 776M Long | |||||||||||||||||
| RoPE | 2.4 | 13.3 | 14.2 | 6.8 | 10.6 | 3.3 | 24.8 | 11.0 | 22.7 | 61.0 | 35.9 | 31.0 | 2.7 | 1.9 | 37.0 | 39.1 | 19.9 |
| RoPE-NoPE-HH | 2.1 | 12.8 | 16.4 | 5.8 | 9.5 | 3.7 | 25.4 | 13.1 | 21.6 | 41.0 | 33.7 | 28.1 | 3.0 | 4.2 | 33.0 | 38.1 | 18.2 |
| SWA-RoPE-HH | 2.2 | 12.7 | 14.6 | 6.2 | 8.8 | 3.7 | 21.3 | 12.6 | 22.7 | 49.5 | 38.0 | 28.9 | 1.6 | 2.7 | 40.6 | 39.1 | 19.1 |
| + DRoPE | 2.1 | 11.7 | 13.9 | 5.8 | 9.6 | 3.7 | 22.8 | 13.7 | 21.4 | 48.0 | 29.8 | 24.5 | 3.1 | 3.7 | 40.8 | 36.7 | 18.2 |
| SWA-NoPE-HH | 2.3 | 12.2 | 14.9 | 6.5 | 9.8 | 4.5 | 24.1 | 12.0 | 24.2 | 53.5 | 37.4 | 25.9 | 1.8 | 2.2 | 37.8 | 38.0 | 19.2 |
| GLA-RoPE-HH | 2.1 | 14.8 | 14.8 | 6.5 | 8.2 | 4.1 | 21.3 | 16.3 | 19.4 | 44.0 | 33.6 | 29.3 | 3.3 | 3.7 | 32.6 | 38.3 | 18.3 |
| + DRoPE | 2.0 | 13.6 | 14.0 | 6.4 | 9.4 | 3.6 | 23.8 | 16.8 | 20.2 | 42.5 | 34.3 | 27.6 | 3.2 | 4.2 | 32.7 | 37.3 | 18.2 |
| GLA-NoPE-HH | 2.4 | 13.4 | 16.2 | 6.0 | 9.5 | 4.7 | 23.1 | 14.2 | 21.1 | 37.0 | 44.0 | 31.6 | 3.0 | 4.4 | 35.7 | 38.7 | 19.1 |
| GDN-RoPE-HH | 2.1 | 13.6 | 16.1 | 6.4 | 8.5 | 3.6 | 23.7 | 14.4 | 21.9 | 49.5 | 35.2 | 30.8 | 2.0 | 2.7 | 30.5 | 36.7 | 18.6 |
| + DRoPE | 2.2 | 13.2 | 15.7 | 6.5 | 9.7 | 3.7 | 19.7 | 15.1 | 20.0 | 39.5 | 32.0 | 28.1 | 3.4 | 3.0 | 31.9 | 37.4 | 17.6 |
| GDN-NoPE-HH | 2.0 | 12.8 | 15.6 | 5.7 | 9.0 | 3.2 | 26.0 | 10.4 | 23.7 | 41.0 | 39.1 | 28.3 | 3.2 | 3.4 | 39.2 | 39.5 | 18.9 |
| 1B Long | |||||||||||||||||
| RoPE | 2.6 | 14.0 | 15.0 | 6.2 | 9.9 | 4.2 | 25.5 | 15.3 | 21.6 | 59.5 | 46.3 | 35.2 | 2.6 | 4.0 | 35.6 | 38.6 | 21.0 |
| RoPE-NoPE-HH | 2.6 | 14.8 | 17.4 | 6.6 | 10.0 | 4.7 | 24.4 | 17.8 | 21.8 | 47.5 | 51.9 | 32.7 | 3.0 | 3.5 | 36.3 | 40.7 | 21.0 |
| SWA-RoPE-HH | 2.3 | 14.8 | 15.1 | 6.9 | 9.8 | 4.7 | 23.5 | 16.8 | 21.2 | 61.5 | 49.3 | 34.9 | 3.0 | 3.6 | 42.6 | 41.5 | 22.0 |
| + DRoPE | 2.4 | 12.2 | 14.5 | 7.2 | 9.5 | 4.8 | 23.6 | 15.8 | 22.6 | 64.0 | 47.5 | 31.3 | 2.4 | 3.4 | 41.8 | 39.9 | 21.4 |
| SWA-NoPE-HH | 2.4 | 15.7 | 16.9 | 7.2 | 11.4 | 5.0 | 24.6 | 9.7 | 24.8 | 60.0 | 48.6 | 31.5 | 3.0 | 3.7 | 39.2 | 41.3 | 21.6 |
| GLA-RoPE-HH | 2.4 | 15.3 | 15.1 | 7.9 | 10.1 | 4.5 | 25.5 | 15.6 | 22.5 | 53.5 | 51.6 | 33.6 | 3.1 | 2.8 | 34.0 | 38.5 | 21.0 |
| + DRoPE | 2.4 | 14.7 | 16.5 | 7.8 | 11.2 | 4.3 | 26.1 | 15.1 | 22.7 | 57.5 | 52.9 | 30.0 | 3.1 | 3.1 | 34.3 | 35.8 | 21.1 |
| GLA-NoPE-HH | 2.6 | 15.1 | 17.8 | 7.2 | 9.6 | 4.6 | 28.4 | 17.1 | 23.9 | 52.5 | 50.9 | 34.6 | 2.8 | 2.1 | 40.6 | 43.5 | 22.1 |
| GDN-RoPE-HH | 2.5 | 15.9 | 17.2 | 7.7 | 9.9 | 4.5 | 24.0 | 15.6 | 24.8 | 57.5 | 49.1 | 34.4 | 2.5 | 3.7 | 40.3 | 42.8 | 22.0 |
| + DRoPE | 2.2 | 14.5 | 16.7 | 6.8 | 9.7 | 3.9 | 27.4 | 14.7 | 24.6 | 57.0 | 49.5 | 32.1 | 2.5 | 4.3 | 42.5 | 42.4 | 21.9 |
| GDN-NoPE-HH | 2.7 | 15.7 | 16.2 | 6.7 | 11.4 | 4.7 | 26.6 | 14.1 | 23.6 | 57.5 | 47.6 | 33.5 | 1.9 | 3.2 | 36.9 | 41.3 | 21.5 |
| 3B Long | |||||||||||||||||
| RoPE | 2.8 | 18.0 | 17.8 | 7.6 | 9.7 | 4.9 | 26.7 | 19.8 | 23.3 | 59.5 | 54.6 | 35.8 | 3.3 | 4.5 | 37.5 | 40.7 | 22.9 |
| RoPE-NoPE-HH | 2.8 | 16.5 | 17.8 | 8.3 | 10.1 | 5.1 | 26.9 | 18.2 | 21.7 | 66.0 | 66.5 | 36.7 | 3.2 | 3.4 | 32.8 | 42.2 | 23.6 |
| SWA-RoPE-HH | 2.6 | 16.5 | 19.3 | 8.0 | 10.7 | 5.9 | 27.3 | 19.8 | 23.5 | 62.5 | 58.1 | 39.1 | 1.9 | 4.0 | 40.2 | 41.8 | 23.8 |
| + DRoPE | 2.4 | 16.5 | 16.8 | 8.4 | 10.1 | 6.5 | 27.1 | 19.6 | 22.4 | 62.0 | 61.1 | 36.3 | 3.1 | 4.2 | 45.6 | 44.8 | 24.2 |
| SWA-NoPE-HH | 2.8 | 16.8 | 18.4 | 7.5 | 11.5 | 5.3 | 27.0 | 17.8 | 25.3 | 68.0 | 56.3 | 34.6 | 1.7 | 4.4 | 48.7 | 44.6 | 24.4 |
| GLA-RoPE-HH | 2.7 | 17.5 | 17.4 | 8.8 | 10.1 | 5.9 | 26.0 | 18.6 | 24.2 | 61.5 | 64.6 | 38.8 | 3.2 | 2.9 | 39.5 | 43.6 | 24.1 |
| + DRoPE | 2.6 | 16.0 | 17.4 | 7.9 | 10.8 | 5.4 | 24.7 | 17.8 | 19.5 | 67.0 | 62.4 | 37.7 | 3.2 | 3.9 | 39.7 | 41.8 | 23.6 |
| GLA-NoPE-HH | 2.7 | 14.9 | 19.6 | 7.8 | 10.9 | 5.6 | 27.5 | 19.8 | 26.4 | 60.5 | 66.0 | 37.0 | 1.4 | 3.9 | 39.2 | 42.7 | 24.1 |
| GDN-RoPE-HH | 3.0 | 17.3 | 16.8 | 8.4 | 10.0 | 5.5 | 28.2 | 19.5 | 24.1 | 58.5 | 64.3 | 37.4 | 3.2 | 4.1 | 41.2 | 44.0 | 24.1 |
| + DRoPE | 2.8 | 16.9 | 17.7 | 8.2 | 10.8 | 5.4 | 28.2 | 16.6 | 23.6 | 62.0 | 61.9 | 35.8 | 3.1 | 4.5 | 43.9 | 44.1 | 24.1 |
| GDN-NoPE-HH | 2.6 | 16.1 | 19.0 | 8.2 | 9.9 | 4.6 | 24.4 | 20.0 | 27.1 | 65.0 | 64.7 | 38.1 | 2.6 | 4.0 | 45.1 | 43.9 | 24.7 |
Table 23 LongBench performance of head-wise hybrid models after long-context continual pretraining.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 376M Short | |||||||||||||||||
| RoPE | 25.8 | 0.0 | 0.0 | 0.0 | 0.0 | 21.7 | 17.8 | 8.0 | 0.4 | 0.0 | 0.0 | 0.0 | 5.2 | 6.8 | 18.3 | 0.1 | 6.1 |
| RoPE-NoPE-LH | 28.3 | 0.1 | 0.0 | 0.0 | 0.0 | 41.2 | 27.1 | 24.8 | 0.4 | 0.1 | 0.0 | 0.0 | 5.7 | 13.4 | 30.3 | 0.1 | 10.2 |
| SWA-NoPE-LH | 23.2 | 16.0 | 14.0 | 13.2 | 10.5 | 31.8 | 26.1 | 21.8 | 15.8 | 14.7 | 12.0 | 10.6 | 15.4 | 19.0 | 25.7 | 13.4 | 17.5 |
| GLA-NoPE-LH | 21.0 | 3.8 | 1.5 | 2.3 | 2.2 | 41.5 | 36.4 | 33.5 | 20.9 | 16.3 | 16.4 | 17.0 | 6.2 | 26.0 | 33.1 | 10.1 | 17.7 |
| GDN-NoPE-LH | 26.0 | 16.5 | 5.1 | 1.5 | 0.7 | 35.4 | 28.7 | 22.7 | 18.4 | 12.5 | 10.3 | 9.9 | 10.0 | 19.7 | 28.2 | 9.4 | 15.6 |
| 376M Short + Log | |||||||||||||||||
| SWA-NoPE-LH | 23.2 | 17.8 | 19.4 | 17.6 | 16.9 | 31.8 | 26.1 | 21.8 | 17.4 | 17.9 | 16.7 | 13.6 | 19.0 | 20.8 | 25.7 | 17.2 | 20.0 |
| GLA-NoPE-LH | 20.9 | 6.7 | 1.6 | 2.0 | 1.8 | 41.5 | 36.4 | 33.5 | 23.4 | 16.9 | 17.1 | 17.8 | 6.6 | 26.7 | 33.1 | 10.9 | 18.3 |
| GDN-NoPE-LH | 26.0 | 17.5 | 12.1 | 2.3 | 1.7 | 35.4 | 28.7 | 22.7 | 19.0 | 12.7 | 10.8 | 8.7 | 11.9 | 19.7 | 28.2 | 10.6 | 16.5 |
| 376M Long | |||||||||||||||||
| RoPE | 31.8 | 26.0 | 24.9 | 10.6 | 2.4 | 30.1 | 25.0 | 21.7 | 19.1 | 10.8 | 5.0 | 2.6 | 19.2 | 16.3 | 27.2 | 12.7 | 17.5 |
| RoPE-NoPE-LH | 39.7 | 33.8 | 24.4 | 18.6 | 1.1 | 43.8 | 34.7 | 32.1 | 31.0 | 29.0 | 15.4 | 9.1 | 23.5 | 27.9 | 37.6 | 20.3 | 26.1 |
| SWA-NoPE-LH | 32.8 | 25.2 | 23.3 | 20.1 | 17.6 | 28.5 | 29.3 | 25.7 | 19.7 | 16.5 | 9.7 | 10.1 | 23.8 | 19.9 | 29.1 | 17.8 | 21.5 |
| GLA-NoPE-LH | 34.7 | 32.0 | 29.2 | 19.1 | 10.3 | 38.3 | 36.8 | 35.0 | 34.3 | 32.5 | 29.5 | 22.1 | 25.1 | 32.6 | 36.2 | 26.1 | 29.5 |
| GDN-NoPE-LH | 34.3 | 28.3 | 25.5 | 20.8 | 17.6 | 35.0 | 30.3 | 27.6 | 24.5 | 23.5 | 22.4 | 19.5 | 25.3 | 26.1 | 31.8 | 22.8 | 25.8 |
| 776m Short | |||||||||||||||||
| RoPE | 34.9 | 0.5 | 0.0 | 0.0 | 0.0 | 43.9 | 39.8 | 26.5 | 1.6 | 0.7 | 0.1 | 0.0 | 7.1 | 16.1 | 36.3 | 0.4 | 12.3 |
| RoPE-NoPE-LH | 35.9 | 0.5 | 0.1 | 0.1 | 0.1 | 42.9 | 32.6 | 31.7 | 4.7 | 1.2 | 0.3 | 0.0 | 7.3 | 16.2 | 35.8 | 0.9 | 12.5 |
| SWA-NoPE-LH | 31.6 | 28.1 | 25.0 | 19.7 | 15.5 | 46.9 | 39.8 | 34.1 | 29.5 | 25.5 | 20.8 | 18.8 | 24.0 | 30.8 | 38.1 | 22.9 | 27.9 |
| GLA-NoPE-LH | 37.5 | 30.9 | 12.0 | 3.0 | 2.7 | 48.2 | 32.2 | 26.3 | 20.0 | 12.5 | 10.3 | 10.8 | 17.2 | 22.9 | 36.1 | 12.8 | 20.5 |
| GDN-NoPE-LH | 34.1 | 24.7 | 14.1 | 9.8 | 5.4 | 40.7 | 38.1 | 32.5 | 25.5 | 22.1 | 21.0 | 19.7 | 17.6 | 28.5 | 36.4 | 17.8 | 24.0 |
| 776m Short + Log | |||||||||||||||||
| SWA-NoPE-LH | 31.5 | 29.6 | 26.9 | 24.7 | 20.9 | 47.0 | 39.6 | 34.1 | 31.8 | 30.4 | 28.1 | 22.2 | 26.7 | 33.3 | 38.1 | 26.8 | 30.6 |
| GLA-NoPE-LH | 37.5 | 32.2 | 20.0 | 7.6 | 4.4 | 48.2 | 32.3 | 26.3 | 19.9 | 13.2 | 10.4 | 7.8 | 20.3 | 22.6 | 36.1 | 14.4 | 21.7 |
| GDN-NoPE-LH | 34.0 | 26.4 | 16.9 | 13.4 | 9.9 | 40.5 | 38.0 | 32.6 | 26.5 | 23.0 | 23.7 | 22.0 | 20.1 | 29.5 | 36.3 | 20.2 | 25.6 |
| 776m Long | |||||||||||||||||
| RoPE | 39.4 | 37.6 | 37.3 | 35.5 | 20.5 | 44.3 | 40.2 | 39.8 | 36.9 | 32.8 | 24.8 | 22.6 | 34.1 | 34.5 | 40.9 | 31.0 | 34.3 |
| RoPE-NoPE-LH | 38.2 | 37.0 | 36.7 | 33.3 | 17.4 | 43.2 | 38.0 | 37.4 | 37.5 | 33.1 | 27.4 | 19.5 | 32.5 | 33.7 | 39.2 | 30.2 | 33.2 |
| SWA-NoPE-LH | 33.2 | 30.8 | 31.5 | 23.8 | 16.9 | 46.7 | 40.4 | 38.2 | 32.7 | 27.9 | 23.1 | 22.0 | 27.2 | 33.0 | 39.6 | 26.1 | 30.6 |
| GLA-NoPE-LH | 47.0 | 43.0 | 42.4 | 40.0 | 30.0 | 43.7 | 38.9 | 35.3 | 30.9 | 29.9 | 29.0 | 22.8 | 40.5 | 32.9 | 41.2 | 33.5 | 36.1 |
| GDN-NoPE-LH | 37.4 | 35.5 | 34.5 | 27.0 | 16.3 | 42.8 | 38.6 | 35.3 | 33.0 | 28.6 | 26.9 | 21.2 | 30.2 | 32.3 | 38.5 | 27.9 | 31.4 |
Table 24 Long-context performance of layer-wise hybrid models under the YOCO-like layout.
| RULER | BABILong | Average | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4k | 8k | 16k | 32k | 64k | 0k | 2k | 4k | 8k | 16k | 32k | 64k | RU. | BA | ≤4k | >4k | All | |
| 376M Short | |||||||||||||||||
| SWA-NoPE-LH | 29.1 | 23.5 | 19.3 | 11.0 | 9.2 | 31.0 | 27.2 | 23.9 | 20.7 | 17.1 | 12.9 | 12.6 | 18.4 | 20.8 | 27.8 | 15.8 | 19.8 |
| + base=5000 | 27.9 | 19.6 | 12.7 | 8.0 | 7.0 | 40.7 | 34.5 | 32.1 | 27.5 | 24.0 | 15.9 | 14.2 | 15.0 | 27.0 | 33.8 | 16.1 | 22.0 |
| + base=2500 | 28.5 | 16.2 | 11.4 | 9.1 | 7.7 | 45.7 | 33.8 | 28.0 | 24.0 | 17.2 | 11.3 | 14.6 | 14.6 | 24.9 | 34.0 | 13.9 | 20.6 |
| + base=1000 | 28.7 | 21.9 | 15.5 | 10.9 | 7.7 | 32.6 | 32.0 | 28.8 | 25.4 | 21.2 | 13.1 | 11.4 | 16.9 | 23.5 | 30.5 | 15.9 | 20.8 |
| + base=500 | 25.6 | 21.1 | 17.5 | 10.7 | 7.3 | 32.4 | 35.0 | 30.6 | 26.3 | 20.8 | 14.8 | 14.4 | 16.4 | 24.9 | 30.9 | 16.6 | 21.4 |
| + base=250 | 22.7 | 18.7 | 10.4 | 5.0 | 4.1 | 42.0 | 36.7 | 32.9 | 28.5 | 21.6 | 16.5 | 13.4 | 12.2 | 27.4 | 33.6 | 14.8 | 21.0 |
| + base=100 | 32.2 | 29.3 | 23.5 | 10.0 | 8.8 | 37.0 | 35.9 | 34.2 | 28.4 | 24.1 | 19.4 | 15.1 | 20.7 | 27.7 | 34.8 | 19.8 | 24.8 |
| 376M Short + Log | |||||||||||||||||
| SWA-NoPE-LH | 29.1 | 24.2 | 22.5 | 24.9 | 19.4 | 31.4 | 27.2 | 23.9 | 23.4 | 22.0 | 19.3 | 19.0 | 24.0 | 23.7 | 27.9 | 21.8 | 23.9 |
| + base=5000 | 27.9 | 21.9 | 21.7 | 19.4 | 16.0 | 40.8 | 34.5 | 32.1 | 29.6 | 29.0 | 24.5 | 22.8 | 21.4 | 30.5 | 33.8 | 23.1 | 26.7 |
| + base=2500 | 28.5 | 21.5 | 20.8 | 18.6 | 15.9 | 45.7 | 33.8 | 28.0 | 27.5 | 24.6 | 22.7 | 20.6 | 21.0 | 29.0 | 34.0 | 21.5 | 25.7 |
| + base=1000 | 28.7 | 25.4 | 25.9 | 22.4 | 22.6 | 32.8 | 32.0 | 28.8 | 25.9 | 25.0 | 25.0 | 22.2 | 25.0 | 27.4 | 30.6 | 24.3 | 26.4 |
| + base=500 | 25.6 | 23.7 | 23.6 | 20.5 | 19.4 | 32.4 | 35.0 | 30.6 | 28.8 | 29.4 | 25.2 | 23.9 | 22.6 | 29.3 | 30.9 | 24.3 | 26.5 |
| + base=250 | 22.7 | 22.8 | 22.8 | 19.9 | 15.8 | 41.8 | 36.7 | 32.9 | 30.5 | 27.5 | 25.1 | 24.2 | 20.8 | 31.2 | 33.5 | 23.6 | 26.9 |
| + base=100 | 32.1 | 31.2 | 30.6 | 30.6 | 29.1 | 37.0 | 35.9 | 34.2 | 30.9 | 30.3 | 27.5 | 26.0 | 30.7 | 31.7 | 34.8 | 29.5 | 31.3 |
| 376M Long | |||||||||||||||||
| SWA-NoPE-LH | 35.4 | 28.1 | 26.8 | 22.2 | 17.1 | 35.3 | 30.6 | 29.2 | 28.0 | 24.4 | 20.7 | 17.3 | 25.9 | 26.5 | 32.6 | 23.1 | 26.3 |
| + base=5000 | 30.8 | 23.3 | 18.4 | 14.3 | 7.3 | 40.0 | 36.8 | 33.8 | 31.7 | 26.9 | 22.9 | 15.9 | 18.8 | 29.7 | 35.3 | 20.1 | 25.2 |
| + base=2500 | 34.6 | 27.6 | 25.1 | 20.0 | 10.7 | 39.4 | 33.9 | 32.8 | 29.1 | 22.5 | 17.6 | 13.3 | 23.6 | 26.9 | 35.2 | 20.7 | 25.5 |
| + base=1000 | 34.9 | 28.9 | 25.6 | 14.1 | 9.8 | 33.5 | 30.3 | 27.6 | 25.8 | 22.4 | 19.0 | 13.2 | 22.7 | 24.5 | 31.6 | 19.8 | 23.8 |
| + base=500 | 28.0 | 23.1 | 22.2 | 18.4 | 14.9 | 35.1 | 39.9 | 35.9 | 33.1 | 25.6 | 20.8 | 16.1 | 21.3 | 29.5 | 34.7 | 21.8 | 26.1 |
| + base=250 | 30.2 | 27.3 | 26.8 | 23.3 | 14.9 | 40.4 | 35.4 | 32.7 | 31.0 | 27.9 | 19.8 | 16.8 | 24.5 | 29.1 | 34.7 | 23.5 | 27.2 |
| + base=100 | 32.1 | 31.8 | 29.1 | 26.3 | 16.6 | 39.8 | 40.9 | 37.4 | 32.3 | 29.0 | 24.5 | 20.2 | 27.2 | 32.0 | 37.6 | 26.2 | 30.0 |
| 776M Short | |||||||||||||||||
| SWA-NoPE-LH | 34.9 | 29.4 | 23.2 | 11.7 | 9.9 | 35.3 | 33.6 | 30.5 | 28.2 | 23.4 | 20.5 | 16.8 | 21.8 | 26.9 | 33.6 | 20.4 | 24.8 |
| + base=5000 | 36.1 | 27.4 | 17.8 | 9.8 | 6.9 | 37.6 | 39.8 | 36.3 | 29.5 | 23.3 | 20.1 | 16.3 | 19.6 | 29.0 | 37.5 | 18.9 | 25.1 |
| + base=2500 | 32.1 | 27.7 | 19.1 | 10.7 | 8.4 | 37.5 | 37.3 | 33.4 | 25.3 | 27.1 | 21.3 | 17.7 | 19.6 | 28.5 | 35.1 | 19.7 | 24.8 |
| + base=1000 | 33.4 | 29.3 | 24.1 | 12.7 | 9.6 | 52.0 | 44.5 | 38.5 | 29.7 | 22.7 | 20.0 | 18.1 | 21.8 | 32.2 | 42.1 | 20.8 | 27.9 |
| + base=500 | 33.6 | 29.3 | 27.3 | 20.5 | 10.1 | 43.1 | 40.2 | 32.2 | 26.9 | 22.3 | 18.6 | 17.4 | 24.2 | 28.7 | 37.3 | 21.6 | 26.8 |
| + base=250 | 33.7 | 29.1 | 24.2 | 15.8 | 10.4 | 42.3 | 33.6 | 28.7 | 23.6 | 20.4 | 18.8 | 15.5 | 22.6 | 26.1 | 34.6 | 19.7 | 24.7 |
| + base=100 | 33.1 | 29.6 | 22.1 | 11.1 | 9.2 | 42.0 | 35.0 | 32.0 | 27.2 | 26.2 | 21.5 | 16.6 | 21.0 | 28.6 | 35.5 | 20.4 | 25.5 |
| 776m Short + Log | |||||||||||||||||
| SWA-NoPE-LH | 34.8 | 32.5 | 31.7 | 26.6 | 25.2 | 35.3 | 33.7 | 30.5 | 30.6 | 26.9 | 24.7 | 24.2 | 30.2 | 29.4 | 33.6 | 27.8 | 29.7 |
| + base=5000 | 36.1 | 31.7 | 32.8 | 26.3 | 25.6 | 37.7 | 39.9 | 36.3 | 33.0 | 31.0 | 28.0 | 25.4 | 30.5 | 33.0 | 37.5 | 29.2 | 32.0 |
| + base=2500 | 32.2 | 30.5 | 31.1 | 27.9 | 26.4 | 37.3 | 37.2 | 33.4 | 27.7 | 28.7 | 23.1 | 20.4 | 29.6 | 29.7 | 35.0 | 27.0 | 29.7 |
| + base=1000 | 33.5 | 30.9 | 29.7 | 27.6 | 27.3 | 52.0 | 44.8 | 38.5 | 32.4 | 29.5 | 28.2 | 25.1 | 29.8 | 35.8 | 42.2 | 28.8 | 33.3 |
| + base=500 | 33.7 | 30.1 | 32.5 | 29.7 | 27.7 | 43.0 | 40.2 | 32.2 | 31.2 | 25.8 | 24.9 | 22.8 | 30.8 | 31.4 | 37.3 | 28.1 | 31.2 |
| + base=250 | 33.7 | 31.7 | 31.9 | 27.3 | 26.8 | 42.4 | 33.5 | 28.7 | 25.6 | 22.2 | 21.5 | 19.7 | 30.3 | 27.7 | 34.6 | 25.8 | 28.8 |
| + base=100 | 33.1 | 32.2 | 30.3 | 28.3 | 28.4 | 41.8 | 35.0 | 31.8 | 28.6 | 29.9 | 28.0 | 24.1 | 30.5 | 31.3 | 35.4 | 28.7 | 31.0 |
| 776M Long | |||||||||||||||||
| SWA-NoPE-LH | 40.6 | 33.4 | 30.2 | 21.2 | 14.4 | 47.1 | 33.7 | 33.4 | 30.8 | 27.3 | 22.5 | 18.6 | 27.9 | 30.5 | 38.7 | 24.8 | 29.4 |
| + base=5000 | 42.4 | 32.2 | 29.4 | 18.6 | 11.7 | 42.4 | 39.1 | 36.8 | 31.1 | 29.3 | 22.8 | 18.0 | 26.9 | 31.4 | 40.2 | 24.1 | 29.5 |
| + base=2500 | 44.6 | 38.4 | 31.9 | 19.4 | 13.1 | 46.8 | 37.4 | 33.1 | 30.9 | 28.6 | 23.0 | 20.0 | 29.5 | 31.4 | 40.5 | 25.7 | 30.6 |
| + base=1000 | 39.2 | 36.2 | 29.3 | 25.7 | 19.2 | 46.7 | 38.0 | 36.2 | 34.3 | 29.2 | 22.9 | 21.0 | 29.9 | 32.6 | 40.0 | 27.2 | 31.5 |
| + base=500 | 39.4 | 36.1 | 32.1 | 29.7 | 23.0 | 49.6 | 36.8 | 36.7 | 28.0 | 25.3 | 21.2 | 19.0 | 32.1 | 30.9 | 40.6 | 26.8 | 31.4 |
| + base=250 | 44.5 | 38.1 | 32.9 | 19.4 | 12.5 | 46.0 | 35.7 | 33.5 | 27.0 | 25.6 | 21.6 | 19.2 | 29.5 | 29.8 | 39.9 | 24.6 | 29.7 |
| + base=100 | 42.0 | 38.2 | 28.9 | 21.5 | 11.9 | 34.7 | 30.9 | 28.9 | 27.8 | 26.4 | 23.9 | 19.9 | 28.5 | 27.5 | 34.1 | 24.8 | 27.9 |
Table 25 Long-context performance of SWA-NoPE-LH with smaller rotary bases, from 10000 to 100, under direct or log-scaled NoPE extrapolation after short-context pretraining, and context extension after long-context pretraining.