Explore the research collection
52 entries · showing 1–24 · Follow this search
- Paper
Sample-Efficient In-Context Adaptation via Sleep
Lee et al. (CMU, Yale, Microsoft Research; alphaXiv, Nov 24 2026) ask whether sleep - N recurrent forward passes refining a model's representations of a chunk of context - improves in-context adaptation for plain transformer LMs on general, non-synthetic tasks, not just long-context reasoning in SSM-attention hybrids where it was first shown. They pretrain LMs up to 1.2B parameters on up to 100B tokens with sleep mechanisms. Longer sleep learns faster in-context on multiple few-shot algorithmic and question-answering tasks and reaches lower next-token prediction loss on out-of-distribution evaluations. On held-out code, N=2 matches the no-sleep baseline's loss using 2.10x fewer tokens in-context, and N=4 using 2.39x fewer. The authors frame it as a tradeoff between in-context adaptation and decoding latency: sleep buys sample efficiency with extra recurrent passes per chunk. Flags, as entered: abstract-level at cataloging, authors' own numbers; alphaXiv Exclusive - NO arXiv ID exists for this paper (the '2611.sample-efficient-in-context-adaptation-sleep' string is the alphaXiv slug, not an arXiv identifier) and no license is confirmed; code/release status not confirmed. Cross-references: NOT a duplicate of ID 506 (Behrouz et al., Google Sleep, arXiv 2606.03979 - a different mechanism: MoE consolidation plus dreaming) - this is the recurrent-pass sleep of Lee et al.'s own earlier 'Do Language Models Need Sleep?' (arXiv 2605.26099, SSM-attention hybrids), which is itself NOT in the catalog. Sits beside the looped cluster (recurrent passes over context vs recurrent passes over layers) and the in-context-adaptation question of staged slot 18-adjacent work. For the user's 250M stack, the transferable idea is sleep as a pretraining mechanism for in-context sample efficiency at his scale (1.2B/100B evidence), with the caveat that it costs inference-time recurrent passes and must be baked in during pretraining, not bolted on after.
- Paper
Where Does Alignment Emerge and What Does It Mean? A Closer Look at the Platonic Representation Hypothesis
Herbst, Roschmann, Bouniot & Akata (arXiv 2611.12869, Nov 9 2026, CC BY 4.0) take a closer, more careful look at the Platonic Representation Hypothesis (PRH) - the claim that networks converge toward similar representation spaces, with more capable LMs aligning more with vision models. Two qualifications and one reassurance. First, WHERE: they localize alignment across model layers and representation dimensions, rather than treating it as a whole-model number. Second, WHAT IT MEANS: representation-similarity metrics can be CONFOUNDED by model depth and width, so claims about alignment need appropriate baselines - and they introduce unimodal and multimodal baselines across datasets to contextualize the numbers. Their reassurance, against recent doubts about whether the PRH trend holds for newer language models: the capability-alignment trend PERSISTS for newer models, as long as the captions used are sufficiently clean and informative - caption quality, not model vintage, is what broke the trend in the recent challenges. And the contextualized headline: cross-modal alignment of UNIMODAL models can SURPASS that of explicitly aligned vision-language models, yet it remains substantially behind the alignment observed between models of the SAME modality. Code is public. Flags, as entered: abstract-level record at cataloging time; the layer/dimension maps and the exact baseline gaps live in the full text. Cross-references: the direct companion to ID 1859 (Balestriero & LeCun's JEPA proof of the PRH) - this paper is the measurement critique that supports 1859's conclusion while tightening its evidence: the 42x sample-efficiency claim and the one-rotation captioner still stand, but read them through this paper's baselines, and the '42x' is about alignment measured under clean captions, not a raw property of NTP.
- Paper
No Second Run: Does RSI Stop at Frontier Pre-training?
Cai et al. (arXiv 2611.10719, Nov 7 2026, CC BY 4.0) ask whether recursive self-improvement (RSI) stops at frontier pre-training - and answer that it changes form. Public RSI work so far has targeted POST-training: start from an existing base, run GPU-hour-scale trials, get verifiable scores. Pre-training breaks all three conditions: a run consumes hundreds of thousands of GPU-hours over months and CANNOT be repeated (hence 'no second run'); its objective, post-training headroom, cannot be read off any single score; and what must improve is not a model but the whole production system - data pipelines, training infrastructure, the teams running them. Since no end-to-end loop can close over a single unrepeatable run, they decompose RSI into SMALLER LOOPS that can close, each repairing a step the full run breaks. The artifact is 801-30B-A3B-Base, a 30B-A3B MoE trained from scratch on 11.8T tokens in three months by a newly formed team, released open-source along with the lightweight SFT data. As a base model it outperforms Qwen3-30B-A3B and Nemotron-3.5-Lightning-30B-A3B and trails only the larger Qwen3.5-35B-A3B, keeping that position under identical SFT; with lightweight SFT alone (6B tokens, NO RL) it achieves the highest average on four agentic benchmarks against fully post-trained models, including Qwen3.6-35B-A3B. Flags, as entered: abstract-level record at cataloging time - the headline comparisons are the authors' own and the internal architecture/recipe details and the decomposed loop inventory live in the full text; the authors claim to be the first to apply RSI to an entire frontier pre-training run and report it in detail. Cross-references: the RSI thread - this is the pretraining-scale counterpart to Mirendil's mission (recursive self-improvement / automating AI R&D), to the staged doubleAI entry (self-redesign during training, small-scale experiments) and to Hedra's Model Factory (the loop as a service); it is the first detailed field report of RSI inside a frontier run, at 30B/11.8T, rather than as a post-training loop or a lab-platform announcement. For the user's own 250M training, the transferable idea is the decomposition itself - improving the training SYSTEM through closable sub-loops (data, infra, eval probes) is the pretraining-scale analogue of the same loop, not a claim that his run can be restarted.
- Paper
Training Specialist LLMs on Your Phone: Forward-Only Optimization via Block-Spectral Coordinates
MobileSpec (arXiv 2611.04797, Nov 3 2026): a system for training on-device specialist LLMs with forward passes alone - no backpropagation, hence no activation/optimizer memory blow-up - learning from automatically checked task outcomes in the RLVR style rather than labeled data. The design rests on an empirical observation about what RLVR actually does to weights: its updates largely PRESERVE the singular values of pretrained weight matrices while ROTATING their singular vectors, so forward-only (evolution-strategies-style) training is efficient only when its random perturbations have the same character. The core algorithm, FuRA-S, achieves this by training only the block-spectral coordinates of the weights - the singular values of their column blocks; rescaling blocks independently shifts their relative contributions to the matrix and thereby rotates its singular vectors (shown theoretically and empirically). Because the update can be rewritten as a transformation of the layer input, FuRA-S can also adapt INT4-quantized models without modifying their weights at all. The resulting specialists are tiny - 1-5 MB, updating 0.015-0.05% of parameters. Reported results: a phone-use agent's success rate rises from 6-23% to 89-100%; a personalized 8B model is trained on an iPhone 16 Pro overnight; on RLVR benchmarks FuRA-S is competitive with full-parameter evolution strategies and outperforms both ES over LoRA adapters and quantized ES on INT4 models. Flags, as entered: abstract-level record - the headline agent success rates come from the authors' own phone-use setup, and forward-only methods trade memory for compute (many forward passes per update), so 'trains on a phone overnight' is a memory-feasibility claim, not a speed claim; license not confirmed from the arXiv record at cataloging time. Cross-references: the spectral/subspace thread - Subspace Tuning (#116) trains in a spectral subspace with gradients, FuRA-S reaches a similar rotation-only geometry without them; also the evolution-strategies-for-RL line of work, here made practical by matching the perturbation geometry to what gradient-based RLVR actually does.
- Paper
A Token Is Not a Unit of Difficulty: Segmentation Controls Where Adaptive Computation Goes Inside a Word
Studies where early-exit/adaptive-computation policies in Qwen3 spend their budget inside multi-token words and shows tokenizer segmentation, not the token itself, controls where extra compute goes across languages.
- Paper
Phases of Muon: When Muon Eclipses SignSGD
An exactly solvable theory of when Muon beats its Adam-like baseline - with a phase diagram, not a blanket verdict. Setup: stochastic Muon (orthogonalize an EMA of minibatch gradients via Newton-Schulz) vs stochastic SignSGD on a high-dimensional matrix-valued least-squares problem whose per-sample gradients are rank-one outer products, mimicking a linear layer under backprop; as dimension and batch grow the loss dynamics become deterministic and the derived theory tracks simulations. Two data knobs organize everything: the covariance spectrum decays as a power law with exponent alpha (large alpha = steep spectrum, effectively low-rank data), and the target's loss in direction i decays with exponent zeta (large zeta = easy target, little loss in the hard small-eigenvalue directions). PHASES: Muon is favored for steep spectra with rich/hard targets (alpha > 2 and zeta < alpha + 1); SignSGD is favored for flat spectra (alpha < 1) and for easy targets generally; in the middle region the winner flips with the accuracy demanded - SignSGD reaches mediocre solutions first, Muon wins late at low loss; elsewhere the winner depends on how target loss scales with dimension. MECHANISM: Muon performs only a SQUARE-ROOT preconditioning in the data spectrum, not a full inverse - small directions get boosted by roughly sqrt(N/B_eff), and that half-strength boost is exactly right when the target loads loss onto hard directions, but over-boosts them for easy targets, where SignSGD's no-preconditioning wins. BATCH: everything runs through the effective batch B_eff = B(1+beta)/(1-beta) - momentum multiplies the effective batch - because Muon can only whiten directions the batch actually spans (batch rank ~ B_eff); with exact whitening and small B_eff it fails to resolve small eigenmodes and slows down, a transition SignSGD does not have. Muon's optimal learning rates are larger than SignSGD's and are derived exactly in the isotropic case, with a sqrt(N) gap at beta = 0.9 unless the batch grows. A practically relevant bonus: finite Newton-Schulz (NS-5) acts as a RIDGE on small singular values, which can help - Muon's speedup over SignSGD peaks around 1.13x at small B_eff/N and 1.46x at large B_eff/N, and in the large-batch regime the inexact NS-5 iteration BEATS the exact polar decomposition. In the isotropic setting the two optimizers' convergence rates match up to a constant factor once each uses its own optimal LR. Scope: this is a least-squares surrogate with rank-one gradients - a theory of the optimization geometry, not an LM experiment; the SignSGD baseline stands in for Adam (no second-moment adaptivity), and the data spectrum of real gradient covariances is an empirical question the paper does not measure. Proofs are accompanied by a Lean 4 formalization (project page: mlexpos.github.io/phases-of-muon). In the catalog's Muon thread this is the theoretical member, complementary to ID 1809's empirical fine-tuning reversal: 1809 says the Muon-vs-AdamW ranking flips with pretraining data scale AFTER fine-tuning; this says the ranking during optimization itself is a function of data spectrum and target hardness - both argue 'Muon vs Adam' has no data-free answer, and this one names the data property that decides it.
- Paper
EmbeddingGemma 2: Unified and Efficient Multimodal Representations
Google's second-generation open embedding model, extended from text-only to a single unified representation space: EmbeddingGemma 2 natively embeds text, images, audio, video, and combinations of them, so cross-modal and mixed-modal retrieval use the same vectors as unimodal search. Two design changes carry the quality: simplified per-layer embeddings, and a multi-stage training curriculum with modality and objective progression (stages add modalities and harder objectives rather than training everything jointly from the start). On the authors' comprehensive embedding benchmarks spanning all modalities, they report a new Pareto frontier - the model beats both specialist single-modality embedders and general models two to twelve times its size. The release is engineered for resource-constrained deployment: modality encoders can be loaded selectively (ship only the encoders you need), the vision token budget is adjustable, embedding dimensions are truncatable (train once, serve shorter vectors at lower cost), and weights are quantized. Ablations over the key design decisions are included, and the model is released openly. Caveats: all benchmark claims are first-party (Google evaluating its own model on its chosen suite), and the abstract gives no parameter count or per-benchmark numbers, so the '2-12x larger' comparison cannot be checked at abstract level; the predecessor's niche was small on-device embeddings, and the efficiency features here are design properties, not measured latency or memory figures in the abstract.
- Paper
ParaTTT: Parallelizing Test-Time Training Layers with Deep Memories
Test-time training (TTT) layers make a recurrent model's memory a small neural network trained online by gradient descent - more expressive than the linear fast-weight memories of Gated DeltaNet and Mamba-2, whose updates are a single delta-rule step. The cost: a nonlinear memory's gradient at each token must be evaluated at weights produced by every earlier update, a sequential dependency. TTT-MLP and Titans break it with block-wise evaluation (gradients for a whole block computed at the block-entry weights), which only approximates token-by-token learning and still runs several times slower than chunkwise-parallel linear recurrences. ParaTTT (PTTT) instead parallelizes arbitrarily deep nonlinear memories by iteratively refining an estimate of the inner-loop gradient trajectory: each refinement is three chunkwise-parallel passes (a forward pass building the feature trajectory implied by the current gradient estimate, an exact gated-delta-rule pass computing the readout trajectory and its feature gradients, and a backward pass producing a new estimate), each pass itself a composition of existing parallel linear-recurrence kernels. The exact online gradient-descent recurrence is a fixed point of the iteration; geometric convergence is proven for a two-layer variant under contraction conditions. Decoding needs no iterations - it runs the exact recurrence. Convergence in practice: on trained models, top-1 agreement with the exact recurrence is ~60% with no iteration, ~90% at N=1, ~94% at N=2, saturating near 98% (the bf16 noise floor); at 4K context, N=2 matches the output error of TTT-MLP's block approximation (b~5) in 32x less time. Speed: a ParaTTT layer at N=2 costs 4.7x a Gated DeltaNet layer and the model keeps roughly one-third the throughput of the linear baselines, but trains 4.9x faster than TTT-MLP end-to-end (37.9k vs 7.8k tokens/s per 8xMI325X node at 340M); TTT-MLP's block form is 5.5x slower per layer at 4K and 8.5x at 16K. Quality (24-layer backbones, SlimPajama, same recipe/order/seed; memory = one hidden layer of width = head dimension, with hidden-layer delta rule and centered readout): at 340M/15.7B tokens, ParaTTT has the best perplexity of the recurrent models (WikiText-103 25.46 vs GDN 26.57, Mamba-2 26.99, TTT-MLP 26.12; Transformer 25.34) and by far the best LAMBADA (26.93 vs 29.66/45.87/40.35; Transformer 39.25), with recall well above the linear recurrences (SWDE 41.9 vs 32.5/25.8; FDA 20.3 vs 17.8/5.7) and the best 32K needle-in-a-haystack of any model tested (16.0, Transformer 10.5). At 1.3B/100B tokens it again leads the recurrences on perplexity (Wiki 15.21, LAMBADA 9.00 - best overall) and recall (SWDE 62.8 vs GDN 59.0, Mamba-2 56.7), though softmax attention still wins most recall and long-context metrics at this scale (SWDE 75.3, NIAH 78.1 at 4K vs 53.8). Caveats: the convergence guarantee covers only the two-layer variant under sufficient contraction conditions; models adapt to their training iteration count (best near training N; training at N=5 improves all four recall tasks but worsens LAMBADA 26.93->28.44 and collapses 32K NIAH 16.0->5.8); the LaCT comparison strips LaCT's sliding-window attention branch, which the authors note prior TTT layers rely on; code repo is a placeholder ('Code to come'). For the fast-weight thread: this is the parallelization fix that makes deep nonlinear memories trainable at linear-recurrence-like cost structure - a per-layer cost of ~4.7x Gated DeltaNet buys the best recurrent recall in the comparison, with exact (iteration-free) decoding.
- Paper
Training Foundation Models with a Single Algorithm (Unified Training)
Foundation models are trained in stages — pretraining, midtraining, SFT, RL — each with its own data and algorithm. This paper argues the algorithmic separation is not fundamental. Building on MaxRL's likelihood interpretation (Tajwar et al.), it shows a suitable RL update is exactly maximum-likelihood fitting to a model-generated target distribution: for binary rewards, the MaxRL gradient equals an expectation under the current policy's success-conditioned distribution pi+, so an RL step is MLE on the model's own successful generations, with the generator held fixed during the update. The construction extends to generations from arbitrary fixed policies nu (fit nu's success-conditioned distribution — off-policy generations need no separate algorithm) and, via TailRL, to continuous rewards and other policy-gradient objectives. Unified training then writes every stage as a source (prompt distribution + target distribution) feeding ONE weighted likelihood loss over a time-varying mixture q_t = sum_s lambda_{s,t} (rho_{s,t} o mu_{s,t}): pretraining and midtraining are the empty-prompt static sources, SFT the demonstration source, RL the self-generated success source. The learning rule never changes; the design problem becomes which data, in what proportions, and when — with conventional staged training as the special case where one source holds all the weight at a time. Implementation: a single trainer over a common data representation, with asynchronous generators appending completed batches to a shared buffer and the trainer publishing weights every k updates (policy staleness measured in the appendix). Experiments, deliberately small-scale: (1) Controlled full pipeline — 124M model from scratch, fixed 20B-token pretraining corpus + 510M-token midtraining corpus of oracle solutions to Reasoning-Gym-style puzzles with controllable difficulty and compositional RL tasks; MaxRL, results averaged over two seeds. Best unified configurations beat staged training on final accuracy and coverage in both Base and Extended settings and on Extended generalization (larger puzzles seen in neither midtraining nor RL). Unified reuses data better: its two best configurations run 2 and 4 epochs over the midtraining corpus during pretraining, where staged training degrades when midtraining is extended past its best budget. Compute-matched frontiers (total compute including pretraining): staged is accuracy-optimal at intermediate budgets, unified wins at the smallest and largest budgets and on generalization at almost all budgets. Retention: unified initializations keep held-out pretraining loss and five-benchmark average near the pretrain-only model even as midtraining data grows, while even the best-retention staged configuration is substantially worse on both. (2) Real-world — 0.76B model from scratch, mathematical RL on Math12K with a 240M-token heterogeneous midtraining corpus (web text, math, code, reasoning traces) mixed at 0–5% token proportions. Math accuracy is roughly flat across proportions (slight decline) while coverage peaks at the largest proportions; every nonzero mixture pushes held-out midtraining loss BELOW the base model (staged training raises it) and SciQ generally improves, but Coding accuracy falls with more mixing despite higher coding coverage. Schedules at a fixed 0.5% average: annealing the mixture to zero by mid-training recovers Coding accuracy while keeping SciQ gains, at some retention cost — no universally preferred schedule. Continual learning: after math training, all unified models beat the staged model on final HumanEval+ and MBPP+ accuracy after identical coding RL (the 5% mixture best on all four accuracy/coverage metrics) despite starting from lower coding accuracy. Objective ablation at fixed mixture: REINFORCE gives higher Math accuracy and retention, MaxRL higher coverage. KL-penalty control: no tested penalty reproduces unified training's combination of math performance, retention, and SciQ/MMLU gains. Separately-normalized dual-loss control: the shared likelihood loss matches or beats it without a tuned coefficient.
- Paper
MoRE: Mixture of Reused Experts
Standard MoE gives every layer its own siloed expert pool, so total parameters grow linearly with experts while each layer's router can only pick from its local C(N,K) combinations, and adjacent layers independently learn redundant experts. MoRE (Mixture of Reused Experts) shares expert pools across groups of adjacent layers ("reuse blocks"): with reuse factor R=2, two adjacent layers draw from one shared pool of 2N experts, each keeping its own router, so the per-layer routing space grows combinatorially (N=32, K=4: C(32,4)=35,960 → C(64,4)=635,376, ~18x) with zero added parameters, and a token can be routed to the SAME expert at consecutive depths — structurally impossible in standard MoE. Only FFN expert parameters are tied; attention, routers, and a lightweight learnable depth embedding (added to the input before routing, so shared experts can condition on which layer called them) stay layer-specific. Implementation is weight tying plus one depth vector per layer on stock Hugging Face models. Experiments deliberately follow the MoEUT small-scale architecture-comparison protocol: DeepSeek-v3-style backbone, ~6.55B tokens of C4, context 1024, batch 64, 8k vocab, three scales (114M / 369M / 1.15B) matched on total parameters and forward FLOPs against standard MoE (DeepSeek), a FLOPs-matched Dense baseline, and MoEUT. Results: MoRE has the lowest validation perplexity at every scale — at 1.15B, 11.75 vs DeepSeek 11.88, MoEUT 12.78, Dense 13.07 (Small: 15.89 vs 15.98); downstream average (OLMo3 suite via lm-eval-harness, 5-shot, six above-chance benchmarks reported) at 1.15B is 48.12% vs DeepSeek 47.05%, MoEUT 44.42%, Dense 44.25%, with the largest gains on LAMBADA/HellaSwag/SciQ. Significance is by paired bootstrapping (B=10,000, alpha=0.05) on the evaluations. Ablations at 114M / 40k steps: every reuse factor R=2..18 beats the baseline with no significant differences among R values (R=2 adopted as the modest default); removing the depth embedding costs 18.71 → 18.76 PPL; the sharing ARRANGEMENT is the active ingredient — block (adjacent) sharing 18.71 beats non-aligned 18.82 and random sharing 18.83 (random ≈ baseline), consistent with CKA representation similarity decaying with layer distance (0.91 at distance 1). Routing analysis at 1.15B: tokens select the same expert at both layers of a reuse block at a 10.3% average rate vs a 5.0% uniform-random baseline (K/N = 7/139), concentrated in early layers and diminishing with depth. Generalization: MoRE applied unchanged to Qwen3MoE and Mixtral and to FineWeb (up to 114M) gives consistent small PPL gains (e.g. FineWeb 114M: DeepSeek 16.00 → 15.93, Qwen3MoE 16.11 → 16.06). Systems at 1.15B on 4x H100: memory roughly matches DeepSeek (48.76 vs 47.17 GB peak); naive HF routing loop slows MoRE (2x experts per layer), but with SonicMoE it reaches ~96% of DeepSeek throughput (142,504 vs 148,753 tok/s). Concurrent work noted by the authors: ReXMoE (adjacent-layer candidate pools with progressive routing) and MoUE (one layer-agnostic universal expert pool) — cross-layer expert reuse is an active direction; MoRE is the minimal-change variant.
- Paper
Nested Sparsity for Scalable Pretraining and Continual Learning (Nestor)
Nestor generalizes MoE conditional computation from the MLP to attention. Each block contains several attention operators called columns; a column router sends each token to a few columns, and each column has its own experts selected by a second router, so the two sparsities nest hierarchically. Each token attends only among tokens routed to the same column. With a single column Nestor is exactly an MoE transformer; with a single expert, a dense transformer. In the experiments each block has 8 columns, and the number of columns a token uses grows with depth (3 in the first block to all 8 in the last). Pretraining (dense, MoE, Nestor at 100M/200M/500M/1B active parameters, DCLM): Nestor achieves the lowest held-out loss at every scale at equal or less compute and comparable total parameters; fitted scaling laws estimate MoE needs 1.13–1.29x Nestor's compute to match its loss, dense 3.1–4.1x, with neither factor shrinking as scale grows. Domain adaptation (books, math, code, German): all three models gain about equally on the new domain, but Nestor forgets 3% less than MoE on average while dense forgets 21% more (website's relative figures). Long-context extension 4k→64k: each column attends only within its routed subset, so per-token cost grows more slowly with length; at equal tokens Nestor preserves its pretraining advantage, at equal compute its advantage grows with context length, with saved attention FLOPs funding more continued-pretraining tokens. Theory (stylized one-layer linear-attention model with hierarchical coarse/fine labels): the nested predictor fits one pattern and row space per column from all that column's experts, while the flat MoE predictor fits one row space per expert plus C^2 pattern blocks (C(C-1) of them zero at the target but still fit from data); compute advantage grows with context length, and in the forgetting analysis non-target columns never change while the flat predictor's shared value map moves, producing forgetting that grows with row-space overlap.
- Paper
Simulating Training Spikes of Deep Neural Networks by Layer-wise Random Feature Models
A mechanism paper for training spikes — the sharp temporary train+validation loss surges in LLM pretraining. Diagnostic starting point: ordinary loss fluctuations are driven by data shuffling and reproduce identically across seeds, but spikes occur at DIFFERENT steps for runs differing only in initialization, so spikes are not caused by a single bad data point and outlier removal cannot fully fix them. TOY MODEL (PLRF): a Power-Law Random Feature model — fixed random Gaussian features feeding linear regression, inputs power-law scaled with exponent α. Two necessary conditions for spikes in PLRF: (1) heavy-tailed data (large α) and (2) learning rate near the divergence threshold. At α=0.3 raising the LR just diverges cleanly; at α=0.9 BOTH SGD and Adam produce genuine spikes before divergence (claimed as the first explicit link between training spikes and heavy-tailed data). MECHANISM: decompose the iterate into deterministic full-batch descent plus a random walk accumulating stochastic gradient noise. Concentration of measure makes the loss concentrate on its expectation IFF α ≤ 0.5 (equivalently Σλ_i diverges for eigenvalues λ_i ∝ i^(−2α)); for α > 0.5 a few very large eigenvalues dominate, and when the noise random-walks into alignment with a large-eigenvalue direction, the loss surges. The EXPECTED loss stays smooth — average-case scaling-law analyses remain valid but stop describing individual runs. Side result: spikes occur in convex quadratic models under stochastic optimization — the 3rd-order terms needed for Edge-of-Stability spikes under full-batch GD are NOT necessary once gradient noise exists; and the SGD divergence threshold is not 2/λ_max but solves (1/B)·Σ γλ_i/(2−γλ_i) = 1 — sharpness (λ_max) is only distantly relevant; the whole eigenvalue distribution is what matters. LAYER-WISE SIMULATOR (Algorithm 1): each layer gets a 2nd-order Taylor expansion of validation loss around a checkpoint (per-example gradient second moments factorize through the activation-correlation spectrum — Prediction 5, verified with relative error <0.1, mostly within 5%, across layer types and steps); from ONE checkpoint + one validation pass (activation-correlation eigendecomposition, mean gradient, mean squared per-batch gradient norm, Hessian trace via Hutchinson probing), synthesize Gaussian per-batch gradients and roll the real optimizer map forward — ~5 seconds on CPU for 1,500 steps for one layer, vs 8 min–1.7 hrs of measurement on TPUv4×32 and 40 hrs to train the case-study model. CASE STUDY: vanilla 1.3B decoder-only Transformer (24 blocks, d=2048, C4, ~25.5B tokens, AdamW β2=0.95, peak LR 8.2e-4, NO gradient clipping); changing only β2 0.95 → 0.999 induces spikes (two seeds). Simulating from the step-21k checkpoint, the normal configuration stays comparatively smooth while both spiky configurations show clear bumps — matching the qualitative fact of spikiness, NOT the step (spike timing is random by construction). Activation-correlation eigenvalues are power-law distributed and MORE heavy-tailed for the spiky configuration, especially in lower layers. EQUIVALENT BATCH FACTOR: despite ~524K tokens per batch, the measured equivalent batch factor 𝔅 ≈ 1 — for gradient-noise purposes Transformer LM training sits in the SMALL-BATCH stochastic regime, because per-token gradients vary wildly; token-count batch size does not buy the gradient-noise suppression sequence-count reasoning suggests. β2 RECIPE: make Adam's second-moment decorrelation time ~1/√(η_t·H) instead of ~1/(η_t·H), giving β2 ≈ 1 − √(η_t·𝔗/√𝔑) from measured Hessian trace 𝔗 and per-batch gradient norm 𝔑 — generically an INCREASING β2 schedule as LR decays; fitted schedule β2 0.982 → 0.992 gave final val loss 2.4404 vs 2.4421 for constant 0.95 and 2.4502 (visibly spiky) for constant 0.992 — real but TINY margins (0.0017 over the original; 0.0001 over the best constant), single runs, no seed variance; the sharper finding is the sensitivity — a 0.01 change in constant β2 flips training between smooth and spiky. Caveats (authors' own, unusually candid): the simulator explains spikes only PARTIALLY — measured 2nd-order terms show level "jumps" rather than spike-and-recovery, 1st-order terms are ~20× larger than the quadratic model predicts; cross-layer correlations and >2nd-order terms are needed and absent; the honest claim is "quadratic models at least partially reveal the mechanism," weaker than the abstract's "successfully predicts." "Prediction" is qualitative — a spike-RISK screen from a checkpoint, not a forecast of when. The layer framework rests on imposed assumptions (Gaussian latents with negligible drift; isotropic output-gradient covariance) and EXCLUDES tied embedding/LM-head weights entirely. The β2 mechanism is admittedly unexplained ("a curious mystery"); the recipe is offered as proof of concept. Simulator accuracy degrades badly with batch size in the PLRF check (severe overestimation at B=64) — the DNN case is argued safe only because 𝔅 happens to be ≈1 for this recipe. Single case study: one size (1.3B), one dataset, one recipe, spikiness constructed by pushing β2, no gradient clipping (atypical for production pretraining); Muon is mentioned only as neighboring spectrum work, NOT simulated. All results first-party, no independent replication, paper ~2 weeks old.
- Paper
Don't Stop Long-Context Continual Pre-Training Too Early: An Empirical Scaling Law
Asks how the benefits of long-context continual pre-training (LCCP — the stage after short-context pre-training that extends the window) scale with its token budget, and whether they can be predicted. Setup: five dense full-attention scales S1–S5 (non-embedding N = 31M–821M; total 165M–1.22B; S5 = 36 layers, hidden 1,536, GQA 24Q/2KV heads, vocab 130,560, attention sink enabled), all trained with Muon in bf16 on 16×H800. Short stage: 4K sequences, WSD schedule. LCCP stage: 32K sequences, RoPE base 10,000 → 500,000, LR starting at the 4K stage's terminal value, on a fixed 32K mixture of public + internally curated data (not fully released — exact replication impossible). Metric: LongPPL (Fang et al. 2025) — perplexity only on tokens a reference model (Llama-3.1-8B) predicts well with full context but badly with a 4K chunk (only 1.42% of tokens on 10K GovReport 32K documents); ShortPPL is the matched local-token control. (1) THE LAW: an additive Chinchilla-style power law with short-context tokens D_s and LCCP tokens D_l as SEPARATE predictors — log(LongPPL) = A/N^α + B_s/D_s^β_s + B_l/D_l^β_l + C — fit on 109 Linear-Decay configurations. Held-out-scale extrapolation: fit S1–S4 → S5 R² 0.9516 / MAPE 1.71% (Linear-Decay) and 0.9718 / 0.66% (Constant-Last4), despite S5's ~100B LCCP tokens being >8× the largest D_l in the fitting set; collapsing D_s+D_l into one budget wrecks extrapolation (R² 0.849), and no-offset variants collapse entirely (R² −0.10 / −4.09 on S5) — separating the two budgets is doing real work. (2) CONSTANT-LAST4 PROTOCOL: linear decay needs a pre-committed endpoint, blocking open-ended scaling; their alternative trains LCCP at constant LR (extensible trajectory) but OBSERVES it through the uniform average of the 4 most recent checkpoints — merging is an observation mechanism only, training always continues from the latest raw checkpoint. It tracks budget-matched Linear-Decay endpoints closely (32K LongPPL 2.241 vs raw-constant 2.312; RULER-32K 45.48 vs 44.29), but its small edge shrinks and slightly reverses after the larger SFT budget (−0.16) — the authors explicitly decline to claim merging improves downstream training. (3) DOWNSTREAM: RULER-32K rises across the whole 5N→120N LCCP trajectory with no clear saturation, driven by intermediate-difficulty retrieval (niah_multikey_2 51.2 → 71.2, niah_multivalue 10.2 → 28.75, niah_multiquery 18.75 → 45.0); gains transfer to 128K after a fixed 2.10B-token extension and persist through identical long-context and agentic SFT stages (the agentic arm — GAIA / BFCL-WebSearch / τ²-telecom — improves with upstream 32K LCCP budget). Proxy sanity checks: LongPPL improves much faster than ShortPPL (elasticity ratio 3.35 → 2.22, always >2 — gains are not just general LM improvement), while retrieval-head probes plateau after ~30N even as behavior improves to 120N — mechanistic probes saturate before behavior does. Caveats: everything ≤1.22B params, 32K LCCP (128K only as fixed extension), one data mixture — frontier transfer asserted, not shown; the law is explicitly finite-range (fitted offset C is negative, so it eventually predicts LongPPL < 1 — authors compute the zero crossing and disown asymptotic interpretation); downstream evidence is mostly figure trends at modest absolute levels with non-monotonic per-subtask movement; "no saturation" ≠ no diminishing returns (their own elasticity ratio shrinks); the HF weights release was mid-upload at check time (several checkpoint repos incomplete/"coming soon").
- Paper
Truncate or Not? A Scaling Study of Looped Transformers with Truncated Backpropagation
Asks whether truncating backpropagation through the loops of a looped transformer is worth it, answered as a compute-allocation problem rather than a recipe comparison. Setup: a loop setting (T,B) runs T forward loops of a shared recurrent block and backpropagates only through the last B — the state s_{T−B} is detached, so the first T−B loops run gradient-free and store no activations (a backward loop costs 2× a forward loop). Only suffix truncation is studied; no random-window variant. Architecture is the Huginn-style prelude–recurrent–coda of Iso-Depth (Schwethelm et al. 2026), whose recipe the study adopts wholesale — input injection of s₀ at every loop, per-loop RMSNorm, and the cross-entropy loss applied ONLY to the final state s_T (final-only supervision throughout; per-loop/deep supervision is never varied). 592 training runs on FineWeb-Edu (Llama-2 tokenizer, 2,048-token sequences): a 347-configuration scaling suite over five sizes (58M–919M non-embedding parameters; recurrent block ≈51% of N), fifteen (T,B) settings with T ∈ {1,2,4,8,16} and B/T from 1/4 to 1, and 1.1–1,291 tokens per parameter; MuonH for block/injection matrices, AdamW elsewhere; metric is held-out validation loss (nats/token). The unified law writes N_eff = N_once + g(T,B)·N_rec with looping coefficient g(T,B) = exp[c(1 − T^{−p}B^{−q})], fitted c = 1.112, p = 0.237, q = 1.022 (R² = 0.9992; leave-one-(T,B)-out RMSE 8.7×10⁻³ nats). Consequences: the loop gain saturates at a ceiling of e^c ≈ 3.04× on the recurrent block; g(2,2) ≈ 1.91, i.e. two fully trained loops are worth nearly two untied copies; and because q ≫ p, effective size is set mainly by B — at fixed B, extra forward loops add almost nothing (under the law, a (4,1) model has the effective size of a non-looped model only 1.19× its parameter count, vs 1.76× for (4,4)). The truncation discount for dropping the same fraction of loops shrinks with T (~18% of the loop gain at T=4, B=2; ~3% at T=16, B=8). WHEN T IS PRESCRIBED, truncation pays — this recovers Iso-Depth's fixed-depth result and explains it: the freed backward compute buys a larger model and more tokens, and the law's optimal B* is just 2 for every T ≥ 4 (at T=8: 33–35% less compute at equal loss in separately fitted frontiers, reinvested as a 1.51× larger model and 1.20× more tokens; at T=16: 1.70× and 1.31×). WHEN BOTH COUNTS ARE FREE, full BPTT is optimal: because q > 2p, the law's continuous optimum at fixed loop-compute S = T+2B is exactly T = B = S/3 at every compute level, and matched-compute runs confirm it — at 17.2B tokens, (4,4) beats (8,2) at identical size, tokens, and compute at all five sizes, by 0.028 nats at 60M shrinking to 0.009 nats at 1B; separately fitted frontiers give (4,4) an 8–14% compute advantage at equal loss. Hence the prescription: run fewer loops and train them all. Near-tie honesty from the paper: half-truncated settings like (8,4) and (16,8) sit just below the full-BPTT frontier (≤2.2% more compute per effective parameter), and (4,3) edges fully trained neighbors by ≤0.002 nats in a narrow band. Allocation rules under full BPTT: at fixed model size, T* ∝ C^0.24 and D* ∝ C^0.76 (a 10× compute increase ⇒ ~1.7× the loops, ~5.8× the tokens — most new compute goes to data); with size also free, no looping at all is compute-optimal (untied copies beat g(T,T) < T), and the best looped setting is (2,2): experimentally within 0.008 nats of the compute-optimal non-looped model at equal compute across three budgets with 27–32% fewer non-embedding parameters (344M vs 471M at 2.1×10¹⁹ FLOPs, loss 2.36 vs 2.37), and with 8% more compute it beats the non-looped model outright with 27% fewer parameters. Why the usual defense of truncation fails here (paper's Appendix B.2): the fixed-point/Neumann-series argument makes dropped gradient terms shrink geometrically only if the loops nearly converge, but production looped LMs run few loops, states stay far from a fixed point, and the bias compounds across every update. Authors' limitations: dense models only (looped MoE untested); validation loss only — downstream/reasoning transfer not established; T capped at 16, so the gain ceiling is extrapolated; prelude/coda-to-recurrent parameter ratio held fixed.
- Paper
Comparing Sparsified MLPs and Transcoders: Many Transcoder Features Are Neurons in Disguise
Asks what transcoders — sparse learned approximations of MLP layers, the substrate of attribution-graph circuit analysis — actually contribute over raw MLP neurons, prompted by Arora et al. 2026 and Ye et al. 2025 showing neuron-basis circuits can match transcoder circuits. Construction: a gated-MLP neuron at high activation magnitude is approximately bilinear, with effective encoders W_up ± W_gate and decoders ±W_down, so each neuron is treated as two sign-split features; the "sparsified MLP" is the MLP itself under layer-wise top-k thresholding (k≈50–64) on sign-split activations — a narrow transcoder with no learned weights. A transcoder feature is a NEURON FEATURE iff both its encoder and its decoder exceed a cosine threshold to the SAME neuron's effective encoder and decoder (the per-feature similarity distribution is bimodal; the separating threshold varies 0.6–0.9 across transcoders, headline claims at 0.6/0.7). Evaluated across 13 open-source per-layer transcoders (TopK and JumpReLU, two codebases) on dense base models 1B–27B (Gemma 2/3, Qwen 3, Llama 3.1/3.2; detailed testbed Gemma 3 4B). Prevalence: neuron features are a small share of the dictionary (late layers 5.9% → 8.9% → 15.6% → 37.1% from 1B to 27B) but fire >10× more often than other features, so they dominate activations — 57.9% → 82.8% of late-layer activations over the same range, near zero in early layers and >50% by mid-model; in attribution graphs they are ≥40% of nodes in the late third of layers for every transcoder tested (one exception ~38%). Faithfulness (§3.4): the full transcoder's Jacobian alignment with the MLP is ≈0.3; the neuron-aligned subset alone reproduces ≈0.3 while the non-neuron subset reaches only ≈0.05 — essentially all of the transcoder's first-order faithfulness is its neuron features; top-k-pruned neurons alone match or exceed the full transcoder's Jacobian alignment in late layers. Stability (§3.5): features that recur across training seeds are >50% likely to be neuron features in most configurations, and stable-feature count grows sublinearly with dictionary width — a 1M-feature dictionary discovers only ~22k stable features, comparable to the model's 20,480 sign-split neurons. Distance from init (§3.6): in TopK training, neuron features rotate to near-orthogonal to their random initialization (median encoder cos ≈ 0) while non-neuron features stay close (median cos +0.48, many >0.8) — the non-neuron remainder is partly an initialization artifact; JumpReLU pipelines behave differently. Their constructive fix, neuron initialization (§3.7): initialize encoder rows at neuron directions and alignment survives training — features with encoder similarity >0.5 to a neuron rise 11% → 92%, and aligned features carry 95% of activation mass (vs 65%). Replacement-model comparison (§2): sparsified neurons plus a trained linear reconstruction map beat transcoders on KL (replacement faithfulness) while losing on FVU (reconstruction) — part of what transcoders learn improves reconstruction only, not behavior; neurons match or exceed transcoders on sparse probing across 8 transcoders, and top neuron activations are as monosemantic as transcoder features on sort evals. Where transcoders still win: reconstruction, fine-grained concept detection (dictionary bigram features fire on their target bigram 75.6% of the time vs ~0% for neurons — though neurons still score 0.988 mean AUC on the probing task), and early layers; non-neuron features do encode extra interpretable concepts (bigrams, color), though the authors are uncertain how truly the model represents them. Recommendations: avoid transcoders with <4× width expansion (for MoEs, practically don't use transcoders); use TopK≈64 sign-split neurons as the baseline in dictionary-learning comparisons; consider neuron initialization. Limitations (authors'): base models only, mostly English, all dense, per-layer transcoders only; only sparse high-magnitude activations characterized — the low-activation regime is explicitly out of scope; neuron-feature fraction depends on architecture and threshold with no complete explanation; faithfulness measured is first-order Jacobian only, not interventional; cross-layer transcoder evidence preliminary (2 narrow models); no human evaluation (automated interpretability metrics only).
- Paper
Beyond Parameters: Exploring Virtual Logic Depth for Scaling Laws
Proposes virtual logical depth (VLD) as a fourth scaling dimension alongside depth, width, and parameter count: VLD = effective algorithmic depth minus base layer count, increased by repeating whole transformer layers with tied weights inside the computation graph, during training and/or inference — not token-wise test-time scaling. Three reuse patterns (after Takase & Kiyono 2021): sequence (adjacent layers share parameters in uniform blocks), cycle (a block of layers repeated), and inverse cycle (the block repeated in reverse order, motivated by larger gradient norms in higher layers). Repetition factors ×1–×3, cycle up to ×5. Two controlled measurements. (1) Knowledge capacity, operationalized Allen-Zhu & Li-style as absorbed entropy ΔH: train a model to memorize a 640k-token IID random sequence over a 50,257-token vocabulary (~15.6 bits/token, sized to the ~2 bits/parameter estimate) and measure the entropy reduction of its softmax outputs on the training sequence. Across 4-layer GPT-2 models of 5M/10M/15M/20M parameters, capacity grows with parameter count; at fixed parameters (5M and 20M tested), absorbed entropy stays nearly unchanged across all three patterns and factors ×1–×3 (reported in Fig. 4, graphically). (2) Reasoning, measured on synthetic iGSM (500K problems, trained at ≤15 operations, exact-answer accuracy, greedy decoding): GPT-2 models of 4/8/12/16 layers (≈50M/100M/150M/200M) trained from scratch. Cycle is the strongest pattern: the 4-layer model's op15 accuracy rises 46.3% (base) → 62.1% (×2) → 70.7% (×5), and the gains grow under depth distribution shift (op20: 21.8→43.8; op21: 21.2→40.2). A 50M cycle ×2 model (effective depth 12) scores 62.05%, beating the native 12-layer 150M model (61.15%) — reasoning decoupled from parameter count. Real-world check: LLaMA-3.2-3B-Instruct with Cycle VLD inserted before LoRA fine-tuning (both arms from identical pretrained weights, same 2.3B-token multi-domain SFT corpus) improves over base on Math500 30.40→35.40, GPQA 29.80→32.32, AIME 3.33→6.67, HumanEval 37.79→39.52, MBPP 38.36→40.22. "Properly implemented" is load-bearing: pattern and placement matter — inverse cycle at ×1 underperforms the base model (4-layer op15 43.9 vs 46.3; 8-layer 53.3 vs 60.5), and in an 8-layer placement ablation, cycle reuse on later layers only (5–8) scores 64.2 vs 62.0 for all layers and 54.2 for early layers only (below the 60.5 no-VLD baseline). Scaling is also non-monotonic: cycle ×3 dips below ×2 on the 4-layer model (61.6 vs 62.1), and effective depth 32 underperforms depth 16 — the authors flag possible fixed points. No fitted scaling-law functional forms or exponents are given; the laws are qualitative (knowledge ∝ parameters; reasoning ↑ with VLD). Caveats: synthetic experiments cap at 200M from-scratch GPT-2 models; the real-world evidence is a single 3B model with LoRA-only fine-tuning and small absolute gains (AIME 3.33→6.67 is one additional problem in 30); knowledge capacity is a synthetic memorization probe, not natural knowledge; all reuse experiments train (or fine-tune) with the reuse graph in place — inference-only looping of a conventionally trained model is not tested; multi-seed statistics deferred to future work (authors' Appendix I).
- Paper
Depth Memory
Reframes depth mixing as memory management. The Depth Memory framework describes PreLN (one additive residual stream), Attention Residuals (a growing key–value cache of every earlier layer output — explicit depth memory), and mHC (an expanded residual stream — implicit depth memory) as streams with Read/Write operators, then proposes Linear Depth Memory (LDM): three streams per token — the standard residual stream, a fixed-size matrix-valued associative memory M, and an inverse-covariance stream P. M is maintained as the EXACT solution of a "depth regression" — least squares over past layers, fitting a linear map that reconstructs earlier layer outputs v_i from their keys k_i — solved online by recursive least squares (Sherman–Morrison) with learnable per-layer forgetting factors, dynamic importance weights, and a ridge penalty. Each write is an error-correcting rank-1 update M ← M + u·κᵀ (u = current prediction error, κ = RLS gain from P); reads add a gated memory retrieval to the residual stream, x + γ⊙M(g⊙q). Depth can afford the exact solve that sequence mixing cannot, because layers are already evaluated sequentially — this is test-time regression (delta rule / MesaNet lineage) transplanted from the sequence axis to the depth axis, and the fixed-size RLS state replaces AttnRes's depth-growing cache. Memory is split into G=16 groups with per-group covariance; main config D_k=8 (memory matrix 8D entries/token, 2× mHC's 4D). Hardware-aware implementation: the RLS recurrence is reversible, so the backward pass unwinds states from the final M instead of storing one per layer, and windowed writes (E=4) defer updates within a window — CuTe DSL kernels for Hopper/Blackwell. Results on FineWeb-Edu with per-method LR sweeps and ~1% extra parameters over PreLN: 400M (Llama-like, 50B tokens) validation PPL 12.08 vs Block AttnRes 12.12, mHC 12.23, Full AttnRes 12.35, PreLN 12.73 — lowest also on WikiText-2 (20.70) and LAMBADA (19.10); zero-shot average 50.46, second to Block AttnRes (50.61). 1.5B (Qwen-like, 100B tokens): validation PPL 9.15 vs mHC 9.25, Block AttnRes 9.26, PreLN 9.48; WikiText-2 14.21 and LAMBADA 8.42, both lowest; highest zero-shot average (59.71). A D_k=4 variant whose memory matrix matches mHC's state size still beats mHC on all three perplexities. Throughput (B200, 1.7B–14B): exceeds Full AttnRes in every setting and mHC in all training and most inference settings; competitive with Block AttnRes, especially in decode. Ablations (400M, 15B tokens): the separate residual stream is load-bearing — memory-only layer input (+1.88 PPL) or replacing the stream with the layer output (+0.87) both fall below PreLN (+0.78); replacing RLS with a delta rule (+0.06) or plain outer-product update (+0.07) still beats PreLN but not RLS; storing the residual stream instead of layer outputs hurts most among addressing choices (+0.33); disabling forgetting is a wash (−0.01). On the DepthBench aspect-ratio protocol, LDM beats PreLN at every width/depth ratio at 400M and 1.6B and is lowest at every 1.6B ratio; the deepest 400M shape is the lone exception (HC slightly better). Caveats: quality evidence stops at 1.5B / 100B tokens (larger scales appear only in throughput tests); LDM can add peak training memory; all results first-party, no independent reproduction.
- Paper
Evaluating Model Capabilities After Benchmark Saturation
When benchmark scores saturate, do model transcripts still contain capability signal? The authors simulate saturation retrospectively: split benchmarks into saturated items (top-3 reference models all correct) and unsaturated items, give protocols only correctly-solved transcripts from the saturated set, and test whether they predict IRT-fitted latent capability on the unsaturated set. Across four domains (Science, Maths, Coding, Cyber) and 16 target models (2025-II, 2026-I semesters), pairwise LLM judging ("which of these two correct solutions came from the more capable model?") is the only protocol significantly better than the saturated-score baseline: pooled MSE 0.26 vs 1.37 — a 5.27x error reduction (mean LLR 0.68, p=.005). Deterministic transcript features, embeddings, and absolute 1–10 scoring do not significantly beat baseline. The signal lives in reasoning and tool channels: removing reasoning raises error ~3–4x in Coding/Cyber/Science (not Maths); removing tool interactions raises error ~4x in Cyber only; removing messages has no effect. The signal is redundantly distributed — any transcript third alone usually beats baseline. Pairwise judging generalizes to more capable targets and transfers to six closed-source models (Claude Opus 4.7/4.8, Fable 5, GPT-5, GPT-5.6 Sol, Gemini 3.5 Flash), and is significant only in the agentic domains (Coding, Cyber). The failure mode: the early-2025 reasoning-model shift — pre-reasoning-era judges underestimated reasoning targets by 2.1–3.0 θ units (MSE 6.20 vs 0.24); withholding reasoning text only halves the error, so the transcript–capability relationship itself changed. Code MIT at github.com/Mamiglia/scalable-capability-evaluation (650 commits, Inspect AI).
- Paper
Co-Evolving Acting and Forecasting for Language Agents
CoPE adds one multi-step action-forecasting loss on top of GRPO for sample-efficient RL of long-horizon language agents. Standard agentic RL learns only from a terminal scalar reward; value targets label every step with the same outcome, and observation targets (HTML pages, terminal logs) are noisy, one-step, and waste loss on irrelevant tokens. CoPE's third kind of target: on successful on-policy trajectories, the shared policy backbone learns to predict the action chunk a_{t:t+K} from each history (population optimum: the hindsight distribution Pr(a|h, success) — success is a selection condition, not a per-step label). Each action is thus supervised both where it is taken and when forecast from the K preceding histories, forming an implicit temporal ensemble absorbed into the policy; acting and forecasting co-evolve. Inference still acts one step at a time — zero overhead. On five benchmarks (ALFWorld, ScienceWorld, WebShop, τ²-bench, AppWorld): ALFWorld +5.0pp over GRPO, WebShop success 64.5→77.0, ScienceWorld 64.5→72.5 (best of all RL baselines including ECHO and RWML), τ²-bench 27.5→28.7 (Retail 17.5→29.4, with an honestly reported Airline drop 26.2→16.2), AppWorld 41.67→55.36 (normal) / 18.71→22.54 (challenge). Sample efficiency: 2.0× vs GRPO and 1.7–1.9× vs ECHO on ScienceWorld; 1.6× vs GRPO on AppWorld. Cost: +11% per-step training compute, −9% end-to-end step time; no separate model, no pretraining, no inference overhead. Ablations: K=2 best (all K≥1 beat GRPO), λ=10⁻², gains hold on Qwen3-8B, group normalization stabilizes training. Explicit-ensembling control (separate LoRA forecaster reranking 8 candidates) improves GRPO but adds nothing to CoPE, supporting the implicit-ensembling claim. Plain success-filtered BC on successful rollouts hurts (−7.5pp) — multi-step forecasting is the crucial ingredient. Limitations: outcome-conditioned imitation over-represents easy tasks; the Airline failure shows refusal tasks bleeding into action tasks. Code MIT at github.com/ulab-uiuc/CoPE (AgentGym-RL/verl stack).
- Paper
Understanding and Enhancing Backdoor Persistency in LLM Agent Post-Training
Supply-chain threat for LLM agents built from third-party models via benign post-training: a backdoored model (comment trigger `# |TEST MODE|` → credential-exfiltrating tool command) is adapted through the developer's SFT and task-level RL. On SWE-agent coding models (Qwen2.5-Coder 3B/7B, Qwen3-Coder-30B), benign SFT (3,000 updates) cuts attack success from 100% to 8%/20%/7%, but subsequent GRPO (150 steps) preserves the residual in every setting and increases it in some (30B first-position 6%→12%). Analysis attributes SFT survival to two factors: backdoor strength and gradient compatibility with benign updates. PersistBD refines the backdoored model pre-release with a single merged LoRA adapter optimizing a joint objective (backdoor strength + compatibility surrogate from disjoint benign data + benign anchor), flipping compatibility from negative to positive at all scales: 7B post-SFT ASR 20%→74%, post-RL 20%→76%; 3B 8%→21% / 7%→22%; 30B 7%→37% / 8%→36% — while keeping benign SWE-bench Lite resolved rates comparable to the base backdoor (7B: 23/300 vs 20/300 after SFT, 27/300 both after RL). Ablations show both strength and compatibility terms are necessary; dropping them produces unselective backdoors (false-trigger rate 0.87–0.99) that erase within one benign epoch. Conclusion: backdoors survive benign SFT–RL pipelines and adversaries can deliberately harden them; motivates inherited-backdoor detection and mitigation. Limitations: SWE tasks and one scaffold only; fixed attack target; attacker knows the domain/scaffold; results depend on the evaluated training procedures and budgets.
- Paper
AutoEnvScaling: Automating the Data Flywheel with Terminal Agents
Terminal-agent RL is bottlenecked on human-designed environments: the supply of useful training envs grows only as fast as researchers can work. AutoEnvScaling turns environment design into a terminal task — a proposer agent reads the solver's rollouts, decides what to build, then writes and tests complete Harbor tasks (instructions + execution environment + reference solution + tests) inside a sandbox with web access, a coding harness, and child containers. Two admission gates: validation (reference solution scores 1, empty solution <0.5, no 13-gram overlap with held-out tasks, Terminal-Bench rubric review) and calibration (current solver keeps the task only if mean reward ∈ [0.25, 0.75] with variance; up to 2 revisions). The proposer co-evolves via harness optimization (editing its own harness/skills/memory between rounds) or weight training. Across eight frontier proposer models, terminal-based generation raises the valid-environment rate up to 25× over prompt-only generation (DeepSeek-V4-Flash 3.5% → 89.0%) at up to 75% lower cost per valid environment for six of eight models (cost rises for the two strongest proposers since AutoEnvScaling spends more turns). RL on generated environments beats matched static Tmax pools on Terminal-Bench 2.1 (+6.3/+7.4 for Qwen3.5-9B, +4.3/+3.8 for Qwen3.5-35B-A3B), and removing solver feedback costs −3.6/−6.7 points. Recursive self-improvement: Qwen3.6-35B-A3B as both proposer and solver (self-play, one shared policy) improves Terminal-Bench 2.1 from 41.1 to 53.3 (+12.2) and Terminal-Bench 4.0 from 1.6 to 3.2, with 3.1× higher usable-group rate and 42% less rollout-collection time; removing proposer training collapses the loop. On HiL-Bench, tasks generated by Claude Opus 5 let Qwen3.6-35B-A3B reach 33.9% task success / 55.3% Ask-F1 at asking for help — beating Opus 5 itself (7.5%/14.4%). Code (Apache-2.0, private preview), launchers for every experiment, figure data, and generated environments are public; sandboxes run on Modal.
- Paper
Efficient Reasoning with Flow Language Models
Flow Language Models (FLMs) are continuous-state diffusion LMs trained by conditional flow matching: they interpolate Gaussian noise to one-hot clean targets, train a clean-token cross-entropy objective, and at inference Euler-integrate the learned ODE over N denoising steps, discretizing to tokens only at the very end. Discrete diffusion baselines pass a single categorical value per position between steps, discarding alternative-token probability mass. The paper's theory: the FLM state is exactly a temporal superposition of candidate-sequence vertices, so historical support for non-top-1 candidates persists; that retained support can change prediction margins even within a fixed hard state (a margin span of Δ implies worst-case reproduction error ≥ |Δ|/2 for hard-state-only readouts); and decoder-risk bounds show the continuous state can strictly lower prediction risk vs the hard projection. Empirically, on Maze10/15/20 at 4 denoising steps with matched model sizes, FLM beats the best discrete baseline by +1.2/+18.0/+21.2 percentage points of exact sequence accuracy (99.5/99.1/91.3), with FLM already at 95.9% on Maze15 in a single step; FLM stays ahead of MDLM across three model sizes and 1–512 steps and reaches the 95% target on Maze15 with 36.5% fewer parameters (88.25M vs 139.00M). On Sudoku-Extreme (86.88M), FLM leads at 1–2 steps (21.0%/36.7% vs 19.2%/36.2%) but enhanced discrete samplers overtake from 16 steps onward; the 1-step edge transfers zero-shot to Standard Sudoku (29.5% vs 27.1%). Mechanism evidence: at t=0.80, 23.8% of cells in the accumulated state retain a second candidate ≥0.05 (vs 4.9% in the instantaneous prediction), and interventions removing non-top-1 information degrade recovery (Natural ≥ Top-2 > Top-1), so the retained alternatives are actually used — this is the error-preemption effect where alternative digits fade across steps and let FLMs correct initial mistakes. Wall-clock: FLM is fastest at N=1 on all tasks (0.151s vs 0.303s MDLM on Maze20), comparable at N=64.
- Paper
DiscoLoop: Looping Discrete Embeddings and Continuous Hidden States for Multi-hop Reasoning
Looped Transformers fix the depth-local storage problem that blocks in-weight multi-hop reasoning (facts stored in early layers are unavailable where later retrieval happens), but they still generalize poorly out of distribution. This paper localizes the remaining failure as representational: on a controlled symbolic two-hop task (two entity-disjoint knowledge graphs, 500 entities / 50 relations each, compositions over the OOD graph never seen in training), a vanilla looped Transformer reaches only 71.1% ID and 8.3% OOD accuracy, even though a logit-lens probe shows the first loop already assigns probability ≈1.000 to the correct bridge entity. The problem is geometry: the post-first-loop hidden state has cosine similarity of only 0.327 (ID) / 0.266 (OOD) to the bridge token's embedding, so the second loop consumes a noisy continuous mixture instead of the clean discrete embedding it was trained on. A training-free intervention — mixing the normalized decoded bridge embedding into the hidden state at the bridge position between loops — lifts OOD accuracy from 8.3% to 25.9% at mixing weight α=0.1 and to near 100% (ID and OOD) at α≈0.5. DiscoLoop turns this into an architecture: the recurrence carries both channels, adding a gated, RMSNormed soft decode-then-encode term Φ(h) — the tempered LM-head distribution over the vocabulary re-embedded through the tied embedding matrix — into the residual stream at every position and loop. The learnable gate variant adds only d+1 parameters. On the symbolic task DiscoLoop reaches near-perfect ID and OOD accuracy with a sharp phase transition around epoch 500 (vs ~70% ID / <10% OOD for the vanilla loop and <20% ID / ~0% OOD for a FLOPs-matched non-looped model with K× the parameters); it also generalizes on a three-hop extension where both baselines fail OOD completely, and on a synthetic natural-language version it reaches ~100% ID / ~95% OOD vs the vanilla loop's ~90% ID and OOD failure. In real pretraining (440M model, 24 layers, 4 backbone applications, 20B tokens of 60% FineWeb-Edu + 40% FineMath-4plus), DiscoLoop beats the vanilla loop and PonderLM on a seven-benchmark zero-shot average, 50.5 vs 49.3 and 49.8, best or tied on six of seven benchmarks, overtaking the vanilla loop after ~13B tokens. Authors' stated limits: hop-length generalization (train ≤k hops, test >k) untested, pretraining verified only at 440M scale, and whether the recipe can be grafted onto existing pretrained models via continual pretraining is open.
- Paper
Harness Evolution Hits a Ceiling: When Weight Training Should Begin
Improving a long-horizon LLM agent means evolving the harness around a frozen model or training its weights. This paper builds a diagnose-then-intervene rule: label failed trajectories by the first failure signal — F1 unbacked assertions, F2 harness friction, F3 execution control (loops, exhausted step budgets), F4 planning capacity (delivered plan scoring below 0.5). A self-evolving harness loop (AHE-style propose-verify with judge) repairs the process classes; the behavior it instills can be trained into the weights; content failures are what weight training is for. On DeepPlanning (travel planning with deterministic programmatic scoring; 48 dev / 72 held-out tasks), the loop lifts Qwen3.5-4B held-out score 0.16→0.30 and Qwen3.5-9B 0.32→0.44: for 4B, held-out delivery rises 55%→90% while loop failures (F3) fall 64%→37% of trajectories; for 9B, loops fall 39%→17%. What the loop leaves behind is the content class: F4 rises 10%→28% (4B) and holds ~25% (9B). LoRA adapters trained on evolved-harness trajectories internalize the gain: under the original harness they add +0.13 on held-out tasks for both sizes; on 4B they stack with the harness to more than double the held-out score, and on 9B the adapter alone matches the full evolution line, cutting content failures from roughly a quarter of trajectories to one in twenty. A placebo adapter trained on answer-shuffled trajectories falls below the base model (gain is in trajectory content); full fine-tuning adds +0.04 over LoRA. Why the loop stops at F4: component ablations show compliance-enforcing components (exit gate, checkpoint, hard blocks) are mostly within noise, while capability-granting components (state ledger, distilled lessons file, invented tools) carry the gain — the loop's evidence package shows the proposer gate/checkpoint metrics and never aggregates failure composition, so it optimizes what it can see. The loop transfers to WebArena-Lite (+0.09 on 117 unseen tasks), where the gain lives in what the model sees (two pages of history instead of one) and adapters add nothing. Generality: nine evolution lines on eight models from six families; seed measurements separate the five lines where the harness lever paid (+0.05 to +0.14) from the three where it paid nothing. Measurement: four-rollout means, differences below 0.035 are noise.