Explore the research collection
192 entries · showing 49–72 · Follow this search
- Paper
Sentry: Learning to Recover from LLM Agent Failures at Test Time
Test-time framework for recovering LLM agents from failures, from Stanford's ACE (Agentic Context Engineering) team. Core finding: failure knowledge is conditional — how it reaches the agent matters as much as what it contains. Failure lessons kept in context misfire when their failure is absent: ACE-style memory that keeps past failure lessons in context for every task distracts the agent (e.g., on WebShop the agent found the right product then kept comparing alternatives and never acted); simply removing failure lessons improves ACE by +17% on WebShop and +14% on Mind2Web Replay. Conversely, runtime-intervention methods (AgentGuard) act only on failure but learn nothing — fixed rules can fire at the wrong time (a 'no progress' warning made the agent abandon correctly picked product options). Sentry combines both: it learns from experience like ACE, but keeps failure knowledge in a separate playbook outside the agent's main context; a failure detector watches for failures, retrieves failure-specific guidance (hard repair for invalid actions, soft repair with hints), and a verifier checks recovery without access to task rewards — the playbook is updated only if recovery succeeded. Results on WebShop, AppWorld, SWE-bench Lite, Mind2Web Replay: +37% over the best runtime-intervention baseline on average (up to +77% on WebShop), +39% over ACE; ACE+Sentry combined performs best overall, with task-level and failure-level learning as complementary. Learned lessons transfer to held-out tasks; controlled experiments confirm exposing the full playbook hurts even when relevant lessons remain available on demand. CC BY 4.0 license. Directly relevant to the user's agent app (memory design: storing knowledge is easy, deciding when the agent sees it is what matters) and to Launch Helm's intervention/control angle.
- Paper
Continual Graph Memory for Mathematical Research Agents
Ansatz, a mathematical research agent built around Continual Graph Memory — a graph-based, evolvable, cross-problem memory system for long-horizon proof search. Motivation: solving frontier math problems may need massive parallel agents running for long periods, generating enormous volumes of intermediate proof results that must be organized and reused. Components: a unified graph memory representing all intermediate exploration results (facts, plans, counterexamples) with edges for their relationships; dependency-aware retrieval for targeted local context; an evidence-sensitive curator that updates the research frontier and distills lessons from prior attempts; scoped recall that surfaces earlier statements and negative findings for local re-proving rather than uncritical reuse. Experiments across all ten 'First Proof Second Batch' research tasks plus four component studies: Ansatz reports closure on all ten tasks and sustains/resumes long-horizon mathematical search. Beyond that, it autonomously solved the Jamison caterpillar conjecture and Erdos Problems 289, 348, and 488 with no human intervention, and made partial progress on several other open problems.
- Paper
Attribution-Guided and Coverage-Maximized Pruning for Structural MoE Compression (MoE-Slimming)
Structural pruning framework for MoE LLMs built on the observation that MoE expert information is concentrated in a small fraction of channels — expert-level importance is too coarse to capture internal redundancy, and even 'high-importance' experts may not need large capacity. Three components: (1) Attribution-guided Loss Approximation (ALA) estimates expert importance layerwise via first-order Taylor approximations over calibration data, without exhaustive ablation (20x fewer GPU hours); (2) Coverage-maximized Budget Allocation (CBA) reformulates prune-ratio allocation as channel-score coverage maximization under a global budget, retaining high-contribution channels and pruning low-score tails; (3) Alignment-Aware Redistribution (AAR) adjusts dimensions to satisfy low-bit kernel constraints for quantized storage and efficient inference. On DeepSeek and Qwen MoEs, retains accuracy under 50% or 25% structured pruning jointly with 4-bit quantization: Qwen3-30B-A3B memory footprint reduced 5.27x, at most 1% average accuracy drop on general knowledge, 94.5 on MATH500, and outperforming SOTA baselines across diverse benchmarks. Pipeline: score -> mask generation + LoRA fine-tuning (fake pruning during training, masks anneal) -> physical slimming into a smaller dense checkpoint + lm-eval-harness benchmarks.
- Paper
Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Experts
Diagnoses why looped MoE benefits fade after ~2 loops (extra FLOPs yield little): (1) the curse of depth is inherited and amplified — hidden-state variance grows each iteration as residual updates accumulate, destabilizing deep recurrence and drifting representations; (2) expert selection collapse — routers repeatedly select the same experts across loops, so iterations add compute without computational diversity. LOOM is built on one principle: each loop should contribute new computation while keeping the recurrent state stable. It stabilizes recurrence by scaling residual updates to bound variance growth and re-injecting the input embedding at every loop, and diversifies it through per-loop routers that engage different experts plus a Looping Residual carrying earlier outputs forward. Stable scaling to 9-12 loops across 100M-1.7B models. Near-iso-FLOP: the 700M model peaks at 5 loops, perplexity 18.36 -> 16.54, avg zero-shot 38.84% -> 39.53% over the non-looped baseline. Without FLOP matching: 1.7B model trained on 60B tokens peaks at 9 loops, perplexity 9.62 -> 7.77, avg zero-shot 42.4% -> 47.7%.
- Paper
A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training
Unifies the two emergent outlier phenomena in LLMs — attention sinks (a few tokens receiving large attention logits) and residual sinks (fixed dimensions with persistently large activations) — under 'outlier-driven rescaling': the outliers work jointly with normalization (softmax attention, RMSNorm) to rescale non-outlier components, and this mechanism is validated across architectures and training token counts. Main conclusions: (1) outliers function jointly with normalization — removing normalization eliminates the outliers but degrades training stability and performance; clipping outliers while keeping normalization also degrades, so outlier-driven rescaling contributes to training stability; (2) outliers act as rescale factors, not contributors — their post-norm contributions are far smaller than non-outliers'; (3) outliers can be absorbed into learnable parameters or replaced by explicit gated rescaling (GatedNorm), improving training performance by an average of 2 points and drastically improving quantization robustness (only 1.2 points degradation under W4A4). Since outliers' post-norm contribution is tiny, relying on them is what makes LLM quantization a nightmare (huge dynamic ranges).
- Paper
Attention Residuals
Replaces standard PreNorm residual accumulation (fixed unit weights over all layer outputs, which causes uncontrolled hidden-state growth with depth and dilutes each layer's contribution) with Attention Residuals (AttnRes): each layer selectively aggregates earlier representations via learned, input-dependent softmax attention over preceding layer outputs. Block AttnRes makes this practical at scale: partitions layers into blocks and attends over block-level representations, cutting memory from O(Ld) to O(Nd) while preserving most gains; cache-based pipeline communication and a two-phase computation strategy make it a drop-in replacement for standard residuals with minimal overhead. Scaling-law experiments show consistent improvement across sizes; ablations validate content-dependent depth-wise selection. Integrated into the Kimi Linear architecture (48B total / 3B activated) pre-trained on 1.4T tokens, AttnRes yields more uniform output magnitudes and gradient distribution across depth and improves downstream performance on all evaluated tasks (reasoning, math, coding).
- Paper
Native Hybrid Attention for Efficient Sequence Modeling
Native Hybrid Attention (NHA) unifies linear and full attention into a single softmax operation within one uniform layer design. Long-term history is compressed into fixed-size key-value memory slots updated by a linear RNN; short-term context comes from exact sliding-window tokens; one softmax over all keys and values learns per-token, per-head balancing dynamically with no extra fusion parameters. A single hyperparameter — the sliding window size — shifts each layer smoothly between pure linear attention (w=0), intra-layer hybrid, and full attention (w=N), with no structural changes; all layers share the same architecture. NHA beats Transformers and other hybrid baselines on recall-intensive and commonsense reasoning tasks, and pretrained LLMs (Llama-3, Qwen) can be structurally hybridized with NHA via lightweight finetuning (e.g., NHA-Qwen2.5-7B / NHA-Llama-3-8B trained on 10B tokens, NHA-Qwen3-30BA3B) to match accuracy with drastically lower GPU memory and inference latency.
- Paper
Looped Diffusion Transformer
Looped-DiT: instead of scaling text-to-image models by size or denoising steps, it repeatedly runs shared Transformer blocks within each denoising step, increasing computational depth with fixed parameters (17 unique MMDiT blocks split 6/5/6; the 5 middle blocks shared over 4 loops = 32 effective block applications per step at ~260M params). Naive looping fails (weak supervision across intermediate loops, unregulated attention updates erode local information); two fixes: deep supervision across intermediate loops + self-modulating attention to stabilize looped feature updates. A 260M-parameter looped model beats a 6.5x larger model across text-to-image benchmarks at 4.9x lower inference compute. Increasing loop depth yields larger gains than adding denoising steps under a fixed inference budget, and deeper loops progressively correct mistakes from earlier loops — behavior suggestive of latent reasoning. Related catalog entry: 523 'Looped Diffusion Language Models' (LoopMDM, a different paper — that one is masked-diffusion LMs; Looped-DiT is text-to-image generation).
- Paper
Write Back the Δ: Revisiting the Same Tokens with Fresh Representations
Inference-time feedback that recycles endogenously produced computation: feeding a Transformer's full deep state back into shallow layers saturates fast (deep states are collinear copies of early residuals), but routing the depth increment Δ = z_deep − z_shallow isolates the newly accumulated computation and scales cleanly up to 6 edges. ReFlux frames depth feedback as a learnable directed-acyclic graph over layer pairs, with a tiny 2.2M-param router MLP predicting sparse gates and amplitudes over a frozen backbone — beating a 2.9M rank-8 LoRA adapter on C4 perplexity. Post-write norm projection avoids 'norm shock' on Pre-LN models like Qwen 3 (flipped Qwen3-4B from negative to +6.15% gain). Two execution flavors: sync (2 passes, 1.9x latency) and streaming (single pass, injects cached Δ(t−1) into token t — 0 extra backbone FLOPs, same KV cache, 1.02–1.08x decode latency, >80% of sync gains). Streaming serializes prefill (510x slowdown on 1,107-token prompts), so serving needs parallel prefill. Downstream: +2.1–2.3 accuracy points overall, +4.7 on multi-hop reasoning (2WikiMultiHopQA 24.6→29.7, HotpotQA 42.3→47.0); with CoT on GSM8K hits 92.0 while cutting output length 31% (1,002→691 tokens). Gemma3-4B C4 PPL 23.69→21.85 (full state only 22.79). Relevant to the user's LLM training-run and agent-harness work; related cluster: looped/recurrent models (670, 952).
- Paper
Let the Neurons Die: Exploiting ReLU-Induced Model Degradation
Turns the dying-ReLU failure mode into a training-time availability attack vector. ReLU units with persistently negative pre-activations output zeros and block gradient flow — three attacks exploit this: (1) dynamic data-ordering attack (DOA), which greedily builds a training prefix by selecting the next example that minimizes the target layer's post-update weight sum, pushing ReLU units toward negative pre-activations without modifying any samples or labels; (2)-(3) poisoning variants IG-DOA and IG-SKA, which use gradient inversion to synthesize class-conditioned samples by matching reference gradients in adverse model states constructed through data ordering or 'soft knockout' (rearranging weights across adjacent layers to concentrate negative contributions). On a fully-connected ReLU network on MNIST: ordering just 100 of 60,000 training examples drops test accuracy from 96% to 95% after five epochs; adding 200 poisoned samples from a single class drops it to ~86-88% vs ~96% clean. Demonstrates ReLU-targeted ordering and poisoning can impair learning without directly modifying the victim model's parameters.
- Paper
From Samples to Scenarios: A New Paradigm for Probabilistic Forecasting
Reframes probabilistic forecasting away from sampling: instead of drawing samples from a predictive distribution (which suffers probability absence, inadequate coverage, and high inference cost), the new paradigm emits a finite set of {Scenario, Probability} pairs directly — avoiding Monte Carlo-like approximation. The learning objective changes from modeling an entire continuous probability space to learning a set of plausible scenarios plus corresponding probabilities. Validation model TimePrism: a simple model of only three parallel linear layers, yet it achieves 9 of 10 state-of-the-art results across five benchmark datasets on two metrics. Core idea overlaps the current decision-model trend (generate futures in parallel, assign explicit probabilities, build for decision-making rather than text generation) — but was formalized a full year earlier. The post frames TimePrism's judgments ('keep this information?', 'which action next?', 'is the task complete?') as exactly the decision-oriented outputs now in vogue. Same family as the catalog's System One / JEV cluster: entries 1363 (TypeSafe AI System One/JEV), 1434 (CLM), 1541 (Gero-4B).
- Paper
Broken Symmetry in BF16 Attention: Why FlashAttention Gradients Blow Up Late in Training
Diagnoses a late-training blow-up training a 450M transformer on 50B tokens with FlashAttention-3 in BF16: healthy for 25B tokens, then gradient norm grows 1000x and loss ends 0.2 nats above FP32 attention — with no NaNs at all. Recomputing just two layers' attention backward in FP32 removes almost all excess gradient. Part of the cause is known (a fused multiply-add in the forward softmax, never fixed in FA3); repairing it stops the blow-up but leaves the query gradient wrong by more than its own size (219% median error). The deeper cause is a broken conservation law: the softmax score gradient dS sums to zero along every row, making dQ blind to where the keys sit as a group; rounding dS to BF16 leaves a small nonzero sum that leaks the mean key into dQ — and the leak grows exactly as late training makes keys large and attention sharp. Fix: GProj (gauge projection), which restores the zero row sum after the cast with two rank-one corrections per row — cuts median dQ/dK errors from 219%/13% to 0.34%/0.37% (FP32-attention level) for 4.7% more step time; in matched from-scratch runs it reaches the same loss as FP32 attention while FA3 and key smoothing destabilize. KohakuBlueleaf replied on the thread reporting the same class of precision bug in FA4/cuDNN/flex attention and their KohakuFA fix. If a BF16 run blows up late with no NaNs, check the attention backward. Directly relevant to the user's LLM training-run debugging work.
- Paper
RSI-Master: Structuring Experiments to Guide Autonomous Model Improvement
Recursive self-improvement via autonomous model development: agents iteratively explore post-training strategies to improve a base model. Two failure modes: hacking (agents exploit open-ended experimental actions) and strategy lock-in (over-refining an early direction instead of reconsidering it). RSI-Master counters both at two levels: an Experiment OS that regularizes step-wise actions and keeps persistent, traceable experimental records; and Reviewer-Guided Research Orchestration organizing Workers and Reviewers in a dynamically growing research DAG — Workers explore diverse directions, Reviewers compare evidence across related experiments to guide subsequent exploration. On PostTrainBench with Qwen3-4B-Base: 54.49 vs 46.53 for the strongest agent baseline with 0.0% hacking rate. At 35B scale: surpasses the human-developed instruct model on LiveCodeBench-v6 (41.21 vs 37.36) and SciCode, and reaches a nonzero score on HorizonMath (unsolved research problems where most frontier models score near zero). Directly relevant to the user's agent-harness and self-improving-model work.
- Paper
D-JEPA: A Decision-Aligned Latent World Model
Latent world models predict action consequences, but accurate prediction doesn't guarantee latent distance reflects which candidate will execute successfully — a decision-local prediction gap: among the few futures competing for execution, a candidate predicted closer to the goal can produce a worse realized outcome than an alternative. D-JEPA learns decision-relevant relations among candidate futures from executed outcomes: a bounded, permutation-equivariant operator jointly reasons over goal-relative predictive features and ordinal evidence, refining pretrained predictive geometry where action choices are most consequential. Restricted predictor adaptation and a shared ordinal interface extend alignment across complementary predictive geometries; the learned decision structure is realized in JEPA-compatible future representations for native latent-distance planning. Evaluations across latent control, manipulation, pretrained action-producing models, physical robots, and autonomous driving: 87.89% success on PushT, +15.04-point average gain on RoboTwin, +17-point gain on physical robot tasks. 26-page paper with project website.
- Paper
AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
Trains long-horizon coding agents to proactively decide when to compact their own context — a form of model-harness co-design: the harness provides the compaction mechanism, the model learns when to invoke it, what working state to preserve, and how to continue afterward. Data collection: run the base agent on coding tasks, use a judge to review its compaction decisions, summaries, and post-compaction actions; flawed outputs are replaced with corrected ones before environment execution so trajectories continue from corrected decisions. These trajectories feed supervised fine-tuning, then joint RL optimizes coding and compaction with task-success rewards. Absolute gains: +9.2 points on SWE-bench Verified, +5.0 on SWE-PolyBench Verified. Improvements hold across all inference budgets — including with a 256K context window that never overflows (so learned compaction helps even when context space isn't the limit) and with a 16K window whose overflow triggers fallback compaction. Latest in the AutoHarness → AutoContext → AutoCompact trend of moving harness responsibilities into the model itself; related to Meta's Context Language Models paper. Open questions: scaling, robustness across harnesses, combining rule-based compaction packaged in harnesses with model-invoked proactive compaction.
- Paper
Adaptive Reward Routing: Dynamic Multi-Reward Optimization for Joint Audio-Video Diffusion via Forward-Process RL
Multi-reward RL can improve joint audio-video diffusion models along complementary objectives (modality-specific quality, cross-modal semantic alignment, temporal synchronization), but its effectiveness depends on two quantities that change during training: where reward-driven updates should act, and how competing rewards should be combined. Fixed routing and reward weights fail to track evolving model functions. Adaptive Reward Routing jointly adapts update locations and reward coordination during forward-process RL (DiffusionNFT): (i) Cross-Modal Influence-Guided Routing — bidirectional cross-attention responses as an efficient proxy for evolving cross-modal influence, dynamically reweighting token-aware losses and scaling gradients across cross-modal layers without additional model interventions; (ii) Preference-Preserving Modality-Aware Reweighting — predefined weights kept as preference priors, with branch-specific reward-gradient interactions as residual corrections after warm-up, resolving evolving conflicts without letting dominant rewards suppress weak but essential objectives. Consistent improvements in modality quality, semantic consistency, and audio-video synchronization over strong RL baselines; ablations validate the complementary benefits.
- Paper
Mixture of Self-Improving Branches For Agent Harness Optimization
Harness optimization is a practical setting for recursive self-improvement: agent-generated modifications inform subsequent changes through execution feedback. Meta-Harness implements this via iterative code generation and evaluation, but a fixed development set and fixed proposal policy channel evolution along a single trajectory, risking local optima — and a harness that solves cases the leaders miss yet ranks lower overall gets little chance for further development. Mixture of Self-Improving Branches organizes the improvement process itself into parallel branches, each with evolving development subsets and proposal policies. Every branch starts identical (same seed harnesses, full problem set, same guidance); no one assigns specialties. After each iteration, branches are compared problem by problem: a branch keeps development cases solved by more of its leading harnesses than by other branches' leaders, drops cases solved by every leading harness across all branches, and revises its own proposal policy (the proposer rewrites its own guidance) using its own search history. The whole loop runs on each branch's own data. The branches grow into different experts, and at test time a router sends each new problem to one branch's best harness before execution. Relative improvements over Meta-Harness: +34.8% on Olympiad-level math (46.0% -> 62.0%), +11.6% on Terminal-Bench 2.0 (44.8% -> 50.0%), +3.8% on SWE-bench Lite (63.6% -> 66.0%), with harness selection and router configuration based solely on development data.
- Paper
Match the Distribution, Not the Compute: Post-Training Multi-Token Prediction Heads
Multi-token prediction (MTP) drafts multiple next tokens per forward pass to speed autoregressive generation, with a verification step preserving the backbone's token distribution. Every open MTP release (MiMo-7B, DeepSeek-V3, Qwen3) trains heads jointly with the backbone over tens of trillions of pretraining tokens, fixing drafter quality at pretraining time. This paper asks whether a lightweight post-training pass is enough: on frozen Qwen3-8B with K=3 chained MTP heads, plain cross-entropy on ~2.5B tokens of target-generated chain-of-thought reaches or exceeds the expected speedup of jointly trained MiMo-7B on math, coding, and knowledge benchmarks — using 1,000-10,000x fewer MTP-training tokens. Three findings: (1) the ~2.5B-token post-training recipe matches/exceeds the jointly trained MiMo-7B baseline; (2) a chain-aware relaxation of the draft-token verification rule allows bounded drift from the backbone distribution, lifting expected speedups by +12 to +16% per benchmark while preserving task accuracy; (3) an adaptive controller dynamically choosing how many MTP heads engage at inference time recovers up to 11-14% of the speedup lost with a fixed max draft length.
- Paper
daVinci-LLM: Towards the Science of Pretraining
Argues pretraining sets the capability ceiling and is under-studied due to industry secrecy vs academic compute limits. Releases daVinci-LLM under a fully-open paradigm (pipelines, training process, exploration). Uses Data Darwinism L0–L9 taxonomy for data processing; trains a 3B model from scratch on 8T tokens with a two-stage adaptive curriculum shifting from foundational to reasoning-intensive data. Linked Hub release SII-GAIR-NLP/davinci-llm-data (gated) covers L3–L5 subsets; code at GAIR-NLP/daVinci-LLM.
- Paper
Training Large Language Models to Reason in a Continuous Latent Space (Coconut)
Coconut (Chain of Continuous Thought) feeds last hidden state back as next input embedding, enabling latent BFS-like reasoning with fewer tokens; strong on ProsQA/ProntoQA planning tasks. Code: facebookresearch/coconut.
- Paper
Towards Looped Models Done Right — Part II: Rethinking at Fixed Points
Looped LMs need not pay for every loop: they can scale by adding FLOPs at constant memory, and the key is the loop's fixed point. Three fixed-point ideas: (1) Fixed-Point Shortcuts — what fixed points buy in training (pre-train, post-train) and inference (prefill, decoding). Terminal KV sharing: each prefix token keeps only its last-loop KV (reuse the KV from the last loop), discarding intermediate loops; with depth sampling it keeps 4 of 12 KV banks with at most 0.85% perplexity increase from 100M (21.5B tokens) to 1.6B (344B tokens). A model trained at one fixed depth breaks under sharing (red rows) — sharing works only when states settle (95% of tokens stable by loop 8) because deep draws train on a nearly settled prefix KV. Proven: both training-read and sharing-read reach the same fixed point and same next-token prediction when the prefix KV converges and each token's update is a contraction (Lemma 1). (2) Learned depth prior — prediction feedback moves draws toward depths that predict well, an entropy term keeps the deep draws that form fixed points, a budget term holds mean depth; at 1.6B with the shared cache it averages 60.0 (level with the 59.9 fixed-depth reaches with a 3x larger cache), while at 1.6B/344B tokens the looped model beats a 4-block Transformer by 8.9 average points and lands within 1.5 pts of a 12-block model needing 3x memory. (3) OrthoInj (orthogonal input injection) — projects out the injected-input component so input conditioning stays constant across loops; lowest loss and val PPL, highest downstream average at every scale. Also: terminal KV sharing lets a distilled student prefill by predicting the endpoint (1.79x faster prefill of an 8K prompt at 1.6B, keeps 93% of teacher downstream score); truncated BPTT with depth sampling matches full backprop (backprop window b=4 under the PLN-5 prior) and covers both pre-fixed-point training and the endpoint gradient; fixed-point reuse for RL skips the redundant second pass by reusing the rollout's final states and applying the block once (2x faster scoring/backward on GSM8K and MBPP+, pass@1 within run-to-run variation). Limits: models reach 1.6B, one training seed per configuration, larger scales and real-world feasibility untested.
- Paper
AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks
Targets the self-improving capability of LLM agents — iteratively refining a solution at test time — which rests on two complementary abilities: reflection (produce a solution better than the current one) and long-horizon execution (keep the iteration effective over many rounds). Both are treated as domain-agnostic and learned in scenarios suited to supervision: long-horizon improvement trajectories are synthesized from ML and algorithmic programming tasks, two domains offering verifiable feedback and reward for sustained iteration. The agent, built on Qwen3.8-27B, scores 81.8 on MLE-bench Lite and 70.7 on Frontier-CS, transfers to deep research (84.0 BrowseComp, 52.6 HLE, 92.2 GAIA, 93.8 DeepSearchQA), and keeps improving as its budget of rounds grows — evidence that long-horizon reflective data is an effective route toward self-improving agents.
- Paper
Targeting Pivotal Decisions for Credit Assignment in Agentic Reinforcement Learning
GRPO gives every token in a trajectory the same advantage, so the training signal cannot distinguish decisive steps from the rest. ProVer targets potentially pivotal decisions for fine-grained credit assignment: given a rollout group, an agentic judge contrasts successful and failed trajectories to propose the segment responsible for their divergent outcomes; rather than trusting the judge directly, ProVer verifies the segment by estimating its advantage from the difference in terminal success rates between current-policy continuations sampled before and after the segment, folding positive estimates into the GRPO advantages of policy tokens within the segment. Model judgment is used only to select where to verify, grounding local credit in observed outcomes without exhaustively evaluating every intermediate state. Across ALFWorld, WebShop, and SearchQA, ProVer achieves the strongest average performance at both model scales, with relative improvements over GRPO of 9.91% for Qwen3.5-2B and 7.12% for Qwen3.5-4B; informed segment selection works with modest additional generation overhead even without a frontier-scale judge.
- Paper
Decoding Looped Transformers Better for (Almost) Free
Looped Transformers repeatedly execute a shared block across recurrent loops; each loop yields an intermediate representation decodable for the same next token, but standard decoding discards earlier states. Because earlier loops embody less computation, recurrence inherently supplies aligned weak-and-strong prediction pairs without auxiliary models or external training. LoopCD is a training-free contrastive decoding framework that guides token selection by contrasting the final prediction with an earlier recurrent pass — in logit space with one extra output pass (LoopCD-Logits) or in hidden-state space with zero output overhead (LoopCD-Hidden). Across four looped Transformer families it delivers consistent gains at full recurrent depth: LoopCD-Logits raises Ouro-2.6B-Thinking's AIME 2024 pass@1 from 61.88% to 73.33%, and LoopCD-Hidden lifts Huginn's HumanEval pass@1 from 22.56% to 31.71%. The gains enable halving the number of recurrent loops while still matching or exceeding full-depth unguided baselines, reducing forward FLOPs by 22.5%-48.2%. Enrichment (2026-11-24, from co-author Ruixiang Zhang's X post, Nov 24 2026): LoopCD applied to Thinking Machines' Inkling-2-Mini, which loops 3x per token, refining a weaker Pass 1 prediction into a stronger Pass 3 and discarding the rest - LoopCD instead contrasts Pass 3 against Pass 1 at decoding time. Headline result, closed-book factuality (AA-Omniscience v1.1, public 300): score -9.0 -> -3.4 and non-hallucination rate 66.5% -> 71.8%, where TML's launch post reportedly found extra loops leave that metric flat. Other gains vs the author's own best-effort reproduction (NOT vs official numbers): ARC-AGI v2 47.8% -> 55.0% (public eval), MRCR v2 8-needle 43.3% -> 48.9%, SWE-Bench Pro v2 Hard 77.5% -> 80.4%, Terminal Bench v2.1 64.0% -> 67.4%, DeepSWE v1.1 42.4% -> 45.1%. Flags, as entered: all new numbers are first-party (author's X post + attached results table, not a new arXiv version - the paper is still v1, Oct 1 2026); the green gains are vs the author's own reproduction, and LoopCD remains BELOW the official figure on some benchmarks (DeepSWE official 48.2%, Terminal Bench official 71.6%); the X post itself was unreadable directly (hard 403 bot wall in the cloud browser) and its text was read via a fresh device-browser task (logged-out view; only 2 of 4 replies visible), with the arXiv record verified directly. Cross-references: ID 1767 (theory companion for why LoopCD-style guidance works in looped models), staged slot 28 LoopRes (loop-aware residuals as a finetuning route into loops), ID 656 (Inkling model card). For the user's 250M stack: LoopCD is a decoding-side option that only applies to a looped model - his current 3:1 SWA hybrid does not loop, so this is not a drop-in; the LoopCD-Hidden variant (zero output overhead) is the one to note if he ever tests a looped variant.