Explore the research collection
53 entries · showing 1–24 · Follow this search
- Paper
Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals
Zhao et al. (NUS; arXiv 2611.31094, Nov 23 2026, CC BY 4.0) make finetuning pretrained models into loops actually work. Prior looped models needed training from scratch, and finetuning existing models into loops brought only marginal gains over SFT. LoopRes builds on Attention Residuals: each looped layer attends directly to the outputs of earlier loops, with a trainable loop-aware key encoding each loop's structural identity (the iterates become hard to tell apart otherwise), and each layer is restricted to a residual window of the latest W loops so every loop builds incrementally on recent ones. The model is split prelude (first quarter, once) / core (middle half, L times) / coda (last quarter, once); core x3 = 2x compute, x7 = 4x. At 2x compute on Qwen3-1.7B-Base it improves 29.1% over SFT (average 43.2 -> 55.8 across AIME25, AIME26, AMC23, OlympiadBench, MATH500, HumanEval+, MBPP+), more than doubling the gain of the strongest baseline, and leads every column at 2x - ahead of Huginn (49.0) and BRT (49.2); notably Ouro scores BELOW unlooped SFT at 2x (42.9 vs 43.2), so looping is not automatically an improvement. At 4x the average reaches 57.8, with OlympiadBench dipping (53.8 -> 52.9) and gains flattening beyond five loops. Gains hold on larger models up to 30B across three families: +9.2 pts Qwen3-4B, +8.6 Qwen3-8B, +5.5 Qwen3-30B-A3B at 2x, and the looped 4B (45.8) edges past the plain 8B (42.9). From 1.7B to 8B LoopRes scales more steeply than SFT as compute grows, reaching a higher ceiling while needing less compute on long outputs. Flags, as entered: abstract-level at cataloging, authors' own numbers and self-reimplemented baselines; the 2x comparison is not at equal cost (the paper answers with score-vs-decode-compute curves); stated limits are math and code only, SFT only. Repo ships training code, the paper, and a fine-tuned checkpoint (oahzxl/LoopRes-Qwen3-1.7B on HF; weights unconfirmed by a secondary tracker that could not reach HF - flag at insert). Cross-references: the looped cluster (IDs 670, 938, 952, 1545, 1548, 1549, 1551, 1563, 1566, 1579, 1765, 1808, 1820, staged Ouro and ARLoop) - LoopRes is the first looped method that works by finetuning a pretrained model rather than training from scratch, and it directly answers CRAM's (staged slot 27) 'maybe don't loop at all' challenge on real LLM benchmarks rather than Sudoku/Maze; it also extends the Attention Residuals mechanism of staged ARLoop (ID 1820 enrichment) from depth-attention to loop-aware keys. For the user's 250M stack, the transferable idea is the loop-aware residual + residual-window mechanism as a cheap post-training loop conversion, not a from-scratch looped pretrain.
- 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
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).
- 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
Vela: User Behavior as Supervision Sparks LLM Intelligence
User behavior as supervision: from anonymized behavior records of 100,000 users on a large social media platform, Vela builds 100,000 tasks across 91 real-world question templates. Each user's history (Views, Searches, Purchases, Posts, Follows, Dislikes) is split into a visible segment and a hidden future; Predictive questions (Objective candidate selection; Open-prediction free-form) are scored against ground truth extracted from the hidden future, while Rubric questions (Open summaries; Attribution explanations) are evaluated against task-specific rubrics, both by a larger scorer model (Qwen3.8-2.4T-A95B). Difficulty-based filtering (keep tasks with mean 4-shot score in [0.2, 0.8]) plus trajectory acceptance (best-of-4, must exceed the filtering mean) retains ~75,000 tasks forming Vela-Instruct, with a 9,375-sample self-generated Vela-RFT variant. Fine-tuning Qwen3.6-35B-A3B on Vela-Instruct: VelaBench (982 held-out tasks) 51.5 → 63.0 (+11.5); user-related OOD average 41.3 → 47.5 (+6.2), led by ProfileSummary +10.1 and AdRecommendation +11.2 while PurchaseIntent barely moves (+0.2); general OOD average 54.2 → 58.2 (+4.0), led by IFBench +6.7 and CL-bench Life +5.6, with no regressions on any of the five. More behavior data monotonically improves user-related performance (4.7K → 75K). GSPO reinforcement learning after Vela fine-tuning beats RL from the base model by 7.7 points on both VelaBench and ProfileSummary (using the 18.8K checkpoint). Limitations: proprietary single-platform data means no external reproduction is possible; the task templates, prompts, and code are promised but not released; rubric and scorer-based metrics use the authors' own larger sibling model; VelaBench is same-domain as training; no multi-platform generalization or deployment evidence; all results are the authors' own.
- Paper
The Best Optimizer Depends on Batch Size
Adaptive optimizers are benchmarked at one batch size, while hyperparameter scaling rules promise that the best optimizer at one batch size stays the best at another. This paper challenges both practices. (1) No principled scaling rule for Muon works consistently across settings: the authors derive and test three competing rules against Muon - linear LR from SDE-matching, square-root LR from minimizing a convergence bound, and fixed LR with scaled weight decay from Power Lines - tuning at a reference batch size for LM and image classification, then growing batch size at fixed token budget across hundreds of rule variants; the best rule depends on task and target batch size. (2) The best optimizer for LM pretraining changes with batch size even after extensive retuning: Adam, Lion, Muon, SOAP, and Shampoo were each retuned at every batch size from 128K to 2M tokens at fixed total budget under both weight decay and HyperBall (fixed hidden-matrix norms). Under HyperBall, Muon beats Shampoo at 128K tokens/update while Shampoo beats Muon at 2M. Theory on a noisy quadratic explains why: Newton's method divides gradients by curvature, cutting bias (remaining initialization error) at the cost of higher variance from noisy gradients; larger batches shrink variance, so rankings can reverse even with optimally tuned learning rates. A SignSGD toy model shows LR scaling shifts from square-root toward linear as the curvature-to-noise ratio (CNR = h^2/c) increases - the right rule depends on landscape and noise, not just the optimizer. A sharp-subspace intervention pins down where the batch-size penalty lives: checkpoint-branching from 128K to 2M with small-batch updates kept only in the sharpest 768 directions (~0.001% of matrix-parameter space) removes up to 59.5% of the local batch-size penalty (a random same-size subspace removes at most 3%); the benefit largely fades late in training.
- 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
Priced Guidance: Can Language Models Generate Future Research Ideas?
Stanford (Kaiyue Wen, Tengyu Ma, Percy Liang) evaluates whether language models can generate novel research ideas through the lens of compression. Rather than estimating the tiny probability that a model generates the essence of a future research idea via expensive repeated sampling, the Priced Guidance framework measures a compression cost: how many extra bits of information are needed to guide the model to recover the target idea. The generator (an LM) poses a sequence of multiple-choice questions and specifies a probability distribution over the answers; a guide (an LM with access to the target idea) selects answers, and the generator pays -log2 p bits when a selected answer had prior probability p. The generator aims to reproduce an idea matching the target's essence at minimal cumulative cost, which equals, up to an additive constant, the bits of information the guide sent. Theorem: if the model can recover the target idea with at most K bits of guidance in expectation, it can generate the idea with no guidance with probability at least 2^-K. Evaluated five generator LLMs (Opus 5, Fable 5.1, GPT-6 Astra, GPT-5.6 Sol, GLM 5.3) on the core ideas of 87 recent high-quality deep learning papers, with an LLM judge checking whether the generated idea matches the target on the central research object and defining mechanism. Fable 5.1 achieves the lowest median compression cost (69.9 bits), far below gzip's 5,712-bit median for losslessly compressing the idea summaries; a uniform ensemble of Fable 5.1, Opus 5 and Astra reaches 55.8 bits and improves the generation-probability lower bound by 18,000x. CC BY 4.0; no code released as of 2026-10-06.
- Paper
Continual Graph Memory for Mathematical Research Agents
Ansatz, a mathematical research agent built around Continual Graph Memory — a graph-based, evolvable, cross-problem memory system for long-horizon proof search. Motivation: solving frontier math problems may need massive parallel agents running for long periods, generating enormous volumes of intermediate proof results that must be organized and reused. Components: a unified graph memory representing all intermediate exploration results (facts, plans, counterexamples) with edges for their relationships; dependency-aware retrieval for targeted local context; an evidence-sensitive curator that updates the research frontier and distills lessons from prior attempts; scoped recall that surfaces earlier statements and negative findings for local re-proving rather than uncritical reuse. Experiments across all ten 'First Proof Second Batch' research tasks plus four component studies: Ansatz reports closure on all ten tasks and sustains/resumes long-horizon mathematical search. Beyond that, it autonomously solved the Jamison caterpillar conjecture and Erdos Problems 289, 348, and 488 with no human intervention, and made partial progress on several other open problems.
- Paper
A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training
Unifies the two emergent outlier phenomena in LLMs — attention sinks (a few tokens receiving large attention logits) and residual sinks (fixed dimensions with persistently large activations) — under 'outlier-driven rescaling': the outliers work jointly with normalization (softmax attention, RMSNorm) to rescale non-outlier components, and this mechanism is validated across architectures and training token counts. Main conclusions: (1) outliers function jointly with normalization — removing normalization eliminates the outliers but degrades training stability and performance; clipping outliers while keeping normalization also degrades, so outlier-driven rescaling contributes to training stability; (2) outliers act as rescale factors, not contributors — their post-norm contributions are far smaller than non-outliers'; (3) outliers can be absorbed into learnable parameters or replaced by explicit gated rescaling (GatedNorm), improving training performance by an average of 2 points and drastically improving quantization robustness (only 1.2 points degradation under W4A4). Since outliers' post-norm contribution is tiny, relying on them is what makes LLM quantization a nightmare (huge dynamic ranges).
- Paper
Broken Symmetry in BF16 Attention: Why FlashAttention Gradients Blow Up Late in Training
Diagnoses a late-training blow-up training a 450M transformer on 50B tokens with FlashAttention-3 in BF16: healthy for 25B tokens, then gradient norm grows 1000x and loss ends 0.2 nats above FP32 attention — with no NaNs at all. Recomputing just two layers' attention backward in FP32 removes almost all excess gradient. Part of the cause is known (a fused multiply-add in the forward softmax, never fixed in FA3); repairing it stops the blow-up but leaves the query gradient wrong by more than its own size (219% median error). The deeper cause is a broken conservation law: the softmax score gradient dS sums to zero along every row, making dQ blind to where the keys sit as a group; rounding dS to BF16 leaves a small nonzero sum that leaks the mean key into dQ — and the leak grows exactly as late training makes keys large and attention sharp. Fix: GProj (gauge projection), which restores the zero row sum after the cast with two rank-one corrections per row — cuts median dQ/dK errors from 219%/13% to 0.34%/0.37% (FP32-attention level) for 4.7% more step time; in matched from-scratch runs it reaches the same loss as FP32 attention while FA3 and key smoothing destabilize. KohakuBlueleaf replied on the thread reporting the same class of precision bug in FA4/cuDNN/flex attention and their KohakuFA fix. If a BF16 run blows up late with no NaNs, check the attention backward. Directly relevant to the user's LLM training-run debugging work.
- Paper
Sphere Encoder 2
Turns an autoencoder into a fast standalone generator. Sphere Encoder generates images by decoding random points from a high-dimensional latent sphere; Sphere Encoder 2 fixes two limitations of the original: (a) sampled latent points concentrate near the equator while training rotations never reach that region, creating a gap that limits one-step generation — fixed by fully covering the spherical latent space; (b) pixel-wise reconstruction loss makes the decoder average over plausible images, producing blurry outputs lacking high-frequency detail — fixed by separating reconstruction from generation and using semantic alignment plus score matching. The result: strong ImageNet generation in just 1-4 steps, keeping the speed and simplicity of an autoencoder. Models released (GitHub); code to be available.
- Paper
Mixture of Self-Improving Branches For Agent Harness Optimization
Harness optimization is a practical setting for recursive self-improvement: agent-generated modifications inform subsequent changes through execution feedback. Meta-Harness implements this via iterative code generation and evaluation, but a fixed development set and fixed proposal policy channel evolution along a single trajectory, risking local optima — and a harness that solves cases the leaders miss yet ranks lower overall gets little chance for further development. Mixture of Self-Improving Branches organizes the improvement process itself into parallel branches, each with evolving development subsets and proposal policies. Every branch starts identical (same seed harnesses, full problem set, same guidance); no one assigns specialties. After each iteration, branches are compared problem by problem: a branch keeps development cases solved by more of its leading harnesses than by other branches' leaders, drops cases solved by every leading harness across all branches, and revises its own proposal policy (the proposer rewrites its own guidance) using its own search history. The whole loop runs on each branch's own data. The branches grow into different experts, and at test time a router sends each new problem to one branch's best harness before execution. Relative improvements over Meta-Harness: +34.8% on Olympiad-level math (46.0% -> 62.0%), +11.6% on Terminal-Bench 2.0 (44.8% -> 50.0%), +3.8% on SWE-bench Lite (63.6% -> 66.0%), with harness selection and router configuration based solely on development data.
- Paper
Trust the Critic More
Standard LLM RL algorithms credit every token of a long rollout with the same advantage from the terminal reward; actor-critic methods could give finer-grained credit, but learned critics are considered too inaccurate to trust, so existing critics are used only for baseline estimation and every trajectory must be rolled to completion. AC2 (Actor-Critic with Action Chunking) removes the need to roll every trajectory to completion: it assigns credit to action chunks — short continuations of prefixes of past trajectories — where a learned critic scores the state reached at the end of each chunk, allowing policy updates without observing a terminal reward. Reliability comes from three design choices: (1) local readiness — critic-based updates on a problem only when the critic is sufficiently accurate on that particular problem; (2) when available, the critic gets a reference solution from a previous successful rollout; (3) credit over action chunks of 10k tokens rather than individual tokens. Training Qwen3-4B on FineProofs-RL and evaluating on IMO-ProofBench, AC2 exceeds GRPO's peak validation score of 18.5% using 2.5x fewer decoding FLOPs (25% fewer steps plus fewer tokens per step since trajectories aren't continued to completion). The critic is the only source of advantages, and it works even on hard tasks like Lean theorem proving. AC2 is a drop-in GRPO replacement: same objective and implementation details (e.g., clip higher), no PPO tricks.
- Paper
YuE2: Unifying Symbolic and Audio Music Generation at Frontier Quality
Symbolic models make melody, harmony, rhythm, and form explicit but typically stop before a finished recording; audio models produce complete songs while leaving composition implicit. We introduce YuE2, which unifies symbolic and audio music generation at frontier quality through symbolic planning. A single AR-NAR Mixture-of-Transformers (MoT) first writes a readable score specifying melody and harmony, expands it into semantic music tokens, and realizes it as full-song audio. In comparisons using the same checkpoint, experts prefer symbolic planning for overall quality and musicality, with 49.3% of overall preferences versus 34.6% without planning. Experts also favor the unified model over a separate language model and diffusion Transformer. On WildSongBench, YuE2 scores 6.73 on SongBench Global Avg, exceeding all evaluated public baselines. Selecting from eight candidates (best-of-8), YuE2 reaches 6.96, the highest observed mean among all evaluated systems. Expert listening further establishes its competitiveness with proprietary song generators, favoring best-of-8 over Suno v4.5 and yielding nearly balanced preferences against Suno v5. To learn this generation process from recordings without aligned scores, we introduce MERT2 and SheetSage2 to supply semantic and symbolic supervision. MERT2 sets a new state of the art in music representation learning, surpassing previous best results on 14 of 15 MARBLE metrics; SheetSage2 leads 12 of 15 benchmark-metric pairs in our lead-sheet transcription comparison. The same checkpoint follows score edits while largely preserving unedited musical content and generates zero-shot covers without cover-specific training. Its readable score also enables agentic music editing, with external language models translating user feedback into revisions of the composition.
- Paper
Qwen2.5-Omni Technical Report
Block-wise audio/vision encoders feed a shared LLM; TMRoPE interleaves time-aligned audio/video. Thinker generates text; Talker is a dual-track AR speech head on Thinker hidden states plus sliding-window DiT. Qwen2.5-Omni-7B sits between Qwen2-7B and Qwen2.5-7B on text (MMLU-redux 71.0 vs Qwen2.5-7B 75.4 / Qwen2-7B 67.3). OmniBench avg 56.13 vs Gemini-1.5-Pro 42.91; MMMU val 59.2; Video-MME w/o sub 64.3; speech-instruction MMLU 65.6 vs text Qwen2-7B 69.3. Streaming TTS WER 1.42/2.33/6.54 on SEED test-zh/en/hard. Code https://github.com/QwenLM/Qwen2.5-Omni; blog https://qwenlm.github.io/blog/qwen2.5-omni/.
- Paper
Transformers without Normalization
Observes that LN input–output maps are tanh-like S-curves and replaces LN/RMSNorm with DyT(x)=γ·tanh(αx)+β (α learnable scalar). Matches or beats LN with original hparams: ImageNet ViT-B 82.5 vs 82.3, ViT-L 83.6 vs 83.1; MAE/DINO on par; DiT FID comparable; LLaMA 7B–70B on 200B Pile tokens match RMSNorm zero-shot (70B both 0.549 / loss 1.45). Default α0=0.5 except LLMs (attention vs other α0 split). Tanh ablation needed for stability; identity diverges. Does not replace BN in ResNet-50 (76.2→68.9). CVPR 2025. Code https://github.com/jiachenzhu/DyT; project https://jiachenzhu.github.io/DyT/.
- Paper
Seer: Online Context Learning for Fast Synchronous LLM Reinforcement Learning
Rollout is 63–87% of RL iteration time. Seer exploits intra-group (G=8–16) length/pattern similarity: divided chunk-level rollout with a global Mooncake KVCache, context-aware longest-first scheduling via a speculative probe request, and adaptive grouped speculative decoding with compressed suffix trees. On production GRPO workloads (Moonlight, Qwen2-VL-72B, Kimi-K2) up to 2.04× end-to-end rollout throughput vs veRL and 72–94% less long-tail latency, while keeping on-policy semantics. Context-aware scheduling alone cuts tail time ~89%; grouped SD adds up to 1.3× vs vanilla SD.
- Paper
Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free
Compares ~30 gating variants on 15B MoE (15A2B, 2.54B active) and 1.7B dense models trained on up to 3.5T tokens. A head-specific sigmoid gate after SDPA (G1) is best: MoE 400B-token Avg PPL 5.761 vs 6.026 baseline and MMLU 60.82 vs 58.79, beating parameter-matched KV-head/expert expansions. Gains come from non-linearity between low-rank Wv and Wo plus query-dependent sparse gates (mean score 0.116). First-token attention falls 46.7%→4.8%; YaRN-extended RULER at 128k is 58.82 vs 31.65. Gate also damps loss spikes and allows higher LR (8e-3) where the baseline diverges. Claims first attention-sink-free models.
- Paper
Self-Policy Distillation via Capability-Selective Subspace Projection
SPD SVD-extracts a low-rank K/V subspace from gradients on correctness-defining tokens (answer span / assertions), hooks those projections during self-generation, then LoRA-SFT on the raw hooked completions. No teacher, reward, or filter. Up to 13% over SSD/PSR and 16% over base across code/math/QA on five instruct backbones; QA-calibrated SPD also lifts math/code OOD. Correctness-aligned loss beats full-sequence loss (MBPP 11.9→25.5). Calibration works with ~50 examples. No official code on abs.
- Paper
More Expressive Feedforward Layers: Part I. Token-Adaptive Mixing of Activations
MoA mixes a small activation dictionary (GELU/SiLU/ReLU²/etc.) with lightweight per-token gates on shared FFN projections; LA is the input-independent linear-combination ablation. Finite-width theory: fixed-activation FFN ⊊ LA ⊊ MoA. Pretrains dense Llama 0.12B–0.5B (AdamW, cosine, 20/100 TPP) and LlamaMoE 0.25B–2B (Muon, WSD, ~100 tokens/active param). Type-II one-MoA/qd-MoA beat well-tuned SwiGLU/Muon baselines by >0.01 terminal loss with ~1.03–1.13× wall-clock and negligible params; LlamaMoE-2B zero-shot avg 42.20→42.86/42.96. Also helps MAE ViT-B. No official code on abs.
- Model
Echo: the best writing model at style imitation
Echo, a writing model post-trained from Kimi K3 to embody the style of any persona the user chooses. Claimed result: beats frontier models at style imitation across writing tasks from fiction to technical explanations (including on authors not seen in training), despite costing less than $5K to train. Two-phase training: (1) SFT -- human posts + synthetic prompts, outlines of varying detail generated, then finetuned on the original post given a user prompt with target persona + synthetic outline ("drastically better than raw SFT"); (2) RL on an in-house per-author voice metric, run on only 8 authors but gains generalize across the writing distribution. Framing: modern post-training pushes models into a limited "assistant basin" of interaction; Echo explores training capable models with different personas. AI-detection stance: detectors like Pangram as a proxy for "slop" is misguided -- ideally model writing is beautiful but easily detectable as AI; but Pangram reportedly classified Echo's writing as human more often than frontier models' writing. Use case noted: turning a frontier coding agent's outline into readable technical prose/research reports.
- Paper
When Agents Slow Down: Understanding LLM Agents' Test-Time Strategies via Elo-per-token Analysis
LLM agents allocate test-time compute adaptively as they revise solutions, use tools, explore alternatives, and decide when to stop, making it hard to measure how agent performance scales. The paper studies open-ended tasks with continuous scores for intermediate submissions and proposes Elo-per-token analysis: track the best solution found at each token budget and use a Bradley-Terry model to aggregate within-task orderings into Elo ratings across tasks with different score scales. Applied to four general-purpose agents on four open-ended benchmarks with sessions up to 100M tokens, plus three feedback-driven LLM optimization harnesses in controlled single-task interventions. Independent sampling provides a theoretically characterized reference for which Elo grows linearly with log compute; against it, agents initially convert tokens into Elo faster but their marginal gains diminish and eventually fall below the reference. The strongest historical human contestants instead improve superlinearly over contest time on shared AtCoder Heuristic Contest tasks, showing continual learning and substantial headroom after agents slow down. The scaling inflection point is defined as the per-session budget where marginal Elo gains match the independent-sampling reference; splitting 100M tokens across parallel sessions on FrontierCS Polyomino Packing gains +264 Elo over one long session and +355 over ten short sessions.