Explore the research collection
332 entries · showing 49–72 · Follow this search
- Paper
Training-Free On-Policy Distillation
Specialist models sharing a base model can be merged without gradient training: the distillation objective per linear layer — reproduce every teacher's output on the inputs that teacher receives while reading its own rollouts — is exactly least squares, needing only the input second-moment Gram matrices. TF-OPD gathers those on-policy: each specialist answers a few hundred domain training problems, looping/unverifiable answers are filtered, the kept answers are read once with teacher forcing while forward hooks accumulate per-layer Gram matrices, then one linear solve per layer. This is the RegMean closed form (Jin et al. 2023) fed rollout statistics instead of training-corpus inputs — what trained on-policy distillation does, minus the optimization. On Olmo 3 7B, fusing a math and a code RL specialist (≈10 GPU-hours total, 48 GB GPUs, zero backward passes) yields a generalist with the highest mean over 7 benchmarks (61.1 vs math 59.8 / code 53.6 / base 31.6): equals the math specialist on AIME24 (50.0), beats it on OlympiadBench (69.4 vs 68.7), within ~2 pts of the code specialist on HumanEval+/MBPP+. The key finding: unfiltered rollouts match task arithmetic on AIME25 (34.2); removing repetition-loop answers — a small share of answers carrying a several-times-larger token share — lifts it to the specialist's level (40.0); correctness filtering, student rollouts, and hard-problem mining add nothing further. On easier saturated benchmarks every merge rule looks alike; the method separates only on hard problems. Precision matters: store fused weights in float32, evaluate in float16 — bf16 rounding measurably distorts the closed-form update. Training remains the tool when teachers differ in architecture or size.
- 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
Video Generation Models Are Good Latent Reward Models
Extending reward feedback learning (ReFL) to video generation is blocked by pixel-space reward models: they need near-complete denoising plus expensive VAE decoding, OOM on full-frame sequences, and supervise only late-stage steps. PRFL (Process Reward Feedback Learning) conducts preference optimization entirely in latent space. A Process-Aware Video Reward Model (PAVRM) reuses the first 8 DiT blocks of the pretrained video-generation backbone (Wan2.1-14B) as a feature extractor, compresses spatiotemporal features with a learnable query-attention, and predicts motion-quality scores from noisy latents at arbitrary timesteps — trained on human labels of finished videos only, with noise injected at random timesteps (no per-step annotations). Training rolls out gradient-free to a sampled timestep, backpropagates reward through a single gradient-enabled denoising step, and alternates with SFT to prevent over-optimization. On Wan2.1-14B at 480p/720p (T2V and I2V): T2V dynamic degree +46.00 (480p) / +56.00 (720p), human anatomy +10.49 / +12.16; PRFL wins 67% of human comparisons (25 prompts, 30 annotators, 2,250 pairs) vs RGB ReFL. Timestep ablation on 100 prompts: early-only better on motion (DD 51.00 vs 44.00), late-only better on anatomy (HA 91.54 vs 87.52), full-trajectory sampling best on both. PRFL processes all 81 frames within 67 GB VRAM at 1.42×–1.49× faster training than first-frame-only RGB ReFL (whose full-frames variant OOMs). Caveats: the RGB ReFL baseline uses PickScore on the first frame only — a weak comparison; the missing control is the same ReFL setup with a different full-video reward model, so the results support the system but don't isolate the backbone-reward contribution. Author-stated limitation: focuses on motion quality; aesthetics/semantics evaluation left to future work. No code released at catalog time.
- Paper
Training Language Models to Fail Gracefully
RL makes LMs better at tasks, but success-only rewards make guessing rational — when wrong actions corrupt databases or ship broken code, that's costly. This paper trains models to fail gracefully: preserve successful behavior where possible, execute a safe fallback where acting would be unreliable. Rewarding Success > Fallback > Error (1/c/0) with standard policy gradients is brittle: the gradient vanishes near saturated policies (‖∇J_PG‖ = O(1−p_o) as p_o→1), so policies collapse to always-fallback (or never-fallback) — shown empirically with GRPO/RLOO on SafeMaze (100% fallback within a few steps at c=0.4; collapse for every tested c≥0.3). GracefulRL reshapes the landscape with a surrogate objective J = (1−c)·log p_S + c·log(1−p_E): log-barriers at the outcome-simplex edges p_E→1 and p_S→0 keep the gradient non-vanishing (Θ(1)) near suboptimal saturation. The objective coincides with TailRL specialized to the ternary reward; the paper's contribution is the log-barrier reinterpretation plus ε-smoothing of inverse-frequency weights for variance control. Experiments: (1) SafeMaze (navigation; 4M-param ResNet policy) — GracefulRL Pareto-dominates online reward tuning and Delightful PG across 3 seeds; (2) math abstention on Qwen3-1.7B/4B-Base (DAPO-Math-17K, conditioned on five caution levels c∈{0,...,0.8} via prompt suffixes; eval MATH500, AIME 2024–2026, AMC 2022–2024, JEEBench) — Pareto-dominates RLCR+Thresholding at both sizes; on AIME the error rate falls 79.1%→8.9% (88.8% relative) while sacrificing only ~3.1pp success; models verbalize uncertainty in CoT with no fallback annotations; OOD transfer to AbstentionBench (F1 0.677 at c=0.8 vs 0.590 for Qwen3-4B-Instruct); (3) multi-turn Minesweeper (Qwen3-4B-Instruct, irreversible actions) — c=0.5 raises success 67.4%→77.4% and cuts errors 17.0%→6.0% (RLOO collapses to all-fallback); learning to fail gracefully improved success, hypothesized as reward-shaping toward safer states. Author-stated limitations: online RL only (off-policy unstudied), no coding-agent/long-horizon experiments, fallback specification is domain-dependent. Blog: zanette-labs.github.io/failing-gracefully/ (training code and checkpoints linked, exact URLs unverified).
- Paper
xHC: Expanded Hyper-Connections
xHC (Expanded Hyper-Connections) is the first Hyper-Connections-family method to achieve meaningful residual-stream expansion beyond N=4. Hyper-Connections expand the Transformer residual stream into N parallel streams (memory scaling beyond width and depth); mHC stabilized this at scale but stopped at N=4, where scaling mHC further gives diminishing gains at rising cost. xHC combines (1) temporal feature augmentation — MLP write-back enriched with multi-scale local features from causal depthwise convolutions (kernels {4,8,12}) over neighboring tokens — with (2) sparse residual-stream updates: dense read access to all N=16 streams, but residual mixing/write-back routed through only k=4 active streams (2 fixed + 2 routed), cutting residual-mapping generation cost from O(N³C) to O(k³C); mixing is Sinkhorn-normalized over active streams. On an 18B MoE, xHC improves the average downstream score over mHC by 4.0 points across 12 benchmarks (3.1 points at 28B, winning 11/12), with only modest extra training FLOPs; vanilla and mHC need 1.50× and 1.19× xHC's compute to reach the same loss; expanding N=4→16 improves xHC's loss by 0.012 at +4% FLOPs vs 0.006 at +32% for mHC. xHC-Flash (sharing full-state ops across sublayers) cuts per-sublayer memory traffic from 73.5C to 40C (Flash-4sub), near mHC's 34C at N=4, while retaining the gains. Fused Triton forward/backward kernels: mHC adds ~15% training overhead over baseline, xHC-Flash-4sub ~11% on top of mHC; inference prefill +11.4%/+12.9%. Author-open-sourced the training code (Megatron-LM based; xHC-Flash not included): github.com/aHapBean/xHC (Apache 2.0).
- Paper
The Thinking Leakage in Reinforcement Learning for LLMs
Hybrid reasoning models (Qwen3) switch between THINK and NO-THINK modes via chat-template tokens; a popular recipe trains in NO-THINK mode with RLVR and reports improved reasoning. This paper argues much of that gain is "thinking leakage" — partial reactivation of the original model's THINK mode, not newly learned reasoning. They train Qwen3-1.7B/4B/8B with GRPO in NO-THINK mode on DAPO-Math-17k (rank-64 LoRA on all linear layers, lr 1e-5, KL 1e-3). Evidence chain, evaluated on AIME 2022–2024 (90 problems): (1) behavior — 8B accuracy 0.17→0.43 while responses grow 2.7k→7.2k tokens, reflection words 1.3→13.0, think-win-rate judged by the original model 50%→94%, and activations shift α=0.56 along the original think direction (4B α=0.40, 1.7B α=0.21); (2) weights — scaling the RL update (W₀+c·ΔW) approaches but never exceeds think-mode accuracy (0.72 vs 0.74), and scaled models generate </think> at the same position as think mode (51% at c=3) despite never being trained to; (3) activations — exchanging an 8-dim think subspace between RL-trained and original 8B models removes 75% of the RL gain (0.411→0.244) and transfers 50% in reverse (0.189→0.300; 60% with 16 dims), vs PCA controls of 22%/25%; (4) attention heads — a small set of heads (e.g. 8B L18H19, top 0.2% by empty-think-block attention) keeps the original in no-think mode, and single-head patching of L18H19 accounts for 44% of the RL-induced activation shift; (5) GRPO signal — correct responses with larger advantages are more think-like (TWR 57.8%→40.5% as group size-correctness k goes 1→4), and one GRPO gradient step moves a fresh LoRA adapter toward think mode (Δα=+0.0075), while shuffled or uniform advantages do not — so the leakage pressure lives in the advantage assignment itself. Caveats: scaling probe is exploratory (factors explored on the same 90 AIME problems); gradient-step probe is not an actual training step; single eval set. Code announced on GitHub but repo URL not verified at catalog time.
- Paper
Evaluating LLM Creativity through Long-Tail Performance
LLM creativity benchmarks vary widely in task and metric design — do they capture a common notion of creativity? The paper formalizes the shared target as task-specific performance in the long tail of a reference input-output distribution (how common input-output pairs are relative to a chosen source of text), grounded in the novelty-quality product formulation Creativity = Novelty × Quality, where a theoretical identity shows the same quality difference contributes more to the creativity score in higher-novelty regions. Empirically: 15 benchmarks (writing, math, QA) and 26 open-weight models, using 4-gram absence from the Pile (Infini-Gram-Mini) as novelty proxy. Creativity benchmarks lie significantly further in tail regions than standard benchmarks from the same domains (p<0.001). Within each benchmark, rankings from higher-tail subsets align more closely with LM-Arena creative-writing human judgments: on Arena-Hard Creative Writing, tail bins reach Kendall τ=+0.39/+0.33 vs +0.06–+0.15 for peak bins; on GPQA-Diamond (not a creativity benchmark), +0.40/+0.22 vs +0.10–+0.18 — significant at ten-bin resolution (Spearman ρ=0.66–0.86). Introduces q@Tail(α), a lower-cost diagnostic: mean task quality on the top-α tail fraction of an existing benchmark. Applying it to nine creativity-promoting methods (min-p, temperature scaling, persona, Convergent-Divergent Thinking, Branch-Solve-Merge, self-consistency, meta-prompting, CRPO-SFT/DPO) reveals a quality-novelty tradeoff: only min-p improves tail quality (+17.7%) while reducing novelty (−16% to −44%); all others raise peak novelty but lower tail quality. Difficulty and novelty splits are nearly disjoint (MATH overlap 0.07), so tail selection is not just "harder examples." Limitations: n-gram rarity captures surface novelty only; rankings depend on the Skywork reward-model quality estimator; LM-Arena votes are self-selected-user holistic preferences, coupled with overall capability; methods tested only on open 7–8B models. Code and data: github.com/YichenZW/longtail-creativity; reading list: github.com/YichenZW/awesome_llm_creativity.
- 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
AutoEnvScaling: Automating the Data Flywheel with Terminal Agents
Terminal-agent RL is bottlenecked on human-designed environments: the supply of useful training envs grows only as fast as researchers can work. AutoEnvScaling turns environment design into a terminal task — a proposer agent reads the solver's rollouts, decides what to build, then writes and tests complete Harbor tasks (instructions + execution environment + reference solution + tests) inside a sandbox with web access, a coding harness, and child containers. Two admission gates: validation (reference solution scores 1, empty solution <0.5, no 13-gram overlap with held-out tasks, Terminal-Bench rubric review) and calibration (current solver keeps the task only if mean reward ∈ [0.25, 0.75] with variance; up to 2 revisions). The proposer co-evolves via harness optimization (editing its own harness/skills/memory between rounds) or weight training. Across eight frontier proposer models, terminal-based generation raises the valid-environment rate up to 25× over prompt-only generation (DeepSeek-V4-Flash 3.5% → 89.0%) at up to 75% lower cost per valid environment for six of eight models (cost rises for the two strongest proposers since AutoEnvScaling spends more turns). RL on generated environments beats matched static Tmax pools on Terminal-Bench 2.1 (+6.3/+7.4 for Qwen3.5-9B, +4.3/+3.8 for Qwen3.5-35B-A3B), and removing solver feedback costs −3.6/−6.7 points. Recursive self-improvement: Qwen3.6-35B-A3B as both proposer and solver (self-play, one shared policy) improves Terminal-Bench 2.1 from 41.1 to 53.3 (+12.2) and Terminal-Bench 4.0 from 1.6 to 3.2, with 3.1× higher usable-group rate and 42% less rollout-collection time; removing proposer training collapses the loop. On HiL-Bench, tasks generated by Claude Opus 5 let Qwen3.6-35B-A3B reach 33.9% task success / 55.3% Ask-F1 at asking for help — beating Opus 5 itself (7.5%/14.4%). Code (Apache-2.0, private preview), launchers for every experiment, figure data, and generated environments are public; sandboxes run on Modal.
- Paper
Hybrid Reasoning Agents
HybridAgent is an LLM agent that dynamically navigates between latent reasoning and text-based interaction within a single unified generation process, combining efficient latent "inner thinking" with text-based tool calls and external inspection. The core mechanism is HybridLink, a lightweight residual adapter mapping last-layer hidden states back into the input embedding space (e_{t+1} = h_t + W2·GELU(W1·h_t), ~10M params at 4B), enabling sequence-wise recurrence in latent mode without representation mismatch. Mode transitions: text mode emits a <latent> anchor token to enter latent mode; latent mode exits when the HybridLink-projected state nearest-matches a </latent> anchor; span lengths emerge adaptively. Latent thoughts remain interpretable: each latent step maps to its nearest token embedding, recovering readable pseudo-text. Multi-turn generation runs over a continuous working memory (KV entries from text, latent thoughts, and tool observations), losslessly preserving hybrid context across turns. Post-training: HybridSFT (format activation, HybridLink activation with cos+MSE regression, then self-conditioned two-pass training with joint CE at text and regression at latent positions, closing the train-inference mismatch) stabilizes tool-integrated hybrid generation; HybridRL scales reasoning via a hybrid policy factorization (policy likelihoods only over sampled text positions, since latents are deterministic given the backbone and fixed HybridLink) with exact rollout replay, rewarding correctness, format, and multi-tool use — learning when to think in latent space vs act through text. Built on Qwen3-Base at 4B/8B/14B and evaluated on 11 benchmarks (math, science, medicine, search, agentic reasoning) against text-based, latent, and frontier-agent baselines: HybridAgent improves performance by 10.4% on average at the RL stage (18.5% at SFT stage; 14B beats the strongest agentic baseline by 17.4%), with 35.5–54.7% token reduction, 1.8–2.6× faster inference, and 2.7–3.7× cost savings. Tool use stays reliable (higher valid call rates than GRPO, 99.7% execution success) and the exposed text trace remains monitorable/debuggable (first-error localization 98–99%), exposing 43–49% fewer text tokens while carrying 26–28% more key reasoning steps per 100 visible tokens. Code, models, and training data are public: github.com/togethercomputer/HybridAgent (MIT) with HybridAgent-8B-Agentic and -14B-Agentic checkpoints plus HybridSFT-v1/v2 and HybridRL datasets on Hugging Face.
- Post
PriorBPB: Reducing the Answer Length Confound of Bits-per-Byte While Improving Accuracy Prediction
BPB divides a model's total surprisal on a gold answer by its UTF-8 byte length to remove tokenizer dependence — but answer length is a property of the benchmark, not the model. The post shows total bits decompose as a fixed per-item cost α plus a per-byte rate β, and corpus BPB equals α/mean(n) + β algebraically, so the fixed cost (largely first-token surprisal, ~10× later tokens) is divided by the task's mean answer length. Empirical effects: on MMLU full text (Qwen3-4B) the shortest-fifth answers score ~11× worse than the longest fifth; median across tasks the ratio is ~2×. The fixed-cost share is task-dependent (SQuAD2 later tokens nearly free via copy-from-passage; OLMo-3-7B GSM8K cost 96% length-scaled), so no single constant normalization fits. Mean-of-ratios BPB (mean of per-item ratios — not a rate) inflates further, up to ~2× (+122% on MMLU full text vs corpus BPB). Under corpus BPB, Qwen3-0.6B-instruct beats its 1.7B/4B siblings on 15/19 tasks — an apparent inverse-scaling trend: α is larger at 4B than 0.6B on all 19 tasks (1.2× to 7×) while β shows no trend, plausibly from wrapping completion-style gold answers in an instruct chat template. PriorBPB fixes the aggregation: estimate each model/task's marginal per-byte cost curve R(k) non-parametrically from per-token bits, then average it under one shared geometric length prior (μ=111 bytes, pooled median, frozen pre-scoring). With a task's own length distribution it recovers corpus BPB exactly. Across 62 base checkpoints from five families: within-task top/bottom quintile ratio 0.98 (essentially length-invariant) and cross-task mean |correlation| with answer length 0.68 → 0.18, while following accuracy more closely than mean-of-ratios BPB (+0.021 base, +0.122 instruct). Residual caveats: survivorship bias in late-position R(k) and μ-dependent residual length correlation, so μ must be reported.
- Paper
QwenGyre: An Elastic Reinforcement Learning Framework for Training xLong-Horizon Agents
QwenGyre (Alibaba Token Hub) is an end-to-end framework for online RL on extreme-long-horizon (xLong) agent executions — single rollouts lasting hours, spanning hundreds of model–environment interactions and ~1M tokens — run through unmodified black-box harnesses (Claude Code in the evals). It attacks two problems. (1) Scheduling: rollout durations are long-tailed, so Colocate training waits on stragglers and Async's fixed rollout/training GPU partitions idle on both sides. QwenGyre's Elastic Scheduler organizes GPUs into independently switchable cells and reallocates them between rollout and training as unfinished work changes, without interrupting live executions — harness state persists across role changes and in-flight model calls keep being served; newly freed nodes join an ongoing training batch, and streaming training feeds cells micro-steps on demand so they finish the batch together (role switches take ~3.5–8.5s). (2) Trajectory redundancy: harnesses branch via compaction, sub-agents, and retries, so expanding every path into samples explodes token volume. The Trajectory Processor records every model call token-in/token-out (exact token IDs, behavior log-probs, provenance), organizes calls into a prefix-shared trajectory tree preserving each output's original conditioning context, scores preserved work after termination — including partial progress after timeout — and admits at most 5 trajectories per execution by role priority (main > main-summary > sub-agent > sub-agent-summary), counting shared prefixes once, training only on policy-generated tokens, and averaging token losses within each execution. The RL algorithm is group-relative (16 rollouts/group) with a GSPO adaptation (token importance weights capped at 5, execution-level clipping [0.995, 1.005]). Against Colocate and Async baselines at equal GPU budgets and matched scheduling staleness, with comparable training scores (all figures first-party): on Qwen3.6 122B, 1.42–1.53× over Async and 1.36–1.47× over Colocate on NL2RepoBench, 1.57×/1.61–1.82× on DeepSWE, 1.38–1.43×/1.81–1.85× on TerminalBench; scaled to the flagship Qwen3.8 2.4T (~700K tokens per rollout, 192 nodes), 48 NL2RepoBench steps take 75.42h vs 134.55h (Async) and 91.47h (Colocate), lifting eval passrate from 52.48% to 58.54%.
- 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
Multi-Stream Attention Residuals
Attention Residuals (AttnRes) replaces fixed residual accumulation with learned depth-wise softmax retrieval over earlier layer outputs — single-head softmax attention along the depth axis. Multi-Stream Attention Residuals (MSAR) generalizes this to multi-head depth attention. The obstacle: in depth attention the retrieved value is the hidden state itself, so AttnRes's channel-splitting into heads degraded performance, and Hyper-Connection-style write-back candidates are near-identical scalar reweightings with little cross-head diversity. MSAR instead draws diversity from the sequence axis: a small set of multi-scale causal depthwise convolutions applied to each layer output produces m (default 4) full-dimensional streams whose receptive fields encode different local-context scales; each stream performs its own softmax retrieval over depth, and the retrieved states are fused by a lightweight H^pre-style adaptive mixer into the single-stream layer input. Because all streams are deterministically regenerated from the single stored residual source on demand, persistent storage and pipeline communication stay O(Nd) — matching AttnRes — and MSAR remains compatible with AttnRes block mode (~8 blocks by default), cache-based pipeline communication, and two-phase inference. Overhead at 28B MoE: +0.5% training FLOPs, +0.3% activated parameters. Across all 12 downstream benchmarks MSAR beats Vanilla, mHC, and AttnRes at both scales: 18B MoE average 45.7 vs 37.5 Vanilla (+8.2), 41.7 mHC (+4.0), 41.8 AttnRes (+3.9), with final training loss 1.750 vs 1.799/1.776/1.769; 28B MoE average 52.4 vs 44.6 (+7.8), 47.4 (+5.0), 49.4 (+3.0). Scaling-law fits across four scales give an iso-loss compute speedup of 1.58× over the standard residual baseline, vs 1.35× for AttnRes and 1.30× for mHC. Ablations on a 10B MoE (Pile loss): MSAR 1.847 vs AttnRes 1.867, mHC 1.871, and a direct AttnRes+mHC hybrid 1.861; removing the convolutions (identical replicated streams with independent queries) raises loss to 1.862, showing contextual source diversity — not merely multiple retrieval heads — carries the gain; two streams capture most of the improvement and eight add little.
- 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
Fold2Reason: Does Learning Protein Folding Generalize to Broader Reasoning?
Fold2Reason asks whether solved protein structures can serve as a non-linguistic reasoning teacher. It builds FoldingCorpus — 1,200 proteins, 14,400 QA records via 12 deterministic structural operators (contact, distance comparison, segment orientation, center proximity, local direction, chirality, multi-constraint, 32-way global summary) applied to the OpenFold monomer short-protein collection, with 1,000/100/100 train/dev/test proteins in cluster-disjoint partitions and independently recomputed, auditable answers. Fold2Reason post-trains Qwen3.5-9B with LoRA through a shared training-time workspace using two complementary signals: discrete structural answers predicted via the native language head (L_qa) and continuous 3D geometry decoded by a frozen coordinate/distogram decoder (L_geo = coordinate + pair-distance + contact + distogram + local-frame + torsion + radius-of-gyration losses). At inference, protein inputs, workspace, and geometry decoder are all detached — only the adapted LM is evaluated. On FoldBench, structure prediction scores are 2.7–3.5× the base Qwen3.5-9B. On the "General-10" set of 10 benchmarks spanning spatial, graph, scientific, and general reasoning (text, image, and video tasks), macro-average accuracy rises 45.09% → 48.33% (+3.23 pp) across three seeds, positive on all 10 — while matched controls built from random, synthetic, and shuffled structures yield substantially smaller or negative gains. Ablations: FoldingCorpus supervision alone gives +2.93 pp; geometry adds +0.30 pp concentrated in spatial evaluations; gains extend to three Qwen3.5 scales and InternVL3.5-8B (Gemma-4-12B-IT neutral); a 50–4,000-protein study peaks at +3.70 pp with 2,000 proteins.
- 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
LobeHub RSI: 7-day recursive self-improvement of an agent harness + Awesome-RSI
LobeHub ran a 7-day Recursive Self-Improvement experiment letting Lobe Agent iteratively improve its own harness via their RSI framework (model weights fixed). On FrontierHarness with Kimi K3: 70.0% pass rate (21/30), ranked #1 of 13 harnesses in their preliminary comparison; $1.68 per successful task vs $3.47 for Codex and $18.34 for Claude Code; 86.2% median cache hit rate; median 7m19s completion on successful tasks. Suggests harness-level optimization can improve performance/efficiency without weight changes. Caveats (their own): preliminary results, selected retries, execution-environment differences, not an official leaderboard. Plans to open-source scripts, trajectories, and a technical report. Alongside: Awesome-RSI (github.com/lobehub/awesome-rsi, CC0-1.0, 545 stars, 82 commits, created 2026-08-11) — curated research map of RSI spanning model-level and harness-level self-improvement, automated AI research, safety, benchmarks, and frameworks.
- Paper
Self-Retrospection Distillation: Turning Post-hoc Experiences into Prior Foresight
Self-Retrospection Distillation (SRD) instantiates "prospective learning": rather than learning only from scalar outcome rewards after interaction, it uses post-hoc experience to supervise foresight predictions made from the pre-interaction view. Two prospective views: Knowledge (what would have been useful to know), supervised by successful trajectories, and Pitfall (failures to avoid), supervised by failed ones — same procedure, differing only in the prospection instruction. For each rollout in an on-policy group, the student samples a foresight sequence blind to the completed trajectory, while a hindsight teacher (a frozen copy of the same policy) evaluates the same prefix conditioned on privileged post-hoc context (the trajectory, gold solution, and error annotations); a token-level distillation loss aligns foresight with hindsight. Foresight is only a training target and need not be generated at inference time. Across 10 tool-integrated reasoning and long-horizon agentic benchmarks (AIME 2024/2026, AMO-Bench, LiveCodeBench-v6, OJBench, HotpotQA, 2WikiMultiHopQA, BrowseComp-Plus, ALFWorld, WebShop), SRD complements RLVR and self-distillation baselines with gains of up to 24.2 pp, and gains transfer under held-out distribution/format/horizon shifts. Its advantage is largest when reward contrast is scarce: 37-98% of rollout groups are reward-uniform across model scales, yet SRD still extracts learning signal from the trajectories. In the Qwen3.5-2B code-only setting (dynamic sampling disabled so reward-uniform groups are retained), where 98% of groups are all-failure, standard RLVR ends at 0.0% success while RLVR+SRD reaches 60.6% under the same rollout budget. Main training: Qwen3.5-4B and Qwen3.5-9B. The paper also formalizes the "reward-silent regime" (Appendix A) and includes a mechanism-level case study (§F). CC BY 4.0; no code repo mentioned in the paper at catalog time.
- Paper
dattri-LLM: A Unified and Efficient Library for Training Data Attribution at LLM Scale
dattri-LLM is an open-source PyTorch library for gradient-based training data attribution (TDA) at LLM scale, from TRAIS-Lab (Shixuan Liu et al.). Efficiency comes from two exact per-example gradient representations - factorized (input-activation/output-gradient pairs) and materialized (dense per-sample weight gradients) - with a FLOP-aware cost model routing each layer and operation to the cheaper one, so 'ghost' inner products score samples without ever forming weight gradients when that is cheaper. Compatibility comes from non-invasive capture: autograd hooks assemble per-sample gradients from any training loop that calls backward(), with no changes to the loop, optimizer, or trainer - demonstrated on HuggingFace Trainer, TRL (SFT/GRPO trainers), and OLMo, under DDP and FSDP, with per-rank sharded gradient stores merged afterwards; gradients can be offloaded to disk during training and re-attributed by any method without the model. Extensibility comes from two interfaces: Attributor (plug-in attribution methods over one shared gradient stream) and HookManagerCallback (training-time applications acting on captured gradients, e.g. online data selection). Built-in attributors: TracIn, Grad-Dot/Grad-Cos, K-FAC and EK-FAC influence, DVEmb, LESS, AdamW-influence, plus a DataSelectionCallback for online data selection. Benchmarks on four H200s (512 training sequences, Qwen2.5 0.5B-72B plus Qwen1.5-110B; 1 query through 32B, 4 queries at 72B/110B) against Bergson, Kronfluence, and LogIX: dattri-LLM averages 3.2x the throughput of the fastest competing library per configuration across GradDot/K-FAC/EK-FAC, and is the only library besides Bergson to complete 72B/110B runs (Kronfluence OOMs beyond 7B on K-FAC; LogIX beyond 32B). Fidelity-cost trade-offs (LDS/LOO-style TSLOO on GPT-2, Qwen2.5-1.5B, OLMo-3-7B) favor dattri-LLM's EK-FAC and AdamW-influence. Code: MIT-licensed at github.com/TRAIS-Lab/dattri-llm (9 stars at catalog time; the library is the LLM-scale companion of the earlier dattri package). Paper license: arXiv non-exclusive distribution 1.0 (not CC).
- Code
slime v0.4.0: A First Step Toward Greater Scale
slime (THUDM) is an LLM post-training framework for RL scaling that connects Megatron training with SGLang rollout through a shared training/rollout/Data Buffer path; it is the RL framework behind the GLM-4.5 through GLM-5.3 model releases and supports Qwen, DeepSeek, and Llama 3 models (repo ~8.6K stars, Apache-2.0). Release v0.4.0, 'A First Step Toward Greater Scale', was motivated by OpenAI's Navier-Stokes research effort (~10,000 concurrent agents, ~130B output tokens), which prompted a rethink of RL infrastructure scale. Four architectural changes: (1) Focus — two training modes share one train.py lifecycle: synchronous training for algorithmic exploration and correctness, fully async training for throughput at scale (legacy train_async.py removed; PR #2391). (2) Distributed rollout — with the new straw backend, fully async rollout runs one rollout worker per Ray node on CPU resources, each with its own generation pool and asyncio event loop, so orchestration spreads across cluster CPUs instead of a single process bottleneck; training batches collect completed groups without waiting for every worker (PR #2410). (3) Persistent storage — straw (github.com/zhuzilin/straw) provides durable queues and shared tensor storage on a filesystem (JuiceFS currently supported): rollout workers publish payloads to shared storage and training ranks read by reference, moving bulk data off Ray's object-store transport; prompt tasks, partial rollouts, completed samples, and converted training batches persist as large append-only files to reduce small-file/filesystem metadata overhead, with checkpoint rollback support (PRs #2410, #2427). Select via --rollout-data-transport straw. (4) Independent recovery — Megatron training lifetime separated from the SGLang serving cluster: healthy engines/routers keep running after a training failure, and resubmitted training restores the last committed checkpoint and replays retained batches, reusing accepted samples and conversion results (PR #2444). Other improvements: score centering (REINFORCE objective with top-p replay and importance-sampling corrections, --use-score-centering, for training-inference mismatch); PipelineRL --flush-cache-interval letting unfinished requests and KV caches survive selected weight updates; streaming and agent rollouts (cumulative/incremental generation streams, partial-prefix retention, per-request cancellation); Biren SUPA and Ascend NPU accelerator backends; correctness fixes (linear-attention gradients under context parallelism, full-vocabulary reference logprobs in actor top-p replay, checkpoint shard selection in disk-delta sync); stack updated to Megatron Core 0.19.2, Transformer Engine 2.18.0, Flash Linear Attention 0.5.2, NCCL 2.30.7.
- Paper
MIMESIS: Learning User Simulators as Training Environments for Interactive Agents
MIMESIS is a purpose-built 9B user simulator (Qwen3.5 backbone) for training and evaluating interactive agents. Agent RL setups normally let an off-the-shelf assistant LLM play the user, but those are overly cooperative, explicit, and behaviorally homogeneous: on tau-bench a fixed GPT-5.5 agent succeeds 63.6% of the time with real users, but 82.4-84.4% when frontier API models (GPT-5.5, Gemini-3.8-Flash, Claude-Opus-5) play the user - while pretrained Qwen3.5 models make it harder (-14.9/-16.0 pp). MIMESIS-9B hits 66.1% (+2.4 pp), far closer to real users. Training is two-stage: (1) mid-training on 21.2M human-assistant conversations (9.51B tokens) adapting Qwen3.5 to the user role, and (2) reasoning-supervised RL on SOUL environments with explicit supervision over a taxonomy of 13 realistic user behaviors mined from ThoughtTrace conversations (hidden evaluation criteria, incremental goalpost shifting, clarification noncooperation, infeasibility persistence, underspecified-then-blames, abrupt intent switching, artificial constraint stacking, fabricated/false premise, impatient low-signal pressure, unresolved thread abandonment, self-contradiction, request overloading, belittling/entitled pressure). During interaction the simulator generates both a private thought and a public utterance; only the utterance is shown to the agent. Results: SOUL-Index 65.7 (5 axes: conversational, social, cognition, role play, eval/judgment), beating Claude-Opus-5 (64.9) and GPT-5.5 (64.1) and +15.2 over its pretrained backbone; on RealUserSim it improves behavioral fidelity over Claude-Opus-5 by 13.4 points and reduces SimulatorArena Turing distance by 3.6 points. Freezing the simulator and training agents with multi-turn GRPO across eight Gym environments (Travel, Turtle, Function, Tau, Persuade held in; Intention, Telepathy, Search held out), MIMESIS-trained agents beat GPT-5.5-trained agents under all nine unseen evaluation user models (frontier APIs + released simulators). The paper also introduces Coached On-Policy Self-Distillation (CSD): a coach model turns the simulator's private reasoning traces and subsequent utterances into concise coaching notes, adding dense token-level supervision (L = L_GRPO + alpha L_CSD) beyond sparse task rewards, with further gains under all nine evaluation user models while the deployed agent conditions only on public dialogue. Code: github.com/VietHoang1512/mimesis (project page viethoang1512.github.io/mimesis). Paper license CC0 1.0.