betaFeedback

WorksComputer Science

Accordion: Elastic-Depth Inference via Fixed-Prefix Layer Looping

Abstract

Large language models serve applications with diverse inference budgets, but training and maintaining separate models for each budget incurs substantial costs. Recent Looped Transformers enable flexible inference computation through parameter reuse, but maintaining strong performance across different inference budgets remains an open challenge. We introduce Accordion, a mixture-of-experts-based model that supports five inference budgets through fixed-prefix layer looping. Each budget follows a pre-defined execution path, while the minimum budget retains the unlooped model. Joint pretraining samples one budget per micro-batch and optimizes its next-token prediction loss without additional cross-budget consistency objectives. We further preserve these inference budgets through supervised fine-tuning and reinforcement learning, where parameter-group merging and budget-matched multi-teacher on-policy distillation integrate three domain experts into one model. After 3.6T tokens of pretraining, increasing inference depth improves Accordion-6B-A0.5B's five-category macro-average across 37 tasks by 3.01 percentage points, with the middle budget capturing 89% of this gain using half as many additional layer executions. The final model surpasses each domain expert on its corresponding task-and-budget average, while achieving strong instruction-following performance across all budgets and retaining depth-dependent gains in mathematical reasoning and code generation.

Models: Accordion-Base Accordion-Base-32K Accordion-Instruct Accordion-RL

Website: Project website

Introduction

Language-model applications require different inference budgets, but training and maintaining separate models for each budget incurs substantial costs. Elastic inference aims to address this challenge by supporting multiple compute choices within a single model. Existing approaches achieve this flexibility through nested architectures and subnetworks [8, 78, 79] (Devvrit et al. 2023), reduced execution depth [19, 70, 18], or input-dependent computation allocation [66, 4].

Looped Transformers provide another approach to elastic inference by repeatedly applying shared parameters to increase effective depth [15, 38, 24]. Recent work explores recurrence structures and training strategies for flexible inference computation [22, 93, 1, 4, 62]. However, jointly optimizing multiple inference depths can compromise shallow-path performance, as highlighted by the one-loop tax problem [36]. Moreover, practical language models require supervised fine-tuning and reinforcement learning, so elastic inference should remain effective throughout the training pipeline.

To address these challenges, we introduce Accordion, a mixture-of-experts (MoE) Transformer with five fixed inference paths sharing one set of weights Figure 1. Building on layer looping from Loopie [21], Accordion repeats selected Transformer layers consecutively rather than repeating an entire model. Each budget repeats a fixed prefix within a middle window, concentrating training on the inference paths. Larger budgets add layer executions; the minimum budget retains the unlooped path. Zero-initialized residual gates control the repeated computations. During pretraining, each micro-batch uniformly samples one budget and optimizes its corresponding path with next-token prediction, without additional cross-budget consistency objectives.

Figure 1. Elastic-depth inference with fixed budget paths. One set of weights serves five budgets by repeating a prefix of layers 77–1818. Blue folds execute once; cream/gold pairs execute the same layer twice.

We further extend Accordion to supervised fine-tuning (SFT) and reinforcement learning (RL). SFT continues to jointly optimize the same five inference budgets. For RL, we train three domain experts for instruction following, mathematical reasoning, and code generation, each supporting all five budgets. Parameter-group merging combines their updates, then multi-teacher on-policy distillation matches each teacher to the student’s task domain and inference budget.

In controlled experiments with 80B training tokens, fixed-prefix layer selection achieves the lowest observed validation loss at all four looped budgets among eight evaluated strategies. Compared with independently trained budget-specific specialists, Accordion achieves validation losses within 0.003 nats at all three evaluated budgets under equal training tokens, including the unlooped configuration. We further scale Accordion to a 6B-A0.5B MoE model with 3.6T tokens of pretraining at 8K context. Increasing inference depth improves 36 of 37 benchmark scores and raises the five-category average by 3.01 percentage points. The middle budget captures 89% of this gain with half as many additional layer executions. A further 50B tokens produce Accordion-Base-32K for long-context use (§ 3.3.4); its full benchmark table appears in Appendix § 10.§ 8.

Accordion-Instruct retains positive depth-dependent gains on most conversational benchmarks. After domain-specific RL and expert integration, Accordion-RL exceeds each domain expert on its corresponding task-and-budget average. The final model also achieves strong instruction-following performance across all five budgets, outperforming four evaluated public reference models on IFEval. Additional depth continues to improve mathematical reasoning and code generation, although the optimal budget varies across tasks.

Our contributions are:

  • One model, five inference budgets. We introduce Accordion, an elastic-depth MoE Transformer that supports five inference budgets through fixed-prefix layer looping. Under equal training tokens, it closely matches budget-specific specialists at three evaluated budgets, including the unlooped path.

  • Depth gains from pretraining through RL. We extend elastic-depth inference through SFT and RL, integrating three domain experts via parameter-group merging and budget-matched multi-teacher on-policy distillation. Additional depth improves base-model quality and retains benefits in mathematics and code after post-training.

  • A public-data recipe at scale. We develop Accordion-Base, Accordion-Instruct and Accordion-RL using public datasets across the training pipeline, with detailed data accounting and comprehensive task-level evaluations.

Accordion

Architecture

Consider a pre-norm MoE transformer with LL physical layers and hidden dimension dd. Let W={w1,…,wm}\mathcal{W} = \{w_1, \ldots, w_m\} be an ordered, contiguous middle window, with w1<⋯<wmw_1 < \cdots< w_m, and let K⊆{0,…,m}\mathcal{K} \subseteq\{0, \ldots, m\} be the budget menu. Budget kk repeats the prefix Sk={w1,…,wk}S_k = \{w_1, \ldots, w_k\}, with S0=∅S_0 = \varnothing. Its path PkP_k executes layer ℓ\ell exactly

rℓ(k)=1+1{ℓ∈Sk}(1)r_{\ell}(k) = 1 + \mathbf{1}\{\ell\in S_k\} \tag*{(1)}

times before moving to layer ℓ+1\ell+ 1. Each budget therefore defines a deterministic path with L+kL + k layer executions. We use L=24L = 24, W={7,…,18}\mathcal{W} = \{7, \ldots, 18\}, and K={0,3,6,9,12}\mathcal{K} = \{0, 3, 6, 9, 12\}; the corresponding execution counts appear in Table 44. Layers outside the window always run once, and P0P_0 is an ordinary unlooped MoE. The menu size and prefix mapping are evaluated in § 2.2.2 and § 2.2.1, respectively; the same formulation supports other predefined budget menus.

Calculated model costs at 8Kk=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12
Layer executions2427303336
Rel. train FLOPs1.0001.1011.2021.3031.404
KV/token (KiB)4854606672
Prompt tokenskkPrefill (tok/s)TTFT (ms)Decode (tok/s)TPOT (ms)p95 (ms)Peak (GiB)KV (GiB)
8,1920198.3k / 216.9k41.3 / 302.2379 / 1,3102.64 / 6.11391 / 1,08012.17 / 15.940.38 / 3.00
3176.7k / 192.0k46.4 / 341.3342 / 1,1912.93 / 6.72420 / 1,22312.22 / 16.330.42 / 3.38
6159.6k / 172.7k51.3 / 379.4309 / 1,0733.24 / 7.45478 / 1,34312.27 / 16.710.47 / 3.75
9144.2k / 157.2k56.8 / 416.9275 / 9443.64 / 8.48523 / 1,49912.31 / 17.090.52 / 4.13
12133.3k / 144.0k61.4 / 455.1252 / 8873.96 / 9.02567 / 1,64012.36 / 17.470.56 / 4.50
16,3840179.8k / 178.7k91.1 / 733.6343 / 1,0832.92 / 7.38463 / 1,68512.91 / 18.940.75 / 6.00
3158.1k / 158.2k103.6 / 828.6330 / 9903.03 / 8.08502 / 1,86913.01 / 19.700.84 / 6.75
6142.4k / 140.4k115.0 / 933.4281 / 8953.56 / 8.94569 / 2,08813.10 / 20.460.94 / 7.50
9129.7k / 126.7k126.3 / 1,034.2257 / 8183.89 / 9.78622 / 2,29613.20 / 21.211.03 / 8.25
12118.2k / 116.3k138.6 / 1,127.0246 / 7644.07 / 10.47674 / 2,48013.29 / 21.971.13 / 9.00
32,6400134.5k / 130.5k242.7 / 2,001.0314 / 8763.19 / 9.14648 / 3,16714.39 / 24.901.49 / 11.95
3118.8k / 115.8k274.7 / 2,254.4293 / 7813.42 / 10.24724 / 3,56014.57 / 26.401.68 / 13.45
6107.3k / 104.4k304.2 / 2,501.0256 / 7093.91 / 11.29802 / 3,95214.76 / 27.901.87 / 14.94
997.4k / 95.0k335.1 / 2,749.1235 / 6454.25 / 12.41877 / 4,33614.95 / 29.402.05 / 16.44
1289.3k / 86.9k365.7 / 3,004.6217 / 5904.61 / 13.57954 / 4,73315.14 / 30.902.24 / 17.93

Table 44. Calculated model costs and measured inference cost. The first block is analytical. In the runtime block, each metric cell gives batch 1 / batch 8, measured on one H800 with 128 output tokens per sequence. Throughput counts tokens across the batch; latency covers the batch. Prompt lengths group all five budgets, with 32,640 prompt tokens per sequence for the 32K workload. Measurement settings appear above.

At each training micro-batch B\mathcal{B}, we sample k∼Uniform⁡(K)k \sim\operatorname{Uniform}(\mathcal{K}) and run only PkP_k for all sequences in that micro-batch. The sampled budget is shared across all data-parallel and expert-parallel workers. For the main model, each optimizer step contains one micro-batch per data-parallel worker, so one budget is shared by the entire global batch. All data-parallel and expert-parallel workers derive kk from a common random seed and micro-batch counter. This synchronized sampling follows Huginn (Geiping et al., [22] and keeps MoE all-to-all communication aligned across workers without an additional synchronization message. For NN prediction targets, its next-token loss LNTP(θ;B,k)\mathcal{L}_{\mathrm{NTP}}(\theta;\mathcal{B},k) is

LNTP=−1N∑x∈B∑tlog⁡pθ(xt∣x<t;Pk),(2)\mathcal{L}_{\mathrm{NTP}}=-\frac{1}{N}\sum_{x\in\mathcal{B}}\sum_t\log p_\theta(x_t\mid x_{<t};P_k), \tag*{(2)}

where θ\theta contains the shared model weights and gates. Together with the sequence-level MoE balancing term described below, the training objective is

J(θ)=EB,k[LNTP+λseqLseq].(3)\mathcal{J}(\theta)=\mathbb{E}_{\mathcal{B},k}\left[\mathcal{L}_{\mathrm{NTP}}+\lambda_{\mathrm{seq}}\mathcal{L}_{\mathrm{seq}}\right]. \tag*{(3)}

Here λseq=10−4\lambda_{\mathrm{seq}}=10^{-4}. Uniform sampling gives every supported path equal probability during training. One forward and backward pass through the sampled path provides a stochastic estimate of the joint objective, without evaluating the other paths on that micro-batch.

Each selected layer executes twice in succession, following the layer-looping structure of Loopie (Figure 2). The repeated unit is an individual layer, rather than a multi-layer block or the full model stack (Appendix Figure 19). Let AℓA_\ell, MℓM_\ell, NℓAN_\ell^{A}, and NℓMN_\ell^{M} denote attention, MoE, and their respective pre-normalizations. We write Mℓ(z;bℓ(p))M_\ell(z;b_\ell^{(p)}) for the shared MoE applied to zz with the balancing bias of pass p∈{1,2}p\in\{1,2\}. For layer input hh, the first pass is

Figure 2. Fixed budget paths with gated layer looping. Budgets select a prefix of layers 7–18 for a second execution. Both passes share weights; zero-initialized channel gates scale the second pass before residual addition. Training samples one budget per micro-batch. Inference fixes one budget per request. Blue denotes one execution; cream/gold pairs denote two.

u=h+Aℓ(NℓA(h)),u=h+A_\ell\left(N_\ell^{A}(h)\right),
v=u+Mℓ(NℓM(u);bℓ(1)).(4)v=u+M_\ell\left(N_\ell^{M}(u);b_\ell^{(1)}\right). \tag*{(4)}

If ℓ∉Sk\ell\notin S_k, the layer returns vv. Otherwise, it immediately applies a second pass:

u2=v+tanh⁡(gℓA)⊙Aℓ(NℓA(v)),u_2=v+\tanh(g_\ell^{A})\odot A_\ell\left(N_\ell^{A}(v)\right),
v2=u2+tanh⁡(gℓM)⊙Mℓ(NℓM(u2);bℓ(2)).(5)v_2=u_2+\tanh(g_\ell^{M})\odot M_\ell\left(N_\ell^{M}(u_2);b_\ell^{(2)}\right). \tag*{(5)}

The layer returns v2v_2. Its per-channel gates gℓA,gℓM∈Rdg_\ell^{A},g_\ell^{M}\in\mathbb{R}^{d} are initialized to zero and excluded from weight decay. At initialization, trainable gates make the second pass an identity map. The hyperbolic tangent bounds the magnitude of each gate by one and has unit derivative at zero. Attention, experts, normalizations, and the learned router are shared across passes and budgets; gates are layer-specific and shared across budgets. We use no second-pass embedding or budget-conditioned normalization. Appendix § 11 analyzes second-pass computation, and § 2.2.4 evaluates budget-conditioned parameter variants.

The two passes apply the same learned routing function to their respective hidden states and may select overlapping sets of experts. Following the auxiliary-loss-free balancing mechanism of DeepSeek-V3 ([14]), we maintain separate expert-load statistics and balancing biases for the first and second passes. These pass-specific balancing states are distinct from the shared learned router weights. We retain the small sequence-level loss Lseq\mathcal{L}_{\mathrm{seq}} in Equation (3) to encourage balanced expert usage within each sequence. This term is computed for routing on both the first pass and any executed second pass within the sampled path, and requires no comparison across budgets. Routing variants are reported in § 2.2.3, and budget-conditioned variants in § 2.2.4. Activation recomputation uses the original sampled path and the corresponding first- or second-pass balancing state.

The user selects k∈Kk\in\mathcal{K} for each request, and every token follows the corresponding trained path PkP_k with the same model weights. Each budget has a static execution graph, so depth remains fixed throughout the request. The five settings are called Low, Medium, High, XHigh, and Ultra, respectively.

Looping creates no copies of layer weights; relative to the underlying MoE, the gates add only 2md2md effective learned parameters, independent of the selected budget. Checkpoints allocate 2Ld2Ld gate entries across all physical layers, but gates outside the loopable window remain zero and are never used. For equal-shaped layers at a fixed sequence length, neglecting the small gating overhead, floating-point operations (FLOPs) are approximately

C(k)≃Cfixed+(L+k)Clayer,(6)C(k)\simeq C_{\mathrm{fixed}}+(L+k)C_{\mathrm{layer}}, \tag*{(6)}

where CfixedC_{\mathrm{fixed}} includes non-repeated embedding and output work. The same affine dependence applies to model training FLOPs when forward and backward costs are included at a fixed sequence length. Our uniform menu gives E[k]=6\mathbb{E}[k] = 6 and hence 30 expected layer executions per micro-batch; the arithmetic cost follows Equation (6). § 2.2.5 uses this expectation to match training computation to budget-specific specialists, separately from matching training tokens. During autoregressive inference, the second attention pass maintains a separate key–value (KV) cache built from its own activations. Consequently, for our equal-shaped layers, KV storage scales as (L+k)/L(L + k)/L relative to k=0k = 0: 1.25× at k=6k = 6 and 1.5× at k=12k = 12. The analytical costs of Accordion-6B-A0.5B are given in Table 44; measured runtime also depends on communication and kernel efficiency.

We use the fixed budget paths defined above with top-8 expert routing and a reduced-vocabulary DeepSeek-V3 tokenizer with 128,000 entries and untied input and output embeddings. Attention uses query–key layer normalization. The router applies sigmoid scores and normalizes the selected top-eight weights; pass-specific balancing biases use an update rate of 10−310^{-3}.

Designing Strong Shared Paths

We use a 1.61B-parameter MoE to choose how layers and parameters should be shared across inference budgets, then test how closely one shared model matches separately trained specialists. The design comparisons address four choices: which layers to repeat, how many budgets to train, whether to share the router across passes, and whether to give each budget its own scaling parameters. All comparisons below use validation loss on the same held-out web set. Each configuration is trained once; the comparisons report its held-out validation loss. Shared models receive 80B tokens of non-repeated Nemotron-CC-v2 web data, with budgets sampled uniformly unless stated otherwise. Specialists receive the same token budget in the equal-token comparison; their token counts change only for the FLOPs-matched comparison in § 2.2.5. Appendix Table 19 gives the complete architecture, optimization settings and hardware for these design studies.

Layer Selection

We test whether shared inference paths benefit from a fixed layer-selection rule during training or from randomizing the repeated layers across steps. The eight strategies comprise four fixed and four randomized selection rules, all evaluated at k∈{0,3,6,9,12}k \in\{0, 3, 6, 9, 12\}. They have the same expected training depth of 30 layer executions. At inference, fixed strategies retain their own selection rules, whereas all randomized strategies use the prefix paths of window 7–18. The comparison therefore evaluates each training rule together with its specified inference paths. Fixed selection. The fixed rules compare the location of the repeated segment. Within window 7–18, fixed prefix, fixed center and fixed suffix repeat the first, central or last kk layers, respectively. Fixed center uses layers 11–13, 10–15 and 8–16 at k=3,6,9k = 3, 6, 9, respectively. A fourth rule, fixed prefix (4–15), moves the window earlier while retaining prefix selection.

Randomized selection. All four randomized rules use window 7–18. Random layers uniformly samples kk individual layers; random segment samples a prefix, center or suffix of length kk; random blocks selects k/3k/3 of four disjoint three-layer blocks, which need not be adjacent. These three rules repeat exactly kk layers after sampling the budget. Layerwise coin uses the unlooped and fully looped paths with probability 30% each; on the remaining 40% of steps, each window layer is independently repeated with probability 0.5. This changes the training-budget distribution while preserving the same expected depth. Fixed prefix (7–18) achieves the lowest observed validation loss at all four looped budgets and the lowest five-budget mean (Figure 3). Its mean advantage over the alternatives is approximately 0.0025–0.0041 nats. This consistent ranking motivates the fixed-prefix paths used by Accordion.

Figure 3. Comparison of eight layer-selection strategies. Accordion’s fixed prefix over layers 7–18 is highlighted in blue. Strategies are compared at matched inference budgets.

Number of Training Budgets

We next test whether offering more inference budgets compromises the quality of the shared paths. Using the fixed-prefix rule in window 7–18, we train models with three, four or five budgets (Table 1). All three budget sets have E[k]=6\mathbb{E}[k] = 6, keeping expected training computation fixed. We compare all models at the shared endpoints, k=0k = 0 and k=12k = 12, and compare the three- and five-budget models at k=6k = 6; the four-budget model is not trained at k=6k = 6.

ModelTraining budgetsk=0k = 0k=6k = 6k=12k = 12Mean
Five-budget model{0,3,6,9,12}\{0, 3, 6, 9, 12\}2.57932.57032.56962.5744
Three-budget model{0,6,12}\{0, 6, 12\}2.58102.57292.57212.5766
Four-budget model{0,4,8,12}\{0, 4, 8, 12\}2.5814–2.57192.5767

Table 1. Comparison of training-budget sets. Validation losses are in nats; the mean uses the common endpoints k=0,12k = 0, 12. The four-budget model was not trained at k=6k = 6. Bold marks the lowest loss in each column.

The five-budget model has the lowest observed loss at both shared endpoints and lower loss at k=6k = 6 than the three-budget model. We therefore use five budgets to provide finer inference control at the same expected training computation.

Router Sharing

We test whether the second pass needs a separately learned router to select experts from its updated hidden states. We compare a shared router, a separate second-pass router, and a separate router that excludes routed experts selected in the first pass. All three configurations share expert parameters and retain their respective routing rules during evaluation. The shared router achieves the lowest five-budget mean loss, improving on separate routing by 0.0013 nats and on separate routing with exclusion by 0.0017 nats (Table 2). A shared router therefore serves every pass and inference budget in Accordion.

Routingk=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12Mean
Shared router2.57932.57312.57032.56982.56962.5724
Separate router2.58142.57462.57152.57052.57022.5737
Separate router + exclusion2.58232.57642.57182.57042.56942.5741

Table 2. Second-pass routing variants. Configurations are rows and inference budgets are columns. Validation losses are in nats; bold identifies the lowest loss within each column.

Budget-Conditioned Parameters

We test whether different inference budgets benefit from their own parameters for scaling the second-pass updates. The baseline shares both gates and normalization parameters across budgets. Two alternatives condition either the gates or the normalization scales on kk, leaving the other parameter type budget-independent (Table 3). Budget-conditioned gates let each budget learn its own attention and MoE residual-update scaling: tanh⁡(gℓX)\tanh(g^{X}_{\ell}) becomes tanh⁡(gℓ,kX)\tanh(g^{X}_{\ell,k}) for X∈{A,M}X \in\{A, M\}. Budget-conditioned normalization scales instead multiply second-pass root-mean-square normalization (RMSNorm) outputs by (1+sℓ,kX)(1 + s^{X}_{\ell,k}). These scales start at sℓ,kX=0s^{X}_{\ell,k} = 0, and the original gates are retained. The baseline with shared gates and normalization parameters achieves the lowest observed loss at every evaluated budget. We therefore retain a single budget-independent parameterization for Accordion.

Configurationk=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12Mean
Budget-independent gates and norms2.57932.57312.57032.56982.56962.5724
Budget-conditioned gates2.58142.57612.57312.57232.57212.5750
Budget-conditioned norm scales2.58302.57692.57352.57242.57222.5756

Table 3. Comparison of budget-conditioned parameters. Each row identifies which parameter type is budget-conditioned; the other type remains budget-independent. Validation loss is in nats (lower is better). Bold marks the lowest loss within each column.

Comparison with Budget-Specific Specialists

We finally test how closely one shared model matches a separate model trained for each inference budget. The specialists are trained independently at fixed k=0,6,12k = 0, 6, 12. At each budget, the shared model and its corresponding specialist use the same inference graph. We compare them under two resource constraints: equal training tokens hold data exposure fixed, while equal training FLOPs hold modeled training computation fixed (Figure 4). A further equal-token control tests whether allocating more training examples to the unlooped path improves its validation loss.

Figure 4. Shared models and budget-specific specialists. Accordion uses uniform budget sampling. Comparisons match training tokens (80B, left) or training FLOPs (right). Each specialist is trained for a single budget. The left panel also includes two controls with increased unlooped-path exposure, defined below.

Equal training tokens. Each model receives 80B training tokens. Under this constraint, Accordion achieves validation losses within 0.0030 nats of the specialists at all three evaluated budgets (Figure 4, left). One set of weights thus approximates three specialist operating points while preserving the unlooped path’s quality in this comparison. The k=0k = 0 comparison addresses the one-loop tax discussed by Ladhak et al. [36], where training for recurrent computation degrades single-pass performance. To test whether the unlooped path needs additional training exposure, a control reserves 15% of data-parallel replicas for that path. The synchronous-weighting control instead samples one common budget for all replicas, with probabilities 0.32/0.17/0.17/0.17/0.17 for k=0,3,6,9,12k = 0, 3, 6, 9, 12, matching the coverage control’s expected marginal distribution. Both controls are token-matched and average 29.1 layer executions, compared with 30 under uniform budget sampling. Uniform budget sampling yields a mean validation loss lower by 0.0067 nats than the replica-coverage control, while retaining single-pass performance without the reserved replicas.

Equal training FLOPs. Here we keep the shared model’s 80B-token training run fixed and adjust the number of tokens seen by each specialist to match its expected training FLOPs. A shallower specialist can therefore receive more tokens, while a deeper specialist receives fewer. Let Ctrain(k)C_{\mathrm{train}}(k) denote training FLOPs per token at budget kk. Under the approximately affine cost model in Equation (6), uniform sampling over the five budgets gives an expected cost of Ctrain(6)C_{\mathrm{train}}(6) per token. The specialist at budget kk receives approximately 80B Ctrain(6)/Ctrain(k)C_{\mathrm{train}}(6)/C_{\mathrm{train}}(k) tokens. The k=6k = 6 specialist satisfies both resource constraints and is reused in the two comparisons. At this middle budget, the shared model remains close to the specialist under both matching conditions. At the largest budget, it improves on the FLOPs-matched specialist by 0.0068 nats.

Training Pipeline

Accordion-6B-A0.5B retains the same five budget paths throughout pretraining and post-training (Figure 5). General pretraining and mid-training with annealing produce Accordion-Base at 8K context; a subsequent context-extension stage produces Accordion-Base-32K (§ 3). Post-training comprises supervised fine-tuning (SFT) and reinforcement learning (RL) (§ 4). SFT produces Accordion-Instruct from Accordion-Base-32K. RL trains independent instruction-following, mathematics and code experts from Accordion-Instruct, then combines them through model merging and budget-matched multi-teacher distillation. Sections 3.2 and 4.2.2 describe stage-specific optimization, including the expert update and distillation rules.

Figure 5. Training pipeline for Accordion-6B-A0.5B. Accordion-Base is exported after 3.6T tokens at 8K context; another 50B tokens produce Accordion-Base-32K. SFT and RL continue from this extended model and retain all five budget paths. RL combines three domain experts through parameter merging and budget-matched multi-teacher distillation.

Pretraining

Accordion-Base turns additional layer executions into broad capability gains, with the middle budget capturing most of the improvement. We describe the training curriculum and evaluate these gains across tasks, inference costs and context lengths.

Data

We construct the pretraining curriculum from publicly released datasets covering web text, mathematics, code and reasoning. The corpus combines Nemotron pretraining collections (Su et al., [75]), MegaMath (Zhou et al., [91]), FineMath (Ben Allal et al., [5]), InfiMM-WebMath (Han et al., [26]) and StarCoder data (Li et al., [40]). The selected training pool contains 835 shards and approximately 4.68T tokens, from which we sample the 3.6T-token curriculum. Within each source category, shards are sampled across document-length strata; smaller sources are shared across stages with different data seeds. Appendix Table 11 lists source weights and expected consumption, with accounting details in Appendix B. We tokenize the data as specified in § 2.1. Reasoning collections are rendered as plain text without role markers, retaining reasoning traces and their delimiters. Held-out web (Nemotron-CC v2 HQ), mathematics (FineMath-3+) and code (StarCoder Python) shards are excluded from training.

SourceAvailable (B tokens)General 3,000BMid 150BAnneal 450BExpected used (B)Expected repetitions
Nemotron-CC web, high quality (v2/v2.1)1,24323%17%13%7740.62
Nemotron-CC web, medium quality (v2/v2.1)2,16115.25%7%3%481.50.22
Nemotron-CC synthetic rephrasings3,50322%17%12%739.50.21
Nemotron-CC Diverse-QA + HQ-DQA6796.5%7%5%2280.34
Nemotron Specialized (RQA, STEM-SFT, InfiniByte)2282.5%5%8%118.50.52
Nemotron reasoning (Math-v2, Comp.-Prog., PrismMath)1020%6%12%630.62
Nemotron-CC-Math1953.5%4.5%5%134.250.69
MegaMath web2314.5%5%5%1650.71
MegaMath synthetic521%0%0%300.58
FineMath-3+ and InfiWebMath-3+532%4%5%88.51.67
Math textbooks (Nemotron Specialized)240.5%1%2%25.51.06
StarCoder data2285.5%10%13%238.51.05
Nemotron-CC-Code4107%6%6%2460.60
Nemotron code synthetic (Code-v2)4506.5%10%10%2550.57
Code concepts (Nemotron Specialized v1.1)90.25%0.5%1%12.751.42

Table 11. Source-level mixture for the 3.6T/8K stages. Available pools, expected consumption and repetitions use the documented rounded source quantities. General/mid/anneal columns each sum to 100%; consumed tokens sum to 3,600B. The separate 50B context-extension mixture is excluded from consumption and repetition estimates.

The 3.6T-token curriculum progressively increases exposure to mathematics, code and reasoning (Figure 6). General pretraining uses 3.0T tokens, followed by 150B tokens of mid-training and 450B tokens of annealing. Mid-training introduces the Nemotron reasoning collection (Math-v2, Competitive-Programming and PrismMath) and removes the MegaMath synthetic component. Annealing keeps these source choices, shifts more weight toward mathematics, code and reasoning, and decays the learning rate. Table 11 gives the source-level proportions at each stage. The stage comparisons in § 3.3.3 describe this combined curriculum and optimization schedule. The largest ratio of expected token consumption to available source tokens is approximately 1.67, excluding context-extension replay.

Figure 6. Pretraining data composition and curriculum. Estimated token consumption by domain and source across the 3.6T-token curriculum, followed by 50B-token context extension. Stage bars are normalized to their token budgets; labels are rounded billions of tokens. Exact source quantities appear in Table 11.

An additional 50B tokens extend the training context to 32K while maintaining exposure to the annealing distribution. Half of this budget comes from publicly released long documents of length 16K–128K, covering web text, code, reasoning and mathematical web text. The other half replays the annealing mixture. Appendix Table 12 gives the allocations and resulting domain proportions.

MetricWebSynthetic webReasoningMathematicsCode
Long documents (B tokens)80557
Replay (B tokens)436.254.257.5
Share (%)24622.518.529

Table 12. Context-extension data allocation. Long-document and replay allocations each total 25B tokens. Domain shares combine both components; replay allocations follow the annealing mixture.

Hyperparameters

Model configuration. Our main model, Accordion-6B-A0.5B, has 6.03B total and 0.54B active parameters. Active counts describe the transformer layers in one unlooped pass and exclude the input embedding and output head; including the output head raises the active count to 0.74B. Table 5 gives its complete architecture and training configuration.

SettingValue
Layers / hidden size / Q / KV / head dim24 / 1536 / 12 / 4 / 128
Routed / shared / active experts; intermediate size128 / 1 / 8; 384
Total / active parameters; vocabulary6.03B / 0.54B; 128,000
Loopable window / budgets7–18 / {0, 3, 6, 9, 12}
Training tokens / context / tokens per step3.6T / 8K / 8.39M
Peak LR / final LR / schedule5×10−45 \times10^{-4} / 10% of peak / WSD
Warmup / decay2,000 steps / final 12.5%
AdamW β\beta / weight decay / gradient clipping(0.9, 0.95) / 0.1 / 1.0
Weight initializationstd. 0.006, truncated at ±3σ\pm3\sigma
Gates ggzero initialization, no weight decay
MoE balancingper-pass bias; sequence auxiliary loss 10−410^{-4}
Precision / GPUsbfloat16 / 512× H800

Table 5. Architecture and training configuration of Accordion-6B-A0.5B. Active parameters refer to a single unlooped forward pass and exclude the input embedding and output head. Training settings describe the 3.6T-token, 8K curriculum; Table 4 details the stage schedules and subsequent 32K context extension. WSD denotes warmup–stable–decay.

Optimization. All stages train the same five paths using the single-trajectory objective and uniform micro-batch budget sampling defined in § 2.1. We optimize all model weights with AdamW (Loschchilov and Hutter, 2019), excluding second-pass gates from weight decay. The peak learning rate is 5×10−45 \times10^{-4}, chosen from the 1.61B-parameter design studies. Table 4 details the stage-specific schedules. Training uses our layer-looping extension of Megatron-LM [73], with expert parallelism within each eight-GPU node. The first three stages use 8K context and 1,024 sequences per global batch, continuing the optimizer state and step counter across stage boundaries.

StageTokens (B)CumulativeContextLearning rateWarmup / optimizer
General3,0003.00T8K5×10−45 \times10^{-4}, constant2,000 / initialize
Mid-training1503.15T8K5×10−45 \times10^{-4}, constant0 / continue
Annealing4503.60T8K5×10−4→5×10−55 \times10^{-4} \to5 \times10^{-5}0 / continue
Context extension503.65T32K5×10−5→1.5×10−55 \times10^{-5} \to1.5 \times10^{-5}200 / reset

Table 4. Pretraining hyperparameters by stage. All stages use 8,388,608 tokens per global batch on 512 H800 GPUs. Token budgets are nominal, warmup is measured in optimizer steps, and arrows indicate linear learning-rate decay after warmup.

Context-extension settings. Context extension starts from the annealing weights but resets the optimizer and step counter. With the budget-sampling seed unchanged, resetting the counter also restarts the budget sequence used at the beginning of pretraining. It retains RoPE [76] base 500,000 and uses context parallelism of degree 2, one sequence per micro-batch and 256 sequences per global batch. The run lasts 5,960 updates under the schedule in Table 4. Appendix Table 44 separates calculated compute and KV costs from measured latency, throughput and peak memory at every inference budget.

Evaluation

We evaluate all five budgets on the same 37 tasks, using identical configurations and examples. The primary aggregate groups all tasks into five categories: knowledge and QA, common sense, reasoning, mathematics and code. For task score sts_t, task set Tc\mathcal{T}_c in category cc, and category set C\mathcal{C}, we compute

sˉc=1∣Tc∣∑t∈Tcst,S=1∣C∣∑c∈Csˉc.(7)\bar{s}_c = \frac{1}{|\mathcal{T}_c|} \sum_{t \in\mathcal{T}_c} s_t, \qquad S = \frac{1}{|\mathcal{C}|} \sum_{c \in\mathcal{C}} \bar{s}_c. \tag*{(7)}

Thus each category receives equal weight, regardless of its number of tasks. The summary in Figure 7 applies this definition to the displayed scores of all 37 tasks in Table 6. Training trajectories and paired uncertainty estimates use the original 18-task core suite; Appendix Table 14 defines its task membership and the auxiliary 34-task scope.

BenchmarkAccordion-Base k=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12Qwen3 0.6BQwen3 1.7BOLMoE 0125Ouro 1.4B
Pretraining tokens3.6T36T36T5.1T7.7T
Knowledge and QA
MMLU58.259.860.960.860.952.562.755.267.5
TriviaQA51.952.452.452.352.420.036.362.743.8
Natural Questions19.119.319.619.519.67.513.825.817.2
SciQ95.595.495.595.795.693.696.193.995.8
MMLU (cloze){sup}†`43.844.945.245.345.436.643.543.745.1
MMLU-Pro{sup}†`32.334.135.735.836.025.737.518.348.9
DROP4.54.64.74.84.84.615.332.14.7
SQuAD56.156.657.457.257.256.559.342.957.1
CoQA77.578.978.979.379.473.979.171.881.5
RACE38.937.037.837.237.835.139.537.938.3
LAMBADA63.964.765.565.865.953.863.170.565.1
Common sense
ARC-C58.758.559.559.960.245.055.458.260.0
ARC-E83.583.984.083.984.174.782.282.584.0
CommonsenseQA63.365.766.967.066.862.975.665.677.0
HellaSwag74.374.975.375.375.353.667.179.774.4
WinoGrande68.369.169.169.569.459.866.171.970.8
OpenBookQA41.442.443.243.643.634.238.444.441.4
BoolQ78.178.279.179.179.169.678.970.279.9
PIQA77.878.078.778.678.369.975.879.778.6
Social IQa44.745.145.945.845.943.348.547.242.9
Reasoning
BBH54.858.660.061.060.840.853.332.670.8
MuSR37.236.938.638.840.234.744.335.539.0
AGIEval-en25.526.727.627.827.926.232.525.534.9
Mathematics
GSM8K53.158.059.461.761.359.271.351.178.6
MATH (5,000)39.841.042.242.242.428.538.916.922.0
MATH500{sup}†`38.240.841.440.240.631.839.417.221.4
GSM8K-Platinum57.662.565.866.665.662.575.853.180.9
GSM-Plus-mini37.738.341.141.541.533.250.433.854.9
MathQA46.747.448.148.048.036.845.228.049.8
Multi-digit arithmetic23.328.931.529.328.687.396.543.792.2
ASDiv9.811.211.712.712.20.07.90.42.6
Code
HumanEval48.850.051.253.753.128.750.611.635.37
HumanEval+43.945.146.348.847.022.643.911.032.32
MBPP46.650.250.250.451.839.055.621.058.0
MBPP+60.664.866.166.166.454.570.629.976.7
CRUXEval output23.124.825.125.425.316.121.813.127.5
CRUXEval input34.938.641.340.940.629.134.319.441.8

Table 6. Base-model comparison across all 37 benchmarks. All models follow the protocol in Appendix § 10.§ 2. Accordion-Base uses the 3.6T-token, 8K checkpoint. Category and overall scores appear in Figure 7. Bold/underlining: row best/second-best; fills mark Accordion ranks (ties included). † Diagnostics. MATH variants remain separate. Ouro HumanEval/HumanEval+: trailing prompt whitespace removed; corrected scores used throughout.

Figure 7. Overall and category-level performance of Accordion-Base. All five budgets and four references follow Appendix § 10.§ 2; Ouro’s corrected HumanEval scores enter both Code and Overall. Category scores average all benchmarks in their corresponding table group; Overall equally weights the five category means, following Equation (7). Blue bars denote Accordion-Base at k=0,3,6,9,12k = 0, 3, 6, 9, 12; gray bars denote Qwen3-0.6B, Qwen3-1.7B, OLMoE-1B-7B-0125 and Ouro-1.4B, from left to right. Panels use separate y-axis ranges; break marks indicate omitted zero baselines. Table 6 retains the complete benchmark results.

We use the Language Model Evaluation Harness [20] (version 0.4.13) with a Hugging Face backend adapted to layer looping. Scoring uses strict matching for BBH, mathematical-equivalence checking for mathematics and greedy pass@1 for code, whose tests run in isolated CPU subprocesses. Appendix Table 13 specifies prompting and scoring for each task. Appendix § 10.§ 2 gives the ranking conventions and statistical interpretation.

A source-level overlap audit identifies potential benchmark contamination in Diverse-QA. Reported scores retain the full test sets, including flagged questions; Appendix § 10 gives the audit criteria, counts and limits.

General Capabilities and Model Comparison

Across all five inference budgets, Accordion-Base outperforms all four evaluated references on full MATH and ASDiv, with peak margins of 3.5 and 4.8 percentage points, respectively (Table 6). Increasing the budget from k=0k = 0 to k=12k = 12 also improves all five category averages (Figure 7). The largest gains occur in code, reasoning and mathematics. Accordion ranks second in knowledge and QA and common sense at k=12k = 12, and first in code at k=9k = 9 (Figure 7).

The reference models cover complementary parameter scales and architectures. Qwen3-0.6B is a nearby dense reference in active size, whereas OLMoE-0125 is closer in total size and shares the MoE architecture. We reevaluate Qwen3-0.6B/1.7B (Qwen Team, 2025), OLMoE-0125 (Muennighoff et al., 2024) and Ouro-1.4B (Zhu et al., [93]) on the complete suite. Accordion reaches these operating points after 3.6T pretraining tokens; Qwen3-1.7B uses 36T. Training exposure for all models is documented in Table 17, with Accordion’s computational costs in Appendix § 14.§ 1. Post-trained models are evaluated separately against four conversational references in Table 7 and Table 9.

BenchmarkAccordion-Instruct k=0k=0Accordion-Instruct k=3k=3Accordion-Instruct k=6k=6Accordion-Instruct k=9k=9Accordion-Instruct k=12k=12Qwen3 0.6BQwen3 1.7BOLMoE SFTOuro 1.4B
Knowledge and instruction following
IFEval62.1164.8865.9963.4060.0762.8571.3555.6448.24
MMLU-Redux60.8863.4765.8266.1765.1657.6974.8414.0270.28
Mathematics
GSM8K83.4085.6788.7887.7288.6379.4590.1435.8692.42
MATH50083.4084.8087.4086.8089.2072.8089.2013.6091.20
AIME 202430.0034.7939.5843.5443.7512.0844.580.2152.08
AIME 202526.8828.9632.9236.8831.8816.2534.580.2141.25
Code
HumanEval+79.8878.0579.2779.8881.7146.3479.2733.5485.98
MBPP+69.5867.7273.0270.9072.7543.6570.9030.4275.40

Table 7. Table 7: Accordion-Instruct comparison with public post-trained models (%). Reference checkpoints (left to right): Qwen3-0.6B/1.7B, OLMoE-1B-7B-0125-SFT and Ouro-1.4B-Thinking. Bold/underlining identify best/second-best among the nine settings in each row, including ties; category-colored fills highlight Accordion’s first/second places. All models use the common sampling and scoring protocol with native chat templates; OLMoE uses 4K context and the others 32K. AIME averages 16 responses per problem; code uses pass@1.

BenchmarkAccordion-RL k=0k = 0Accordion-RL k=3k = 3Accordion-RL k=6k = 6Accordion-RL k=9k = 9Accordion-RL k=12k = 12Qwen3 0.6BQwen3 1.7BOLMoE SFTOuro 1.4B
Knowledge and instruction following
IFEval87.9988.9189.8389.8389.8362.8571.3555.6448.24
MMLU-Redux70.9873.6874.1375.1874.7757.6974.8414.0270.28
Mathematics
GSM8K84.1587.3488.6389.5489.1679.4590.1435.8692.42
MATH50083.8084.8088.6089.6089.8072.8089.2013.6091.20
AIME 202434.5839.7940.8345.2145.2112.0844.580.2152.08
AIME 202527.9232.7136.8835.8336.6716.2534.580.2141.25
Code
HumanEval+79.8878.0586.5982.9384.1546.3479.2733.5485.98
MBPP+69.5871.4371.4372.4973.8143.6570.9030.4275.40

Table 9. RL comparison with public post-trained models (%). Reference checkpoints (left to right): Qwen3-0.6B/1.7B, OLMoE-1B-7B-0125-SFT and Ouro-1.4B-Thinking. Bold/underlining identify best/second-best among the nine settings in each row, including ties; category-colored fills highlight Accordion’s first/second places. All models use the common sampling and scoring protocol with native chat templates; OLMoE uses 4K context and the others 32K. AIME averages 16 responses per problem; code uses pass@1.

PropertyAccordion-BaseQwen3-0.6BQwen3-1.7BOLMoE-0125Ouro-1.4B
ArchitectureLayer-loop MoEDenseDenseMoELoopLM
Total parameters (B)6.030.61.76.91.4
Active parameters (B)0.740.61.71.31.4
Training tokens3.6T36T36T∼5.1T7.7T
Executionk=0,3,6,9,12k = 0, 3, 6, 9, 121 pass1 pass1 passR=4

Table 17. Base-model comparison specifications. Parameter counts are in billions and retain source conventions. Active shared weights are not multiplied by recurrence count. Accordion’s active count includes its output head (0.54B without it) and describes an unlooped pass. Training exposure excludes subsequent SFT/RL.

Effect of the Inference Budget

With model weights, evaluation tasks and examples fixed, increasing the loop budget from k=0k = 0 to k=12k = 12 raises the 37-task aggregate from 47.05 to 50.06 (+3.01 percentage points) and improves 36 of 37 task scores. The gains are largest in reasoning, mathematics and code (Figure 9). The intermediate budget k=6k = 6 retains 89% of the endpoint gain, while time per output token increases by approximately 21–24% across measured workloads. This budget offers most of the quality improvement at a smaller inference cost (Figure 8); complete runtime measurements appear in Table 44.

Figure 8. Quality and inference cost across six workloads. The quality panel uses the 37-task five-category aggregate versus time per output token; other panels report time to first token, batch decoding throughput and peak allocated GPU memory. Runtime uses Accordion-RL on one H800, averaging two nodes’ measurements; quality is evaluated separately. TTFT and throughput use logarithmic axes; memory uses separate batch-1 and batch-8 ranges. Measurement details appear in Table 44.

Figure 9. Benchmark gains across inference budgets. Accordion-Base gains over k=0k=0, in percentage points, for all 37 benchmarks. The baseline column is identically zero and omitted. All four non-baseline budgets share one linear color scale; † marks report-only tasks. Absolute scores appear in Table 6; category means appear in Figure 7.

Paired uncertainty estimates for the original 18-task core suite are reported separately in an Appendix Table 18. The five budgets provide distinct operating points for different workloads (Figure 9). Both HumanEval variants peak at k=9k = 9, as does GSM8K, whereas MBPP+ reaches its highest score at k=12k = 12.

Additional depth also improves next-token prediction on held-out web text, mathematics and Python code. Loss decreases monotonically across all five budgets, with k=6k = 6 capturing 89–90% of the endpoint reduction (Appendix Table 15). These matched-token evaluations use the same Accordion-Base checkpoint as the benchmark comparison; Appendix § 10.§ 3 gives the protocol.

How Budget Gains Develop during Training

The advantage of looping emerges before post-training and persists across the pretraining curriculum. All four looped budgets outperform k=0k = 0 at every evaluated checkpoint (Figure 10). On this 18-task core aggregate, the endpoint advantage grows from 1.53 points early in training to 3.74 points at the end of annealing. Annealing improves all paths while preserving the benefit of additional inference computation.

Figure 10. Performance and budget gains across training. 18-task core aggregates through the 8K curriculum (left) and gains over each checkpoint’s k=0k=0 score (right). Checkpoints are equally spaced, with cumulative token counts labeled; horizontal distance does not represent token exposure. Gains use rounded scores.

Long-Context Performance

On Accordion-Base-32K, additional depth yields larger gains on longer contexts. On the RULER [29] mean, increasing the budget from k=0k = 0 to k=12k = 12 adds 0.72 points at 4K and 5.47 points at 32K (Figure 11). At 32K, variable tracking and multi-key retrieval benefit most from the added computation (Appendix Table 25). The five-budget interface adapts to context-dependent compute needs. At 16K, k=3k = 3 captures nearly all of the endpoint gain; at 32K, larger budgets unlock further gains through k=9k = 9. Appendix Tables 23–25 provide complete scores, paired gains and task-level results. The evaluation protocol and consistency checks are described in Appendix § 10.

Figure 11. Long-context performance of Accordion-Base-32K on RULER. Scores average 13 tasks with 500 examples per task and context length. Gains over k=0k = 0 use task-stratified paired bootstrap 95% confidence intervals (10,000 resamples). Full scores and endpoint intervals appear in Table 23.

The complete general-capability benchmark results for Accordion-Base-32K appear in Appendix Table 21.

Post-Training

Post-training equips Accordion with conversational reasoning and stronger instruction following while preserving all five inference budgets. Supervised fine-tuning (SFT) produces Accordion-Instruct; domain-specific reinforcement learning (RL) and expert consolidation produce Accordion-RL.

Supervised Fine-Tuning

Accordion-Instruct supports conversational reasoning at all five inference budgets. Under the primary sampled evaluation, increasing the budget from k=0k = 0 to k=12k = 12 improves nine of ten task scores, with the largest gains on competition mathematics and code generation. The same SFT weights support every budget and initialize all three RL experts.

Data

We fine-tune Accordion-Base-32K on publicly released datasets, with an emphasis on mathematics and code. Training consumes 71.7B input tokens, of which 68.5B contribute to the masked training loss. Mathematics and code examples receive one epoch; dialogue, instruction-following, Exercism/SQL and safety examples receive two. Figure 12 summarizes the mixture, and Table 32 gives source-level token counts and epoch allocations. The sources include Nemotron-SFT-Math-v3 ([59]), Nemotron-SFT-Competitive-Programming-v2 ([57]), and Nemotron instruction-following/chat ([56 b]) and safety ([58]) collections. We also use OpenR1-Math-220k ([60]), chain-of-thought traces from OpenMathReasoning ([49]), code examples from AceReason-1.1-SFT ([43]), and correct solutions from Dolci-Think-SFT-Python ([81]).

Figure 12. SFT data composition. Category and source shares use packed input tokens after applying training epochs, totaling 71.734B; 68.5B carry training loss. Validation is excluded. B/M denote billion/million tokens. Exact source counts appear in Table 32.

CategoryDataset / retained subsetSingle pass (B)EpochsTraining (B)
MathematicsNemotron-SFT-Math-v318.098118.098
MathematicsOpenMathReasoning (CoT)23.592123.592
MathematicsOpenR1-Math-220k1.02811.028
CodeNemotron-SFT-Comp.-Prog.-v2 (Python)1.98511.985
CodeNemotron-SFT-Comp.-Prog.-v2 (C++)2.01412.014
CodeAceReason-1.1-SFT (code)9.52919.529
CodeDolci-Think-SFT-Python (correct solutions)3.86713.867
Instruction and otherNemotron instruction/chat-v2 (think)2.30424.608
Instruction and otherNemotron instruction/chat-v2 (direct)1.32022.639
Instruction and otherNemotron chat-v11.66223.323
Instruction and otherNemotron Comp.-Prog.-v2 (exercism / SQL)0.49620.993
Instruction and otherNemotron safety-v10.02920.058
Total71.734

Table 32. SFT training data by source. All 12 packed training components, with input tokens in billions before and after applying the indicated epochs. Category shading identifies mathematics, code, and instruction/other data. Validation is excluded; the 68.5B loss-bearing tokens are a subset of the 71.734B training input tokens. Totals use unrounded counts.

We exclude solutions requiring tool execution and sequences longer than 32K tokens, while retaining multiple solutions to the same problem. Reasoning examples continue the format introduced by the Nemotron reasoning data during mid-training: <think> and </think> enclose the reasoning trace before the final answer. Conversations without reasoning receive a /no_think system instruction. We pack conversations into 32K-token sequences without truncation; Appendix § 12 describes packing and token accounting. To reduce benchmark overlap, we filter conversations against GSM8K, full MATH, HumanEval, MBPP and AIME 2024. A conversation is removed when its user messages match at least 20% of a test question’s non-template 13-grams, removing approximately 19,000 conversations in total. We reserve 0.5% of examples for validation using a split by problem hash, so different solutions to the same problem cannot appear in both training and validation.

Hyperparameters

SFT starts from Accordion-Base-32K and trains all five paths using the uniform micro-batch budget sampling defined in § 2.1. The global batch contains 256 packed 32K-token sequences. Loss is averaged over assistant tokens, including the final end-of-sequence (EOS) token. Training runs for 8,614 steps. The learning rate rises to 2×10−52 \times10^{-5} over 200 warmup steps, then follows a cosine schedule to 2×10−62 \times10^{-6}. Appendix § 12 gives the batch and loss configuration.

Evaluation

We evaluate Accordion-Instruct on ten benchmarks at all five inference budgets, using a common conversational protocol that also supports the matched RL comparison. Eight tasks have public-model comparisons (Table 7); the full suite additionally includes IFBench and LiveCodeBench (Jain et al. [31]). The primary evaluation uses vLLM with temperature T=0.6T = 0.6 and top-p=0.95p = 0.95. We generate one response per problem, except for AIME (Mathematical Association of America, n.d.), which averages 16 sampled responses per problem. Appendix § 12 specifies the common response limits and a matched comparison with greedy decoding. For responses containing a reasoning block, we score the text after the last closing </think> tag; a missing closing tag receives zero. Responses without reasoning are scored in full. IFEval (Zhou et al. [92]) and IFBench (Pyatkin et al. [63]) use strict prompt-level accuracy, MMLU-Redux (Gema et al. [23]) uses answer-letter accuracy, and code tasks use pass@1. IFEval is scored serially, with language detection and Python randomness seeded to zero.

Additional depth improves Accordion-Instruct’s mathematical reasoning and code generation, with the largest gains on competition mathematics and LiveCodeBench (Figure 13). The complete sampled results appear alongside the matched RL results in Appendix Table 38. Appendix Table 34 includes greedy decoding and paired uncertainty intervals for the change from k=0k = 0 to k=12k = 12. Accordion-Instruct exceeds Qwen3-1.7B on HumanEval+ at k=12k = 12, MBPP+ at k=6k = 6 and AIME 2025 at k=9k = 9 (Table 7). On HumanEval+, the margin is 2.44 percentage points. The AIME 2025 comparison also illustrates how a larger budget can change a model’s relative standing while keeping its weights fixed. All models use their native chat templates with the common sampling and scoring settings; OLMoE retains its native 4K context limit, while the others use 32K. Appendix § 12 specifies the reference checkpoints, training stages and common evaluation protocol.

Figure 13. Figure 13: SFT gains over the unlooped budget. Score differences from k=0k=0 under the sampled conversational protocol. AIME averages 16 responses per problem; other tasks use one. Absolute scores and paired intervals appear in Table 34.

The five paths offer task-specific operating points: AIME 2024 reaches its highest sampled score at k=12k = 12, AIME 2025 at k=9k = 9 and MBPP+ at $k = 6 ({xref}Figure 13). {xref}Appendix D` compares greedy and sampled decoding and reports response-completion diagnostics.

Reinforcement Learning

Accordion-RL improves instruction following at every inference budget and combines the capabilities of three domain experts. It exceeds all four evaluated public references on IFEval at every budget and exceeds each of its own teachers on the corresponding domain average. Training proceeds through domain-specific RL, model merging and budget-matched multi-teacher on-policy distillation (MOPD).

Data

We prepare separate instruction-following, mathematics and code pools for expert training, then sample equally from these pools for distillation. All sources are publicly released problem collections (Appendix Table 35). Instruction following (IF) combines Nemotron-Cascade-RL-Instruction-Following, Nemotron-RL-instruction_following and its structured-output collection [52 c,d]. Mathematics combines the OpenMathReasoning RL release, OpenR1-Math-220k [60], AceReason-Math, the AoPS subset of Nemotron-Math-v2 and Nemotron-Cascade-RL-Math. Code uses the competitive-coding and OpenCodeReasoning subsets of Nemotron-RL-coding-competitive_coding. We normalize and deduplicate prompts, remove evaluation overlap, filter by difficulty and verify code examples. Table 8 gives the resulting expert pools and the balanced distillation sample. During MOPD, the student generates its own responses to the sampled prompts; the corresponding RL expert supplies token-level supervision.

DomainExpert pool (prompts)MOPD sample (prompts)MOPD share
Mathematics181,40519,2001/3
Code21,67919,2001/3
Instruction following80,29119,2001/3
Total283,37557,6001

Table 8. Expert training pools and balanced MOPD sampling. Counts are prompts. MOPD samples equally from the three final expert pools; the student generates its own responses under domain- and budget-matched expert supervision.

Hyperparameters

The RL pipeline first trains three domain experts, then merges their parameter updates to initialize one student, and finally distills their predictions into that student. Every expert and the final student retain all five inference paths.

Expert training. The three branches start from Accordion-Instruct and optimize instruction following, mathematics and code with group relative policy optimization (GRPO) and DAPO-style training [71, 88]. Each prompt group is assigned a budget from {0,3,6,9,12}\{0, 3, 6, 9, 12\} by hashing its identifier (MD5 modulo five), giving an approximately uniform allocation. All responses in the group use that budget. A rollout batch can contain all five budgets; groups are partitioned by budget and each nonempty partition receives a separate optimizer update, with the budget order shuffled each training step. Expert-balancing biases remain frozen. The IF branch uses an 8,192-token response limit and a soft overlength penalty; mathematics and code allow 28,672 response tokens within the 32K context window.

Model merging. We use task arithmetic [30] to combine expert parameter changes relative to the shared SFT initialization, with coefficients that vary by parameter group:

θqmerge=θSFT,q+∑jλj,q(θj,q−θSFT,q),\theta^{\mathrm{merge}}_q = \theta_{\mathrm{SFT},q} + \sum_j \lambda_{j,q}(\theta_{j,q} - \theta_{\mathrm{SFT},q}),

where jj indexes the three training domains and qq indexes a parameter group. For attention, shared MoE experts, loop gates and normalization, we use coefficient 1 for the IF expert and 0.5 for each of the code and mathematics experts. The remaining trainable parameters use unit coefficients, while balancing stays fixed at their SFT values. The resulting θmerge\theta^{\mathrm{merge}} initializes the student; §4.2.4 compares merge variants.

Budget-matched distillation. MOPD trains the merged student on its own generated responses, using a domain expert’s token probabilities as supervision. For each response, the teacher is chosen by prompt domain and evaluated at the same loop budget as the student. Only the token-level distillation signal contributes to the objective; task reward is monitored during training. Appendix § 13.5 gives the rollout configuration, training signal and clipping settings.

Training dynamics and model selection. Expert selection uses held-out domain validation and entropy-based stopping; Appendix Table 36 reports the selected steps and validation scores. The final student, Accordion-RL, is selected after ten distillation steps using downstream comparisons with later steps. Appendix § 13.5 specifies checkpoint selection and the corresponding uncertainty estimates. All subsequent evaluations use the same Accordion-RL weights at every inference budget. Expert training and distillation contribute complementary improvements (Figure 14): expert training raises held-out domain validation scores, while token-level distillation reduces teacher–student discrepancy and raises monitored task reward. Appendix Table 37 summarizes these changes.

Figure 14. Expert training improves validation scores; distillation reduces teacher–student discrepancy. Top row: expert validation with two responses per problem at T=0.6T = 0.6 (512 IF/math problems; 387 code problems). Bottom row: IF training reward, MOPD task reward and distillation loss. For IF training reward, solid curves are trailing five-step means over faint raw observations. Dotted lines mark the selected IF/math/code steps 130/30/32 and final MOPD step 10. Each curve represents one run.

Evaluation

To measure the change from SFT to RL at each inference budget, we evaluate the same ten benchmarks with the same examples, generation settings and scoring procedures used for the sampled SFT evaluation in § 4.1.3. The selected Accordion-RL checkpoint uses this protocol at all five budgets. Appendix § 13.§ 3 provides the complete matched scores and group-mean changes.

Accordion-RL exceeds the four evaluated public references on IFEval at every inference budget, with a margin of at least 16.64 percentage points over the strongest reference (Table 9). It also achieves the highest HumanEval+ score among the evaluated settings at k=6k = 6 and narrowly exceeds Qwen3-1.7B on MATH500 at k=12k = 12. Relative to matched SFT, instruction-following and knowledge gains persist across the entire budget range: all 15 task–budget comparisons on IFEval, IFBench and MMLU-Redux show higher scores after RL (Appendix Table 38).

The largest average gains over SFT occur on IFBench and IFEval, followed by MMLU-Redux. Figure 15 compares the matched SFT and RL scores across all five budgets; Appendix Table 38 gives the exact values. Beyond instruction following, RL improves AIME 2025 at k=12k = 12 and both HumanEval+ and LiveCodeBench at k=6k = 6.

Figure 15. SFT and RL performance across inference budgets. Accordion-Instruct and Accordion-RL use matched sampling and scoring on all ten tasks. Exact scores appear in Appendix Table 38.

LiveCodeBench also has substantially fewer truncated responses after RL. Appendix Figure 23 distinguishes this change from accuracy among completed responses.

Increasing Accordion-RL’s budget from k=0k = 0 to k=12k = 12 improves all four mathematics tasks and all three code tasks. Paired endpoint intervals also support gains on GSM8K, MATH500, MBPP+, LiveCodeBench and MMLU-Redux (Appendix Table 39). Budget selection exposes task-specific operating points: LiveCodeBench peaks at k=6k = 6, IFBench at k=9k = 9 and MATH500 at k=12k = 12 (Appendix Table 38). A single model therefore supports several useful quality–cost choices.

Discussion

Accordion-RL consolidates the three experts into one model and surpasses each teacher on its corresponding domain average, with paired 95% intervals excluding zero (Figure 16; Appendix Table 42). Each comparison averages task differences equally within each budget and then across all five budgets.

Figure 16. One student exceeds each domain expert. Blue bars identify the final Accordion-RL model after grouped merging and MOPD. Gains average task differences relative to each domain expert, then average over budgets; error bars are paired bootstrap 95% intervals. IF, code and mathematics contain two, three and four tasks; MMLU-Redux is excluded.

Model merging and distillation make complementary contributions to expert consolidation. Scaling the code and mathematics updates in shared components improves mathematics relative to unit-weight merging while retaining gains over the instruction-following and code experts. Budget-matched distillation adds a further 2.30 points to the mathematics average over this grouped initialization, yielding gains over all three domain experts. Appendix § 13.§ 4 compares the merge variants and reports the integration gains; Appendix § 13.5 specifies distillation and model selection.

What Changes in the Second Pass?

Accordion reuses weights while changing both the experts selected and the residual updates written into the hidden state. The effects of these updates also depend on which neighboring repetitions remain. Activation measurements and paired interventions show how shared parameters support distinct computations along the elastic-depth paths.

We probe Accordion-Base-32K at k=12k = 12 on 1,800 held-out documents, equally divided among web text, mathematics and code, with 1,024 targets per document. An intervention changes second-pass computation and recomputes all downstream activations. We report ΔNLL=NLLedit−NLLk=12\Delta\mathrm{NLL} = \mathrm{NLL}_{\mathrm{edit}} - \mathrm{NLL}_{k=12}; a positive value means worse prediction on the same targets. Appendix § 11 gives the controls, complete layerwise results and statistical protocol.

Shared Weights Support Input-Dependent Expert Selection

The second pass selects substantially different experts at specific layers. Layer 9 retains only 1.52 of its eight routed experts on average, and most tokens share at most one expert between passes. Layers 7, 8 and 11 also switch extensively, whereas the remaining repeated layers largely reuse their first-pass selections (Figure 17).

Figure 17. Input-driven expert switching contributes to prediction. Left, mean overlap under actual routing, input-only and bias-only controls; independent uniform top-eight draws from 128 experts have expected overlap 0.5. Center, token-level overlap distributions for all twelve layers. Right, fixing first-pass expert sets versus removing second-pass MoE writes. Counts exclude the shared expert. Curves show point estimates; definitions and selected intervals are in Appendix § 11.

The updated input drives this change. Changing the balancing bias alone largely preserves expert selection; changing the input with the first-pass bias reproduces actual overlap to within 0.20 experts. At layer 9, fixing the second-pass expert set to its first-pass selection incurs nearly the same NLL penalty as removing the entire second-pass MoE write.

Repeated Layers Write Distinct Updates

Repeated layers preserve the residual-stream direction while producing substantial, differently directed updates. In layers 7–12, gated second-pass MoE writes remain comparable in size to first-pass writes but are nearly orthogonal to them (Figure 18). Attention writes also change direction, while residual-stream cosines stay above 0.967 across the repeated window.

Figure 18. Shared parameters produce distinct residual updates. Left, second-pass write norms relative to first-pass norms, with second-pass gates applied; the dashed line denotes equal magnitude. Right, cross-pass cosines of attention writes, MoE writes and residual streams. Residual streams remain closely aligned while attention and MoE writes change direction. Measurements average per-token quantities within each document and then across documents. Accordion-Base-32K, k=12k = 12.

Even tokens routed to the same eight experts across passes receive distinct outputs, showing that expert reuse also supports input-dependent computation. Appendix § 11.§ 1 gives the conditional measurements and sampling definition.

Expert reselection and distinct second-pass writes persist through SFT and RL. Removing all second-pass writes increases NLL at each stage, measured relative to that stage’s own baseline (Appendix § 11.§ 2).

The Effects of Repeated Layers Do Not Simply Add Up

Distinct second-pass updates need not make independent contributions to prediction. Work on the Hydra effect shows that ablating one language-model component can change downstream computations, including compensatory responses [46]. This motivates testing whether the effect of removing several repetitions can be predicted by adding their individual removal effects.

For each three-layer set, we compare three separate interventions, each starting from the intact k=12k = 12 model and removing one layer’s second-pass attention and MoE writes, with one intervention removing all three together. All effects use the same intact baseline, and downstream activations are recomputed after each intervention. For layers 7–9, the three individual NLL increases sum to 24.65 millinats/token, whereas joint removal increases NLL by only 8.07. Across all four tested adjacent triplets, joint removal costs 15–33% of the summed individual effects; for the four spaced triplets, it costs 96–103% (Table 10).

Adjacent layersSpaced layers
Removed layers7–910–1213–1516–187, 11, 158, 12, 169, 13, 1710, 14, 18
Sum of singles24.6519.798.000.8616.3215.2712.159.56
Joint effect8.073.611.230.2516.4915.8112.199.13
Joint / sum0.330.180.150.291.011.031.000.96

Table 10. Removing adjacent repetitions together costs less than the sum of separate removals. All eight tested three-layer sets. “Sum of singles” adds NLL increases from three separate interventions; “Joint effect” measures one intervention removing all three layers’ second-pass attention and MoE writes. Values are in millinats/token relative to the intact k=12k = 12 model. First-pass execution remains intact. A ratio of one means the two quantities agree. Complete results and uncertainty estimates are in Appendix § 11.§ 3.

The sum combines effects measured on different modified paths: each single-layer removal leaves the other repetitions active. Joint removal evaluates a different path, so its loss increase need not equal that sum. The observed discrepancy establishes that single-layer removal effects cannot be treated as independent contributions; it does not by itself identify a compensation mechanism. Removing all second-pass writes likewise costs 13.38 millinats/token, compared with a sum of 53.30 for individual removals. For Accordion, this means that the benefit of extra depth must be assessed on the complete budget path; adding single-layer ablation effects would overestimate the endpoint NLL gain. Appendix § 11.§ 3 gives further group comparisons and interpretation details.

Related Work

Looped Transformers

Looped Transformers increase effective depth by repeatedly applying layers with shared weights [15, 38]. This family includes latent recurrent language models, which refine hidden states before predicting each token. The repeated unit can be a whole stack [93, 51], an internal block [22, 83], or an individual layer [21]. Stack and block recurrence pass representations through multiple layers per iteration; layer looping reuses each layer locally before advancing. Accordion builds on local layer reuse, assigning each budget a fixed prefix of a middle window while retaining the unlooped path.

Elastic Inference

Elastic inference requires shared weights to support several execution paths, implemented through nested subnetworks [16, 8, 78, 79], reduced depth (Fan et al., 2019; Schuster et al., [70]; Elhoushi et al., [18], or sampled recurrence depths (Geiping et al., [22]). Recurrence can also be introduced into pretrained models with frozen weights through damped updates (Chen et al., [9]).

For jointly trained recurrent depths, the central challenge is preserving shallow-path quality while benefiting from deeper computation. LoopFormer aligns trajectories through shortcut consistency (Jeddi et al., [32]). Stochastic RINS improves unlooped inference through recurrence dropout and budget-specific adapters (Alabdulmohsin and Zhai, [1]), while Elastic Latent Recurrence (ELR) addresses the one-loop tax through gated updates and within-update depth mixing, with loop conditioning supporting deeper budgets (Ladhak et al., [36]). Accordion addresses this trade-off through path design: fixed-prefix paths share gates across budgets and are trained by uniformly sampling one path per pretraining micro-batch. Budget selection is a separate choice: learned routing allocates depth per token (Raposo et al., [66]; Bae et al., [4]; Yu et al., [87]; You et al., [86]). Accordion exposes depth as a caller-selected budget, using one fixed path for every token in a request.

Conclusion

Accordion makes inference depth a selectable property of a single model. Fixed-prefix layer looping supports five trained execution paths, and joint training preserves these choices through pretraining, SFT and RL. The base model obtains most of its additional-depth gain at the middle budget; its 32K extension retains depth gains on long-context tasks. Budget-matched multi-teacher distillation combines three domain experts into a student that exceeds each expert on its domain’s task-and-budget average. The resulting model outperforms the four evaluated public references on IFEval at every budget and retains depth-dependent gains in mathematical reasoning and code generation. Mechanistic probes show that repeated layers reselect experts and write distinct updates, with prediction effects that depend on neighboring repetitions. Together, these results establish a training recipe based on public data for combining adjustable inference depth with domain expertise in one set of weights.

Comparison of Execution Structures

Looped language models differ in the unit of repeated computation: Huginn repeats a shared core ([22]), Ouro repeats the full stack ([93]), and Loopie repeats individual layers ([21]) (Figure 19). Accordion adopts local layer looping and jointly trains a fixed set of prefix paths (Figure 2).

Comparison of execution structures for Accordion, Huginn, Ouro, and Loopie

Figure 19. Execution structures for depth reuse. Execution proceeds bottom to top. Accordion repeats a middle-layer prefix (k=6k = 6 shown); Huginn repeats a core; Ouro repeats the full stack; Loopie repeats each MoE layer. RR denotes recurrence count. Blue denotes single execution and cream/gold repeated execution. Peer layer counts are schematic.

Pretraining Data and Evaluation Details

Accordion-Base is the 8K model obtained after 3.6T training tokens. A further 50B tokens over 5,960 updates produce Accordion-Base-32K, which initializes SFT. Both models have complete results on the same 37 general-capability benchmarks at all five budgets. The main benchmark comparison reports Accordion-Base. Section 3.3.4 reports long-context results for Accordion-Base-32K; Appendix B.7 gives its full benchmark table and detailed evaluation protocol.

Data Accounting

Available tokens in Table 11 denote approximate source-pool sizes. Expected consumption sums each stage’s token budget weighted by its source sampling fraction; expected repetitions express this consumption in source-pool equivalents. The source pools total approximately 9.57T tokens under the rounded quantities listed here, while the selected 835 shards contain approximately 4.68T tokens. The 3.6T training budget samples from the selected shards; stage-specific seeds 1234/1235/1236 change document order for shared sources. Within each source category, shards are stratified by average document length. We reserve one source shard each from Nemotron-CC v2 HQ, FineMath-3+ and StarCoder Python for validation, excluding these shards from training. Context extension combines selected long documents with replay from the annealing distribution. Table 12 specifies the target domain sampling proportions for this 50B-token stage.

The audit cited in § 3.3 scans the 302B-token Diverse-QA source pool with the training tokenizer, excluding 13-grams shared by multiple questions within a benchmark. This pool is the Diverse-QA component of the combined 679B-token Diverse-QA + HQ-DQA row in Table 11. The reported high-overlap threshold requires coverage of at least 50% of a question’s non-template 13-grams. It flags 73 of 1,319 GSM8K questions and 3 of 500 MATH500 questions. These counts characterize overlap in the source pool; actual exposure depends on the sampled training stream. Reported benchmark scores include the flagged questions and are computed on the full evaluation sets.

Evaluation Protocol and Aggregation

Accordion-Base and the public reference models are evaluated on the same 37 tasks, with Accordion retaining all five inference budgets (Table 6). Table 13 gives the core prompting and scoring settings. For Ouro-1.4B only, we remove trailing whitespace from HumanEval/HumanEval+ prompts before generation; all other settings are unchanged, and these corrected scores enter all benchmark tables and aggregates. The extended suite includes SciQ ([85]), SocialIQA ([69]), MuSR ([74]), AGIEval ([90]), GSM8K-Platinum ([82]), GSM-Plus ([39]), MathQA ([2]), ASDiv ([47]) and both CRUXEval tasks ([25]). The reading tasks are DROP ([17]), SQuAD ([65]), CoQA ([67]), RACE ([37]) and LAMBADA ([61]); the report-only MMLU-Pro task follows Wang et al. [84]. The three summary scopes are specified in Table 14. ASDiv and arithmetic remain in the secondary suite; MATH500, cloze MMLU and MMLU-Pro are reported individually and enter only the full-table summary.

CategoryTasks and promptingScoring
KnowledgeMMLU (Hendrycks et al., [27]) (5-shot)<br>TriviaQA (Joshi et al., [33])<br>Natural Questions (Kwiatkowski et al., [34]) (5-shot)Multiple-choice accuracy<br>Closed-book exact match
Common senseARC-C / ARC-E (Clark et al., [12]) (25-/8-shot)<br>CommonsenseQA (Talmor et al., [80])<br>HellaSwag (Zellers et al., [89]) (10-shot)<br>WinoGrande (Sakaguchi et al., [68]) (5-shot)<br>OpenBookQA (Mihaylov et al., [48])<br>BoolQ (Clark et al., [11]), PIQA (Bisk et al., [7]) (0-shot)Task-specific harness scoring
ReasoningBBH (Suzgun et al., [77]) (3-shot CoT)Strict answer matching<br>aggregate over subtasks
MathematicsGSM8K (Cobbe et al., [13]) (3-shot CoT)<br>Full MATH (4-shot)Flexible answer extraction<br>Mathematical-equivalence checking
CodeHumanEval (Chen et al., [10]) /<br>HumanEval+ (Liu et al., [42]) (0-shot)<br>MBPP (Austin et al., [3]) / MBPP+ (3-shot)Greedy pass@1<br>CPU subprocess test execution

Table 13. Core evaluation protocol for Accordion-Base and public references. All five budgets use identical tasks, prompts and scoring. Shot counts specify in-context examples; CoT denotes chain-of-thought prompting. Evaluation includes full MATH (Hendrycks et al., [28]) with 5,000 problems and a separately reported MATH500 (Lightman et al., [41]) score.

SummaryTasksCategory scope
Core aggregate18Five: knowledge, common sense, reasoning, mathematics and code.
Secondary aggregate34Six: the core categories plus reading, with 16 additional tasks overall.
Full-table summary37Five display groups; knowledge and reading are combined under Knowledge and QA. Every displayed task is included.

Table 14. Task and category scopes of the pretraining summaries. All three use the equal-category averaging rule in Equation (7). The core aggregate is used for training trajectories.

MBPP and MBPP+ score different program sets (500 and 378 programs, respectively). Their absolute scores therefore reflect both test strength and the composition of the scored sets. The reference-model category scores use the same evaluation suite as Accordion. Tasks marked {sup}† are excluded from the 18-task and 34-task aggregates. The 37-task summary in {xref}Figure 7 uses the displayed benchmark scores and includes every row in each display group; its Overall is calculated from the five category means before rounding. Core and secondary aggregates follow the fixed category definitions in {xref}Table 14`. Paired endpoint intervals use the 18-task core scope; the 37-task aggregate and its 89% gain-retention estimate are descriptive summaries of the full-suite scores. Benchmark scores use one decimal place (two for corrected Ouro HumanEval/HumanEval+); source data retain original precision.

Across performance tables, bold identifies the best distinct displayed value within the comparison group specified in each caption. The second-best value is <u>underlined</u> when the group contains at least four available candidates; missing scores do not count. Ties at the displayed precision share the same marking. In public-model comparisons, fills in the corresponding category color highlight Accordion’s first and second places, with a stronger tint for first place. These descriptive ranks do not indicate statistical significance; unavailable results, counts and confidence intervals are not ranked.

Held-Out Language-Modeling Loss

Increasing inference depth monotonically reduces held-out loss in web text, mathematics and code on identical validation tokens (Table 15). Each domain uses the held-out source shard specified above and the same validation indices as during pretraining; Table 16 gives the evaluation settings. These losses use Accordion-Base before context extension; Accordion-Base-32K is reported separately in Appendix § 10.§ 8. Token, target and loss-mask checksums agree across budgets and with a repeated evaluation of the annealing model. All 15 repeated losses match the original annealing results at the reported precision, confirming consistency of the evaluation inputs and reported losses.

Domaink=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12
Web2.30592.29762.29352.29212.2919
Math1.35051.34191.33791.33671.3366
Code0.86930.86290.85960.85860.8584

Table 15. Held-out validation loss of Accordion-Base. Lower is better. Each domain uses identical validation tokens across budgets. Values are batch-mean point estimates rounded to four decimal places; sequence-level records for paired intervals are unavailable. The endpoint reductions reported in § 3.3.2 use unrounded records. Bold and underlining mark the lowest and second-lowest loss in each row.

SettingValueSettingValue
Sequences per domain1,400Expert parallelism degree1
Tokens per sequence8,192Micro-batch / global batch (sequences)4 / 28
Loss tokens per domain11,468,800Evaluation iterations50
GPUs7Random seed1234

Table 16. Held-out loss evaluation settings. The same settings and validation sequences are used for all five inference budgets in each domain.

Common-Protocol Model Specifications

The comparison uses Accordion-Base, Qwen3-0.6B/1.7B, OLMoE-0125 and Ouro-1.4B under the protocol in Appendix § 10.§ 2. The OLMoE training configuration combines 5,033B first-stage tokens with a 100B-token annealing stage, for approximately 5.1T tokens. Ouro-1.4B is configured for four recurrent steps with early exit at the third step. It uses unfused attention, with one example per batch on generation tasks.

Paired Evidence for Depth Gains

Additional depth improves all 18 core-task point estimates, with paired 95% intervals excluding zero for 12 tasks (Table 18). The core aggregate increases from 52.49 at k=0k = 0 to 56.23 at k=12k = 12 (+3.74 points; paired 95% interval [3.17, 4.34]). Within this scope, k=6k = 6 retains 83% of the endpoint gain as a descriptive ratio.

Table 18: Paired endpoint gains on the core suite. Accordion-Base differences between k=12k = 12 and k=0k = 0 (percentage points), with paired bootstrap 95% confidence intervals reflecting evaluation-sample uncertainty.

TaskGain95% CITaskGain95% CI
MMLU+2.63[+2.02, +3.21]BoolQ+0.98[+0.03, +1.96]
TriviaQA+0.55[+0.19, +0.91]PIQA+0.49[−0.33, +1.31]
Natural Questions+0.50[−0.11, +1.14]BBH+6.01[+5.01, +7.06]
ARC-C+1.45[+0.09, +2.73]GSM8K+8.26[+6.07, +10.61]
ARC-E+0.59[−0.04, +1.26]Full MATH+2.64[+1.54, +3.74]
CommonsenseQA+3.52[+1.80, +5.41]HumanEval+4.27[−1.22, +9.76]
HellaSwag+0.97[+0.65, +1.27]HumanEval++3.05[−2.44, +8.54]
WinoGrande+1.10[−0.63, +3.00]MBPP+5.20[+2.40, +8.40]
OpenBookQA+2.20[+0.40, +4.00]MBPP++5.82[+2.38, +9.26]

Table 18.

Model-Design Study Configuration

The model-design ablations in § 2.2 evaluate shared-path design choices in a 1.61B-parameter configuration trained on 80B tokens. Table 19 specifies this experimental configuration; § 3 specifies the main Accordion model.

Table 19: Configuration for the 1.61B-parameter design studies. Active parameters refer to a single unlooped forward pass and exclude the input embedding and output head. WSD denotes warmup–stable–decay.

SettingValue
Layers / hidden size / Q / KV / head dim24 / 768 / 6 / 2 / 128
Routed / shared / active experts; intermediate size128 / 1 / 8; 192
Total / active parameters; vocabulary1.61B / 0.14B; 129,280
Loopable window / budgets7–18 / {0,3,6,9,12}\{0, 3, 6, 9, 12\}
Training tokens / context / tokens per step80B / 8K / 2.1M
Peak LR / final LR / schedule7.07×10−47.07 \times10^{-4} / 1% of peak / WSD
Warmup / decay1,000 steps / final 10%
AdamW β\beta / weight decay / gradient clipping(0.9, 0.95) / 0.1 / 1.0
Weight initializationstd. 0.006, truncated at ±3σ\pm3\sigma
Gates ggzero initialization, no weight decay
MoE balancingper-pass bias; sequence auxiliary loss 10−410^{-4}
Precision / GPUsbfloat16 / 64× H800

Table 19.

Accordion-Base-32K Evaluation

Accordion-Base-32K retains the five-budget interface after context extension. Table 21 reports all 185 task scores; Table 20 summarizes the five capability categories. Table 22 reports held-out losses on the same 8K sequences used for Accordion-Base. Long-context results are discussed in § 3.3.4, with the full protocol and task scores below.

Table 20: Category-level performance of Accordion-Base-32K. Categories average the displayed scores in Table 21, including the Ouro correction. Reference columns follow the main-text order.

CategoryAccordion-Base-32K k=0k = 0Accordion-Base-32K k=3k = 3Accordion-Base-32K k=6k = 6Accordion-Base-32K k=9k = 9Accordion-Base-32K k=12k = 12Qwen3 0.6BQwen3 1.7BOLMoE 0125Ouro 1.4B
Knowledge and QA49.2749.9450.3450.4350.5541.8049.6550.4451.36
Common sense65.2866.1866.6166.5666.6257.0065.3366.6067.67
Reasoning39.1340.6042.3042.4342.5733.9043.3731.2048.23
Mathematics40.2541.8343.4043.8543.6642.4153.1830.5350.30
Code40.8743.5244.2044.9544.6531.6746.1317.6745.28

Table 20.

BenchmarkAccordion-Base-32K k=0k=0k=3k=3k=6k=6k=9k=9k=12k=12Qwen3 0.6BQwen3 1.7BOLMoE 0125Ouro 1.4B
Pretraining tokens3.65T36T36T5.1T7.7T
Knowledge and QA
MMLU58.460.361.161.361.452.562.755.267.5
TriviaQA52.152.852.752.652.720.036.362.743.8
Natural Questions19.219.820.019.920.17.513.825.817.2
SciQ95.895.995.895.795.693.696.193.995.8
MMLU (cloze){sup}†43.944.745.445.545.536.643.543.745.1
MMLU-Pro{sup}†31.834.935.436.036.025.737.518.348.9
DROP4.44.54.64.74.74.615.332.14.7
SQuAD57.156.857.957.758.356.559.342.957.1
CoQA78.178.979.279.379.773.979.171.881.5
RACE37.336.336.536.836.935.139.537.938.3
LAMBADA63.964.465.165.265.153.863.170.565.1
Common sense
ARC-C57.958.959.060.059.945.055.458.260.0
ARC-E82.283.082.882.983.174.782.282.584.0
CommonsenseQA64.166.268.067.167.362.975.665.677.0
HellaSwag74.375.075.475.475.453.667.179.774.4
WinoGrande66.667.869.268.468.759.866.171.970.8
OpenBookQA41.642.842.843.442.834.238.444.441.4
BoolQ78.779.979.879.679.969.678.970.279.9
PIQA77.677.477.878.078.269.975.879.778.6
Social IQa44.544.644.744.244.343.348.547.242.9
Reasoning
BBH54.858.261.061.361.340.853.332.670.8
MuSR36.937.638.037.738.134.744.335.539.0
AGIEval-en25.726.027.928.328.326.232.525.534.9
Mathematics
GSM8K55.560.061.562.662.859.271.351.178.6
MATH (5,000)39.739.941.142.342.328.538.916.922.0
MATH500{sup}†40.041.841.642.642.431.839.417.221.4
GSM8K-Platinum58.262.065.165.665.362.575.853.180.9
GSM-Plus-mini38.538.541.542.241.833.250.433.854.9
MathQA46.447.247.947.748.036.845.228.049.8
Multi-digit arithmetic32.232.035.833.032.287.396.543.792.2
ASDiv11.513.212.714.814.50.07.90.42.6
Code
HumanEval38.442.742.744.543.328.750.611.635.37
HumanEval+36.039.039.640.239.622.643.911.032.32
MBPP48.651.651.853.853.439.055.621.058.0
MBPP+63.064.866.466.967.254.570.629.976.7
CRUXEval output23.323.525.625.025.516.121.813.127.5
CRUXEval input35.939.539.139.338.929.134.319.441.8

Table 21. Base-model comparison across all 37 benchmarks. All models follow the protocol in Appendix B.2. Accordion-Base-32K uses 3.65T training tokens, including 50B for context extension. Category scores appear in Table 20.

Bold/underlining: row best/second-best; fills mark Accordion ranks (ties included). † Diagnostics. MATH variants remain separate. Ouro HumanEval/HumanEval+: trailing prompt whitespace removed; corrected scores used throughout.

Domaink=0k=0k=3k=3k=6k=6k=9k=9k=12k=12
Web2.30072.29232.28832.28692.2867
Math1.34361.33471.33081.32961.3295
Code0.86810.86180.85860.85760.8574

Table 22. Accordion-Base-32K held-out loss. The 8K evaluation settings match Table 15; lower is better.

Long-Context Evaluation Protocol

Tasks and generation. We evaluate 13 RULER tasks: eight needle-retrieval tasks, variable tracking, two word-aggregation tasks and two QA tasks. Inputs use the training tokenizer at 4K, 8K, 16K and 32K, with greedy generation. The scorer measures the fraction of reference targets recovered for retrieval, tracking and aggregation; QA receives credit when any reference answer is found. Scores are averaged equally across the 13 tasks. Accordion-Base-32K uses 500 examples per task and context length at all five budgets k=0,3,6,9,12k = 0, 3, 6, 9, 12, with budget contrasts paired on identical examples.

Table 23: RULER for Accordion-Base-32K. Scores average 13 tasks (%), using 500 examples per task and context length. The last column gives the paired k=0k = 0 to k=12k = 12 gain [95% CI] in percentage points. Bold and underline mark the highest and second-highest scores within each row.

Contextk=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12Δ12\Delta_{12} [95% CI]
4K86.5286.2986.8787.2787.23+0.72 [0.24, 1.20]
8K78.1579.1879.4479.9779.95+1.79 [1.17, 2.40]
16K70.1073.9474.3874.1574.03+3.93 [3.16, 4.66]
32K49.4951.8054.5854.9054.95+5.47 [4.69, 6.23]

Table 23. RULER for Accordion-Base-32K.

Paired uncertainty estimates. Confidence intervals use task-stratified paired bootstrap with 10,000 resamples: examples are resampled within each task, the same indices are used for both budgets, and the 13 task gains are averaged equally. Gains are calculated before rounding. Intervals quantify evaluation-sample uncertainty conditional on the trained checkpoint. The scorer matches reference answers anywhere in the generated continuation after lowercasing and control-character normalization. Context and output together can exceed the nominal sequence length by approximately 50 tokens.

Endpoint-gain intervals exclude zero at all four context lengths (Table 23). At 32K, the improvement from k=3k = 3 to k=9k = 9 is concentrated in variable tracking and multi-key retrieval. Tables 24 and 25 retain all task scores.

Table 24: Complete RULER task scores at 4K and 8K. Scores are percentages over 500 examples per task and budget. S: single-needle; MK: multi-key; MQ: multi-query; MV: multi-value; VT: variable tracking; CWE/FWE: common/frequent-word extraction; QA1/2: SQuAD/HotpotQA. Bold/underline mark the highest/second-highest scores per row, including ties.

4K context8K context
Taskk=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12Taskk=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12
S1100.00100.00100.00100.00100.00S1100.00100.00100.00100.00100.00
S2100.00100.00100.00100.00100.00S2100.00100.00100.00100.00100.00
S397.2093.2095.0095.4095.40S388.4083.4083.0083.6083.60
MK195.6096.6096.4096.6096.00MK187.2091.6093.8094.8095.00
MK299.4099.80100.00100.00100.00MK297.6099.2099.4099.0098.80
MK397.2099.2099.6099.8099.80MK390.0096.0094.4095.6095.80
MQ94.5595.4594.3094.4094.65MQ90.0092.1090.7091.1591.35
MV95.4092.0591.5591.9591.85MV88.2086.7586.6585.7586.35
VT89.9292.0893.0494.4094.52VT68.4873.0878.2881.5280.28
CWE60.2858.0458.4659.4059.50CWE42.4044.5443.4643.6043.40
FWE84.2078.5384.9386.0085.53FWE72.7369.0769.0769.1369.13
QA167.0070.8070.6070.8071.20QA147.8050.4050.4051.0050.60
QA244.0046.0045.4045.8045.60QA243.2043.2043.6044.4045.00

Table 24. Complete RULER task scores at 4K and 8K.

16K context
Taskk=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12
S1100.00100.00100.00100.00100.00
S2100.00100.00100.00100.00100.00
S397.8097.8097.4097.6097.80
MK169.2072.2077.8078.8079.20
MK286.8091.6093.8092.8093.20
MK369.0081.0079.2080.0077.80
MQ76.7083.2583.2081.7082.95
MV81.9587.8087.6586.4086.20
VT35.8852.0052.6450.1647.76
CWE35.0236.3633.2432.8833.02
FWE73.3372.8772.2773.6073.67
QA148.6047.8050.2050.4050.60
QA237.0038.6039.6039.6040.20
32K context
Taskk=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12
S199.0095.2095.4095.2095.20
S291.2092.0093.6093.4093.00
S395.0092.8094.8095.4095.60
MK152.0049.8057.8057.0056.80
MK241.8057.0063.8061.4060.80
MK318.2029.0028.0029.2028.60
MQ56.5559.5560.6062.6563.45
MV51.1053.7557.8057.6558.10
VT9.2016.4830.7633.8033.88
CWE12.8614.909.948.108.40
FWE58.4052.7353.2056.2755.93
QA125.2027.8030.2029.4030.60
QA232.8032.4033.6034.2034.00

Table 25. Complete RULER task scores at 16K and 32K. The protocol, task abbreviations and ranking marks follow Table 24. Each task and budget uses 500 examples.

Evaluation consistency. All budgets use the same Accordion-Base-32K weights, tokenizer, examples and scoring rule, with exact agreement in example identities verified across budgets. A cross-implementation check repeats the unlooped evaluation on three 4K tasks using identical examples and the original batch partition; verbatim prediction agreement is 488/500 for multi-value retrieval, 477/500 for common-word extraction and 498/500 for variable tracking; absolute task-score differences are at most 0.25 points. Budgets k=3,9k = 3, 9 use a revised inference implementation. The earlier implementation used for the other budgets was not archived, and cross-implementation validation is restricted to the three reported 4K tasks.

Second-Pass Mechanism and Supporting Probes

Probe Protocol and Internal Representations

We probe Accordion-Base-32K at k=12k = 12 on 1,800 held-out documents, with 600 each from web text, mathematics and code. Documents have 1,024–15,999 tokens, are sampled without replacement and are deduplicated on their first 1,024 tokens. Each contributes those targets after an end-of-document token. Expert overlap counts the intersection of the two top-eight routed sets, excluding the shared expert. The routing and attention diagnostics adapt SMELT [83] to in-place layer repetition.

Interventions edit second-pass writes, preserve first-pass execution and recompute downstream activations. We compare teacher-forced NLL with the intact k=12k = 12 baseline using matched bf16 execution and fixed expert summation order. Intervals use 2,000 paired document bootstrap resamples, stratified by domain, with 95% percentile bounds. Recording preserves logits; removing all second-pass writes exactly recovers k=0k = 0, and suffix removals recover intermediate budgets. Fixed-prefix execution makes a repeated layer’s upstream computation identical across budgets that include it. Documents were split by a deterministic hash into exploration and confirmation halves; whole-layer removal effects differ by at most 0.3 millinats/token between halves. These probes measure inference-time sensitivity within one training run.

Input-only routing changes the input while retaining the first-pass bias; bias-only routing changes the bias while retaining the first-pass input (Figure 17). Fixing expert sets preserves second-pass inputs and recomputes mixture weights from second-pass scores. Fixing sets and weights additionally copies first-pass mixture weights.

Even with identical routed sets, ∥r2−r1∥/∥r1∥\lVert r_2-r_1\rVert/\lVert r_1\rVert ranges from 0.39 to 0.87 across layers, where rr is the routed-expert output before gating. These conditional groups range from 861 tokens at layer 9 to 256,756 at layer 14. Their means weight tokens within each group; both inputs and mixture weights can change despite identical expert sets.

Mean gate magnitudes are 0.36–0.69 in layers 7–12 and 0.06–0.11 in layers 16–18, with second-pass training exposures of 60–80% and 20%, respectively. Position, gate magnitude and exposure covary under fixed-prefix training.

Write-norm ratios are computed per token using its first-pass write norm plus 10−1210^{-12}, then averaged within and across documents; no first-pass write has zero norm.

Attention readouts change despite similar target selection (Figure 20). Queries and keys retain cosines of 0.92–0.98, while output-projection cosines span −0.07–0.88. The same head retains 72% of its top-eight targets, versus 42% for another KV group and 53% for the same KV group.

Figure 20. Attention readouts change despite similar target selection. Left, cross-pass cosines before gating: normalized input (XX), queries (QQ), keys (KK), values (VV), attention-weighted values (PVPV) and output projection (OO). Right, top-eight target overlap for the same head across passes (Same head), and within-pass controls using another head in the same or a different KV group (Same KV / Other KV), at query positions at least 64.

Mean attention mass on the initial EOD token increases by 0.137 in the second pass across the twelve layers. Changed readouts thus coexist with similar target selection and increased attention to this sink position.

Write Interventions and Persistence through Post-Training

Layerwise interventions localize prediction sensitivity across the twelve repeated layers and test the learned write magnitude (Table 26). In layers 7–12, both attenuation and amplification raise NLL for attention, MoE and combined writes. Scaling multiplies the already gated second-pass write by α∈{0.5,1.5}\alpha\in\{0.5, 1.5\}; the intact model has α=1\alpha= 1. At layer 9, fixing the expert set costs 6.08 [5.78, 6.38] millinats/token, versus 6.73 [6.42, 7.06] for removing the MoE write (95% intervals).

Table 26: Complete layerwise intervention effects. Δ\DeltaNLL in millinats/token. “Both” always refers to second-pass attention and MoE writes, with first-pass execution preserved. The lower block of each panel gives scaling factors.

Edit / layer789101112
Remove attention1.863.112.712.342.451.98
Remove MoE5.3210.236.733.037.805.62
Remove both writes7.949.077.647.286.865.66
Fix expert set0.573.236.080.081.930.21
Fix set and weights1.034.085.950.212.130.26
Attention, 0.50.320.500.540.540.530.25
Attention, 1.50.871.120.550.500.660.82
MoE, 0.51.231.801.590.832.021.19
MoE, 1.52.486.851.020.291.351.27
Both, 0.51.461.841.911.791.961.26
Both, 1.57.388.651.731.042.832.48
Edit / layer131415161718
Remove attention0.440.050.300.280.010.01
Remove MoE2.552.441.450.070.220.09
Remove both writes4.282.191.520.540.230.09
Fix expert set0.060.070.09-0.02-0.04-0.01
Fix set and weights0.100.120.18-0.020.000.00
Attention, 0.50.10-0.150.040.09-0.01-0.10
Attention, 1.50.110.420.12-0.030.000.04
MoE, 0.50.740.450.350.000.030.00
MoE, 1.50.180.670.30-0.010.06-0.01
Both, 0.51.130.300.330.14-0.01-0.05
Both, 1.50.351.170.41-0.020.060.09

Table 26.

Second-pass computation contributes to prediction across domains and through post-training. Removing all writes from Accordion-Base-32K costs 14.25, 15.26 and 10.63 millinats/token in web text, mathematics and code, respectively.

Across Base-32K, Instruct and RL, removal increases NLL by 13.38, 9.66 and 7.22 millinats/token, with positive 95% intervals at every stage (Table 27). Common raw-text inputs provide a shared reference for comparing these computations. The largest cross-stage layerwise differences are 0.37 shared experts and 0.12 in MoE norm ratio. Within this persistent profile, removing layer 13’s combined write costs 4.3, 8.3 and 6.8 millinats/token, respectively.

Table 27: Second-pass computation remains useful across training stages. Baseline NLL is in nats/token; intervention effects and their 95% document bootstrap intervals are in millinats/token. Each stage uses its own intact baseline on the same raw documents, without chat templates.

MeasurementBase-32KInstructRL
Baseline NLL1.56741.69741.7046
Remove all writes13.38 [12.92, 13.87]9.66 [8.92, 10.41]7.22 [6.44, 7.97]
Remove all MoE38.23 [37.28, 39.18]43.04 [41.76, 44.30]47.20 [45.87, 48.53]
Remove all attention16.94 [16.38, 17.52]29.79 [28.82, 30.70]29.65 [28.68, 30.56]
Fix all expert sets12.58 [12.10, 13.06]17.98 [17.22, 18.71]19.56 [18.78, 20.33]

Table 27.

Layer-Group Structure of Nonadditive Effects

Fifteen group interventions compare contiguous and spaced removals to characterize how layer arrangement shapes joint effects (Table 28), including the equal-size triplets in Table 10. For a removed set SS, the additive reference is ∑ℓ∈SΔNLLℓ\sum_{\ell\in S} \Delta\mathrm{NLL}_{\ell}; the joint/sum ratio divides the measured joint effect by this reference. Ratios below one indicate subadditivity. All values use the same paired k=12k = 12 baseline.

Removed layers16–1813–1510–127–97, 11, 15
Joint effect0.251.233.618.0716.49
95% interval[0.18, 0.32][1.09, 1.37][3.37, 3.84][7.72, 8.46][15.98, 17.04]
Sum of singles0.868.0019.7924.6516.32
Joint / sum0.290.150.180.331.01
Ratio 95% interval[0.23, 0.36][0.14, 0.17][0.17, 0.19][0.32, 0.34][1.00, 1.03]
Removed layers8, 12, 169, 13, 1710, 14, 1813–1810–15
Joint effect15.8112.199.131.454.82
95% interval[15.28, 16.37][11.78, 12.64][8.76, 9.53][1.30, 1.59][4.56, 5.08]
Sum of singles15.2712.159.568.8627.79
Joint / sum1.031.000.960.160.17
Ratio 95% interval[1.02, 1.05][0.99, 1.02][0.94, 0.97][0.15, 0.18][0.17, 0.18]
Removed layers7–127, 9, 11 13, 15, 178, 10, 12 14, 16, 1810–187–15
Joint effect11.8923.8323.205.0113.18
95% interval[11.44, 12.36][23.19, 24.57][22.52, 23.96][4.74, 5.28][12.73, 13.65]
Sum of singles44.4428.4724.8328.6552.44
Joint / sum0.270.840.930.170.25
Ratio 95% interval[0.26, 0.27][0.83, 0.85][0.92, 0.95][0.17, 0.18][0.24, 0.26]

Table 28. Joint effects for every tested three-, six- and nine-layer set. Effects and intervals are in millinats/token. Sums use unrounded single-layer estimates. Ratio intervals resample the joint and single-layer effects on the same documents.

All adjacent triplet ratio intervals lie below one; spaced triplet point estimates remain close to one. Contiguous six- and nine-layer sets yield ratios of 0.16–0.27, versus 0.84 and 0.93 for the two spaced six-layer sets. The tested sets include both suffixes and interior segments.

Pair interventions refine the group-level finding (Table 29): layers 10+11 have a joint/sum ratio of 0.47, whereas the adjacent pair 9+10 has a ratio of 0.97. Nonadditivity also occurs within a layer: removing layer 8’s MoE write costs 10.23 millinats/token, compared with 9.07 for removing both writes. The effect of a write depends on the remaining computation.

Removed layers7, 88, 98, 119, 109, 1110, 1112, 13
Joint effect8.7812.9116.6014.4516.566.708.61
95% interval[8.43, 9.16][12.45, 13.43][16.07, 17.18][13.97, 14.98][16.04, 17.13][6.40, 7.01][8.28, 8.93]
Sum of singles17.0216.7115.9314.9114.4914.139.94
Joint / sum0.520.771.040.971.140.470.87
Ratio 95% interval[0.50, 0.53][0.76, 0.79][1.03, 1.05][0.95, 0.98][1.13, 1.16][0.46, 0.49][0.85, 0.88]

Table 29. Pair effects depend on layer identity. Seven layer-pair interventions quantify variation in joint effects, with 95% document bootstrap intervals. Joint ΔNLL\Delta\mathrm{NLL} is in millinats/token.

These comparisons characterize the tested layer sets: adjacent and spaced groups contain different layers, so they do not isolate layer distance as the cause of the difference. Many internal removals also produce paths outside the five trained prefixes. The results therefore describe sensitivity to these interventions rather than establish why fixed-prefix training outperforms other path designs.

Second-pass writes at layers 7, 8, 10 and 11 oppose the next layer’s first-pass write (cosines −0.45–−0.38, versus −0.04–0.03 at k=0k = 0). These alignments characterize update direction along the intact path; the Hydra effect ([46]) concerns downstream write changes induced by ablation. Identifying such compensation here would require measuring the downstream response to removal; neither intact-path alignment nor the joint/sum ratio alone establishes it.

Length Dependence and Structured Prediction

The following behavioral probes connect additional depth to input structure. They complement the internal measurements with controlled length bins and a structured answer task. The length analysis uses 7,863 held-out documents from the same three domains, divided into nine bins up to 8K, following the length-binned diagnostic in SMELT [83]. Within each bin, the gain is the token-weighted reduction NLL0−NLLk\mathrm{NLL}_0 - \mathrm{NLL}_k on complete documents.

Depth gains in the five longer bins remain within 13.2–15.1 millinats/token across checkpoints, while the shortest-bin gain decreases from 20.0 to 4.5. The length and position profiles appear in Figure 21, and Table 30 reports the ratios at all four nonzero budgets. At k=12k = 12, the long/short gain ratio consequently rises from 0.85 at 2.01T tokens to 1.14 at 3T and 1.44 for Accordion-Base-32K: longer-bin gains persist as short-input gains decrease. This within-8K analysis complements the 32K retrieval evaluation in Appendix § 10.

Measurementk=3k = 3k=6k = 6k=9k = 9k=12k = 12
Long / short gain1.151.291.441.44
95% interval[0.97, 1.43][1.10, 1.57][1.23, 1.73][1.23, 1.73]

Table 30. Length preference across all nonzero budgets. Long/short gain ratios for Accordion-Base-32K. Long bins end at 512–4,096 tokens; short bins at 32–256 tokens. The ratio compares unweighted means of the four bin-level gains in each group. Intervals are 95% document bootstrap intervals.

Figure 21. Depth gains across input lengths and positions. Accordion-Base-32K, k=12k = 12 versus k=0k = 0. All nine bins are shown; whiskers give 95% document bootstrap intervals. The final bin ends at 8,191 tokens.

Bracket completion. Additional depth improves structured answer prediction on 400 newly generated prompts in the BIG-bench Dyck Languages format (BIG-bench authors, 2023), each with 32 demonstrations. The task predicts the closing sequence for unmatched opening brackets. Teacher-forced exact match requires every target bracket to be the argmax when conditioned on the gold preceding sequence; answer NLL sums the target-bracket losses.

With 32 demonstrations, additional depth raises teacher-forced exact match (Table 31) from 8.5% to 12.0% (+3.5 points; 95% question-bootstrap interval [1.25, 5.75]) and reduces answer NLL by 0.259 nats at k=12k = 12, demonstrating a structured-prediction benefit under long-demonstration inputs.

Metrick=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12
Exact match (%)8.5010.0011.7512.0012.00
Answer NLL change0.000-0.224-0.259-0.272-0.259

Table 31. Depth improves bracket completion with long demonstrations. All five budgets on the same 400 prompts with 32 demonstrations. Exact match is teacher-forced, and answer NLL changes are nats per answer relative to k=0k = 0. At all tested positive demonstration counts below 32, paired exact-match gain intervals include zero.

Depth gains without demonstrations. A nine-task sweep (excluding MMLU) measures depth gains at zero and sixteen demonstrations: 1.45 and 0.95 points, respectively. Paired intervals for the change across shot counts include zero. The positive zero-shot point estimate locates a depth benefit without demonstrations.

Supervised Fine-Tuning Details

Accordion-Instruct is trained for 8,614 steps from Accordion-Base-32K, with all five inference budgets sharing the resulting weights. The common conversational evaluation protocol supports paired comparisons with Accordion-RL at each budget.

Data Sources and Packing

Training-token counts account for the number of epochs assigned to each of the 12 data components (Table 32). Single-pass counts measure packed input tokens, including multiple retained solutions per problem. The resulting training set contains 71.734B input tokens, of which 68.5B contribute to the loss. The source-level counts in Table 32 separate mathematics, code, and instruction/other data.

Table 32: SFT training data by source. All 12 packed training components, with input tokens in billions before and after applying the indicated epochs. Category shading identifies mathematics, code, and instruction/other data. Validation is excluded; the 68.5B loss-bearing tokens are a subset of the 71.734B training input tokens. Totals use unrounded counts.

Optimization

The SFT recipe resets the optimizer state and uses a global batch of 256 packed sequences of length 32,768, corresponding to a nominal 8,388,608 input tokens per update. The iteration counter also resets; with the budget-sampling seed unchanged, SFT restarts the budget sequence used at the beginning of pretraining. Micro-batch size is one sequence, with context parallelism of two and data parallelism of 256 across 512 GPUs. Packed conversations have separate attention boundaries and reset position indices. Consumed-token counts reflect actual pack occupancy within the nominal batch capacity.

Generation and Scoring Protocol

Evaluation uses vLLM with bfloat16 precision and identical task-specific prompts, response limits and scorers for SFT and RL. Table 33 groups tasks by their output-token limits. Sampling and deterministic IFEval scoring follow § 4.1.3; the greedy comparison changes only the decoding policy for the eight non-AIME tasks. Paired percentile intervals resample problems after averaging repeated responses within each problem. Table 34 specifies the SFT bootstrap settings; the RL endpoint intervals in Table 39 use 2,000 resamples with Python random.Random(0). The incomplete-response rate counts answers without a closing reasoning tag; it is distinct from reaching the token limit.

TasksMaximum output tokens
GSM8K, IFEval, IFBench, MMLU-Redux8,192
MATH500, HumanEval+, MBPP+16,384
AIME 2024, AIME 2025, LiveCodeBench30,000

Table 33. Output-token limits for the common post-training evaluation. The matched SFT and RL comparison uses the same limits. Public references request these limits, capped by their remaining context space as specified in Appendix D.4.

Taskk=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12Δ12\Delta_{12}95% CI
Greedy (one response per problem)
GSM8K75.8279.7681.2082.2681.27+5.46[+3.26, +7.58]
MATH50069.4076.6077.6078.4082.20+12.80[+8.80, +16.60]
HumanEval+65.2463.4170.1268.2965.85+0.61[−6.10, +6.71]
MBPP+60.0562.1766.4066.1466.67+6.61[+2.38, +10.85]
LiveCodeBench18.9423.7927.9726.6526.21+7.27[+4.19, +10.35]
IFEval52.3154.3457.6756.0154.16+1.85[−2.59, +6.47]
IFBench16.0018.6720.0018.3318.67+2.67[−1.67, +7.33]
MMLU-Redux53.2662.2764.3262.7463.10+9.83[+8.44, +11.37]
Sampling (T=0.6T = 0.6, top-p=0.95p = 0.95; AIME averages 16 responses)
GSM8K83.4085.6788.7887.7288.63+5.23[+3.26, +7.13]
MATH50083.4084.8087.4086.8089.20+5.80[+2.60, +8.80]
AIME 202430.0034.7939.5843.5443.75+13.75[+8.54, +19.17]
AIME 202526.8828.9632.9236.8831.88+5.00[+1.46, +8.96]
HumanEval+79.8878.0579.2779.8881.71+1.83[−4.27, +7.32]
MBPP+69.5867.7273.0270.9072.75+3.17[−1.06, +7.14]
LiveCodeBench26.6531.9434.5836.3437.89+11.23[+7.49, +14.98]
IFEval62.1164.8865.9963.4060.07−2.03[−6.47, +2.40]
IFBench17.3320.3320.3319.3323.00+5.67[+1.00, +10.67]
MMLU-Redux60.8863.4765.8266.1765.16+4.28[+2.80, +5.67]

Table 34. SFT decoding policies across all five budgets. vLLM scores (%), endpoint differences Δ12\Delta_{12} and paired 95% intervals (percentage points). Differences are calculated before rounding. Intervals use NumPy default_rng(0); the resample count is unrecorded in the archived evaluation. Sampled scores serve as the SFT baseline in Table 38; the greedy comparison tests depth gains across decoding policies. AIME has one 16-response sampled evaluation. Ranks compare the five budgets within each task and decoding-policy row.

TaskΔ12\Delta_{12}95% CITaskΔ12\Delta_{12}95% CI
GSM8K+5.00[3.18, 6.82]HumanEval++4.27
MATH500+6.00[3.00, 9.00]MBPP++4.23[0.53, 7.94]
AIME 2024+10.63−LiveCodeBench+6.61[3.08, 10.35]
AIME 2025+8.75−MMLU-Redux+3.79[2.57, 4.99]

Table 39. Accordion-RL gains from additional depth. Differences compare k=12k = 12 with k=0k = 0, in percentage points, and are calculated before rounding. Paired 95% percentile intervals use 2,000 problem-level resamples with Python random.Random(0); a dash indicates that no interval is reported here.

The gains from additional depth persist under both decoding policies (Figure 22). All eight non-AIME tasks improve between k=0k = 0 and k=12k = 12 under greedy decoding, and seven improve under sampling. Under each policy, five of these task gains have paired 95% intervals excluding zero. Both AIME tasks use the same sampled evaluation in the two comparisons and also have positive endpoint intervals. Sampled LiveCodeBench improves monotonically across the five budgets, whereas sampled IFEval peaks at k=6k = 6. These differences favor selecting the budget for the target workload; Table 34 provides all scores and intervals.

Figure 22. SFT budget response under greedy and sampled decoding. Sampling uses T=0.6T = 0.6, top-p=0.95p = 0.95 and one response per problem. Output limits are held fixed within each task. Complete scores and paired intervals appear in Table 34.

Common-Protocol Public Post-Training Comparison

Reference configurations. The reference models are Qwen3-0.6B, Qwen3-1.7B, OLMoE-1B-7B-0125-SFT and Ouro-1.4B-Thinking. Each model uses its native chat template. Qwen3 enables thinking; OLMoE uses its native direct-answer mode. Ouro uses four total recurrent steps with early exit at step three and preserves special tokens. Generation uses vLLM 0.24 in bfloat16 with no system prompt. Sampling, reasoning-block extraction and deterministic IFEval scoring follow the common protocol in §4.1.3 for all references, SFT and RL. Requested output limits are those in Table 33. The realized cap is the smaller of that limit and remaining context space. OLMoE’s native context is 4,096, giving realized limits of 3,088–4,069; other references use 32,768.

Primary scores and diagnostics. All primary scores use the common task-specific answer extractors. Alternative code-block and MMLU letter-extraction scores characterize extraction sensitivity. The model names and context limits identify the reference configurations used in Tables 7 and 9. Budget gains reflect both answer quality and whether the reasoning trace reaches a final answer. On MATH500, sampling raises k=0k = 0 accuracy from 69.4% to 83.4% and reduces responses without a closing reasoning tag from 24.8% to 5.4%. Additional depth raises sampled accuracy to 89.2%, yielding a 5.80-point endpoint gain alongside the 12.80-point gain under greedy decoding. On sampled LiveCodeBench, this incomplete-response fraction falls from 36.8% to 21.1% as kk increases from 0 to 12. These completion statistics accompany the matched decoding-policy comparisons in Table 34.

Reinforcement-Learning Details

Data Sources

Expert training draws on public collections of instruction-following, mathematics and code problems. Source-level counts before difficulty and code-verifier filtering appear in Table 35; the final expert pools and balanced distillation sample appear in Table 8.

DomainPublic dataset / subsetPrompts
Instruction followingNemotron-Cascade-RL-Instruction-Following98,092
Instruction followingNemotron-RL-instruction_following45,079
Instruction followingNemotron-RL instruction following (structured outputs)9,437
MathematicsNemotron-RL-math-OpenMathReasoning81,277
MathematicsOpenR1-Math-220k59,703
MathematicsAceReason-Math46,280
MathematicsNemotron-Math-v2 (AoPS subset)17,479
MathematicsNemotron-Cascade-RL-Math2,417
CodeNemotron-RL-coding-competitive_coding (competitive problems)14,170
CodeSame release (filtered OpenCodeReasoning-25k subset)7,846

Table 35. Public sources for RL. Counts describe the deduplicated and decontaminated source pools before difficulty and code-verifier filtering. The final expert pool sizes are reported in the text. Mathematics counts sum to 207,156, IF to 152,608 and code to 22,016. Dataset names link to their public releases where separately identifiable.

Expert Training and Model Selection

Accordion-RL is obtained after ten distillation steps from a weighted merge of the three RL experts. All experts share Accordion-Instruct as their initialization. Their selected training steps and stopping criteria are summarized in Table 36.

Table 36: Expert selection and entropy-based stopping. Steps count domain-specific rollout/training iterations, each containing up to five per-budget optimizer updates; hardware allocations are reported below. The learning-rate scheduler advances once per training step. Validation scores average all five budgets. Training stops when entropy exceeds the domain-specific threshold. The selected experts are merged to initialize the student, selected after ten distillation training steps.

ExpertSelected stepValidation score (%)Stopping stepEntropy at stoppingEntropy threshold
IF13081.111331.8111.8
Mathematics3047.89451.5331.5
Code3270.85351.5271.5

Table 36.

Expert training uses the filtered domain pools in § 5.0.1 and the prompt-group budget assignment and per-budget updates in § 5.0.2. Response generation and policy evaluation use the same budget. The soft overlength penalty is disabled for mathematics and code. Prompts contain up to 2,048 tokens for mathematics and code, and 4,096 tokens for instruction following, within the 32,768-token context window. The mathematics branch uses 24 nodes and code 40 nodes; the IF branch uses 24 nodes at stopping. Training uses verl ([72]), FSDP2 and vLLM ([35]).

Validation samples two responses per problem at T=0.6T = 0.6 across all five budgets. The IF and mathematics validation sets each contain 512 problems; the code set contains 387. AIME’s 60 problems are additionally monitored for mathematics but do not enter expert stopping decisions. A new checkpoint must improve over the current best by more than one paired standard error to replace it; the plateau rule stops after three evaluations without such improvement. In all three runs, the entropy threshold is reached before the validation plateau rule would stop training (Table 36). The paired one-standard-error selection rule retains the step-30 mathematics expert: the subsequent 0.51-point increase at step 40 is below its 0.61-point paired standard error (Table 37).

Table 37: Expert learning, distillation progress and selection statistics. Expert validation averages the five budgets. The ten-step distillation objective uses teacher supervision; task reward is monitored separately. The lower block reports the paired mathematics checkpoint-selection comparison.

QuantityValue or change
IF mean training reward, first 50 recorded steps≈0.47→0.72\approx0.47 \to0.72
Mathematics validation gain over initial evaluation (pp)+1.11+1.11
Code validation gain over initial evaluation (pp)+6.59+6.59
MOPD task reward, ten-step run0.466→0.6490.466 \to0.649
MOPD token distillation loss, ten-step run0.0708→0.00740.0708 \to0.0074
Mathematics validation at step 40 (%)48.40
Step 40 improvement over selected step 30 (pp)0.51
Paired standard error of that improvement (pp)0.61

Table 37.

Merge and student selection. The grouped merge is selected from the parameter-group alternatives in Table 41. Student selection compares downstream evaluations of MOPD steps 10, 20, 30, 40 and 50 and selects step 10. Candidates after step 10 use an added task-reward term and a lower learning rate. Reported paired intervals quantify evaluation-sample uncertainty conditional on the selected models, without adjustment for checkpoint or merge selection.

Table 41: Merge variants relative to the corresponding domain expert. Entries are equal-task, equal-budget mean gains [paired 95% intervals], in percentage points. Omitted domains in pairwise merges have coefficient zero; unspecified included coefficients are one. “Shared” denotes the 289 tensors in Table 40. A mathematics-domain interval is unavailable for the IF–code merge.

VariantInstruction followingCodeMathematics
IF + code+1.76 [+0.35,+3.11]+0.47 [−0.77,+1.62]–
IF + math+1.93 [+0.51,+3.28]+2.03 [+0.83,+3.21]−0.52 [−1.34,+0.32]
Code + math−24.67 [−26.44,−22.91]+1.97 [+0.85,+3.13]−0.06 [−0.84,+0.69]
Unit weights+1.85 [+0.47,+3.21]+0.44 [−0.76,+1.66]−4.92 [−5.95,−3.93]
Math 0.5 throughout+2.69 [+1.31,+4.11]+1.17 [+0.12,+2.27]−2.24 [−3.03,−1.44]
Shared code/math 0.5+2.36 [+0.90,+3.79]+1.78 [+0.64,+2.98]−0.93 [−1.75,−0.10]
Remaining code/math 0.5+1.97 [+0.65,+3.38]+1.11 [−0.06,+2.29]−3.18 [−4.14,−2.23]
Shared code 0.5+2.04 [+0.63,+3.44]+1.31 [+0.22,+2.40]−2.00 [−2.84,−1.17]
Shared IF 0.5−3.41 [−4.78,−1.99]+1.52 [+0.41,+2.67]−1.73 [−2.57,−0.92]

Table 41.

Learning signals. During the ten-step distillation run, token distillation loss falls from 0.0708 to 0.0074, while monitored task reward rises from 0.466 to 0.649 under a distillation-only objective. Table 37 places these signals alongside expert training gains and the mathematics selection statistics.

Full Matched Final-Model Evaluation

The matched comparison evaluates Accordion-RL and Accordion-Instruct on the same problems at each budget. Table 38 reports all scores and the equal-task mean RL−SFT change within each displayed group: knowledge/instruction following (three tasks), mathematics (four) and code (three). IFEval uses the deterministic scoring procedure in § 4.1.3. The matched generation and scoring protocol is specified there and in Appendix § 12.

Benchmarkk=0k = 0k=3k = 3k=6k = 6k=9k = 9k=12k = 12
IFEval62.11 / 87.9964.88 / 88.9165.99 / 89.8363.40 / 89.8360.07 / 89.83
IFBench17.33 / 48.3320.33 / 50.6720.33 / 50.6719.33 / 52.6723.00 / 46.67
MMLU-Redux60.88 / 70.9863.47 / 73.6865.82 / 74.1366.17 / 75.1865.16 / 74.77
Knowledge / IF mean Δ\Delta+22.33+21.53+20.83+22.93+21.01
GSM8K83.40 / 84.1585.67 / 87.3488.78 / 88.6387.72 / 89.5488.63 / 89.16
MATH50083.40 / 83.8084.80 / 84.8087.40 / 88.6086.80 / 89.6089.20 / 89.80
AIME 202430.00 / 34.5834.79 / 39.7939.58 / 40.8343.54 / 45.2143.75 / 45.21
AIME 202526.88 / 27.9228.96 / 32.7132.92 / 36.8836.88 / 35.8331.88 / 36.67
Mathematics mean Δ\Delta+1.69+2.61+1.57+1.31+1.85
HumanEval+79.88 / 79.8878.05 / 78.0579.27 / 86.5979.88 / 82.9381.71 / 84.15
MBPP+69.58 / 69.5867.72 / 71.4373.02 / 71.4370.90 / 72.4972.75 / 73.81
LiveCodeBench26.65 / 28.6331.94 / 29.7434.58 / 39.8736.34 / 37.8937.89 / 35.24
Code mean Δ\Delta+0.66+0.50+3.67+2.06+0.28

Table 38. Complete matched SFT and RL evaluation. Benchmark cells give Accordion-Instruct / Accordion-RL scores (%). Mean Δ\Delta rows average the displayed RL−SFT differences equally over tasks within each group, in percentage points. Bold and underlining identify the best and second-best of the ten model–budget scores per benchmark; group changes are not ranked.

RL reduces the response-level truncation rate on LiveCodeBench from 21.4–37.7% under SFT to 1.3–2.6% across budgets. On the full matched problem set, accuracy at k=6k = 6 rises from 34.58% to 39.87%; Table 38 reports all five budgets. Figure 23 separates response completion from accuracy conditional on completion.

Figure 23. Response completion and conditional accuracy on LiveCodeBench. RL and SFT use matched generation settings. Conditional scores characterize each model’s own nontruncated subset, with RL−SFT differences of −14.83 to −5.18 points across these different subsets. Overall accuracy in Table 38 uses the full paired problem set.

Model Merging

All expert deltas are defined relative to the common SFT initialization and combined using the merge rule in §4.2.2. Table 40 specifies the coefficients and tensor counts for each parameter group. Expert-comparison domain summaries average task differences equally within each budget and then average the five budgets; MMLU-Redux is excluded. Their 95% intervals use paired problem-bootstrap resampling, averaging repeated AIME responses within each problem, without adjustment across comparisons. Merging uses single-precision arithmetic on corresponding tensors with matching shapes, preserving the shared architecture and the frozen SFT balancing biases.

Table 40: Parameter groups in the selected RL merge. Coefficients multiply expert deltas relative to SFT. The first row defines the 289 shared-component tensors referred to in the merge comparisons. Frozen balancing biases are copied, not merged.

Parameter groupTensorsIFCodeMath
Attention projections and attention normalization; shared MoE experts; loop gates; layer normalization, including the final norm28910.50.5
Routed expert projections; routers; embeddings; language-model head74111
Frozen balancing biases48Copied from SFT
Total411–––

Table 40.

Scaling code and mathematics deltas in shared components improves the mathematics-domain difference by 3.99 points relative to unit-weight merging, while retaining positive gains over the instruction-following and code experts (Table 41). These merge controls test the parameter grouping used to initialize three-domain distillation. After distillation, the student exceeds the corresponding specialist by 1.65 points in instruction following, 1.37 in mathematics and 2.04 in code, with all three paired 95% intervals above zero (Table 42). These equal-task, equal-budget domain averages establish integration of the three specialists in one checkpoint.

Table 42: Domain-level gains after merging and distillation. Differences are percentage points, averaging tasks equally within each budget and then averaging the five budgets. Intervals use paired problem-bootstrap resampling.

ComparisonMean gain95% CI
Student versus IF expert, instruction following+1.65[0.30, 3.03]
Student versus mathematics expert, mathematics+1.37[0.65, 2.11]
Student versus code expert, code+2.04[0.82, 3.21]
Student versus grouped merge, mathematics+2.30[1.46, 3.14]

Table 42.

Multi-Teacher On-Policy Distillation

Teacher matching. MOPD initializes the student from the grouped merge and selects one of the three expert teachers according to each prompt’s domain. The teacher uses the student’s loop budget and scores the same response generated by the student. For a student response yy to prompt xx from domain jj, let ct=(x,y<t)c_t = (x, y_{<t}) denote the token context. The token-level training signal is

atdistill=−clip⁡(log⁡πstudent(yt∣ct;k)πteacher,j(yt∣ct;k),−10,10).a_{t}^{\mathrm{distill}}=-\operatorname{clip}\left(\log\frac{\pi_{\mathrm{student}}(y_t\mid c_t;k)}{\pi_{\mathrm{teacher},j}(y_t\mid c_t;k)},-10,10\right).

Both probabilities therefore score the same token and prefix at the same budget. This signal is used as a token-level advantage with proximal policy optimization (PPO) clipping at 0.2 and token-level importance weights correcting rollout/training discrepancies. The first ten training steps optimize distillation alone, with coefficient one; task rewards are logged but do not enter this objective.

Sampling and updates. Distillation samples equally from the three domain pools in § 5.0.1. It uses the same identifier-based budget assignment and separate per-budget optimizer updates as expert training (§ 5.0.2). The learning-rate scheduler advances once per training step, which can contain up to five optimizer updates. Teacher inference instances serve fixed domain–budget combinations, ensuring that supervision matches the student’s domain and budget. The generation, optimization and hardware settings are listed in Table 43.

Multi-teacher on-policy distillation settings. The student generates its own responses, and each domain expert evaluates them at the student’s inference budget.

SettingValueSettingValue
Training pool (prompts)57,600Warmup (training steps)10
Prompts per rollout batch576Peak learning rate10−610^{-6}
Responses per prompt8Student nodes36
Responses per rollout batch4,608Additional teacher nodes4
Max. prompt tokens2,048GPUs per node8 H800
Max. response tokens28,672Teacher inference instances32
Context limit (tokens)32,768

Table 43.

Domain-matched teachers and budget-matched supervision preserve the five inference paths during expert integration. The resulting domain-average improvements are reported in Table 42.

Computational Details

Computational Cost

Uniform budget sampling jointly trains five inference paths in one checkpoint, with an average calculated training cost of approximately 1.202× the unlooped path per token at 8K (a 20.2% increase). Estimates include forward and backward attention and active-parameter computation, excluding communication and activation recomputation. KV storage assumes bf16 values, four 128-dimensional heads and separate caches for repeated layers (Table 44). Latency grows approximately with execution count, while additional memory closely follows KV storage. Table 44 includes the 95th-percentile end-to-end latency across timed iterations.

We measure inference cost across all budgets using one 80 GB H800 with vLLM 0.24.0 ([35]) and PyTorch 2.1.1. Weights and activations use bf16, with FlashAttention, fused MoE kernels, graph compilation and CUDA graphs. Each layer execution has a separate KV cache. Chunked prefill processes up to 32,768 tokens per step; prefix caching is disabled, and the KV pool is sized for each workload. Prompts are contiguous held-out web spans. Measurements use Accordion-RL, whose architecture is unchanged by post-training. Table 44 specifies prompt lengths and batch sizes.

Greedy decoding ignores the end-of-sequence marker. Let TnT_n denote the synchronized latency to generate nn output tokens in one iteration. We measure T1T_1 and T128T_{128} and compute

TTFT=T1,TPOT=T128−T1127,Tend−to−end=T128.(8)\mathrm{TTFT}=T_1,\qquad\mathrm{TPOT}=\frac{T_{128}-T_1}{127},\qquad T_{\mathrm{end-to-end}}=T_{128}. \tag*{(8)}

Five warm-up iterations precede 20 timed iterations. Reported latencies average two hosts’ medians, with budget order reversed between hosts. The largest discrepancy is 7.7% relative to the smaller measurement. Peak allocated GPU memory includes weights (approximately 11 GiB), the KV pool and CUDA-graph buffers. At the 32K workload with batch size eight, peak allocated memory ranges from 24.90 to 30.90 GiB across the five budgets on one 80 GB H800.

References

  1. [1]Ibrahim Alabdulmohsin and Xiaohua Zhai. Recursive Inference Scaling: A Winning Path to Scalable Inference in Language and Multimodal Systems. arXiv preprint arXiv:2502.07503, 2025. URL https://arxiv.org/abs/2502.07503.
  2. [2]Aida Amini, Saadia Gabriel, Peter Lin, Rik Koncel-Kedziorski, Yejin Choi, and Hannaneh Hajishirzi. MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalisms. arXiv preprint arXiv:1905.13319, 2019. URL https://arxiv.org/abs/1905.13319.
  3. [3]Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, et al. Program Synthesis with Large Language Models. arXiv preprint arXiv:2108.07732, 2021. URL https://arxiv.org/abs/2108.07732.
  4. [4]Sangmin Bae, Yujin Kim, Reza Bayat, Sungyun Kim, Jiyoun Ha, Tal Schuster, Adam Fisch, Hrayr Harutyunyan, Ziwei Ji, Aaron Courville, et al. Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation. arXiv preprint arXiv:2507.10524, 2025. URL https://arxiv.org/abs/2507.10524.
  5. [5]Loubna Ben Allal, Anton Lozhkov, Elie Bakouch, Gabriel Martín Blázquez, Guilherme Penedo, Lewis Tunstall, Andrés Marafioti, Hynek Kydlíček, Agustín Piquères Lajarín, Vaibhav Srivastav, et al. SmolLM2: When Smol Goes Big – Data-Centric Training of a Small Language Model. arXiv preprint arXiv:2502.02737, 2025. URL https://arxiv.org/abs/2502.02737.
  6. [7]Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. PIQA: Reasoning about Physical Commonsense in Natural Language. arXiv preprint arXiv:1911.11641, 2019. URL https://arxiv.org/abs/1911.11641.
  7. [8]Ruisi Cai, Saurav Muralidharan, Greg Heinrich, Hongxu Yin, Zhangyang Wang, Jan Kautz, and Pavlo Molchanov. Flextron: Many-in-One Flexible Large Language Model. arXiv preprint arXiv:2406.10260, 2024. URL https://arxiv.org/abs/2406.10260.
  8. [9]Lizhang Chen, Jonathan Li, Chen Liang, Ni Lao, and Qiang Liu. Training-Free Looped Transformers. arXiv preprint arXiv:2605.23872, 2026. URL https://arxiv.org/abs/2605.23872.
  9. [10]Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, et al. Evaluating Large Language Models Trained on Code. arXiv preprint arXiv:2107.03374, 2021. URL https://arxiv.org/abs/2107.03374.
  10. [11]Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questions. arXiv preprint arXiv:1905.10044, 2019. URL https://arxiv.org/abs/1905.10044.
  11. [12]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. arXiv preprint arXiv:1803.05457, 2018. URL https://arxiv.org/abs/1803.05457.
  12. [13]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, et al. Training Verifiers to Solve Math Word Problems. arXiv preprint arXiv:2110.14168, 2021. URL https://arxiv.org/abs/2110.14168.
  13. [14]DeepSeek-AI. DeepSeek-V3 Technical Report. arXiv preprint arXiv:2412.19437, 2024. URL https://arxiv.org/abs/2412.19437.
  14. [15]Mostafa Dehghani, Stephan Gouws, Oriol Vinyals, Jakob Uszkoreit, and Łukasz Kaiser. Universal Transformers. arXiv preprint arXiv:1807.03819, 2018. URL https://arxiv.org/abs/1807.03819.
  15. [16]Devrit, Sneha Kudugunta, Aditya Kusupati, Tim Dettmers, Kaifeng Chen, Inderjit Dhillon, Yulia Tsvetkov, Hannaneh Hajishirzi, Sham Kakade, Ali Farhadi, et al. MatFormer: Nested Transformer for Elastic Inference. arXiv preprint arXiv:2310.07707, 2023. URL https://arxiv.org/abs/2310.07707.
  16. [17]Dheeru Dua, Yizhong Wang, Pradeep Dasigi, Gabriel Stanovsky, Sameer Singh, and Matt Gardner. DROP: A Read-ing Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphs. arXiv preprint arXiv:1903.00161, 2019. URL https://arxiv.org/abs/1903.00161.
  17. [18]Mostafa Elhoushi, Akshat Shrivastava, Diana Liskovich, Basil Hosmer, Bram Wasti, Liangzhen Lai, Anas Mahmoud, Bilge Acun, Saurabh Agarwal, Ahmed Roman, et al. LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding. arXiv preprint arXiv:2404.16710, 2024. URL https://arxiv.org/abs/2404.16710.
  18. [19]Angela Fan, Edouard Grave, and Armand Joulin. Reducing Transformer Depth on Demand with Structured Dropout. arXiv preprint arXiv:1909.11556, 2019. URL https://arxiv.org/abs/1909.11556.
  19. [20]Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, et al. A Framework for Few-Shot Language Model Evaluation, 2023. URL https://github.com/EleutherAI/lm-evaluation-harness.
  20. [21]Zitian Gao, Yilong Chen, Yihao Xiao, Xinyu Yang, Ran Tao, Joey Zhou, and Bryan Dai. Loop the Loopies! arXiv preprint arXiv:2607.16051, 2026. URL https://arxiv.org/abs/2607.16051.
  21. [22]Jonas Geiping, Sean McLeish, Neel Jain, John Kirchenbauer, Siddharth Singh, Brian R. Bartoldson, Bhavya Kailkhura, Abhinav Bhatale, and Tom Goldstein. Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach. arXiv preprint arXiv:2502.05171, 2025. URL https://arxiv.org/abs/2502.05171.
  22. [23]Aryo Pradipta Gema, Joshua Ong Jun Leang, Giwon Hong, Alessio Devoto, Alberto Carlo Maria Mancino, Rohit Saxena, et al. Are We Done with MMLU? arXiv preprint arXiv:2406.04127, 2024. URL https://arxiv.org/abs/2406.04127.
  23. [24]Angeliki Giannou, Shashank Rajput, Jy yong Sohn, Kangwook Lee, Jason D. Lee, and Dimitris Papailiopoulos. Looped Transformers as Programmable Computers. arXiv preprint arXiv:2301.13196, 2023. URL https://arxiv.org/abs/2301.13196.
  24. [25]Alex Gu, Baptiste Rozière, Hugh Leather, Armando Solar-Lezama, Gabriel Synnaeve, and Sida I. Wang. CRUXEval: A Benchmark for Code Reasoning, Understanding and Execution. arXiv preprint arXiv:2401.03065, 2024. URL https://arxiv.org/abs/2401.03065.
  25. [26]Xiaotian Han, Yiren Jian, Xuefeng Hu, Haogeng Liu, Yiqi Wang, Qihang Fan, Yuang Ai, Huaibo Huang, Ran He, Zhenheng Yang, et al. InfiM-M-WebMath-40B: Advancing Multimodal Pre-Training for Enhanced Mathematical Reasoning. arXiv preprint arXiv:2409.12568, 2024. URL https://arxiv.org/abs/2409.12568.
  26. [27]Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring Massive Multitask Language Understanding. In International Conference on Learning Representations, 2021a. URL https://arxiv.org/abs/2009.03300.
  27. [28]Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring Mathematical Problem Solving With the MATH Dataset. arXiv preprint arXiv:2103.03874, 2021b. URL https://arxiv.org/abs/2103.03874.
  28. [29]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. URL https://arxiv.org/abs/2404.06654.
  29. [30]Gabriel Ilharco, Marco Tulio Ribeiro, Mitchell Wortsman, Suchin Gururangan, Ludwig Schmidt, Hannaneh Hajishirzi, and Ali Farhadi. Editing models with task arithmetic, 2023. URL https://arxiv.org/abs/2212.04089.
  30. [31]Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, and Ion Stoica. LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code. arXiv preprint arXiv:2403.07974, 2024. URL https://arxiv.org/abs/2403.07974.
  31. [32]Ahmadreza Jeddi, Marco Ciccone, and Babak Taati. LoopFormer: Elastic-Depth Looped Transformers for Latent Reasoning via Shortcut Modulation. arXiv preprint arXiv:2602.11451, 2026. URL https://arxiv.org/abs/2602.11451.
  32. [33]Mandar Joshi, Eunsol Choi, Daniel S. Weld, and Luke Zettlemoyer. TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehension. arXiv preprint arXiv:1705.03551, 2017. URL https://arxiv.org/abs/1705.03551.
  33. [34]Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, et al. Natural Questions: A Benchmark for Question Answering Research. Transactions of the Association for Computational Linguistics, 7:452–466, 2019. doi: 10.1162/tacl_a_00276. URL https://aclanthology.org/Q19-1026/.DOI
  34. [35]Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. Efficient Memory Management for Large Language Model Serving with PagedAttention. arXiv preprint arXiv:2309.06180, 2023. URL https://arxiv.org/abs/2309.06180.
  35. [36]Faisal Ladhak, Shantanu Acharya, Santiago Akle Serrano, Simeng Sun, Boris Ginsburg, and Krishna C Puvvada. One Model to Loop Them All: Elastic Latent Recurrence for Language Models. arXiv preprint arXiv:2610.12582, 2026. URL https://arxiv.org/abs/2610.12582.
  36. [37]Guokun Lai, Qizhe Xie, Hanxiao Liu, Yiming Yang, and Eduard Hovy. RACE: Large-scale REAding Comprehension Dataset From Examinations. arXiv preprint arXiv:1704.04683, 2017. URL https://arxiv.org/abs/1704.04683.
  37. [38]Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. ALBERT: A Lite BERT for Self-supervised Learning of Language Representations. arXiv preprint arXiv:1909.11942, 2019. URL https://arxiv.org/abs/1909.11942.
  38. [39]Qintong Li, Leyang Cui, Xueliang Zhao, Lingpeng Kong, and Wei Bi. GSM-Plus: A Comprehensive Benchmark for Evaluating the Robustness of LLMs as Mathematical Problem Solvers. arXiv preprint arXiv:2402.19255, 2024. URL https://arxiv.org/abs/2402.19255.
  39. [40]Raymond Li, Loubna Ben Allal, Yangtian Zi, Niklas Muennighoff, Denis Kocetkov, Chenghao Mou, Marc Marone, Christopher Akiki, Jia Li, Jenny Chim, et al. StarCoder: may the source be with you! arXiv preprint arXiv:2305.06161, 2023. URL https://arxiv.org/abs/2305.06161.
  40. [41]Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let’s Verify Step by Step. arXiv preprint arXiv:2305.20050, 2023. URL https://arxiv.org/abs/2305.20050.
  41. [42]Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation. arXiv preprint arXiv:2305.01210, 2023. URL https://arxiv.org/abs/2305.01210.
  42. [43]Zihan Liu, Zhuolin Yang, Yang Chen, Chankyуu Lee, Mohammad Shoeybi, Bryan Catanzaro, and Wei Ping. AceReason-Nemotron 1.1: Advancing Math and Code Reasoning through SFT and RL Synergy. arXiv preprint arXiv:2506.13284, 2025. URL https://arxiv.org/abs/2506.13284.
  43. [46]Thomas McGrath, Matthew Rahtz, Janos Kramar, Vladimir Mikulik, and Shane Legg. The Hydra Effect: Emergent Self-repair in Language Model Computations. arXiv preprint arXiv:2307.15771, 2023. URL https://arxiv.org/abs/2307.15771.
  44. [47]Shen-yun Miao, Chao-Chun Liang, and Keh-Yih Su. A Diverse Corpus for Evaluating and Developing English Math Word Problem Solvers. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 975–984, 2020. doi: 10.18653/v1/2020.acl-main.92. URL https://aclanthology.org/2020.acl-main.92/.DOI
  45. [48]Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answering. arXiv preprint arXiv:1809.02789, 2018. URL https://arxiv.org/abs/1809.02789.
  46. [49]Ivan Moshkov, Darragh Hanley, Ivan Sorokin, Shubham Toshniwal, Christof Henkel, Benedikt Schifferer, Wei Du, and Igor Gitman. AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning dataset. arXiv preprint arXiv:2504.16891, 2025. URL https://arxiv.org/abs/2504.16891.
  47. [51]Nanbeige Lab, Chen Yang, Chengrui Huang, Fufeng Lan, Hanhui Chen, Hao Zhou, Huatong Song, Jiaqi Cao, Jiaying Zhu, Jinlin Niu, Kai Wang, Lisheng Huang, Qiliang Liang, Ran Le, Ruixiang Feng, Shuang Sun, Tao Gu, Tao Zhang, Tianyu Luo, Yang Song, Yun Xing, Yuntao Wen, Ziyao Xu, Zongchao Chen, and Zongqiang Li. Nanbeige-2.3B: Unlocking Agentic Capabilities in a Compact Model. arXiv preprint arXiv:2607.22083, 2026. URL https://arxiv.org/abs/2607.22083.
  48. [52]NVIDIA. Nemotron-Cascade-RL-Instruction-Following. Hugging Face dataset, 2025a. URL https://huggingface.co/datasets/nvidia/Nemotron-Cascade-RL-Instruction-Following.
  49. [56]NVIDIA. Nemotron-SFT-Instruction-Following-Chat-v2. Hugging Face dataset, 2025e. URL https://huggingface.co/datasets/nvidia/Nemotron-SFT-Instruction-Following-Chat-v2.
  50. [57]NVIDIA. Nemotron-SFT-Competitive-Programming-v2. Hugging Face dataset, 2025f. URL https://huggingface.co/datasets/nvidia/Nemotron-SFT-Competitive-Programming-v2.
  51. [58]NVIDIA. Nemotron-SFT-Safety-v1. Hugging Face dataset, 2025g. URL https://huggingface.co/datasets/nvidia/Nemotron-SFT-Safety-v1.
  52. [59]NVIDIA. Nemotron-SFT-Math-v3. Hugging Face dataset, 2026. URL https://huggingface.co/datasets/nvidia/Nemotron-SFT-Math-v3.
  53. [60]Open R1 Team. OpenR1-Math-220k. Hugging Face dataset, 2025. URL https://huggingface.co/datasets/open-r1/OpenR1-Math-220k.
  54. [61]Denis Paperno, Germán K.ruszewski, 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. arXiv preprint arXiv:1606.06031, 2016. URL https://arxiv.org/abs/1606.06031.
  55. [62]Hayden Prairie, Zachary Novack, Taylor Berg-Kirkpatrick, and Daniel Y. Fu. Parcae: Scaling Laws For Stable Looped Language Models. arXiv preprint arXiv:2604.12946, 2026. URL https://arxiv.org/abs/2604.12946.
  56. [63]Valentina Pyatkin, Saumya Malik, Victoria Graf, Hamish Ivison, Shengyi Huang, Pradeep Dasigi, Nathan Lambert, and Hannaneh Hajishirzi. Generalizing Verifiable Instruction Following. arXiv preprint arXiv:2507.02833, 2025. URL https://arxiv.org/abs/2507.02833.
  57. [65]Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. SQuAD: 100,000+ Questions for Machine Comprehension of Text. arXiv preprint arXiv:1606.05250, 2016. URL https://arxiv.org/abs/1606.05250.
  58. [66]David Raposo, Sam Ritter, Blake Richards, Timothy Lillicrap, Peter Conway Humphreys, and Adam Santoro. Mixture-of-Depths: Dynamically allocating compute in transformer-based language models. arXiv preprint arXiv:2404.02258, 2024. URL https://arxiv.org/abs/2404.02258.
  59. [67]Siva Reddy, Danqi Chen, and Christopher D. Manning. CoQA: A Conversational Question Answering Challenge. Transactions of the Association for Computational Linguistics, 7:249–266, 2019. doi: 10.1162/tacl_a_00266. URL https://aclanthology.org/Q19-1016/.DOI
  60. [68]Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. WinoGrande: An Adversarial Winograd Schema Challenge at Scale. arXiv preprint arXiv:1907.10641, 2019. URL https://arxiv.org/abs/1907.10641.
  61. [69]Maarten Sap, Hannah Rashkin, Derek Chen, Ronan LeBras, and Yejin Choi. SocialIQA: Commonsense Reasoning about Social Interactions. arXiv preprint arXiv:1904.09728, 2019. URL https://arxiv.org/abs/1904.09728.
  62. [70]Tal Schuster, Adam Fisch, Jai Gupta, Mostafa Dehghani, Dara Bahri, Vinh Q. Tran, Yi Tay, and Donald Metzler. Confident Adaptive Language Modeling. arXiv preprint arXiv:2207.07061, 2022. URL https://arxiv.org/abs/2207.07061.
  63. [71]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, et al. DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. arXiv preprint arXiv:2402.03300, 2024. URL https://arxiv.org/abs/2402.03300.
  64. [72]Guangming Sheng, Chi Zhang, Zilingfeng Ye, Xibin Wu, Wang Zhang, Ru Zhang, Yanghua Peng, Haibin Lin, and Chuan Wu. HybridFlow: A Flexible and Efficient RLHF Framework. arXiv preprint arXiv:2409.19256, 2024. URL https://arxiv.org/abs/2409.19256.
  65. [73]Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper, and Bryan Catanzaro. Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism. arXiv preprint arXiv:1909.08053, 2019. URL https://arxiv.org/abs/1909.08053.
  66. [74]Zayne Sprague, Xi Ye, Kaj Bostrom, Swarat Chaudhuri, and Greg Durrett. MuSR: Testing the Limits of Chain-of-thought with Multistep Soft Reasoning. arXiv preprint arXiv:2310.16049, 2023. URL https://arxiv.org/abs/2310.16049.
  67. [75]Dan Su, Kezhi Kong, Ying Lin, Joseph Jennings, Brandon Norick, Markus Kliegl, Mostofa Patwary, Mohammad Shoeybi, and Bryan Catanzaro. Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Dataset. arXiv preprint arXiv:2412.02595, 2024. URL https://arxiv.org/abs/2412.02595.
  68. [76]Jianlin Su, Yu Lu, Shengfeng Pan, Ahmed Murtadha, Bo Wen, and Yunfeng Liu. RoFormer: Enhanced Transformer with Rotary Position Embedding. arXiv preprint arXiv:2104.09864, 2021. URL https://arxiv.org/abs/2104.09864.
  69. [77]Mirac Suzgun, Nathan Scales, Nathanael Schärli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, et al. Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Them. arXiv preprint arXiv:2210.09261, 2022. URL https://arxiv.org/abs/2210.09261.
  70. [78]Ali Taghibakhshi, Sharath Turuvekere Sreenivas, Saurav Muralidharan, Ruisi Cai, Marcin Chochowski, Ameya Sunil Mahabaleshwarkar, Yoshi Suhara, Oluwatobi Olabiyi, Daniel Korzekwa, Mostofa Patwary, et al. Nemotron Elastic: Towards Efficient Many-in-One Reasoning LLMs. arXiv preprint arXiv:2511.16664, 2025. URL https://arxiv.org/abs/2511.16664.
  71. [79]Ali Taghibakhshi, Ruisi Cai, Saurav Muralidharan, Sharath Turuvekere Sreenivas, Aditya Vavre, Ameya Sunil Mahabaleshwarkar, Bilal Kartal, Sheldon Liang, Marcin Chochowski, Zijia Chen, et al. Star Elastic: Many-in-One Reasoning LLMs with Efficient Budget Control. arXiv preprint arXiv:2605.07182, 2026. URL https://arxiv.org/abs/2605.07182.
  72. [80]Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledge. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4149–4158, 2019. doi: 10.18653/v1/N19-1421. URL https://aclanthology.org/N19-1421/.DOI
  73. [81]Team Olmo, Allyson Ettinger, Amanda Bertsch, Bailey Kuehl, David Graham, David Heineman, et al. Olmo 3. arXiv preprint arXiv:2512.13961, 2025. URL https://arxiv.org/abs/2512.13961.
  74. [82]Joshua Vendrow, Edward Vendrow, Sara Beery, and Aleksander Madry. Do Large Language Model Benchmarks Test Reliability? arXiv preprint arXiv:2502.03461, 2025. URL https://arxiv.org/abs/2502.03461.
  75. [83]Shaowen Wang, Ge Zhang, Kairong Luo, Yuhao Wu, Shaofan Liu, Jiaheng Liu, Wenhao Huang, Shen Yan, and Jian Li. SMELT: Scaling Laws for Compute-Matched MoE Looped Transformers. arXiv preprint arXiv:2609.01343, 2026. URL https://arxiv.org/abs/2609.01343.
  76. [84]Yubo Wang, Xueguang Ma, Ge Zhang, Yuansheng Ni, Abhranil Chandra, Shiguang Guo, et al. MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark. arXiv preprint arXiv:2406.01574, 2024. URL https://arxiv.org/abs/2406.01574.
  77. [85]Johannes Welbl, Nelson F. Liu, and Matt Gardner. Crowdsourcing Multiple Choice Science Questions. arXiv preprint arXiv:1707.06209, 2017. URL https://arxiv.org/abs/1707.06209.
  78. [86]Yichen You, Tianyu Fu, Aosong Feng, Xing tai Lv, Xuefei Ning, Ning Ding, and Yu Wang. Improving Test-Time Scaling with Adaptive Looped Transformers. arXiv preprint arXiv:2609.35748, 2026. URL https://arxiv.org/abs/2609.35748.
  79. [87]Mingqian Yu, Wenpeng Zhang, Shaobo Cui, and Peilin Zhao. T-LoopFormer: Token-Level Elastic-Depth Looped Transformers with Dynamic Routing. arXiv preprint arXiv:2609.15160, 2026. URL https://arxiv.org/abs/2609.15160.
  80. [88]Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xia ochen Zuo, Yu Yue, et al. DAPO: An Open-Source LLM Reinforcement Learning System at Scale. arXiv preprint arXiv:2503.14476, 2025. URL https://arxiv.org/abs/2503.14476.
  81. [89]Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. HellaSwag: Can a Machine Really Finish Your Sentence? arXiv preprint arXiv:1905.07830, 2019. URL https://arxiv.org/abs/1905.07830.
  82. [90]Wanjun Zhong, Ruixiang Cui, Yiduo Guo, Yaobo Liang, Shuai Lu, Yanlin Wang, Amin Saied, Weizhu Chen, and Nan Duan. AGIEval: A Human-Centric Benchmark for Evaluating Foundation Models. arXiv preprint arXiv:2304.06364, 2023. URL https://arxiv.org/abs/2304.06364.
  83. [91]Fan Zhou, Zengzhi Wang, Nikhil Ranjan, Zhoujun Cheng, Liping Tang, Guowei He, Zhengzhong Liu, and Eric P. Xing. MegaMath: Pushing the Limits of Open Math Corpora. arXiv preprint arXiv:2504.02807, 2025. URL https://arxiv.org/abs/2504.02807.
  84. [92]Jeffrey Zhou, Tianjian Lu, Swaroop Mishra, Siddhartha Brahma, Sujoy Basu, Yi Luan, Denny Zhou, and Le Hou. Instruction-Following Evaluation for Large Language Models. arXiv preprint arXiv:2311.07911, 2023. URL https://arxiv.org/abs/2311.07911.
  85. [93]Rui-Jie Zhu, Zixuan Wang, Kai Hua, Tianyu Zhang, Ziniu Li, Haoran Que, Boyi Wei, Zixin Wen, Fan Yin, He Xing, et al. Scaling Latent Reasoning via Looped Language Models. arXiv preprint arXiv:2510.25741, 2025. URL https://arxiv.org/abs/2510.25741.

Paper details

vlnc:W_ve5kqxkk
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

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

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents