Explore the research collection
290 entries · showing 49–72 · 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
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
Generative Representation Learning for Scalable Latent Tokenization
Introduces Relative Prediction Representations (RePR), a theoretically grounded self-supervised objective for learning representations as generative-model tokenizers. Factorizes the pointwise mutual information between masked image views directly (estimated via a conditional generative model's diffusion ELBO), inheriting contrastive learning's theory without negative samples. Practical components: scale-weighted PMI (timestep weighting toward noise-robust information; plain PMI weighting collapses), bootstrapped incremental PMI estimation that telescopes to the full PMI, a MAR prediction model (MAE encoder/decoder + diffusion MLP head), and iterative feature prediction across training cycles. Robust to feature suppression where LeJEPA and DINOv3 collapse (watermarked ImageNet probe). Establishes tokenizer-encoder scaling laws over ~2 orders of compute on ImageNet and the GPIC text-to-image dataset; extrapolating the trend (not measured end-to-end) predicts DINOv2-equivalent quality at ~1/7 the training FLOPs on ImageNet and WebSSL-equivalent at ~1/8 on GPIC. With Latent Forcing, RePR-78M + JiT-L reaches FID-50K 2.18 at 3.49×10²⁰ total FLOPs vs 2.36 for pixel-space JiT-L at 3.57×10²⁰ — the authors' first demonstration that representation learning + generation beats direct pixel diffusion at matched total FLOPs. Caveats: 7×/8× figures are extrapolations; ImageNet width-1024 model overfits past 200 epochs; code released 2026-10-25 (verified — training code live at github.com/AlanBaade/repr).
- 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
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
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
Learning What to Investigate Next: Meta-Reasoning for Long-Horizon Research Agents
Long-horizon research agents must decide both how to investigate and what to investigate next, but allocation decisions are sparse in long traces and their consequences emerge several investigations later. MIRA (Meta-reasoning for Iterative Research Agents) makes those decisions explicit: an outer-loop meta-reasoner curates context from a persistent Git-based research record and writes a work order (objective, proposed approach, success criteria) or ends the episode; a fresh inner-loop executor carries out each work order, so every investigation — however long — is one meta-reasoning transition. The decision boundaries also give natural credit-assignment units: a generative critic forecasts expected remaining return from the curated observation using the LM's native next-token distribution, and MIRA-AC jointly trains actor and critic in one model, propagating a single decision-level advantage to the tokens of the decision response while masking the longer executor trace, using buffered single-rollout async optimization. Without policy training, MIRA raises GPT-5.5's IMOProofBench Advanced score 67.1% → 100% (all 30 problems in each of 3 trials) and achieves the lowest proxy and gold loss in matched 24h/48h neural-architecture hill-climbing campaigns (per-cell residual-write gates on RMT; signed attention + leaky recurrent update on Loop Transformer), revisiting proof directions more often than baselines (strategic inertia 0.772 vs 0.958 direct). The generative decision-level critic beats token-level alternatives by 0.110 RMSE, and cross-environment LOO pretraining improves forecasting and adaptation (−0.053 RMSE after 5 target episodes). Trained on the model's own proxy hill-climbing signals, MIRA-AC improves gold performance across four autoresearch environments (symbolic regression, physics discovery, HillClimbBench-CPU, BNLearn causal discovery), with the cross-environment policy transferring to BNLearn held out from actor training; only 25.8% of output tokens (the decision responses) receive actor loss.
- 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
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
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
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
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
One Model to Loop Them All: Elastic Latent Recurrence for Language Models
Looped language models apply a shared block of layers repeatedly, so one checkpoint can trade inference compute for accuracy by changing the loop count — but existing elastic-depth models (Huginn, Ouro, Parcae) pay a "one-loop tax": at one loop they fall well short of a non-recurrent model of the same size, so a separate non-recurrent model remains the better choice whenever latency matters. Elastic Latent Recurrence (ELR) is NVIDIA's recipe for removing the tax, built on three choices. (1) An adaptive-delta state update: instead of replacing the recurrent state with the block's output, the state takes a gated step along the proposed change with a learned per-token, per-channel step size — the only update rule ablated that matches the baseline at one loop. (2) Loop counts mixed within each optimizer update via one-loop rank overrides (a rotating fraction of data-parallel ranks always runs one loop, keeping p₁≈⅓), which places one-loop and deeper gradients in the same update; uniform or globally reweighted sampling without overrides does not preserve the one-loop endpoint. (3) Loop-conditioned modulation: each pass is conditioned on its progress (i/k) and budget (k/K) through AdaLN/FiLM-style modulation, zero-initialized and grafted when mixed-depth training begins so the model starts as exactly the one-loop checkpoint; it lowers loss at every additional loop. Supporting tricks: delayed mixed-depth training (one loop for the first 75% of pretraining) costs ~1.16× baseline training compute and, with grafted conditioning, beats mixed-depth training from scratch; cross-loop route replay (reusing first-loop MoE expert routes on later loops) cuts mixed-depth update time 11.7% with no measurable accuracy change; last-loop KV caching keeps one attention cache overwritten per loop, holding KV memory at the one-loop level with 0–3-point per-benchmark cost. On Nemotron-3-style hybrid backbones (52 layers: 23 Gated DeltaProduct + 6 attention + 23 feed-forward, middle 24 looped), ELR at one loop scores −0.52 (4B dense, 1T tokens) and +1.04 (30B-A3B MoE, 300B tokens) versus matched non-recurrent baselines on a ten-task average, and four loops add +7.25 and +4.75 points, with the second loop capturing ~80–87% of the gain. Carried through 7T-token pretraining, 256K-context mid-training, SFT, and RLVR, the recipe yields Koi-4B, a single checkpoint scoring an estimated 18 on the Artificial Analysis Intelligence Index at one loop (on par with Qwen3.5-4B) and 29 at four loops, with higher-loop rollouts also producing ~33% fewer output tokens.
- 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
OrukLabs looped speech model: 2.04B → 153M via weight-shared looping (24x encoder, 28x decoder)
OrukLabs (CEO Nathan Roll, Stanford PhD student) announced a looped speech model trading parameters for compute via weight-shared recurrence: 52 layers collapse to 2 shared blocks — the encoder loops one block 24 times, the decoder loops the other 28 times — cutting parameters from 2.04B to 153M (~13.3x) at "roughly the same compute." Oruk's product is a speech-understanding API (transcription plus vocal-delivery/emotion labels) built on an encoder-decoder design (the emotion-only path runs the encoder plus an affect head without invoking the transcription decoder). No quality numbers (WER, emotion accuracy) were published with the announcement — evidence is a ~20s demo video and the founder's first-party claims, so parity with the 2.04B baseline is unconfirmed; no evals, code, or weights announced. Company context: OrukLabs (oruk.ai) also ships Orukeet, an open 25-language ASR model (Parakeet-based, fitted Gabor filters; 10.6% relative WER reduction on FLEURS), and Resonance/Resonance 2 emotion models (77.8% 7-class emotion accuracy, 56.2 MUStARD sarcasm F1 per their evals page). Third looped/weight-shared architecture item in one day alongside "Towards Looped Models Done Right, Part II" (2610.06833, fixed-point shaping) and "The Surprising Effectiveness of Shared Memory in Looped Transformers" (2610.02383, shared KV cache) — a convergence on looping as the parameter-efficiency play.
- 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.