{"id":"7bb06a05-0c76-4a03-883b-6e34fb437d51","arxiv_id":"2609.35751","paper_version":1,"verdict":"CONDITIONAL","confidence":"HIGH","novelty_score":6.0,"correctness_risk":"low","formal_verification":"none","parameter_count":4,"one_line_summary":"Foil flattens the experts of a looped MoE into wider layers run more often and unties attention across passes, beating the unflattened looped baseline by 0.012 nat at equal parameters and compute after 100B tokens.","lead":"A new recipe for looped mixture-of-experts models flattens the expert layers into fewer, wider layers run more often and gives each loop pass its own attention, cutting pretraining loss at equal parameters and compute. Smart generalists should read it for a clean empirical answer to how looped and sparse-MoE designs combine, plus a routing-confidence diagnostic for when extra looping stops paying.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"At 100B, Foil-1 beats Foil-2 by only 0.0024 nat on the training stream, but the held-out Wikipedia slice reverses the ordering (Foil-2 2.5135 vs Foil-1 2.5311); the monotonicity and 'use more passes' guidance are contradicted by the paper's own data.","rationale":"The paper is an honestly limited, internally consistent empirical study: parameter and compute accounting (Section 2.1, Appendix A) is transparent, including the caveat that router scoring grows with E and the containment statement between tied and untied attention (Appendix A); the seed-replicate resolution, optimistic standard errors, and the four Appendix J limitations are all stated. The central measured claim, that flattening plus untied attention beats the unflattened baseline at equal parameters and compute, is supported within the tested regime and holds on every held-out slice (Table 7), so I do not see grounds to reject or to move below CONDITIONAL. My concern is more specific than the reader's weakest assumption: rather than asking for generalization to unseen widths and seeds, the paper's own Table 7 already undercuts the fine-grained sub-claim that loss falls monotonically with flattening and that the flattest model (Foil-1) is strongest at 100B. On Wikipedia held-out, Foil-2 beats Foil-1 by 0.0176 nat, an internal contradiction of the monotonic ordering; the training-stream Foil-1-vs-Foil-2 advantage is 0.0024 nat at one seed, at the resolution floor the authors themselves set. This does not change the verdict — CONDITIONAL already flags that the headline effects rest on limited seeds and a single width — but it sharpens the condition: the design guidance 'more experts per layer and more passes' is supported in its moderate form (Foil-2 at 8 passes), not in its extreme form (Foil-1 at 16 passes), which the held-out data contradict. I agree with the reader that the paper should be accepted conditionally pending robustness evidence; my reading adds that the monotonicity claim, not just its generalization, needs re-examination against the reversal already visible in Table 7.","tokens_in":32367,"tokens_out":10066,"duration_ms":66320,"concrete_test":"Run the 100B continuation for Foil-1 and Foil-2 from their step-45,000 checkpoints with two additional seeds, and evaluate the final checkpoints on Wikipedia, C4, arXiv and two unseen domain slices. If the seed-averaged held-out losses show Foil-2 at or below Foil-1 on most slices, or if the Foil-1-vs-Foil-2 gap stays within the between-seed spread indicated by the 20B seed replicate (-0.0003±0.0009 nat, Appendix D), then 'monotonic with flattening' and the 'more passes' guidance should be softened to 'flattening to the Foil-2 shape suffices; the extra pass-heightening of Foil-1 is not consistently better.' A cheaper first step: recompute Table 7 held-out losses for Foil-1 and Foil-2 at the 100B checkpoints on several Wikipedia-sized slices to confirm the reversal is not a single-slice artifact before spending the added compute.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The core measured claim — flattening plus untying attention lowers pretraining loss below the unflattened baseline at equal parameters and compute — is robust: Foil-1 is below Base by 0.012 nat on the 100B training stream and below Base on every held-out slice (FineWeb-Edu 0.0118, Wikipedia 0.0065, C4 0.0137, arXiv 0.0043, Table 7). The load-bearing concern is narrower but real: the Section 3.1 claim that 'the loss falls monotonically with flattening' and that 'Foil-1 is the strongest' (b64), together with the conclusion guidance to use 'more experts per layer and more passes,' rests on the Foil-1-vs-Foil-2 step, and that step does not survive the paper's own measurements. On the 20B training stream Foil-2 (2.6566) beats Foil-1 (2.6586) by 0.0020 nat (Section 4.4), and at 100B the gap flips to 0.0024 nat in the other direction, from a single seed, at the paper's stated 0.002-nat resolution floor (Appendix D/J, b360). On the held-out Wikipedia slice at 100B (Table 7) the ordering flips back decisively: Foil-2 scores 2.5135, Foil-1 2.5311, a 0.0176-nat gap an order of magnitude larger than the training-stream difference; Wikipedia thus breaks the monotonic sequence (Base 2.5376, Foil-3 2.5334, Foil-2 2.5135, Foil-1 2.5311). The paper flags the arXiv exception to its held-out ordering but does not flag this Wikipedia reversal, which cuts directly against the 'Foil-1 is strongest' phrasing and the maximal-pass guidance. The honest headline is that flattening helps the looped MoE; the fine-grained monotonicity and the flattest-shape guidance are not established within the study's own data.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper studies how to arrange a sparse mixture-of-experts block inside a looped (recurrent) Transformer when the expert parameters and the per-token expert compute are held fixed. It proposes Foil, which (1) flattens the expert block along the sequence (8,8,2) → (16,4,4) → (32,2,8) → (64,1,16), halving layers, doubling experts per layer and doubling passes, and (2) unties the attention across passes, giving each pass its own attention parameters while experts and routers stay shared. With k=2 and the real expert count and per-token expert calls fixed, the paper reports 20B-token and 100B-token pretraining experiments: all three Foils beat the unflattened baseline Base (8,8,2) at 20B; at 100B on the training stream the loss falls monotonically with flattening and the most flattened model Foil-1 ends 0.012 nat below Base at equal parameters and compute. Untied attention is shown to beat tied attention at every shape in loss, downstream accuracy and routing metrics. Ablations argue that widening and looping amplify each other, that load balance alone does not indicate healthy specialisation, and that the per-pass evolution of a proposed routing-confidence metric (MMR) can index where looping gains are exhausted. The paper ships code and includes formal resource accounting, a masking test for least-used experts, and a clearly stated limitations appendix.","tokens_in":32965,"tokens_out":6702,"duration_ms":39755,"significance":"If the claims hold, Foil is a clean and useful design result for looped MoE: a simple re-arrangement of experts across layers and passes, plus pass-specific attention, lowers pretraining loss at fixed parameters and compute. The paper's strengths are real and should be credited. The experimental design is careful: all models read the same data in the same order from the same seed, comparisons are step-wise paired differences with standard errors, and the headline numbers check out across Table 4, Figure 3 and Table 7 (e.g., Foil-1 minus Base at 100B is 0.012 nat on the training stream and 0.0118 nat on the held-out FineWeb-Edu slice; Foil-1 minus proto-Foil-1 at 20B is 0.042 nat). The resource identities (E_real, E_eq, E_comp) are definitions rather than fitted results, so the core comparison is not circular. The robust core finding, that flattening plus untying attention improves on the unflattened looped baseline, survives on every held-out slice at 100B (Table 7).","major_comments":[{"comment":"The claim that at 100B tokens 'the loss falls monotonically with flattening' and that 'Foil-1 is the strongest' (b55, b64; also the Abstract and Section 6, b117) is contradicted by the paper's own held-out measurements. On the Wikipedia slice at 100B (Table 7) the ordering is Base 2.5376, Foil-3 2.5334, Foil-1 2.5311, Foil-2 2.5135, so Foil-2 beats Foil-1 by 0.0176 nat, an order of magnitude larger than the 0.0024-nat training-stream gap, and the monotonic sequence is broken at the Foil-2/Foil-1 step. The table caption flags the arXiv exception but not this reversal. The Abstract, Section 3.1 and Section 6 should either drop the monotonicity claim or state plainly that it holds on the training (FineWeb-Edu) stream only, and the Wikipedia reversal should be discussed alongside the arXiv exception.","section":"Section 3.1, Table 7, Abstract, Section 6","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The 'Foil-1 is the strongest' statement at 100B rests on a 0.0024-nat training-stream difference over Foil-2, which is only marginally above the 0.002-nat resolution floor the authors themselves set (Appendix D; b360), comes from a single seed, and uses standard errors the paper acknowledges are optimistic because consecutive steps are not independent (b310; Appendix C). The downstream evidence does not reinforce the ordering: at 100B the mean over the three representative tasks is 49.69 (Foil-1) versus 49.64 (Foil-2), within one standard error, and on XWinograd Foil-2 is the highest. By the paper's own convention ('differences smaller than 0.002 nat are reported as on par'), a 0.0024-nat single-seed gap is close to the boundary; the text should either present the Foil-1-versus-Foil-2 step as on par at 100B or provide supporting evidence.","section":"Section 3.1, Appendix D, Appendix J, Table 5","authors_acknowledge":"Second, apart from one seed replicate, every model is trained with a single seed; the replicate differs by−0.0003±0.0009nat, which sets the resolution of our comparisons, every difference interpreted in the main text is at least0.002nat, and the loss standard errors are optimistic because consecutive steps are not independent (Appendix C).","authors_acknowledge_p":0.8},{"comment":"The design guidance 'a sparse looped MoE should use more experts per layer and more passes' and the per-pass MMR-peak heuristic are proposed in this paper and then used to explain why Foil-2 is the best 20B model and to motivate the final recommendations. The heuristic is calibrated and evaluated in-sample on the same 20B runs it is used to explain, over what the paper itself calls 'few cases' (b106). Given that the final-loss ordering is non-monotonic across slices and token budgets (first major comment), the 'after a peak, further flattening or more passes gain least' guidance should be presented as a hypothesis with the in-sample caveat made explicit, not folded into the Conclusion as settled design guidance; an out-of-sample check (e.g., a different width or a held-out ablation set) would be needed to support it.","section":"Section 4.4, Takeaway 2, Section 6","authors_acknowledge":"These are few cases, so we state the relation as very likely rather than as a rule.","authors_acknowledge_p":0.71}],"minor_comments":[{"comment":"The caption flags the arXiv exception but should also flag the Wikipedia reversal at 100B (Foil-1 above Foil-2 by 0.0176 nat), since this is the slice that directly bears on the monotonicity claim; readers relying only on the caption will miss it.","section":"Table 7","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The sentence 'at 100B the loss falls monotonically with flattening' (b55) repeats the over-broad phrasing of the abstract; adding 'on the training stream' would make the scope explicit and consistent with the revision requested in the first major comment.","section":"Section 3.1, Figure 3 caption","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The sentence 'Foil-1, which peaks, is 0.0020 nat above Foil-2 at 20B, about three standard errors' does not give the standard error value in that sentence; for reproducibility it should cite the paired-difference standard error (about 0.0006–0.0012 per Table 1) or report the gap as 0.0020 ± SE.","section":"Section 4.4","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The concluding sentence 'its loss improves monotonically with flattening at 100B tokens' (b117) should be aligned with the re-scoped hedged formulation once the first major comment is addressed, to avoid the abstract and conclusion contradicting Table 7.","section":"Section 6","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Short version: the core claim earns its keep. Holding expert parameters and per-token expert compute fixed, flattening the looped MoE block and giving each pass its own attention lowers pretraining loss — 0.007 nat below the unflattened baseline at 20B, 0.012 nat at 100B on the training stream, and every Foil below Base on every held-out slice. Untied attention beats tied at every shape, and the gap grows with flattening, 0.049 nat at 100B for the flattest pair. The paired design (same data order, same seed, step-wise paired differences with standard errors) is careful, the numbers check out across tables and appendix, and the resource identities are definitions rather than fitted results, so the circularity burden is low. The MMR per-pass-peak diagnostic is a real idea and is hedged honestly in the text (\"very likely,\" few cases).\n\nThe soft spot is narrower than it looks but real, and it is the one the paper does not flag. The fine-grained ordering among the Foils does not survive the paper's own measurements. At 20B, Foil-2 beats Foil-1 (the paper says this explicitly, b63). At 100B the training-stream gap flips to 0.0024 nat in Foil-1's favor — one seed, just above the paper's stated 0.002-nat resolution floor (b360). And on the held-out Wikipedia slice at 100B (Table 7), Foil-2 beats Foil-1 by 0.0176 nat, an order of magnitude larger than the training-stream difference, breaking the monotonic sequence that the abstract and Section 3.1 lean on. The paper flags the arXiv exception to its held-out ordering but not this Wikipedia reversal. That matters because the headline guidance — use more experts per layer and more passes — rests on exactly the Foil-1-vs-Foil-2 step. What the data actually support: flattening and untying beat the baseline, and the early flattening steps help. Whether the flattest, most-passed shape is best is not established. The conclusion should move from \"Foil-1 is strongest\" to \"flatter helps, up to a point.\"\n\nThe acknowledged limitations — single width, single seed, no non-looped control at equal compute, shared-attention ablations (b352, b360, b362) — are stated honestly in Appendix J. The gap is the thing they miss: the Wikipedia reversal cuts their own monotonicity claim, and they had the data in the table to see it.\n\nWho gets value: anyone working on looped models or test-time compute, plus anyone who wants a clean example of pairing a small empirical win with transparent tables. It deserves a serious referee; send it out with a request to soften the monotonicity and maximal-pass framing and to address the Wikipedia ordering directly.","headline":"Flattening the experts plus untying attention is a real, honestly measured win at equal parameters and compute; the monotonicity and maximally-flatten guidance overreach the paper's own data.","tokens_in":33611,"tokens_out":3616,"duration_ms":25201},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"Foil re-arranges the experts of a looped MoE—fewer, wider layers looped more often, with each pass owning its own attention—and claims this lowers pretraining loss at equal parameters and compute, ending 0.012 nat below the unflattened…","keywords":["looped transformers","mixture of experts","expert flattening","attention untying","routing confidence","load balance","pretraining loss","recurrent depth"],"falsifier":"Train Foil-1 and Base at a second width (for instance d_model = 2048) and a second seed through 100B tokens; the central claim fails if the monotonic loss decrease with flattening reverses, or if the Foil-1 gap falls within the roughly 0.003 nat paired-difference resolution that a fresh seed replicate would establish.","tokens_in":33806,"feed_emoji":"🔁","tokens_out":2807,"duration_ms":20194,"temperature":0.7,"pith_summary":"The paper answers a design question nobody had isolated: when a mixture-of-experts model is looped, how should its finite expert budget be laid out across layers, experts per layer, and passes? Foil argues the answer is to flatten—halve the expert layers, double the experts per layer, double the passes—so every routing decision draws from a larger pool, and to untie the attention so each pass keeps its own parameters rather than discarding them. If Foil is right, sparse looped MoE models can be strengthened at no extra parameter or compute cost, and the paper's ablation-derived guidance—more experts per layer, more passes, with routing confidence rather than load balance as the diagnostic—would be a practical recipe for looped MoE design. The headline evidence is a monotonic loss decrease with flattening at 100B tokens, with downstream accuracy on par or better.","feed_headline":"Flattening experts in looped MoE cuts loss 0.012 nat at equal cost","feed_subtitle":"Fewer, wider expert layers looped more often, with per-pass attention, beat the unflattened baseline while spending identical parameters…","key_machinery":"The flattening identity (E, D, L) ↦ (2E, D/2, 2L), which preserves real experts E_real = E×D, expert calls E_comp = k×D×L, and effective depth D_eff = D×L while multiplying the equivalent expert count E_eq by two, is what converts a fixed expert budget into a larger routing pool. The companion mechanism is attention untying, which restores the attention parameters that flattening would discard, giving each pass its own attention set at no extra compute; the tied-attention proto-Foil controls show that untying is what lets the flattening gain continue past the first step.","core_discovery":"Foil is the claim that, holding stored expert parameters and expert compute per token fixed, a looped MoE block is better used flattened: one flattening step maps (E, D, L) to (2E, D/2, 2L), keeping the real expert count E·D, the expert calls per token k·D·L, and the effective depth D·L unchanged while enlarging the routing pool of each decision and the equivalent expert count E·D·L. Because flattening would otherwise discard attention parameters, Foil unties the attention, giving each pass its own attention set while experts and routers stay shared. In 20B-token pretraining all three Foils beat the unflattened Base; at 100B tokens the loss falls monotonically with flattening and the most flattened Foil-1 ends 0.012 nat below Base at equal parameters and compute, with downstream accuracy on par or slightly better, and untying the attention improves loss, downstream accuracy, and at 20B both routing balance and routing confidence at every shape.","pith_inferences":["The flattening identity is cost-shape-agnostic, so the same re-arrangement should apply at other model widths; the single-width (d_model = 1024) evidence does not yet test whether the gain scales or saturates.","The 0.012 nat gap, while above the paper's stated 0.002 nat resolution, is small enough that whether it compounds with further compute is an open empirical question rather than a demonstrated trend.","The per-pass MMR peak could serve as a training-time early signal for when to stop adding passes, treating the paper's 'very likely' relation as a design heuristic worth validating at larger scale."],"forward_implications":["A sparse looped MoE should use appropriately more experts per layer and more passes: the flattening gains at 100B are monotonic, so the most flattened shape is the best of those tested.","Untying the attention is load-bearing, not cosmetic: with tied attention the loss rises again after the first flattening step, whereas untied attention keeps it falling at 100B.","Load balance alone is not a healthy-specialisation indicator: masking the least-used experts raises loss above traffic-matched random groups in seven of eight models, so rarely used experts are not dispensable.","Routing confidence (MMR) is the better diagnostic, and its per-pass peak marks where further flattening or more passes gain least, giving a practical stopping guide for looped model design."],"supporting_citations":[{"why":"Supplies the recurrent-core skeleton (prelude, looped block, coda) that Foil re-arranges.","marker":"(Geiping et al., 2025)"},{"why":"Prior combination of looping with experts that Foil builds on and distinguishes itself from.","marker":"(Csordás et al., 2024)"},{"why":"Tied expert layers with per-layer attention, the sharing pattern Foil adopts and compares against.","marker":"(Jaggi, 2026)"},{"why":"Megrez2-style shared experts with per-layer attention, the closest prior design Foil contrasts with.","marker":"(Li et al., 2025)"},{"why":"Motivates the routing-confidence metric MMR as a complement to load balance in expert specialisation.","marker":"(Li et al., 2026)"},{"why":"Provides the effective-count view behind the B2 load-balance metric Foil reports.","marker":"(Wu et al., 2026)"},{"why":"Supplies the FineWeb-Edu training data and validation slices used in all experiments.","marker":"(Penedo et al., 2024)"},{"why":"Justifies the 35–40 tokens-per-parameter data budget as sufficient by the Chinchilla ratio.","marker":"(Hoffmann et al., 2022)"}],"fun_headline_variants":["Foil flattens MoE experts, unties attention, beats looped baseline by 0.012 nat","Looped MoE: flatten experts, untie attention, gain 0.012 nat at equal compute","Foil doubles passes and expert pool per layer, reduces pretraining loss","Flatten MoE experts, untie attention, and the looped loss drops 0.012 nat","Foil: fewer, wider expert layers, more passes, lower loss at equal cost"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The 0.012 nat gain at 100B tokens and the resulting design guidance rest on a single model width (d_model = 1024) and, for the 100B results, a single seed, with only one 20B seed replicate supporting the claim that the effect survives variation in width, seed, and data mix.","fun_headline_variants_meta":{"raw":{"variants":["Foil flattens MoE experts, unties attention, beats looped baseline by 0.012 nat","Looped MoE: flatten experts, untie attention, gain 0.012 nat at equal compute","Foil doubles passes and expert pool per layer, reduces pretraining loss","Flatten MoE experts, untie attention, and the looped loss drops 0.012 nat","Foil: fewer, wider expert layers, more passes, lower loss at equal cost"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000392,"raw_usage":{"cost":0.00039186,"is_byok":false,"cost_details":{"upstream_inference_cost":0.00039186,"upstream_inference_prompt_cost":0.00017878,"upstream_inference_completions_cost":0.00021308},"total_tokens":2038,"prompt_tokens":1277,"completion_tokens":761,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":639}},"tokens_in":1277,"tokens_out":761,"cost_source":"openrouter_usage","duration_ms":5469,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":639,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-09-29T04:45:37.888529+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 Foil-1 and Base at a second width (for instance d_model = 2048) and a second seed through 100B tokens; the central claim fails if the monotonic loss decrease with flattening reverses, or if the Foil-1 gap falls within the roughly 0.003 nat paired-difference resolution that a fresh seed replicate would establish.","supporting_citations":[],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}