Explore the research collection
355 entries · showing 73–96 · Follow this search
- Paper
Scaling Discovery Requires Forgetting
LLM-agent discovery plateaus because agents accumulate history: each agent becomes anchored to its own past attempts, making fewer and smaller edits, so more budget buys little. The paper's fix is forgetting: periodically discard every agent's session (messages, tool calls, errors) and the entire candidate history, keep only the highest-scoring artifact, and restart all agents from it with empty context. On a team of four agents with result-sharing (3 forgets → 4 budget-equal rounds), this Periodic Amnesia Search yields up to 15% over independent parallel agents and 39% over a single agent at matched token cost. Measured mechanism: edit distance between successive code artifacts decays exponentially as context grows and diff token entropy collapses — the model mimics recent turns instead of sampling its prior; before the first reset median edits shrink ~150→30 lines and thinking tokens ~28k→7k, and after forgetting agents resume larger edits and more reasoning tokens per proposal. Evaluated on four discovery tasks (AHC014 heuristic programming, a Frontier-CS optimization problem, Anthropic's kernel challenge on a simulated VLIW SIMD machine, a five-minute nanochat LM training run), all with the Pi agent + DeepSeek V4.1 Flash ($20 budget/replicate), 3 replicates each; Frontier-CS Q171 breaks the plateau pattern (parallel agents keep improving) yet the forgetting team still finishes 15% higher; on AHC014 the forgetting team reached mean best score 1,103K vs 964K parallel vs 795K single (best-replicate trajectories 1,144,695 / 1,007,073 / 961,136 — not the means). Stalled runs that forgot gained 4.5–9.2% over the next 30 proposals vs <2% for continuing runs at up to 2× cost (equal-proposal comparison, not equal-dollar/equal-time; AHC014 team-of-4 panel: 9.2% ± 6.9% at $15.32 vs 1.4% ± 1.3% at $24.67). Caveats: the anchoring explanation isn't isolated (session + candidate history cleared together), "when and what to forget" is left for future work, and generality beyond the four tasks isn't established.
- 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
Train for Many, Update with One: Improving Multi-Sample Reasoning via Fenchel–Bregman Posterior Learning
Multi-sample reasoning succeeds when at least one of K candidates is correct, but minimizing average per-attempt loss doesn't optimize that. Finite-K posterior learning trains a distribution q_φ(θ) over solver parameters to minimize the all-fail probability E_x[F̄_φ(x)^K] + KL regularization, with per-problem gradient weight λ*_x = K·F̄_φ(x)^{K−1} up-weighting problems other candidates are unlikely to solve. An exact Fenchel reformulation of r^K separates problem weights from the posterior update so one draw per update suffices (vs K for the direct Monte Carlo estimator), and closed-form Bregman tracking updates weights via an exponential running average of observed failures reusing the same draw. Instantiated with IVON (diagonal Gaussian) → FBI. On recursive benchmarks (TRM backbone, 3-seed means): Sudoku-Extreme 99.55 Pass@10, Maze-Hard 91.30 Pass@10 (vs W-PTRM 89.80), ARC-AGI-1 Pass@100 64.25, ARC-AGI-2 12.78 — highest or tied in every metric. Matched vs Direct-10 on Maze-Hard: Pass@10 91.3% vs 91.0% at one draw per update, using 12.3% of measured training time (0.0692s vs 0.5614s), 10.4% of FLOPs, 0.611 vs 3.707 GB peak memory. FBI recovers exact solutions in 32.5% of first-candidate failures (Direct-10 27.2%) with lower repeated-output rate. On Qwen3-4B-Base trained on MATH7.5K (K_train=8): mean Pass@8 60.44% across MATH500/OlymMATH/AMC23/AIME24/AIME25 vs DMPO 59.60, GRPO 56.82 — best average, best on AMC23/AIME25; at K=1 it trails DMPO (40.22% vs 43.01%), consistent with optimizing coverage not single-shot accuracy. Matched K_train=K gives the highest Pass@K at each budget. Caveats: surrogate mismatch/noise/posterior drift may weaken failure tracking; a selector gap remains (correct candidates not always selected); code license unconfirmed (no LICENSE file in repo). AI-use statement present. Project page https://sungjun98.github.io/projects/fbi/; code github.com/team-approx-bayes/Fenchel-Bregman.
- 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
Understanding and Enhancing Backdoor Persistency in LLM Agent Post-Training
Supply-chain threat for LLM agents built from third-party models via benign post-training: a backdoored model (comment trigger `# |TEST MODE|` → credential-exfiltrating tool command) is adapted through the developer's SFT and task-level RL. On SWE-agent coding models (Qwen2.5-Coder 3B/7B, Qwen3-Coder-30B), benign SFT (3,000 updates) cuts attack success from 100% to 8%/20%/7%, but subsequent GRPO (150 steps) preserves the residual in every setting and increases it in some (30B first-position 6%→12%). Analysis attributes SFT survival to two factors: backdoor strength and gradient compatibility with benign updates. PersistBD refines the backdoored model pre-release with a single merged LoRA adapter optimizing a joint objective (backdoor strength + compatibility surrogate from disjoint benign data + benign anchor), flipping compatibility from negative to positive at all scales: 7B post-SFT ASR 20%→74%, post-RL 20%→76%; 3B 8%→21% / 7%→22%; 30B 7%→37% / 8%→36% — while keeping benign SWE-bench Lite resolved rates comparable to the base backdoor (7B: 23/300 vs 20/300 after SFT, 27/300 both after RL). Ablations show both strength and compatibility terms are necessary; dropping them produces unselective backdoors (false-trigger rate 0.87–0.99) that erase within one benign epoch. Conclusion: backdoors survive benign SFT–RL pipelines and adversaries can deliberately harden them; motivates inherited-backdoor detection and mitigation. Limitations: SWE tasks and one scaffold only; fixed attack target; attacker knows the domain/scaffold; results depend on the evaluated training procedures and budgets.
- 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
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
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
Real Long-Term Memory for AI: A 50-Million-Token Window That Is Faster and Cheaper Than Recompute
Corbenic AI's Sietse Schelpe reports a serving-side "long-term memory" layer for frozen LLMs: the public package galahad-kv, loaded into vLLM 0.31.0 via a KV-transfer plug-in, writes each ~16,000-token block's KV state to encrypted local NVMe (MRLNCRY1 format, AES-256-GCM) on first processing and later restores it byte-exact with zero recompute; only one block is ever resident, so GPU memory stays flat. On 50,000,000 tokens of real public text (3,125 blocks; WildChat/code/arXiv/FineWeb-Edu mix, mutated against pretraining contamination) served on a single NVIDIA H100: all 100 probed blocks restored from the encrypted store with no recompute at every depth from 0 to ~49.5M tokens, on both Gemma 4 12B (bf16) and Gemma 4 31B (FP8). A restore is 2.8×/4.3× faster than recomputing the same block (0.266s vs 0.760s; 0.347s vs 1.475s) and uses 8.8×/12.3× less GPU energy, with restore latency depth-independent. On facts planted millions of tokens earlier (with same-format decoys), the 12B model answered 82/100 and the 31B 98/100, with zero hallucinations and zero fabrications on 20 negative controls. Store: 1.86 TB (12B, 36.4 KiB/token) and 6.25 TB (31B FP8, 134 KiB/token) — the small footprint leans partly on Gemma 4's mostly sliding-window attention, which the paper notes it benefits from rather than introduces. The evaluation follows a cheat-resistant protocol (blind ingest, per-block needles, decoys, encrypted-store audit, separate engine-vs-model metrics). Limitations are explicit: this is KV reuse at any depth, not a wider attention window — one block is resident and restored on demand, never attended jointly; there is no learned retrieval; writing is a one-time cost measured at 20,839/10,700 tok/s deposit throughput; the store must be local NVMe.
- 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.
- 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
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
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
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
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
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
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.