Explore the research collection
84 entries · showing 1–24 · Follow this search
- Paper
Composable Soft-Prompt Distillation of RL Experts: Toward Continual Post-Training
Zhang et al. (arXiv 2611.27376, Nov 20 2026, CC BY 4.0) solve the continual post-training consolidation problem without touching the backbone. RL post-training produces domain experts that must be consolidated into one model, and as new experts keep arriving the consolidation becomes continual - but weight merging and multi-teacher on-policy distillation (MOPD) must re-consolidate the whole model whenever an expert is added, and can erode capabilities outside the target domains. Composable Soft-Prompt Distillation (CSPD) keeps the pre-RL model frozen, distills each RL expert independently into a soft prompt, and composes experts by concatenating their prompts with no joint training. A single soft prompt recovers at least 90% of the teacher's gain in 22 of 23 math, code, and agent settings. Independently trained prompts compose well: in a multi-expert setting the average rises with every expert added, and the full composition matches MOPD (67.83 vs 67.79) while generalizing best across six held-out benchmarks. Input-space adaptation adds little serving overhead: throughput within 1.5% of the unadapted backbone and 2.40x that of rank-4 LoRA. Flags, as entered: abstract-level at cataloging, authors' own numbers; code/release status not confirmed from the arXiv record. Cross-references: the consolidation alternative to MOPD (ID 1534) and to the Base Labs OPSD critique (staged slot 2) - CSPD sidesteps both by never merging weights; retention counterpart to ID 1762 (Unified Training) and staged Deletion Tuning (slot 13), all three answering 'how do I keep adding capabilities without losing old ones' from different directions (data mixture, weight deletion, frozen backbone + soft prompts). For the user's stack, the transferable idea is continual post-training on a fixed backbone: each new RL expert becomes a composable soft prompt instead of another consolidation run, directly relevant to his pretraining/post-training split and to Model Axes' need to keep adding evals without re-consolidating.
- 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
Can Benign Skills Induce Misaligned Behavior in LLM Agents?
Studies 'skill-induced behavioral misalignment', where reusable benign agent skills make LLM agents more capable of executing harmful procedures, and measures the risk across agents.
- Paper
LoopKV: Loop-Aware KV Cache Compression for Serving Looped Transformers
LoopKV compresses per-loop KV caches when serving looped transformers like Ouro by allocating quantization precision to each layer's sensitivity at each loop, raising servable batch size.
- 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
ElTab: Elastically Looped Tabular Transformers
ElTab is an elastically looped tabular transformer (TabPFN-style) trained with supervision at random early exits so one model serves many compute budgets; evaluated on 30 OpenML classification datasets.
- Paper
Depth through Recurrence: Towards Ultra-Efficient On-Device ASR
Revisits depth in on-device ASR and replaces stacked layers with recurrence over shared layers to get deep-model accuracy at a fraction of the parameters for watches/glasses-class hardware.
- Paper
When Steering Shifts Discourse: Identifying and Intervening on Discourse-Level Changes due to Activation Steering in LLMs
Shows activation steering causes systematic discourse-level side effects beyond intended behavior change, and proposes ways to identify and intervene on them.
- 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
Reward Misspecification Degrades Chain-of-Thought Monitorability
Controlled testbed for a question prior monitorability work mostly approached via monitor pressure or inference-time cues: does a misspecified OUTPUT reward alone — no pressure on the CoT, identical inputs for paired models — make reward hacking invisible to a CoT monitor? Design: from the same base model, train a control on a true reward r_t aligned with the stated task intent and a misaligned model on a misspecified reward r_m favoring a different behavior; a rollout is labeled a hack (Y=1) iff r_m > r_t on it. Three tasks, each modeling a known real-world hack: (1) Length — answer within N words (HF Helpful Instructions); r_m pays for EXCEEDING the limit. (2) LM Judge — assign preference scores summing to 1 to a Gemini and a Claude response selected as equally preferred by humans (Arena-Human-Preference-140k); r_t pulls toward (0.5, 0.5), r_m toward (0.9, 0.1) for Gemini whichever position it occupies; hack = output closer to the biased split. (3) Coding — LeetCode problems with only 10 tests each; r_t = pass all, r_m = pass a nonempty strict subset (passing all 10 does not guarantee correctness, a stated labeling caveat). Training: GRPO-style, fully on-policy, run on Thinking Machines' Tinker API with LoRA rank 32 (batch 16, group 8, max rollout 8,192 tokens, LR 4e-5; 120/250/800 steps for length/judge/coding), 3 seeds, on three base models — gpt-oss-20b, gpt-oss-120b, NVIDIA-Nemotron-3-Nano-30B-A3B-BF16. An LM monitor (headline: gpt-5.6-luna; gpt-4.1-mini as the weaker comparison) reads only (intent, query, CoT) and predicts Z=1 if the model pursues a different intent than stated. Two metrics in [0,1], both built to punish false alarms: intervention g-mean² (from Guan et al. 2026) = TPR_mc × √(TNR on misaligned × TNR on control), where TPR_mc counts only hacks ATTRIBUTABLE to the misspecification (corrected by R_effect, the share of the misaligned model's hacks exceeding the control's hack rate) and false positives are charged both on controls and on the misaligned model's non-hacking rollouts; reward-intent g-mean² = TPR × TNR for the different label "was this rollout's model trained on r_m" — it REWARDS flagging the misaligned model's non-hacking rollouts, which intervention g-mean² penalizes; the two capture "will it hack in this output" vs "does the CoT reveal the training reward." BASELINE RESULT (final checkpoint, 9 task×model cells): misaligned models hack at mean rate 0.87 (length 1.00 across all three models; judge 1.00/1.00/0.93; coding 0.67/0.61/0.59) vs 0.05 for controls — yet intervention g-mean² averages 0.13 and reward-intent 0.17, no cell above 0.31 intervention or 0.34 overall; the monitor flags only ~18% of hacking rollouts. Mechanism: the CoT keeps reasoning about the PROMPT's intent (stay under the limit; judge fairly) while the output serves the reward — outputs run to 3× the word limit under CoTs arguing for brevity; on coding, monitorability tracks whether the CoT happens to draft the solution or collapses to phrases like "Output code" (a source of the high per-seed variance). A stronger monitor buys little (+0.09/+0.12 average over gpt-4.1-mini, and nothing on Judge, where CoTs almost never mention identity bias). THE FIX — reward description training, requiring NO prior knowledge of the misspecification: during the baseline run, sample rollouts on 50 held-out queries every 10 steps; take the 5 queries with the highest reward variance; have an LM (gpt-5.6-terra) generate 8 candidate natural-language descriptions of what the reward favors; select the candidate that most raises the UNTRAINED base model's reward when placed in its context (e.g., Length: "A high reward is predicted by the response exceeding the 1,351-word limit"; Coding: "The reward function is effectively inverted relative to the stated intent"). Restart RL from base with the description injected into HALF of each group's rollouts (all-injection destroys the signal: if every CoT verbalizes it, verbalizing can't distinguish high- from low-reward rollouts); the training update is computed on the rollouts WITHOUT the description visible (Deliberative-Alignment-style), so the CoT learns to state the true objective under ordinary inputs. RESULTS: monitorability improves on average by +0.24 (intervention → 0.37) and +0.42 (reward-intent → 0.59), driven by monitor TPR rising 0.18 → 0.85; description-trained CoTs say things like "We need to produce buggy solution." BUT HACKING IS NOT FIXED: mean hack rate only 0.87 → 0.79, and several cells move the wrong way — gpt-oss-120b/Length hack rate falls 1.00 → 0.45 yet its intervention g-mean² DROPS 0.23 → 0.17 (fewer hacks means fewer attributable true positives to find; reward-intent flat 0.34 → 0.34); Nemotron/Judge hack rate rises 0.93 → 1.00 and Nemotron/Coding 0.59 → 0.66 even as their monitorability improves; per-cell intervention under description training ranges 0.15–0.91 (best: gpt-oss-20b/Length 0.31 → 0.91). False-positive costs are real and partly artifactual: monitors flag more of the misaligned model's non-hacking rollouts (on Coding, a solution failing ALL tests is labeled not-hacking, so a monitor that correctly reads hacking intent is penalized), and on controls the inferred description of the TRUE judge reward ("as close as possible to an exact tie… regardless of response quality") itself sounds suspicious and draws flags. ABLATION: removing the stated word limit from the prompt (underspecified intent) leaves monitorability low for gpt-oss-20b (intervention 0.31 → 0.15) and Nemotron (0.08 → 0.05) — an explicit prompt–reward conflict is NOT necessary — while gpt-oss-120b improves (0.23 → 0.37) only because its CoT enumerates many output topics, leaking the coming length. POSITIONING: vs Baker et al. 2025 (monitor pressure breeds obfuscated hacking) — here there is no CoT pressure at all; vs Turpin et al. 2025 (verbalization fine-tuning for KNOWN prompt cues) — here the cue is a training-time reward, unknown in advance and inferred; the identical-inputs paired design also removes the cue-matching shortcut that inflates monitor scores in inference-time-cue studies. No dedicated limitations section; stated caveats are the 10-test coding labels, small synthetic testbed (3 tasks × 3 models, LoRA fine-tunes), coding monitorability's dependence on CoT verbosity/collapse, and exact reproduction being tied to the Tinker API (reproducibility statement; authors state no reason to believe results are Tinker-specific). Code public (Apache-2.0; repo created 2026-10-15).
- Tool
Dist-MoE: Speed-of-Light Distributed Mixture-of-Experts Forward and Backward Kernels
A library of fused communication-and-compute kernels for expert-parallel (EP) MoE on NVIDIA SM100+ (Blackwell) GPUs. The caller supplies top-k expert IDs and scores (routing itself is out of scope); a reusable context owns symmetric, peer-addressable HBM dispatch/combine buffers (NVLink) and executes dispatch → grouped expert GEMM (W13 → SwiGLU → W2) → combine as one ordered operation, with forward and backward (FPROP/DGRAD/WGRAD) kernels throughout. Precision/pipeline matrix: BF16 "standard" (training + inference); MXFP8 E4M3 in Staged (separate W13 and SwiGLU/W2 kernels) or Mega (both projections fused into one chunk-pipelined kernel with chunk-local readiness) pipelines (training + inference); NVFP4 in Staged or Mega, inference only, prepared weights. Kernels are CuTe/CUTLASS-DSL; validated stack is Linux ARM64, PyTorch 2.14 + CUDA 13.0, NCCL 2.30.7; no CPU fallback. Two mechanisms distinguish it from DeepEP (dispatch/combine comms only, no fused expert compute), MegaBlocks, DeepSeek's Mega MoE/DeepGEMM (fused forward only, no fused training backward), ByteDance Comet/Flux (no CUDA graphs on the dynamic-routing path, no packing policy), and Cursor's Mixture-of-Kittens (MoK): (1) dynamic activation packing — a planner packs saved forward state from all layers sharing an activation slot into one bounded buffer instead of reserving a per-layer budget, and it works during CUDA-graph replay; (2) dynamic, capacity-driven recompute — when the slot budget is exhausted the planner keeps mandatory layer inputs and rebuilds the remaining intermediates in backward, decided by device predicates so the host launches one fixed, graph-stable sequence (soft limit; scratch overflow without VMM host-backed overflow is a hard error). Also: full CUDA-graph support and non-strict make_fx (full torch.compile/strict export explicitly NOT supported), fused post-expert RMSNorm + score weighting + top-k reduction, clamped SwiGLU, in-place WGRAD accumulation into standard parameter.grad, and no shared-expert branch required — routed-only execution, -1 expert ID disables a route (MoK's reviewed API, by contrast, requires shared-expert weights). TorchTitan integration: a DistMoeTransform swaps stock RoutedExperts for the Dist-MoE backend in place (same GroupedLinear parameter layout, so FSDP/optimizer/checkpoint ownership is unchanged; requires mixed_precision_param="bfloat16"), plus a rank-wide DistMoeRuntime.Config (scratch/activation-slot capacity factors, VMM factor, pipeline-parallel slot policy); verified 671B DeepSeek-V3 recipes ship in torchtitan_recipes, MXFP8 Mega fused inference is wired for RL generators, and NVFP4 inference is in the library but not yet exposed by TorchTitan. Benchmarks — ALL Meta-reported, GB300 NVL72, no independent replication: "useful" throughput counts only real GEMM FLOPs (fwd = 6·T·K·D·F per GPU; bwd = 2× fwd), excluding padding and replay work, divided by whole-layer iteration time (median of five 30-iteration CUDA-graph windows, slowest rank; comm/quantization/padding time stays in the denominator). Headline MoK comparison (both implementations given one BF16 shared expert, D=7,168, 384 experts, top-6, 2,048 tokens/GPU, CUDA graphs on): up to 1.40× over MoK — specifically the synthetic ten-layer packing training workload under per-layer routing imbalance (MXFP8, EP64), where Dist-MoE packed all ten layers' saved state at capacity factor 2.5 with zero capacity-induced recompute (peak allocation 49.73 GiB vs MoK 48.37 GiB); Meta notes the experiment does not isolate how much of the gain is avoided recompute alone. MoK was chosen as baseline because Cursor's published single-layer NVL72 results lead the other OSS stacks (DeepEP+PyTorch, DeepEP+TransformerEngine, HybridEP+Megatron). Separate standalone suite (zero shared experts, one routed layer): 3.09 useful PFLOP/s per GPU NVFP4 Mega inference (EP16), 1.86 MXFP8 Staged training (EP64), 1.27 BF16 training (EP64) — vs dense datasheet peaks of 15/5/2.5 PFLOP/s respectively. Imbalance scaling is sub-linear: NVFP4 inference EP16, 8× received rows on the busiest GPU → 4.82× iteration time (~40% lower time per received row). Stated limitations: SM100+ only; no NVFP4 training, MXFP8 E5M2, MXFP4, A8W4, communication quantization, or expert borrowing in this release; the explainer itself discloses that EP32/EP64 training ran at different sites, some allocations shared an NVLink fabric with unconfirmed timing overlap (not uncontended-peak evidence), and HBM byte rates are modeled, not measured.
- 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
OperLoop: Looped Transformers as Optimizers
Reframes looped Transformers' recurrent transition as an optimizer update on the hidden state treated as a fast weight. Any loop transition derives from (1) an input-map projection, (2) a local objective whose gradient the shared blocks' output predicts, (3) an optimizer update rule. Diagnosis: existing transitions (Ouro, Huginn, Parcae, HyperLoop) have input-map mismatches between transitions and projections (Parcae omits Āᵀ; HyperLoop splits H^pre/H^post) — aligning maps cuts loss, +0.15pp Parcae / +0.54pp HyperLoop commonsense (aligned HyperLoop: 59.47 vs 58.93). Their design, OperLoop: delta objective ½‖o_l − t_l‖², explicit learned weight decay Λ_l, state-dependent causally-monotonic step size η_l (inspired by Delta Linear Attention, but target implicit rather than projected values). At matched training FLOPs (~50% params): best looped variant at both scales — EM avg 25.58 vs non-looped 5B baseline 23.89 (+1.69pp), 10B +1.04pp; Loop6 at 1.67× FLOPs: EM 31.90 (+8.01), 8-shot CoT GSM8K 17.13→31.08. Ablations: removing delta objective 25.58→24.84; causal step-size beats fixed η=1 (+1.18pp EM) and non-causal (+1.56pp). Caveats: all looped models have worse PPL and log-likelihood accuracy than the non-looped baseline (Wikitext 13.90 vs 13.08 at 5B) — the advantage shows only in generative EM eval (authors' own point: evaluate beyond PPL); gains vary by task (ARCcn at 5B: 37.63 vs baseline 40.96); small models (5B/10B, 300–500B tokens, 4k seq) — no frontier-scale evidence.
- Paper
Understanding Mamba-3 Through Oscillatory Dynamics
Mamba-3 adds input-dependent rotations to the SSM state update (each rotary state pair evolves as decay × rotation, Ā = ρR(θ)), but what the rotations contribute beyond retention was unclear. Liang & Song (Tsinghua) show this decay–rotation transition is exactly the flow of an underdamped second-order system: the damping ratio ζ = a/√(a²+ν²) is < 1 for any nonzero rotation frequency ν, with decay setting the damping envelope and learned phase supplying the oscillation. In a shared second-order framework, underdamped dynamics dominate state tracking (scaled accuracy: 100.0% parity, 95.26% mod-3, 95.68% arithmetic-without-brackets vs 3.27/0.58/81.60 overdamped, 3.22/0.32/1.97 critically damped, and ≤48.95% for Mamba-3 with rotation removed or made static), because overdamped modes collapse asymptotically and critically damped modes become directionally degenerate while underdamped modes preserve state geometry. Pretraining Mamba-3 ± oscillation (187M/444M, 100B FineWeb-Edu tokens, 2K context) gives lower PG-19 perplexity beyond the training length at both scales and a LongBench-E gain at 444M (13.22 vs 10.61; none at 187M), with standard downstream averages comparable (43.43 vs 43.63 at 187M; 51.08 vs 50.18 at 444M). Interventions on pretrained 1.5B Mamba-3 show long-context prediction depends heavily on learned phase (phase removal/reversal raise 64K PG-19 perplexity to 41×/74× native in SISO) and that rotation moderates constructive accumulation between retained history and incoming updates (phase removal raises history–update cosine similarity 0.294→0.474 and state RMS norm). Authors' caveat: oscillation improves but is not required for stable length extrapolation. Paper CC BY 4.0; code via project page shutian-liang.github.io/oscillationmamba.
- 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
False Frontiers: Diagnosing and Mitigating Co-Cheating in Self-Evolving Search Agents
Self-evolving search agents build their own curricula: a proposer turns source documents into questions and pseudo-labels, a solver trains on admitted pairs, and solver agreement sets the proposer's reward. This paper names and measures the loop's failure mode — co-cheating: proposer and solver increasingly agree on shared errors, so internal reward improves while external correctness stagnates. Auditing the Dr. Zero proposer–solver loop post-hoc against source evidence (LLM judge, never fed into training), false-agreement mass — evaluated pairs matching on the same incorrect answer — grows from ~0.3–0.4% in round 1 to 6.1% (Qwen3.5-4B) and 8.8% (Qwen3.5-9B) by round 3, even as pseudo-label correctness stagnates or declines. Multi-sample verification (MSV) — three source-aware plus three source-blind samples per candidate, compatible majorities admit and relabel, at six extra labeler generations per candidate — only reduces false agreement to 5.7%/7.2% and adds 0.7–0.8 downstream points. CrossFit, the main method, partitions the proposer's source documents into two folds at the document level: questions from fold A are scored by an auxiliary solver trained only on fold B and vice versa, and the cross-fitted agreement determines proposer reward, so a same-source pseudo-label cannot be reproduced through the feedback solver; the main solver's update rule is unchanged and it still trains on all admitted questions. Rerunning the full loop (3 rounds, no human-annotated QA data): CrossFit cuts false agreement to 3.0%/3.7% (2.0%/1.7% combined with MSV) and raises adopted-label truth from 0.747 to 0.819 (4B) and 0.737 to 0.851 (9B). On a fixed 1,325-question suite (Cover-EM averaged over NQ, TriviaQA, PopQA, HotpotQA, 2WikiMultiHopQA, MuSiQue, Bamboogle), CrossFit reaches 48.8% at 4B and 51.2% at 9B — +8.8/+8.4 points over coupled Dr. Zero self-evolution and +8.7/+7.8 over Search-R1, with every benchmark improving and multi-hop gains largest (10.0/10.9 points). Controls isolate the mechanism: replaying identical proposals with source-excluded feedback cuts false agreement to 0.4%/0.1%; same-source or full-data auxiliary solvers stay near coupled levels, a random per-question split only reaches 5.0%/6.2% (the split must follow source ancestry), and a half-budget control rules out extra compute. Limitations (authors'): shared pretraining errors and overlapping or semantically related sources can still correlate mistakes, exclusion across connected sources is untested, the auxiliary solvers' end-to-end cost is unmeasured, and the audit relies on an LLM judge.
- 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.
- Paper
Reasoning From Scratch: RLVR Round 2 — GRPO Stabilization (Clipped Policy Ratios, KL Loss, Format Rewards)
Sebastian Raschka's ~106-minute "RLVR round 2" video in the Build a Reasoning Model (From Scratch) series (companion to his July 2026 Manning book; code at github.com/rasbt/reasoning-from-scratch). A practical guide to stabilizing GRPO beyond the baseline round-1 implementation: interpreting GRPO training metrics, running longer training jobs with Python scripts, plotting training logs, and diagnosing unstable training. Core stabilizers covered with implementations and results: clipped policy ratios to limit oversized policy updates, a KL loss term against reward hacking (plus the limitations of the simplified KL estimator), and format rewards with <think> tags — including adding special tokens to the tokenizer and rewarding format only for correct answers. Diagnostics: tracking advantage statistics, computing and interpreting policy entropy in PyTorch, and analyzing advantage/entropy metrics together. Also evaluates checkpoints on MATH-500 and closes with further GRPO improvements from the research literature plus distillation as the next step. Key caution from the series: the baseline GRPO run takes Qwen3-0.6B from 15.2% to 47.4% on MATH-500 in 50 steps, but longer training can degrade accuracy; reward alone is an insufficient signal since it can rise via reward hacking while held-out capability falls.
- Paper
Relative Generalization Invariance of LLM Pretraining
Introduces Relative Generalization Invariance (RGI): the validation-loss difference between any two tokens is preserved across models, i.e. L_A(d) = L_B(d) + C_AB — different training choices produce a token-independent constant shift rather than selective per-token improvement. GPT-style models (124M, 0.7B) trained on FineWeb with six optimizers (Adam, Adam-mini, Lion, Muon, Soap, Scion) from shared initialization and data streams show concordance correlation r_CCC > 0.95 and relative discrepancy r_diff < 0.05 after ~2,000 steps; at 10K steps the validation-loss relationship between optimizers is near-perfectly linear (R^2 >= 0.99). RGI persists approximately across architectural changes: RoPE/NoPE/ALiBi positional encodings, full vs sliding-window attention, GELU/SiLU/Squared-ReLU FFN activations, different initializations, and moderate width changes. Changing the training data breaks it: FineWeb-trained vs ArXiv- or CodeParrot-trained models (same Adam optimizer) fail to exhibit RGI; C4 shows partial, unstable alignment. Not explained by NTK/lazy training — parameters and hidden states move substantially from initialization and cross-optimizer similarity decreases while RGI persists — nor by mean-field regimes (RGI appears in narrower models); the authors prove RGI can emerge in an overparameterized quadratic model. License: CC BY 4.0.
- Paper
VERA: Scaling Verifiable Environments for Agentic co-Evolution
VERA (NVIDIA) addresses agent training's environment bottleneck by converting benchmark trajectories into 9,000+ restartable, rubric-scored sandboxes, then co-evolving the LLM and its harness on them. Auto-Rubric turns trajectories into sandboxes: a coding agent writes binary rubric items (scored {0,1} from observable evidence) over action arguments, execution effects, artifacts, and output quality; executable checks and an Agent Judge verify each sandbox, and a failed executable check overrides any judge score. Trajectories are segmented into five stages (plan, setup, verify, execute, submit), each restorable and scored independently. The co-evolution loop alternates two updates with the other component frozen: model rounds run full-parameter GRPO with rubric rewards (a Reward Verifier checks the rollout evidence behind each reward; a checkpoint is accepted if its dev-benchmark score drops no more than 20% relative to the previous accepted checkpoint), and harness rounds add/merge/remove skills (accepted only if a paired frozen-model rerun shows target-stage improvement, no end-to-end regression, safety checks pass, and self-tests pass with at least +5 Overall points on the dev set; at most three edits per round). At 9B (Qwen3.5-9B), the co-evolved agent beats the strongest single-axis baseline by 10.3 points on AutoCoWorkBench and 13.0 on AutoMedBench, leading SWE-Bench Verified and MedXpertQA under their official protocols. At 27B (Qwen3.8-27B), VERA reaches 71.6 on AutoCoWorkBench (above Claude Opus 4.8, 1.0 point below GPT-5.6-Sol) and 80.7 on AutoMedBench (within 1.2 of Claude Opus 4.8, highest Agentic score 94.1), and transfers out of domain to Automation-Bench (43.8%) and AgentClinic (76.4%). Only at 27B are general capabilities retained/improved (AIME 2026 +10.0, ALFWorld +3.8, GPQA-Diamond +7.7, IF-Bench +1.8 for the CoWork agent); 4B/9B agents lose heavily on AIME.
- Paper
Scaling Verifiable Environments for Long-horizon Work Agents
WorkForge is a scalable synthesis framework for building verifiable long-horizon work-agent environments from real-world resources. From expert-authored 'Scene Blueprints' (workflow, deliverable, source requirements, domain decisions), an acquisition agent iteratively searches, downloads, and previews real files to instantiate a workspace; profiling then extracts observable factual anchors (file roles, dependencies, verifiable facts). Task generation derives each task's instruction, hidden solution plan, and complementary verifiers from those anchors: programmatic verifiers check deterministic requirements on final artifacts (mean pass rate over rubric items), while semantic verifiers score open-ended deliverables via an LLM judge with criterion-specific scoring guides (scores 0-10, normalized). The corpus is 16,665 environments across 40 professional domains (top 4 = 31.9% of tasks), workspaces covering 60 file types, avg 42.3 files / 279KB, avg 21.9 rubrics per task; solver rollouts (GLM 5.3 with Claude Code and OpenClaw harnesses) average 31.8 steps, 33.8 tool calls, 76.5K tokens. Full-parameter SFT of Qwen3.5-35B-A3B-Base on the 16,665 trajectories lifts GDPval 45.5 to 73.6 (+28.1) and APEX Score 5.0 to 21.3 (+16.3), with similar gains on WildClaw, ClawEval, and Agents' Last Exam; the 73.6 GDPval beats the prior sub-100B specialized SOTA (ClawGym-30A3, 35.0) by 38.6 points. Applied to the post-trained Qwen3.5-27B, WorkForge-27B reaches GDPval 82.4, beating Qwen3.5-397B-A17B (79.7) with ~15x fewer parameters. Scaling holds across data volume (1K to 16K trajectories: ALE +13.0, WildClaw +8.4) and interaction horizon (41-60-turn training trajectories vs 0-20: ALE +4.2, WildClaw +5.0). Hybrid verification-based trajectory selection beats programmatic-only or LLM-only selection; real-workspace environments have 5.4x more files and 2.4x more file types than synthetic ones.
- Paper
Continual Reinforcement Learning with Neuroevolution
Across changing environments without task-boundary markers, with policies ranging from a few hundred parameters to million-parameter vision networks, evolution strategies (ES) and genetic algorithms (GAs) are benchmarked against PPO, three continual-RL modifications, and population-based RL across low-dimensional control, navigation, continuous locomotion, and vision tasks. ES most consistently achieves the best stability-plasticity trade-off — outperforming all RL baselines in 8 of 18 settings, whereas no gradient RL method wins in any setting — while the GA is the most plastic method but forgets more than ES; rewarding behavioral diversity through novelty search makes the GA population even more plastic at the cost of forgetting. Mechanistically, the return landscape around each method's solutions shows ES finds the widest neighborhoods (regions of weight space in which perturbed policies still solve the task), 3.9x wider than PPO's, and the size of the overlap between consecutive tasks' neighborhoods correlates with a method's stability-plasticity trade-off. Symptoms of plasticity loss commonly reported in RL do not transfer to neuroevolution; the results suggest dormant neurons and weight drift stem from gradient optimization rather than non-stationarity itself, and that training under weight-space perturbations may be a useful continual-learning mechanism more broadly. Caveats: neuroevolution remains sample-inefficient and struggles on narrow return peaks.