Explore the research collection
384 entries · showing 73–96 · Follow this search
- 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
DFlash: Block Diffusion for Flash Speculative Decoding
Speculative decoding caps out at ~2–3× because autoregressive drafters are sequential and shallow. DFlash replaces the AR drafter with a lightweight block-diffusion model (5 layers) that proposes an entire token block in one forward pass. The key design: the target model's hidden features — extracted from 5 uniformly sampled layers and fused — are KV-injected into every draft layer (not just fused at the input like EAGLE-3), so acceptance length scales with draft depth. The drafter trains on the target model's own outputs (random anchor-token block construction, early-position-weighted CE, shared frozen embedding/LM head), and verification keeps generation lossless. On Qwen3-8B (greedy): up to 6.1× speedup over autoregressive baseline (avg ~4.9×) and ~2.4× over EAGLE-3, with acceptance lengths ~6.5 vs ~3. In SGLang serving: 4.8× at concurrency 1, 2.9× at concurrency 32. Z-Lab × Modal joint retrains (40k context, sliding-window attention): Qwen3.5-122B-A10B — baseline ~260 tok/s → 1,088.9 tok/s on HumanEval (4.21×), 1,041.2 tok/s on math500, accept lengths up to 8.7 (4×B200); Qwen3.6-35B-A3B — up to 3.61× speedup (1,116.3 tok/s math500) on a single B200, beating Qwen's built-in MTP path everywhere. DFlash 2 (Inco AI, Qwen3.8-27B): per-position top-candidate selection plus two-tap dynamic convolutions; accept lengths 4.1–5.5 vs MTP 3.7–5.0, throughput 2.7–3.4×. Limitations: draft models trained on ~800K Nemotron+CodeAlpaca samples at ≤30B-A3B scale in the paper; retrain benchmark cards are same-domain (GSM8K/MATH/HumanEval/MBPP/MT-Bench); the X post's production-traffic-training claim for the Modal retrains is not stated on any model card.
- 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
Next-Concept Modeling: Fast, Parallel Coarse-to-Fine Text Generation
Diffusion language models offer parallel sampling but degrade with fewer steps, process the full sequence every step, and need many training passes. Next-Concept Modeling (NCM) is a two-stage coarse-to-fine alternative: a multiscale residual VQ-VAE encodes text into a hierarchy of discrete codes from coarse to fine (adapting VAR-style next-scale prediction from images, requiring substantial modeling changes since text has no natural downsampling and single-token errors matter), and a transformer generates one level at a time, predicting all codes within each level in parallel — one forward evaluation per level. At ~100M parameters, NCM beats strong diffusion baselines on unconditional generation (TinyStories, LM1B, OpenWebText) with 4–11× fewer function evaluations: on LM1B it uses 11× fewer NFE than DUO and runs 21× faster at better generative perplexity (single H100, batch 16), and on OpenWebText it matches the strongest diffusion LM at 10× faster. Tokenizer plus generator train on 13.36B token positions on LM1B, ~4.9× fewer than baselines' 66B. On XSum summarization it uses 16× fewer NFE than AURORA-LM and runs 31× faster at comparable ROUGE-L, with the best summarization scores; on WMT14 De–En translation it beats all but one non-AR baseline. On Sudoku it scores 99.5/96.5/86.1 (easy/med/hard) with 12 NFE, outperforming AR baselines (greedy: 14.6/5.1/1.0 at 128 NFE) and diffusion/flow baselines including DUO (96.3/84.7/58.4), MDLM, and the strongest flow baseline FMLM+ (97.7/92.8/81.3). Spending the saved sampling time on more candidates with MBR decoding gives ~7% higher ROUGE-L than the strongest summarization baseline at the same time budget. Preliminary scaling: larger generators improve quality at fixed training-token budgets. All numbers are the authors' own at ≤~100M scale; no independent reproduction.
- Paper
Distributionally Robust Mixture-of-Experts Training
The hidden reliability problem in sparse MoE is not uneven utilization but uneven expert competence: imperfect routing sends tokens to experts that were never well trained for them. DRMoET (Distributionally Robust MoE Training) treats each layer's routed experts as endogenous robustness groups and optimizes the layer-wise worst expert-attributed loss — a drop-in objective with no auxiliary losses and no routing changes. It maintains a per-layer distribution over experts, updated by an entropy-regularized softmax on EMA-smoothed (β=0.999), activation-weighted (routing-probability × expert-output-norm, stop-gradient) expert losses, strengthening plausible non-top routing paths while the router, architecture, and sparse forward/backward stay unchanged. Under the FLAME-MoE recipe from-scratch pretraining at 746M-total (~33.5B tokens) and 10.3B-total (67B tokens) scales, evaluated 0-shot on ARC-E/ARC-C, HellaSwag, PIQA, WinoGrande, SciQ, ReCoRD: at 1.7B-10.3B the seven-task average rises 0.6625 → 0.6767 (+1.42pp absolute, +2.14% relative) vs standard FLAME-MoE and 0.6431 for auxiliary-loss-free balancing (Wang et al. 2024, DeepSeek's method) — +3.36pp over aux-loss-free. At 290M-746M DRMoET's best setting reaches 0.5523 vs 0.5403 FLAME-MoE and 0.5084/0.5055 aux-loss-free. Mechanistic probes: expert-loss std −8.58% with mean loss nearly unchanged (−0.05%), worst-expert loss −2.05%; forced mid-k misrouting shows 4.3% lower excess loss degradation; domain–expert specialization metrics all improve (competence advantage ΔQ +30.2%, expert–domain MI +12.9%). Training-throughput measurement shows no slowdown: 67.19 vs 64.17 TFLOP/s/GPU (+4.7%), iteration time −4.6%, lower variance — the authors attribute this to reduced straggler variance rather than an algorithmic guarantee. Convergence guarantee (Theorem 4.1): entropic mirror ascent on the entropy-regularized objective reaches stationarity at Õ(T^(−1/2)). Limitations: two model scales and fixed expert configs; no imbalanced or long-tail evaluations; probes are diagnostics on trained checkpoints.
- 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
Enabling Token-wise Importance Sampling in Off-Policy RLVR with Proximal KL Regularization
In reinforcement learning with verifiable rewards (RLVR), off-policy data arises from asynchronous generation, rollout/training mismatch, and response reuse across minibatches. Exact sequence-level importance correction multiplies likelihood ratios across long responses (high variance), while token-wise weighting generally biases policy gradients. The paper proves (Theorem 1) that adding full future-KL credit makes the exact proximal optimizer the update's unique stationary policy even under supported stale-behavior-policy mixtures, without full-response weights or a fitted critic: each token is charged the current token's and all future tokens' KL log-ratio costs against a fixed proximal reference, combined with a single current-token importance ratio. At the target, reward minus full unclipped Future-KL is identical across all continuations of a given history (pathwise cancellation), so the token-wise update vanishes; tabular continuous-time updates converge and a finite-sample reward guarantee holds for linear logistic models. The practical algorithm, Proximal KL, records each token's behavior probability, periodically refreshes the proximal reference, and subtracts bounded future KL costs (working default β=0.30, per-token cost bound 0.05) from a group-relative reward advantage before applying the token-wise importance weight — PPO clipping is omitted. On Qwen3-1.7B/4B trained on verifiable math tasks, Proximal KL beats GRPO in all seven matched off-policy comparisons by response-weighted (micro) accuracy over eight math benchmarks (MATH500, OlympiadBench, MinervaMath, Gaokao2023MathEn greedy pass@1; AIME24/25, AMC23/24 mean@16), up to +2.58 pp (30.39→32.97). In periodic-refresh stability tests across 1.7B/4B/8B/32B, PG and CISPO collapse at larger sizes (1.7B CISPO improves then falls sharply; 8B/32B large declines), while Proximal KL sustains gains at all sizes — e.g. 8B reaches 50% EMA training accuracy in ~200 updates vs ~640 for GRPO. Ablations: token-wise correction outperforms sequence-level IS (geometric-mean ratio) and unweighted controls; future-KL feedback is less sensitive than PPO clipping to group-baseline perturbations; bounding each token's KL cost is required to avoid gradient excursions; a finite Future-KL horizon can beat the full tail (variance reduction, bias-variance tradeoff).
- Paper
TeleTune: Evolving Agent Skills From Offline Telemetry
TeleTune learns a readable textual skill library from offline user telemetry — frozen activity logs with no recorded goals, no replayability, and possibly interleaved tasks — with no live-environment access during optimization. The object of learning is a prompt-inserted document of workflows (ordered cross-instance procedures with placeholders) and skills (rules resolving single decisions). The metric is skill-guided progress: teacher-forced next-action prediction accuracy on logged trajectories, conditioned on a goal inferred from the recorded actions. An optimizer reflects on the first prediction error per train-split trajectory, proposes add/replace/remove edits, and keeps the candidate only if skill-guided progress improves on a held-out dev split (two stages: workflows first, then skills). At test time, learned workflows also drive workflow-based retrieval of complementary demonstrations covering the new task's subgoals. On WorkArena with GPT-5.4, TeleTune reaches 77.1% average success (+6.7 over the strongest baseline; L1 80.3%→92.3%) and on Online-Mind2Web 80.6% (+7.7; largest gain on hard tasks). Gains transfer across backbones (Qwen3.6 +11.9 on L1) but shrink to parity on Mistral-3.5. Under controlled task-interleaving perturbation, TeleTune holds 68.5% at the heaviest level (+6.3 over strongest baseline) while AWM collapses to near-no-trajectory performance. Optimizing on fixed logs costs 5–75× fewer tokens than validating the same candidates with live episodes; the live success rate rises 74.1%→92.3% in lockstep with skill-guided progress, making it a usable offline proxy for skill updates. Test-time cost is prompt length: the library is re-sent every step (~201K extra input tokens per L1 episode). Limitations: needs a pool of successful trajectories; only scoreable actions count; test-time token overhead real; Mistral-3.5 shows no gain; L2 compositional tasks benefit less.
- Paper
Enriching Domain-Specific Post-Training with Multi-Teacher On-Policy Distillation
Applied Compute introduces Spork, a post-training recipe combining GRPO with multi-teacher on-policy distillation for domain-specific tasks with low base pass rates. Classic MOPD: train specialists from a shared checkpoint (SFT on expert traces then GRPO/PPO on domain environments), then distill them into one student initialized from the shared checkpoint by supervising the student on its own rollouts against the responsible specialist (top-k logits, reverse KL). Spork modifies the recipe for single domains: partition the task dataset into N disjoint partitions via LLM judge (GPT-5.6-Sol), run a short GRPO warmup on the full dataset (8 prompts × 8 rollouts, 40 steps, high LR, no SFT), train specialists from the warmed checkpoint on each partition, then distill into a student initialized from the base. On 8K Lichess multi-step chess puzzles (Qwen3.5-9B, 400 eval tasks, 4 seeds): naive MOPD without warmup scores 24% vs 25% for GRPO; Spork reaches 45% pass@1 (80% above the best GRPO checkpoint) and 52% higher mean reward; a second round reaches 50.9% (~2× GRPO). On DAPO-MATH (2K samples, Qwen3-4B): +20% Pass@4 over GRPO. Most of the gain comes from just N=2 specialists (nearly matching N=4); N=1 gives no improvement, and N=8's stronger teachers don't improve the student — consolidation is the bottleneck. Semantic partitions strongly beat random ones; random partitions still beat GRPO. Surprisingly, the distilled student matches or beats its own teachers on every partition, in contrast to frontier MOPD runs (DeepSeek, Kimi, Nemotron, GLM) where the student is worse than each teacher — attributed to complementarity between partitions and regularization of overfit teachers. Repeating works best without a second warmup. Compute: each distillation step costs 1.25× a GRPO step (plus teacher scoring); per-expert sub-steps stream teachers through one GPU slot to avoid keeping all N resident.
- Paper
Efficient Reasoning with Flow Language Models
Flow Language Models (FLMs) are continuous-state diffusion LMs trained by conditional flow matching: they interpolate Gaussian noise to one-hot clean targets, train a clean-token cross-entropy objective, and at inference Euler-integrate the learned ODE over N denoising steps, discretizing to tokens only at the very end. Discrete diffusion baselines pass a single categorical value per position between steps, discarding alternative-token probability mass. The paper's theory: the FLM state is exactly a temporal superposition of candidate-sequence vertices, so historical support for non-top-1 candidates persists; that retained support can change prediction margins even within a fixed hard state (a margin span of Δ implies worst-case reproduction error ≥ |Δ|/2 for hard-state-only readouts); and decoder-risk bounds show the continuous state can strictly lower prediction risk vs the hard projection. Empirically, on Maze10/15/20 at 4 denoising steps with matched model sizes, FLM beats the best discrete baseline by +1.2/+18.0/+21.2 percentage points of exact sequence accuracy (99.5/99.1/91.3), with FLM already at 95.9% on Maze15 in a single step; FLM stays ahead of MDLM across three model sizes and 1–512 steps and reaches the 95% target on Maze15 with 36.5% fewer parameters (88.25M vs 139.00M). On Sudoku-Extreme (86.88M), FLM leads at 1–2 steps (21.0%/36.7% vs 19.2%/36.2%) but enhanced discrete samplers overtake from 16 steps onward; the 1-step edge transfers zero-shot to Standard Sudoku (29.5% vs 27.1%). Mechanism evidence: at t=0.80, 23.8% of cells in the accumulated state retain a second candidate ≥0.05 (vs 4.9% in the instantaneous prediction), and interventions removing non-top-1 information degrade recovery (Natural ≥ Top-2 > Top-1), so the retained alternatives are actually used — this is the error-preemption effect where alternative digits fade across steps and let FLMs correct initial mistakes. Wall-clock: FLM is fastest at N=1 on all tasks (0.151s vs 0.303s MDLM on Maze20), comparable at N=64.
- Paper
Mamba-3: Improved Sequence Modeling using State Space Principles
Mamba-3 is the inference-first redesign of Mamba-2, derived from the continuous-time SSM viewpoint, with three core changes. (1) Exponential-trapezoidal discretization — a second-order scheme replacing the exponential-Euler discretization implicit in Mamba-1/2, giving a more expressive recurrence. (2) Complex-valued state updates — the state transition gains data-dependent rotations (equivalent in effect to data-dependent RoPE), which unlock state-tracking capability that real-valued linear models lack, including solving parity-style tasks Mamba-2 fails. (3) A multi-input multi-output (MIMO) formulation that raises arithmetic intensity during decoding — more model quality at essentially the same decode latency, addressing the hardware inefficiency of SISO decoding. At 1.5B scale, Mamba-3 improves average downstream accuracy by +0.6 points over the next-best sub-quadratic baseline (Gated DeltaNet), with the MIMO variant adding a further +1.2 points (+1.8 total over Gated DeltaNet, +1.9 over Mamba-2 per secondary summaries), and it matches Mamba-2 perplexity at half the state size.
- Paper
nanoswe: Speedrunning SWE-bench — a 2.8B agent trained from scratch for ~$1,000 reaches 25.5% on SWE-bench Verified
nanoswe is a community speedrun of SWE-bench Verified, forked from Karpathy's nanochat: how good a coding agent can ~$1,000 of train compute buy when the model is trained from random initialization on agentic SWE trajectories, with SWE-bench's 12 source repositories strictly held out (the 1.59M-trajectory corpus was audited and 4,516 violating rows purged)? Budgets are denominated in B200-hours at $5/h ($60 track = 12 h; $1000 track = 192 h). The August 2026 scaling sweep found solve rate roughly log-linear in train compute: a ~$10 run already scores 0.53% pass@1, the $60 run (1.38B) reaches 5.0% — the level of Claude 2 at SWE-bench's release — and the $1000 run (5.67B) reaches 11.0%. Two findings complicate the distillation story. First, a stronger teacher can be a worse teacher: replacing Qwen-Coder-30B-A3B trajectories (teacher at 29% pass@1) with Qwen 3.6 35B A3B trajectories (58%) dropped the $60 student from 5.0% to 2.1%, because the stronger teacher's test-first workflow leaves the weak student stuck writing reproduction tests (no patch in 74% of attempts vs 8%). Second, trajectory-only training buys code and little else: the speedruns generalize to synthetic bugs that exist nowhere online and to bugs from real 2026 pull requests, but MMLU and GSM8K do not improve with speedrun compute even after elicitation fine-tuning, while a differential-item-functioning analysis against SmolLM3-3B fine-tunes finds no detectable problem-coverage blind spots from skipping web pretraining — at matched ability the cohorts solve essentially the same problems. The current $1000-track record (Oct 2026) shrinks the model to 2.82B and adds a short web warmup: 6.7B FineWeb-Edu tokens, then 37.8B tokens of SWE-smith trajectories from a Nemotron teacher, reaching 25.47% pass@1 (pass@5 41.4%) on the project's 483-instance cluster-runnable subset of Verified — above the originally reported scores of Claude 3 Opus (15.8%) and GPT-4o (23.2%), under a different scaffold.
- 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
Switching Linear Attention
Switching Linear Attention (SwiLA) is a sequence layer from Stanford (Lee, Gonzalez, Zucchet, Buchanan, Fox, Linderman) that tries to close linear attention's expressivity gap while keeping its fixed-size recurrent state (no growing KV cache). Derived in the test-time regression framework, the state is a mixture of J linear regressors (state O(JD²)) fitted online by expectation–maximization: posterior responsibilities computed from each component's prediction error plus a learned gating prior weight a delta-rule update per component. Because each output dimension selects its component independently, the layer realizes J^D piecewise-linear maps and its recurrence is nonlinear in the state — unlike Mixture-of-Memories, whose router is state-independent. Variants add temporal persistence in the assignment prior (Temporal SwiLA) and input-dependent gating (Gated SwiLA). At 374M parameters pretrained on 15B FineWeb-Edu tokens with state size matched across recurrent baselines, Gated SwiLA variants average 45.4 on a commonsense suite vs 45.3 for Transformer++ and 43.7 for DeltaNet (KDA leads the linear family at 46.6); on six recall-intensive tasks Gated Temporal SwiLA's 20.6 is the best pure-recurrent average (DeltaNet 17.3) though softmax models still lead (FoX 33.7), and Hybrid Temporal SwiLA (3:1 recurrent:softmax interleave) reaches 31.8, beating Hybrid GDN (29.5) and Transformer++. Profiled at 1.3B, SwiLA gets 4–5× the Transformer's end-to-end inference throughput (batch-size effect of having no KV cache) but trains ~2× slower than Gated DeltaNet with a sequential Triton kernel; a chunkwise parallel Newton training algorithm is derived but not yet implemented. Ablations (115M): temporal persistence helps consistently, load balancing prevents expert collapse in vanilla SwiLA, and more experts (4→16) slightly hurt at fixed state budget.
- 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
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
Eigent AI: $12M ARR building RL environments for frontier labs (30+ environment catalog)
Guohao Li (Founder @Eigent_AI / @CamelAIOrg) announced on 2026-10-09 that Eigent AI has crossed $12M in annualized revenue from building RL environments for frontier labs. Trajectory: open-sourcing RL environments in 2024 (via CAMEL-AI, e.g. SETA: Scaling Environments for Terminal Agents, github.com/camel-ai/seta) to the first frontier-lab contract in January 2026, then 30+ types of RL environments spanning machine learning, coding, knowledge work, science, computer and browser use, tool use, and multimodality. The announcement image is the company's 'Agent RL Environments' catalog listing 30 numbered environment types: ML Engineering GPU/CPU, Automate Post Training, Terminal Coding, Scientific Workflow, Software Engineering, DevOps Setup, Long-Horizon Artifact Generation, CRM/E-commerce Browser Automation, Long-Horizon MCP Task, Multi-modal Reasoning Data/Agentic Task, Video to Frontend Code, Cross-Platform GUI Automation, Agent Harness Supervised Finetuning Traces, Verifiable Long-CoT Reasoning, Multi-turn MCP Tool Calling, NL-to-Frontend Engineering, Cowork Task, OS/Android App Task, GDPVal, Long-Horizon Terminal & MCP, Vision-to-Web Engineering, CAD Generation & Understanding, Website Design Engineering, Tau3 Banking, AutomationBench, AA-Briefcase, Computer Use (contact gym@eigent.ai). Company background: Eigent AI is the open-source (Apache, local-first) 'Cowork' desktop agent platform built on the CAMEL-AI framework (35K+ GitHub stars); after Anthropic's Cowork announcement it went fully open source and hit #1 on GitHub Trending.
- 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
Harness Engineering for Software Engineering via Modular Executable Dev-Primitives (HERMES)
Introduces Dev-Primitives: a modular, executable abstraction that pairs each repository component (artifact) with a resident LLM, giving the artifact an agent-native interface grounded in its own implementation and dependencies — enabling natural-language reasoning, inter-component communication, and localized self-modification. This addresses the brittleness of LLM+terminal agents on long-horizon workflows: repeatedly reconstructing program state scattered across files, configs, tests, dependencies, and runtime behavior causes context explosion and semantic drift. Built on Dev-Primitives, HERMES instantiates them at repository scale through (1) a dependency-aware dynamic activation mechanism that decides which component primitives to activate, and (2) a bug-diagnosis mechanism that maps execution evidence (test failures) back to the components that must be revised. On whole-repository migration (SWE Refactor Bench, all 20 tasks): with GPT-5.6 Sol, the composite score rises from 6.5% under Codex to 31.0% under HERMES at medium effort (+24.5 points) and from 19.0% to 36.5% at high effort (+17.5), same model and effort setting — the gain comes from the harness. Across four software engineering benchmarks (SWE-bench Verified, SWE Refactor Bench, Terminal-Bench 4.0, DevOps-Gym), HERMES beats matched baseline harnesses (mini-SWE-agent, Claude Code, Codex) by 12.4 percentage points on average; gains are largest where the baseline leaves room for coordination (up to +19.4 points for GPT-5 Mini on SWE-bench Verified). With strong activation and diagnosis models, HERMES using Qwen3-8B Dev-Primitives stays within 4.5 points of the homogeneous GPT-5.6 Sol configuration across all four benchmarks while cutting Terminal-Bench 4.0 inference cost by 26.2%.