{"id":"785f8e76-2dea-40b1-8fb3-f660702d2b30","arxiv_id":"2610.32492","paper_version":1,"verdict":"CONDITIONAL","confidence":"HIGH","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":4,"one_line_summary":"One MoE language model, trained once, can be run at five different depths by looping a fixed prefix of middle layers; deeper runs improve average quality by 3.01 points after 3.6T tokens.","lead":"This paper introduces Accordion, a mixture-of-experts language model whose weights stay fixed while a caller selects one of five inference depths by repeating a fixed prefix of layers. It is worth reading because one model could replace several differently sized deployments, and the paper shows depth-dependent gains survive pretraining, instruction tuning, and reinforcement learning.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"The +3.01pp depth gain is measured against Accordion's own k=0 path, and the only specialist-parity evidence for that path is at 1.61B/80B. No full-scale 6B unlooped baseline rules out a scale-dependent one-loop tax, so the depth benefit could be partly recovery from a weakened low-budget path.","rationale":"The reader's weakest assumption is also the most load-bearing point I can find. The paper is unusually careful internally: fixed evaluation examples, matched held-out losses, paired bootstrap intervals on the core suite, and the §2.2.5 specialist control are all genuine evidence, and I found no internal inconsistency that would refute the reported numbers. The unresolved risk is external validity of the depth gain at scale. Because P0 is the only path whose exact transition graph is not contained in any deeper budget, uniform budget sampling provides it with the least direct training signal of any budget, and the paper's only head-to-head specialist comparison is at 1.61B. The one-loop tax concern is acknowledged by the authors, which supports rather than weakens this reading; their own discussion limits the evidence to the design study. A full-scale unlooped baseline would settle it. This does not change the reader's CONDITIONAL verdict: the concern is real but not demonstrated, and the paper already provides substantial supporting evidence, so requesting the missing control rather than rejecting the paper is the right response.","tokens_in":52569,"tokens_out":18189,"duration_ms":167478,"concrete_test":"Train an unlooped 6B-A0.5B specialist with the same architecture minus the loop window and gates, on the same 3.6T-token curriculum and optimizer settings, and evaluate it on the same 37 tasks under the identical protocol. Compare its five-category macro-average to both Accordion-Base k=0 (47.05) and k=12 (50.06). If the specialist lands near k=0, the depth gain is a genuine inference-depth benefit; if it matches or exceeds k=12, the headline gain is substantially a recovery from a degraded unlooped path. A secondary check can reuse the §2.2.5 equal-FLOPs construction by training the specialist with 3.6T × C_train(6)/C_train(0) tokens, but the decisive comparison is the unlooped specialist's aggregate against both endpoints.","verdict_should_be":"UNCHANGED","load_bearing_attack":"Accordion's headline gain is an internal comparison: k=12 versus k=0 on the same weights. For that comparison to license the paper's elastic-depth claim, the k=0 path must not be silently degraded by joint training. Uniform budget sampling makes this a real risk: P0 is the only exact execution graph that is not a subgraph of any deeper path, because in every k>0 budget the window layers feed a second pass before advancing, so P0's precise input-output transitions are trained only on the ~20% of micro-batches that sample k=0. The §2.2.5 design study is the right control and is real evidence: at 1.61B/80B, the shared model stays within 0.003 nats of unlooped and looped specialists. But that evidence is not scaled: the 6B model reports no separately trained unlooped baseline at 3.6T, and the paper's own statement that the 'k=0 comparison addresses the one-loop tax' is confined to that 80B study. If a full-scale unlooped specialist beats Accordion-Base k=0 by a nontrivial margin, then part of the +3.01pp and the 36/37 improvement is recovery from a low-budget tax rather than a clean depth benefit. This does not make the internal measurements wrong; it makes the central interpretive claim conditional on a missing control.","agreement_with_reader":"agree"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper introduces Accordion, a mixture-of-experts Transformer that supports five fixed inference budgets (k = 0, 3, 6, 9, 12) by repeating a prefix of physical layers 7–18, with the k = 0 path being an ordinary unlooped forward pass. All paths share one set of weights; joint pretraining samples one budget per micro-batch under a plain next-token objective with zero-initialized residual gates on the second pass. Design studies at 1.61B parameters and 80B tokens select the loopable window, budget menu, router sharing, and budget-independent gates, and they report validation-loss parity within 0.003 nats against separately trained budget-specific specialists, including the unlooped configuration. The main 6B-A0.5B model is pretrained on 3.6T tokens, after which increasing the budget from k = 0 to k = 12 improves the five-category macro-average over 37 tasks by 3.01 percentage points and improves 36 of 37 task scores; the middle budget k = 6 is reported to retain 89% of this gain. The pipeline is extended through SFT and RL: three domain experts are fused via parameter-group merging and budget-matched multi-teacher on-policy distillation into Accordion-RL, which is reported to exceed each domain expert on its task-and-budget average. Mechanistic probes analyze second-pass expert reselection, write directions, and nonadditive effects of repeated-layer removals.","tokens_in":53086,"tokens_out":9652,"duration_ms":70005,"significance":"If the results hold, this is a practically valuable recipe: one checkpoint provides several quality/cost operating points through pretraining, SFT, and RL, with a simple and parameter-light looping mechanism. The empirical hygiene is a genuine strength: all budgets are evaluated with identical weights, examples, and scoring; paired bootstrap intervals and held-out losses are reported; a contamination audit is described; and the data accounting is unusually detailed. The paper is also careful to label the 37-task gain-retention figure as a descriptive summary and to state the limited scope of several design conclusions. The main caveat, which I share with the stress-test analysis, is that the headline depth gain is an internal comparison against the paper's own k = 0 path, while the control showing that this path is not degraded by joint training is established only at 1.61B/80B. The single-run design ablations are a second, smaller concern. Both issues are addressable in revision, and neither invalidates the internal measurements.","major_comments":[{"comment":"The headline claim (+3.01 percentage points, 36/37 tasks) is measured against Accordion-Base's own k = 0 path, and the only evidence that this path is not degraded by joint training is the 1.61B/80B specialist comparison in §2.2.5. In every k > 0 budget the looped window's first-pass outputs feed a second pass before advancing, so the exact k = 0 transitions of the early window layers are trained only on the roughly one-fifth of micro-batches that sample k = 0. If joint training imposes a larger one-loop tax at 6B/3.6T than at 1.61B/80B, part of the observed gain could be recovery from a weakened baseline rather than a clean depth benefit. The paper explicitly confines the k = 0 comparison to the 80B study, so the scale transfer is asserted rather than tested. Please add a full-scale separately trained unlooped model under the same held-out protocol, or provide a principled scale-transfer argument; if that control is unavailable, the central claim should be reframed as an internal comparison and the contribution language about preserving the unlooped path should be qualified accordingly.","section":"§3.3.2, Table 6 and Figure 7; §2.2.5","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The architecture choices carried into the 6B run were selected on single-run validation-loss differences that are very small: 0.0025–0.0041 nats for layer-selection strategy in §2.2.1, 0.0013–0.0017 nats for router sharing in Table 2, and similar gaps in Tables 1 and 3, with §2.2 stating that each configuration is trained once. Without repeated-seed variance estimates or a noise model, the observed minima may be within run-to-run variability, yet these results motivate the fixed-prefix window, the five-budget menu, shared routing, and budget-independent gates at scale. Please provide seed-level estimates for at least the pivotal comparisons, or explicitly frame these design choices as provisional rather than as established design rules.","section":"§2.2, Tables 1–3; §2.2.1","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The long-context evaluation uses a revised inference implementation for budgets k = 3, 9, while the earlier implementation used for the other budgets was not archived and the cross-implementation check covers only three 4K tasks. This weakens the reproducibility of the long-context budget curve; please archive the implementation or extend the verification to all budgets and context lengths.","section":"Appendix B.7.1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The project website is mentioned, but no explicit code or checkpoint release URL is given in the text. For an empirical recipe paper, the authors should state where models, evaluation code, and the layer-looping harness will be released.","section":"§1 and Appendix B.2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The statement that k = 6 retains 89% of the endpoint gain can appear inconsistent with the rounded category scores in Figure 7, which imply roughly 87%; since Appendix B.2 explains that this is a descriptive quantity computed from unrounded records, a one-sentence pointer in the main text would help the reader.","section":"§3.3.2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The bootstrap settings differ across tables (for example, the resample count is unrecorded for the SFT intervals in Table 34, while RL intervals in Table 39 use 2,000 resamples with a fixed seed); a consolidated statement of the bootstrap protocol would improve comparability.","section":"Appendix D.3 and Table 34","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Two things to know up front. This is a real recipe paper: one MoE model jointly trained on five fixed execution paths — repeat a prefix of layers 7–18 zero, three, six, nine, or twelve times — with the unlooped path kept in the menu, and the same five budgets carried through SFT and RL via parameter merging plus budget-matched multi-teacher distillation. At 1.61B/80B the shared model sits within 0.003 nats of separately trained specialists, and the scaled 6B model shows a +3.01pp aggregate gain from k=0 to k=12 across 37 tasks, with held-out loss and paired bootstrap checks supporting the depth trend. The caveat: the headline gain is measured against Accordion's own k=0 path, and there is no full-scale 6B unlooped-specialist baseline. The stress-test concern holds as stated. The paper confines its one-loop-tax claim to the 80B study, and the k=0 path is the only execution graph that is not a subgraph of a deeper path — it sees only a fifth of micro-batches. The 1.61B/80B parity is genuine evidence, but it does not rule out a scale-dependent tax, so part of +3.01pp could be recovery from a weakened low-budget path rather than a clean depth benefit.\n\nWhat it does well. The reporting is unusually careful: single-run design studies are labeled as such, the 37-task aggregate is called descriptive, ranks are said not to imply significance, the contamination audit's limits are stated, and they even flag that one RULER implementation was not archived. Post-training is the most novel part — keeping five budgets alive through SFT and RL with budget-matched distillation is clean. The mechanistic section (expert reselection, distinct second-pass writes, non-additive ablations) is a bonus, not padding.\n\nSoft spots, in proportion. The missing 6B unlooped baseline is the real one; everything else is minor. Design-choice differences around 0.001–0.004 nats come from single runs, so the layer-selection and budget-menu justifications are thinner than the rest of the paper. The reference comparison has odd cells (multi-digit arithmetic: 23–31 vs 87–96 for much smaller reference models) — fine for a depth-gain paper, but the general-capability framing should not lean on those tables.\n\nWho it's for: anyone working on looped transformers, elastic inference, or serving-side compute-quality tradeoffs. Internally consistent, honest, structurally reproducible — but no code or weights released. Deserves serious peer review; a full-scale unlooped control in revision would firm up the headline claim.","headline":"Solid recipe paper for elastic depth — five fixed budget paths through pretraining, SFT, and RL — but the headline depth gain is internal to the model and lacks a full-scale unlooped baseline.","tokens_in":53546,"tokens_out":4934,"duration_ms":46392},"pith_extraction":{"msc":["68T07","68T50"],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"One mixture-of-experts transformer serves five inference budgets by looping a fixed prefix of its middle layers, keeping its unlooped path at specialist quality while deeper loops add 3.01 percentage points across 37 tasks.","keywords":["elastic-depth inference","looped transformer","mixture of experts","inference budget","fixed-prefix layer looping","multi-teacher distillation","task arithmetic merging","LLM pretraining"],"falsifier":"Train a matched 6B-A0.5B model on the same 3.6T-token curriculum at a single fixed budget $k=0$ — no budget sampling, no looping gates — and compare its 37-task macro-average and held-out validation loss with Accordion-Base's $k=0$ numbers. If the unlooped specialist matches or beats the jointly trained unlooped path by more than the small parity margin seen at 1.61B scale, a share of the reported +3.01-point depth gain is baseline recovery rather than genuine depth benefit. A complementary check on the mechanism claim is whether the 8.07-versus-24.65 millinats subadditivity for layers 7–9 reproduces at $k=6$ and $k=9$ on the same checkpoint.","tokens_in":54094,"feed_emoji":"🔁","tokens_out":12024,"duration_ms":83313,"temperature":0.7,"pith_summary":"Accordion asks whether a single language model can serve the range of compute budgets that real applications need — cheap answers for high-volume traffic, expensive answers for hard problems — instead of training and maintaining a separate model per budget. The paper's answer is a mixture-of-experts transformer whose middle layers can be executed twice, with five caller-selected paths (24 to 36 layer executions) sharing one set of weights. Joint pretraining samples one budget per micro-batch and optimizes plain next-token prediction with no cross-budget consistency term; at 1.61B scale this shared model matches separately trained budget specialists within 0.003 nats, including the unlooped path. At 6B-A0.5B scale after 3.6T tokens, running deeper loops raises the five-category macro-average across 37 tasks by 3.01 percentage points and improves 36 of 37 task scores, with the middle budget capturing 89% of the gain at half the extra layer executions. The depth benefit survives supervised fine-tuning and reinforcement learning, and the final model beats each of its three domain experts on that expert's own task-and-budget average.","feed_headline":"Looped layers add 3.01 points to a 6B model on 37 tasks","feed_subtitle":"One MoE checkpoint serves five compute budgets; the middle path captures 89% of the depth gain at half the extra cost.","key_machinery":"The carrying object is a fixed budget menu on a contiguous middle window: with 24 physical layers and window $W=\\{7,\\dots,18\\}$, budget $k$ repeats precisely the prefix $S_k=\\{7,\\dots,k\\}$ once more, so execution count is $L+k=24+k$ and $P_0$ is an ordinary unlooped MoE. Three choices make joint training of the five paths work: per-channel tanh gates initialized to zero scale every second pass (identity at start, magnitude capped at one, excluded from weight decay); each micro-batch uniformly samples one budget, making one forward/backward pass an unbiased estimator of the joint next-token objective with no cross-budget consistency loss; and a shared learned router with separate first- and second-pass expert-load biases keeps the two passes coordinated while avoiding auxiliary-loss routing. Ablations at 1.61B scale select these choices — fixed prefix over random layer selection, five budgets over three or four, shared router over separate ones, budget-independent gates over conditioned parameters. Post-training reuses the same five paths: three domain experts trained with policy optimization are combined by task-arithmetic merging with per-parameter-group coefficients, then budget-matched multi-teacher on-policy distillation trains the student on its own rollouts with each teacher supervised at the student's own budget.","core_discovery":"The paper's central claim is that inference depth can be a caller-selected dial inside one MoE checkpoint rather than a property fixed by which model you trained. Concretely, budget $k\\in\\{0,3,6,9,12\\}$ executes all 24 layers once and then repeats the first $k$ layers of the window 7–18 a second time, with the repeated computation scaled by zero-initialized tanh gates that make the second pass an identity at initialization. A single joint objective trains all five paths by uniformly sampling one budget per micro-batch, so the one-loop tax — recurrent training weakening the single-pass path — is addressed by design rather than by a consistency loss; the evidence is that the shared model's unlooped path sits within 0.003 nats of a separately trained specialist at 1.61B scale. At the main 6B-A0.5B scale, 3.6T tokens of pretraining make additional depth monotonically useful: the 37-task macro-average rises from 47.05 to 50.06, 36 of 37 tasks improve, and $k=6$ retains 89% of the endpoint gain. The same five paths are preserved through SFT and RL, where three domain experts trained by policy optimization are merged by task arithmetic and distilled back into one student at matched budgets, yielding a single model that exceeds each expert on its own domain average.","pith_inferences":["Fixed-prefix looping concentrates training on early window layers (gates in layers 7–12 see 60–80% of steps versus 20% for layers 16–18), so the recipe implicitly claims mid-network refinement is where extra depth pays; shifting or rebalancing the window is a direct test of that claim.","The subadditivity of adjacent-layer ablations — joint removal of layers 7–9 costs 8.07 millinats versus 24.65 summed individually — suggests the repeated passes coordinate as one operation, which would mean looped-model scaling laws should treat added depth as a joint quantity rather than an additive one; the paper's probes establish the discrepancy but do not identify the compensation mechanism.","If $k=0$ parity holds at full scale, the same fixed-prefix recipe could generalize to a two-dimensional quality–cost dial by combining depth budgets with width or active-expert budgets in a single checkpoint — an extension the paper does not attempt.","The near-free $k=3$ budget suggests a serving policy: most high-volume traffic can run at the cheapest path while only hard queries pay for deeper loops, with per-task optimal budgets (HumanEval peaks at $k=9$, MBPP+ at $k=12$) indicating the dial can be set per workload rather than per request."],"forward_implications":["One checkpoint replaces a fleet of budget-specific models: the five paths differ only in execution count and add a negligible number of learned gate parameters, and the unlooped path matches a separately trained specialist at 1.61B scale.","Most of the depth gain is cheap: $k=6$ (30 layer executions) captures 89% of the endpoint gain while adding half as many extra layer executions as $k=12$, at roughly a 21–24% increase in time per output token.","Depth gains are not a pretraining artifact: they persist through SFT and RL, concentrate in mathematics and code, and grow with context length, adding 5.47 points on RULER at 32K against 0.72 points at 4K.","Domain expertise and elastic depth can coexist in one model: after merging and budget-matched distillation, the student exceeds each of its three domain experts on that expert's corresponding task-and-budget average.","The added computation is doing real work, not idling: the second pass reselects experts input-dependently, writes distinct residual updates, and its removal raises prediction loss at every training stage."],"supporting_citations":[{"why":"Supplies the layer-looping structure: Accordion repeats individual layers consecutively, rather than repeating a whole stack or block, as its basic depth-reuse unit.","marker":"(Gao et al., 2026)"},{"why":"Provides the auxiliary-loss-free mixture-of-experts balancing mechanism with separate first- and second-pass expert-load biases that keeps the repeated passes stable.","marker":"(DeepSeek-AI, 2024)"},{"why":"Is the recurrent-depth training precedent whose synchronized per-micro-batch budget sampling Accordion adopts for joint training of the five paths.","marker":"(Geiping et al., 2025)"},{"why":"Defines the one-loop tax — recurrent training degrading single-pass performance — that the fixed-prefix design and the k=0 specialist-parity claim are built to refute.","marker":"(Ladhak et al., 2026)"},{"why":"Supplies task arithmetic, the merging rule used to combine the three RL experts' parameter updates relative to the shared SFT initialization.","marker":"(Ilharco et al., 2023)"},{"why":"Motivates the non-additivity intervention analysis by showing that ablating one component can change downstream computation, warning against summing single-removal effects.","marker":"(McGrath et al., 2023)"},{"why":"Supplies GRPO, the group relative policy optimization used to train the instruction-following, mathematics and code experts.","marker":"(Shao et al., 2024)"},{"why":"Provides the DAPO-style training configuration used in the same expert reinforcement-learning branches.","marker":"(Yu et al., 2025)"}],"fun_headline_variants":["One MoE checkpoint serves five inference budgets via fixed-prefix loops","Layer looping turns inference depth into a caller-selected dial","Middle loop path keeps 89% of a 3-point gain at half extra cost","Six-billion-parameter model improves 3 points by choosing loop depth","Fixed-prefix layer loops add 3.01 points across 37 tasks"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The 6B model's unlooped $k=0$ path is as strong as a separately trained unlooped specialist, because specialist parity is demonstrated only at the 1.61B, 80B-token scale and the 6B depth gains are measured against the model's own $k=0$ baseline.","fun_headline_variants_meta":{"raw":{"variants":["One MoE checkpoint serves five inference budgets via fixed-prefix loops","Layer looping turns inference depth into a caller-selected dial","Middle loop path keeps 89% of a 3-point gain at half extra cost","Six-billion-parameter model improves 3 points by choosing loop depth","Fixed-prefix layer loops add 3.01 points across 37 tasks"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":9.4e-05,"raw_usage":{"cost":9.4003e-05,"is_byok":false,"cost_details":{"upstream_inference_cost":9.4003e-05,"upstream_inference_prompt_cost":3.8129e-05,"upstream_inference_completions_cost":5.5874e-05},"total_tokens":1470,"prompt_tokens":1163,"completion_tokens":307,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":930,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":222}},"tokens_in":1163,"tokens_out":307,"cost_source":"openrouter_usage","duration_ms":4133,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":222,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-26T09:14:42.021262+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Train a matched 6B-A0.5B model on the same 3.6T-token curriculum at a single fixed budget $k=0$ — no budget sampling, no looping gates — and compare its 37-task macro-average and held-out validation loss with Accordion-Base's $k=0$ numbers. If the unlooped specialist matches or beats the jointly trained unlooped path by more than the small parity margin seen at 1.61B scale, a share of the reported +3.01-point depth gain is baseline recovery rather than genuine depth benefit. A complementary check on the mechanism claim is whether the 8.07-versus-24.65 millinats subadditivity for layers 7–9 reproduces at $k=6$ and $k=9$ on the same checkpoint.","supporting_citations":[{"cited_title":"Loop the Loopies!","cited_arxiv_id":"2607.16051","evidence_quote":"Supplies the layer-looping structure: Accordion repeats individual layers consecutively, rather than repeating a whole stack or block, as its basic depth-reuse unit."},{"cited_title":"DeepSeek-V3 Technical Report","cited_arxiv_id":"2412.19437","evidence_quote":"Provides the auxiliary-loss-free mixture-of-experts balancing mechanism with separate first- and second-pass expert-load biases that keeps the repeated passes stable."},{"cited_title":"Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach","cited_arxiv_id":"2502.05171","evidence_quote":"Is the recurrent-depth training precedent whose synchronized per-micro-batch budget sampling Accordion adopts for joint training of the five paths."},{"cited_title":"One Model to Loop Them All: Elastic Latent Recurrence for Language Models","cited_arxiv_id":"2610.12582","evidence_quote":"Defines the one-loop tax — recurrent training degrading single-pass performance — that the fixed-prefix design and the k=0 specialist-parity claim are built to refute."},{"cited_title":"Editing Models with Task Arithmetic","cited_arxiv_id":"2212.04089","evidence_quote":"Supplies task arithmetic, the merging rule used to combine the three RL experts' parameter updates relative to the shared SFT initialization."},{"cited_title":"The Hydra Effect: Emergent Self-repair in Language Model Computations","cited_arxiv_id":"2307.15771","evidence_quote":"Motivates the non-additivity intervention analysis by showing that ablating one component can change downstream computation, warning against summing single-removal effects."},{"cited_title":"DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models","cited_arxiv_id":"2402.03300","evidence_quote":"Supplies GRPO, the group relative policy optimization used to train the instruction-following, mathematics and code experts."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}