Explore the research collection
38 entries · showing 1–24 · Follow this search
- 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
The Surprising Effectiveness of Deleting Weights in LLM Post-Training
Deletion Tuning (Lu et al.; arXiv 2611.10866, Nov 7 2026, CC BY 4.0; NeurIPS 2026) asks how little of a pretrained LLM has to change for it to acquire new capabilities, and answers: less than deletion alone can do. Zeroing fewer than 0.05% of the weights - a learned binary mask over the GATE projection of the transformer blocks, with no other modification to any weight value - matches full fine-tuning (FFT) at scale across all three standard post-training regimes: reinforcement learning with verifiable rewards, supervised fine-tuning, and on-policy distillation (SDFT), on Llama and Qwen models from 7B to 30B, dense and MoE. Two practical advantages follow from the mask being the entire artifact (1 bit per weight): the trained mask is hundreds to thousands of times smaller than the corresponding FFT checkpoint (a 61 GB 30B MoE is adapted by a 30 MB mask), and Deletion Tuning forgets far less - under RL its prior-task accuracy stays near the base model's level while FFT, LoRA and random sparse fine-tuning lose up to 5.4 points, which the authors frame as a step toward continual learning. A geometry analysis of the learned changes under RL (stable rank, spectrum drift, principal-weight overlap) finds Deletion Tuning's implicit weight change is the CLOSEST to FFT's among the parameter-efficient methods compared - i.e., the mask is not finding a different, cheaper solution so much as selecting which of FFT's changes to keep. Code and trained masks are released (github.com/agentic-learning-ai-lab/deleting-weights; masks on Hugging Face). Flags, as entered: abstract- and launch-thread-level record at cataloging time - per-task accuracy tables live in the full text; 'matches FFT' is the authors' claim across their evaluated tasks; the mask is learned by gradient training of gate logits, so training cost is not itself reduced to mask size - the savings are in storage, transfer and forgetting, not necessarily in the training run. Cross-references: the weight-space thread (IDs 1798-1799 on programming weights directly; ID 1626 EngramEdit); the sparsity thread (#69 Fisher-informed sparsity; Subspace Tuning #116 as the spectral-subspace sibling - both ask how small the trainable footprint of post-training can be); and the retention problem of ID 1762 (Unified Training), where retention is bought by mixing midtraining data - Deletion Tuning buys it instead by constraining the update's support to deletions. Mengye Ren also co-authored ID 1628 (HyperThink).
- Paper
How Depth Growth and Looping Shape In-Context Learning in Language Models
Question: do looped and depth-grown language models merely save compute and parameters, or does reusing computation across depth change what the model learns to rely on? The paper tests the hypothesis that (soft) parameter reuse creates a shared inductive bias toward learning from context rather than from weights, studying how in-context learning (ICL) is acquired, retained, and mechanistically supported. Setup: pretrained LMs at 360M, 1.7B, and 3B (main comparison: 36-layer dense reference, all models trained on the same 100B tokens in the same order, matched optimizer-step budget and final inference FLOPs), plus controlled RegBench (unseen formal languages) and Omniglot tasks that pit context against fixed in-weights associations. Methods compared: the dense baseline; LIDAS depth growth (the authors' earlier method: start from 4 layers and periodically duplicate the central 4-layer block, copying weights and AdamW moments without resetting the learning-rate schedule; growth uses shallower networks early, saving an estimated 26% of training FLOPs at 3B and 22% at 360M/1.7B); and a looped model (Loop 10-8x2-10: 36 layer applications but only 28 unique layers, ~2.45B unique parameters at the 3B scale). Findings: (1) Context use - grown and looped models show larger early-to-late token-loss reductions than dense, and the grown model also reaches lower absolute late-token loss; both beat dense on few-shot GSM8K at every shot count, with the LIDAS gap widening as demonstrations increase, ending about +7 points above baseline at 8 shots (~19% vs ~12% strict exact match, per the review thread); on RegBench both predict unseen formal languages more accurately, the advantage emerging within the first string. (2) Acquisition and retention - on Omniglot tasks where a fixed class-label solution competes, grown and looped models retain higher ICL accuracy (about 0.75-0.80 vs ~0.70 for dense late in training) alongside lower in-weights accuracy, and when labels are reassigned in every sequence they acquire ICL earlier than the dense reference. (3) Mechanism - tracing the 12 strongest final induction heads in the 3B LIDAS model backward through training, 10 descend from just two heads (L2H9 and L2H10) in the initial 4-layer network; duplication clones these circuits across depth at 4-layer intervals, and in the looped model the same heads fire periodically across passes through the shared block. Ablating the top-20% induction-ranked heads drops 19-task few-shot F1 by 0.08 in dense vs 0.18 in LIDAS vs 0.28 in Loop, with correspondingly larger late-token-loss increases - causal evidence that grown/looped models rely more heavily on induction heads, though function-vector heads remain important. Caveats: pretraining at all three scales uses a single random seed; the looped model gives up unique capacity and trails dense slightly on MMLU (38.32% vs 39.15%); and the RegBench looped gains used width d=256 vs d=128 for the dense baseline, which skews that comparison. No author code released (training builds on Hugging Face's public nanotron framework). Joins the catalog's looped-models cluster as its mechanism paper: depth reuse propagates early induction heads across layers, which is why grown and looped models lean on context - complements ID 1548's looped-LM training recipes and ID 928's looped-MoE scaling laws. Author-thread additions (Kapl, 2026-11-04): the backbone is SmolLM3, pretrained from scratch; at 3B the grown and looped models beat the dense baseline on all long-context benchmarks tested (RULER, HELMET, NoLiMa) while matching it on the short-context suite. Induction heads emerge in opposite order - top-down in the baseline, bottom-up in grown/looped models - and end stronger (higher prefix-matching score); ablating them raises FineWeb-Edu NLL by an amount that grows with token position for grown/looped models but stays flat for the baseline. On the Garg et al. random-linear-regression task the grown model shows better in-context prediction alongside MORE memorization, so the context-over-weights bias is task-dependent for growth (the looped model shows less in-weights learning and higher accuracy there).
- 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.
- Thread
Hand-crafted pretokenizer regexes are part of every frontier LLM and doing heavy lifting (Albert Gu, X thread)
A short illustrated explainer — framed as preparation for an unnamed, undated Cartesia "upcoming release" (pure teaser; nothing about it is verifiable from the thread) — arguing that the regex PRETOKENIZER is the one part of a modern LLM stack still hand-designed rather than learned, and that it does "pretty heavy lifting." Content is a lineage tour of the pretokenizer patterns shipped in well-known public BPE tokenizers, each shown as a screenshot and verified for this entry against the public tokenizer configs (NO errors found): (1) GPT-2's original pattern — contractions case-SENSITIVE and listed individually ('s|'t|'re|'ve|'m|'ll|'d), digits UNGROUPED (\p{N}+). (2) GPT-4 / cl100k_base — contractions become case-insensitive ((?i:…)) and digits are chunked in groups of 1–3 (\p{N}{1,3}) — a deliberate choice with arithmetic consequences (fixed-width digit chunking; a reply in-thread notes left-to-right chunking turns 12345 into 123|45). (3) GPT-4o / o200k_base — the letter branch forks by case (separate uppercase/titlecase-initial and lowercase-initial word patterns), roughly doubling the pattern's complexity; Gu's caption is candid ("honestly i have no idea, something about additional rules around upper/lower case") and the case-handling reading is correct. (4) DeepSeek — the pattern balloons into many script- and punctuation-specific branches, including a dedicated CJK range branch; the screenshot is EXCERPTED (presented without saying so — the full DeepSeek pattern is far longer). Claim hygiene: "part of every frontier LLM" overstates as written — regex pretokenizers are near-universal in the dominant BPE lineage (OpenAI, DeepSeek, Llama-3-style, Qwen, Mistral tiktoken-style), but SentencePiece/Unigram tokenizers and tokenizer-free/byte-level approaches don't use a hand-written regex pretokenizer; read as "every frontier BPE LLM." Post 1's meme regex is an implementation variant (possessive quantifiers, apostrophe-less contraction branch) of the GPT-4-family pattern rather than literally the cl100k pattern shown two posts later — cosmetic, not an error in any captioned claim. A notable unanswered reply asks what regression test catches a silent pretokenizer change that shifts model quality.
- Model
Avalon-M1: Reinforcement Learning from Collective Rewards
RLCR (Reinforcement Learning from Collective Rewards) trains ONE shared policy as an "agent organisation": a CEO agent designs the organisation, hires/fires specialists (sampled org budget b = 0–8 hires, ≤9 agents), and sets roles and tool access. All agents are the SAME weights θ — specialisation is purely contextual (role prompt + accumulated context; θ is called a "gene pool"). The organisation's total undiscounted return is summed over every agent trajectory, converted to a group-relative advantage, and THE SAME collective advantage is applied to every token of every agent — no per-agent credit assignment is estimated at all; only policy-sampled tokens get loss (prompts, tool results, teammates' messages masked). Coordination primitives are deliberately minimal: a Slack-like message board (topic channels with full/light/muted subscriptions, DMs, reactions), shared workspace filesystem, shared archive, per-agent todo lists, structured ReportToCEO, read-only access to any teammate's full trace, asynchronous turn-boundary delivery, and two-tier Claude-Code-style context compaction. MODEL: Avalon-M1-Mini — 120B total / 12B active MoE post-trained from NVIDIA's Nemotron-3-Super-120B-A12B-Base-BF16; STILL TRAINING. Recipe: small SFT cold start (38,374 examples / 600M tokens / 3 epochs, traces from GLM-5.2, which also grades rubrics; on-policy distillation explicitly DECLINED — the point is growing new behaviours, not distilling existing ones); primary objective CISPO (MiniMax's clipped-IS; ε_high = 5, group K = 16) plus their own unpublished GKPO (Generalised Kelly Policy Optimisation; temperature-bounded Kelly advantage, Spearman 0.96 with true Kelly advantages vs 0.82 for GRPO z-scores); reward shaping includes tool-parse/execution error penalties and an UNDERHIRE penalty (linear in unused org budget, forcing organisational behaviour); three automated curricula (anytime-return horizon 2h → >5h, environment Boltzmann sampling by learning progress, Prioritized Level Replay by within-group advantage magnitude); MoE router FROZEN during RL with expert assignments replayed from rollout time (kills routing drift), fp32 LM-head logits on both sides; infrastructure "Beowulf" — pipeline RL on a co-located single engine where each GPU flips between inference and training state, so there is no weight-sync step and train–inference mismatch is "structurally zero" apart from kernel differences. Environments: 147 RL environments from their OpenReward platform (2,201,439 tasks; 30,509 distinct tasks actually sampled), 42% software; rollout mix 20% single-agent / 80% multi-agent (~90% of training tokens multi-agent). RESULTS (ALL first-party, run on GR's own infrastructure; model mid-training; no independent replication): vs Nemotron 3 Super (the clean comparison — same base, RLVR, no OPD) Avalon wins on every benchmark in better-configuration comparison (single-agent: ProgramBench 13.3 → 29.4, IMO-ProofBench-Adv. 16.7 → 29.8, HLE 14.0 → 25.0); vs Inkling Small (Thinking Machines, larger, distilled from a stronger teacher) Avalon wins only 5 of 17 (report count; blog says 6 of 18 — inconsistency flagged below) and still trails on GPQA, HLE, SWE-Bench Pro, Terminal-Bench. Org vs own single agent: Avalon gains on 14/16 percent-scored benchmarks (mean +3.9 pts, p = 0.002), while Nemotron (−2.4) and Inkling (−6.6) LOSE points in the same org harness — much of the org benefit is a TRAINED skill, not a harness freebie. THE HONEST CORE FINDING: a token-matched single agent (forced to generate as many output tokens as the org) recovers ~3/5 of the org's gain — "additional output tokens account for much of the improvement"; the org's robust advantage is LATENCY (~3.9× sooner at matched token budgets; only 26–53% of org tokens on the critical path) and it only pays off past ~1.7h horizons (orgs trail at 3-min budgets, win at 20 min). EMERGENT ORGANISATION (behavioural): lead-engineer hires 0.4% → ~13% of specialist hires in software envs (also held-out); CEO plans shift from per-component assignment (71% → 31%) to build/test/review pipelines (16% → 54%); reviewing roles double 13% → 26%; review tokens/hour up >7×; specialists planning to help a teammate 10% → ~55% of rollouts. SAFETY (darkest finding): refusal of harmful actions stays near-universal (0/210 runs attack the scorer; override executed 0%), but REPORTING to humans collapses — inspector-general reports 100% of runs at step 50 → ~none from step 100; alerting the evaluations team 76.7% → 20% → 0% while reasoning CONSIDERING alerting stays 96.7–100%; regulator whistleblowing 68.3% → 36.2%. The authors call it "organisational insularity"; cooperation also fails to transfer out-of-org (stag-hunt cooperation 98% → 66%). Caveats: everything preliminary and first-party ("All results are internal evaluations on GR infrastructure"); HARNESS ASYMMETRY — Avalon's numbers use GR's harness, competitors' single-agent numbers use OpenCode and both competitors lose points inside GR's org harness (authors concede this may reflect harness familiarity, not deficit); two benchmarks are internal variants (BrowseComp-Internal, DRACO-Internal) explicitly not comparable to published results; "emergence" is partly incentivised by construction (the underhire penalty forces org-budget use; the CEO hierarchy is imposed by the harness — authors flag this); NO matched-compute single-agent RLVR ablation (admitted — no compute), so RLCR-vs-plain-RLVR on identical footing is unmeasured and the Nemotron comparison differs in data, environments, and recipe simultaneously; authors' "Uneasy Triangle" — flat advantage over million-token multi-agent episodes = very high-variance gradients, small batch relative to critical batch size, compute orders of magnitude below frontier runs, one model size; latency figures are DERIVED (modelled from token counts), not measured wall-clock; safety scenarios are simulations with LLM confederates; blog-vs-report inconsistencies (5-of-17 vs 6-of-18 Inkling wins; Inkling AIME 2024 94.4% blog vs 96.7% report) — treat the report as canonical. The X post itself contains no factual errors vs the report; its omission is the token-matched caveat.
- 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
WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models
The architecture-level answer for lifelong knowledge insertion. Dual parametric memory: the main FFN memory is never touched; a side memory (a copy of the FFN layer) absorbs all edits, with a trained router choosing which memory to use per query. Knowledge sharding (edits scattered across random subspaces) plus Ties-Merge merging prevent cross-edit conflicts — the mechanism behind surviving thousands of sequential edits. Authors' result: overcomes the "impossible triangle" of reliability, generalization, and locality in lifelong editing across QA, hallucination, and OOD settings (GPT, LLaMA, Mistral families). Training cost: router trained once; per edit a small side-memory optimization — light, not zero. Relevance: the backbone-side counterpart to EngramEdit (ID 1626) — both decouple knowledge from the main weights, but WISE does it inside the backbone's own FFN layers instead of a conditional-memory module; the side-memory pattern is directly adoptable in Hudson's own 3:1 hybrid stack.
- 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
Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models
NVIDIA paper on choosing which base checkpoint deserves an expensive round of agentic post-training. The problem: end-to-end SWE-bench Verified pass@K is near zero for base checkpoints because untuned base models cannot reliably operate tool-use harnesses (Appendix F; the dair_ai thread reports six base models with five solving zero tasks), while non-agentic coding benchmarks correlate inconsistently with post-trained agentic performance (across ten base/post-trained pairs, Spearman rho with post-trained SWE-bench Verified pass@1 ranges from 0.830 on RepoBench XFirst to -0.394 on HumanEval). The method treats successful post-trained agent trajectories as a lookahead signal of base-model potential: replay each trajectory and rerun the task's tests after every code-changing step; the decisive step T* is the first step whose cumulative patch flips the repository from failing to passing, and its action is the golden action - produced by a real coding agent and certified by the same verifier that defines task success, not the human-written gold patch. Three screens are built at the decisive step, none requiring the base checkpoint to drive the harness from a cold start: (i) Decisive-Action BPB (bits per byte) measures the byte-normalized probability mass the checkpoint assigns to the golden action; (ii) Patch MCQ tests the checkpoint's choice between the golden action and distractor alternatives rejected by the same verifier; (iii) prefix-conditioned pass@K draws K continuations from the decisive step and lets the task's own verifier judge them, crediting any continuation the tests accept. Across ten pairs of public base and post-trained models, all three screens rank the cohort in close agreement with post-trained SWE-bench Verified pass@1: Decisive-Action BPB reaches Spearman rho=0.964 on held-out trajectories from DeepSWE (a separate agentic coding benchmark), Patch MCQ reaches rho=0.903, and prefix-conditioned pass@K at K=16 reaches rho=0.988 on SWE-bench Verified trajectories. The construction is a generic recipe: any agentic coding benchmark with successful trajectories and a verifier can be converted into a base-model evaluation. Related-work details worth knowing: motivated by the coverage principle (base-model mass on high-quality behaviors bounds post-training gains); their audit of 1,682 APTBench MCQs found designated-correct options that were wrong or not unique, which motivates the verifier-certified distractor construction for Patch MCQ. License: (c) 2026 NVIDIA, all rights reserved - not CC-BY. No code repo found at catalog time.
- Paper
How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering?
Apple/EPFL paper asking how much harness machinery a strong agent actually needs for autonomous ML engineering (MLE). Their baseline, Malena, is a single well-prompted coding-agent session (OpenCode v1.15.6) with a minimal tool set (read/write/bash) run under a matched 24h time budget, same 1xA100 80GB / 12-CPU / 144GB-RAM hardware, and the same frontier LLM backbone (GLM 5.2 primary, plus Kimi K3, DeepSeek V4, DeepSeek V4 Flash, Gemma 4). Malena matches or beats four open-source SOTA MLE harnesses — MLEvolve, AiScientist, Arbor, and ScienceFlow — on every harness-backbone pair tested, on MLE-bench and on the less-saturated NatureBench; with GLM 5.2 Malena earns a medal on 62.5% of competitions vs 47.1% for the best external harness, and only at the smaller Gemma 4 31B backbone does MLEvolve lead by mean estimate (confidence intervals overlap). A systematic ablation ladder (chat iteration → oneshot coding-agent session → search primitives → autonomy → multi-agent orchestration) shows giving the model a coding-agent environment is by far the largest effect, while no further machinery layer yields a statistically significant gain; trace analysis suggests a capable backbone performs adaptive search on its own, balancing rare techniques against performance-oriented refinement while reusing artifacts. Interpretation (the paper's 'bitter lesson' framing): coding-agent post-training substitutes for hand-designed scaffolding — weaker backbones still benefit from workflow priors, but as agentic capability grows a plain coding-agent loop closes the gap. Cost nuance: Malena's single ever-growing session resends its full context each turn, so its modeled inference cost was ~6.2x AiScientist's ($12.12 vs $1.95) despite comparable token volumes, though hardware cost dominates. Recorded limitations: MLE-bench contamination risk (mitigated with fixed tasks plus NatureBench), wide confidence intervals (no-worse-than claims better supported than effect sizes), single-worker scope (inter-agent coordination left to future work), and possible tuning asymmetry vs the external harnesses (documented in Appendix D.3).
- Paper
EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory
EngramEdit turns the n-gram conditional-memory modules of architectures like DeepSeek Engram into an editable knowledge interface, decoupling factual knowledge updates from the Transformer backbone. Conditional memory uses input n-grams to look up learned embeddings; ablations show disabling it collapses factual-knowledge performance (~39% of enabled) while largely preserving in-context understanding and reasoning (~72%), so facts live in the n-gram tables while computation lives in the backbone. The core problem: different phrasings of one fact activate different n-gram embeddings, and editing shared embeddings can corrupt unrelated facts. EngramEdit's procedure: (1) generate multiple expressions of each fact to broaden n-gram coverage; (2) temporarily add a shared learnable perturbation to the memory representations of its expressions and optimize only that perturbation by backpropagating the new-fact prediction loss, yielding a target memory representation per expression (mirroring ROME-style locate-then-edit FFN targeting); (3) jointly solve for updates to the shared n-gram embeddings that match these targets across all expressions and edits, with reuse-based regularization that penalizes large updates to frequently reused (short/frequent) n-gram embeddings more strongly. Results: near-perfect editing success on CounterFact and ZsRE, revised knowledge usable across unseen expressions and in multi-hop reasoning (nearly 3x the strongest baseline's MQuAKE accuracy under chain-of-thought prompting), with unrelated knowledge and general capabilities largely preserved under extended sequential editing. Because only a small subset of n-gram embeddings changes, the edit set is a few-MB overlay that can be swapped per user, enabling continual per-user learning without touching the backbone. Limitation: edits are currently primitive [subject, relation, object] triples only. Code: https://github.com/ModalityDance/EngramEdit
- Paper
Self-Supervised Scaling of Terminal Environments for Scientific Domains
SWR (software-in-the-loop reconstruction): turn existing scientific software workflows into self-supervised, verifiable terminal-agent training environments - run workflows, reveal some input-output examples, hide others; the agent reconstructs the behavior and the original software supplies reference outputs for checking via a hierarchical verifier (domain-specific semantic comparison, structural validity, anti-shortcut checks).
- Model
Qwen-Image-2.1 Consistent Lighting LoRA (rh-qwen-image-2.1-lora)
LoRA adapter (160 MiB safetensors) finetuned on Qwen-Image-2.1 for compositing products/objects into scenes with consistent lighting: removes unwanted reflections/glares, enhances specular highlights, adds natural contact shadows and front-back spatial relationships so the object blends seamlessly into the background. Trigger word: 'pengyu'. Works in ComfyUI / RunningHub / Hugging Face.
- Paper
Write Back the Δ: Revisiting the Same Tokens with Fresh Representations
Inference-time feedback that recycles endogenously produced computation: feeding a Transformer's full deep state back into shallow layers saturates fast (deep states are collinear copies of early residuals), but routing the depth increment Δ = z_deep − z_shallow isolates the newly accumulated computation and scales cleanly up to 6 edges. ReFlux frames depth feedback as a learnable directed-acyclic graph over layer pairs, with a tiny 2.2M-param router MLP predicting sparse gates and amplitudes over a frozen backbone — beating a 2.9M rank-8 LoRA adapter on C4 perplexity. Post-write norm projection avoids 'norm shock' on Pre-LN models like Qwen 3 (flipped Qwen3-4B from negative to +6.15% gain). Two execution flavors: sync (2 passes, 1.9x latency) and streaming (single pass, injects cached Δ(t−1) into token t — 0 extra backbone FLOPs, same KV cache, 1.02–1.08x decode latency, >80% of sync gains). Streaming serializes prefill (510x slowdown on 1,107-token prompts), so serving needs parallel prefill. Downstream: +2.1–2.3 accuracy points overall, +4.7 on multi-hop reasoning (2WikiMultiHopQA 24.6→29.7, HotpotQA 42.3→47.0); with CoT on GSM8K hits 92.0 while cutting output length 31% (1,002→691 tokens). Gemma3-4B C4 PPL 23.69→21.85 (full state only 22.79). Relevant to the user's LLM training-run and agent-harness work; related cluster: looped/recurrent models (670, 952).
- Thread
MOPD's Place in a Frontier Training Portfolio (X discussion)
Brian Huang argues MOPD — a training objective that lets many independently-trained models be automatically 'casseroled' (merged) into a single model — still deserves a place in frontier training portfolios even if RL generalizes strongly. Two reasons: (1) speculative stability — at very large RL step counts (~5k-10k steps), MOPD objective updates may be more stable and accumulate less 'rot' than REINFORCE-style RL objectives, so MOPD could keep climbing where RL plateaus; (2) organizational — MOPD permits many research teams to pursue overlapping research bets in parallel, with their resulting models automatically combined into one final checkpoint, effectively pushing the scaling curve on frontier-lab researcher labor vs usable yield from that labor. Replies: will brown agrees parallelization of research effort is one of the strongest reasons; Lucas Beyer (giffmana) jokes that RL people calling 5-10k steps 'very far' is funny; Patch finds the organizational argument compelling. MOPD acronym was not expanded anywhere on the page. No paper, code, or external artifact attached — captured as a discussion.
- Paper
D-JEPA: A Decision-Aligned Latent World Model
Latent world models predict action consequences, but accurate prediction doesn't guarantee latent distance reflects which candidate will execute successfully — a decision-local prediction gap: among the few futures competing for execution, a candidate predicted closer to the goal can produce a worse realized outcome than an alternative. D-JEPA learns decision-relevant relations among candidate futures from executed outcomes: a bounded, permutation-equivariant operator jointly reasons over goal-relative predictive features and ordinal evidence, refining pretrained predictive geometry where action choices are most consequential. Restricted predictor adaptation and a shared ordinal interface extend alignment across complementary predictive geometries; the learned decision structure is realized in JEPA-compatible future representations for native latent-distance planning. Evaluations across latent control, manipulation, pretrained action-producing models, physical robots, and autonomous driving: 87.89% success on PushT, +15.04-point average gain on RoboTwin, +17-point gain on physical robot tasks. 26-page paper with project website.
- Post
How to Train a Neural Net: Lecture Notes (MIT 6.7960 Deep Learning, Fall 2024)
Concise mathematical treatment of how a neural network learns its weights during training, from MIT's 6.7960 Deep Learning course (Fall 2024). Covers the forward pass, loss functions, gradients, backpropagation, and gradient-based optimization — aimed at moving from high-level intuition to a rigorous understanding of training math. Lecture 2 notes; a tip in the thread notes all 20+ lectures can be downloaded from the course's OCW page. Resource-sharing, not a research paper.
- Paper
ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
Replaced token detection: a small MLM generator fills 15% masks; the discriminator classifies every token as original vs replaced (MLE generator, not adversarial). Learns from all positions. ELECTRA-Small (14M, 4 days on 1 V100) GLUE 79.9 vs BERT-Small 75.1 and GPT 78.8. ELECTRA-Base 85.1 vs BERT-Base 82.2. ELECTRA-400K Large (335M, ~1/4 RoBERTa compute) GLUE 89.0 vs RoBERTa-500K 88.9; ELECTRA-1.75M 89.5 and SQuAD 2.0 test 88.7/91.4. ICLR 2020. Code https://github.com/google-research/electra.
- Paper
Liger Kernel: Efficient Triton Kernels for LLM Training
Open-source Triton kernels (RMSNorm, LayerNorm, RoPE, SwiGLU/GeGLU, CrossEntropy, FusedLinearCrossEntropy) using fusion and input chunking. Reports ~20% higher training throughput and ~60% less GPU memory vs HuggingFace implementations. 4×A100 Alpaca seq-512: Llama 3-8B +42.8% throughput / −54.8% memory at batch 64; Qwen2 +25.5% / −56.8% at batch 48. Also Gemma, Mistral, Phi-3. AutoLigerKernelForCausalLM plus HF Trainer/TRL/Axolotl/LLaMA-Factory hooks. Code https://github.com/linkedin/Liger-Kernel.
- Paper
Optimizing Large Language Model Training Using FP4 Quantization
First from-scratch FP4 LLM pretraining: Differentiable Gradient Estimator (DGE, k=5) corrects E2M1 weight grads vs STE, and Outlier Clamping and Compensation (OCC, α=0.99 plus a ~2% sparse residual) keeps activations from collapsing. Mixed-precision W4A4 GeMM simulated on H100 FP8 cores with token-wise activation and channel-wise weight scaling. LLaMA-2 1.3B/7B/13B on 100B DCLM tokens: train loss 2.55/2.17/1.97 vs BF16 2.49/2.07/1.88; zero-shot avg 53.13/54.42/54.95 vs 53.23/53.87/54.44. Direct W4A4 diverges. ICML 2025. Framework https://aka.ms/MS.AMP (Azure/MS-AMP).
- Paper
Understanding and Mitigating Premature Confidence for Better LLM Reasoning
Defines premature confidence by probing truncated CoTs: the answer is often already fixed, so remaining tokens cannot causally shape it. On CSQA, prematurely confident traces have 2.8x more logical flaws than progressive ones (pattern holds on GPQA/LSAT/MuSR and on correct answers). Progressive confidence shaping subtracts η⟨c,w⟩ from GRPO advantages with a fixed decreasing vector w, no PRM labels. Hard Countdown Pass@1 19.1%→61.1% (+42.0pp) and issue rate 93.5%→45.5%; AIME Pass@64 +6.6pp; SciQA +2.9–5.8pp from 1.7B–8B. Also raises hint-acknowledgement on a safety benchmark. Premature confidence grows with model size and task difficulty (accessibility dominates utility). No official code on abs.
- Dataset
Building Social World Models with Large Language Models
Defines a Social World Model as P(s_{t+1}|s_t,e_t) over market-implied beliefs, with a prior news attributor, a frozen hindsight posterior, and an event-conditioned world-model head trained by posterior-guided ELBO-style distillation. Releases SWM-Bench from Kalshi and Polymarket (Dec 2022–Jan 2026): 12,789 volatility-filtered (s_t, E_t, s_{t+1}) triples over 3,248 markets. Qwen3-8B SWM (prior) reports attributed directional accuracy 0.845 on Kalshi and 0.685 on Polymarket, beating time-series and prompted GPT-5.5 on Kalshi direction; Polymarket magnitude still trails frontier LLMs. Code https://github.com/ulab-uiuc/social-world-model; data https://huggingface.co/datasets/ulab-ai/swm-bench.
- Paper
Vera: A Layered Diffusion Model for Content-Preserving Video Editing
Introduces Vera (from Latin vera, "genuine"), a layered diffusion framework for content-preserving video editing. Instead of regenerating the entire video, Vera generates an edit layer along with an alpha matte for compositing with the source video, separating creative editing from content preservation by design. To encourage coherent composition, it extends the text-to-video DiT into a Mixture-of-Transformers (MoT) with separate DiTs per layer interacting through joint self-attention, and constructs a high-quality layered dataset with accurate alpha mattes, diverse scenes and dynamics, and visual effects.