Explore the research collection
704 entries · showing 241–264 · Follow this search
- Paper
Score Centering Stabilizes Off-policy Reinforcement Learning
LLM RL is notoriously sensitive to small differences between training and inference engines (training-inference mismatch, TIM); eliminating TIM entirely would cost too much rollout efficiency. The paper shows the instability of RL under TIM is primarily caused by drift: a persistent bias between training and inference engines that accumulates with every training step. It derives an additive 'score centering' correction term that stabilizes RL under TIM by canceling drift. Training models from 0.6B to 30B parameters, score centering alone matches or outperforms importance-sampling-based methods under sampler quantization, with the gap growing as mismatch becomes more severe; because the correction is additive it composes with importance sampling, and the composition beats pure importance-sampling baselines in staleness experiments. Experiments: Qwen3-30B-A3B-Base on INTELLECT-2 math data with progressively stronger quantization of the sampler. Official code: github.com/martin-marek/score-centering. Industry-adoption note (Lambert share, 2026-11-05): Lambert reports score-centering is now popular in industry RL stacks - e.g. Tinker's StableReinforce uses it (secondhand, via Lambert) - and has added it to the RLHF Book as its own section in the policy-gradients chapter (rlhfbook.com/c/06-policy-gradients#score-centering), framing the derivation as the cleanest way to understand training-inference mismatch.
- Paper
Bellman Policy Optimization
BPO is a critic-free RLVR method derived from Policy Mirror Descent (PMD): for autoregressive generation with terminal rewards it uses the Bellman equations to reformulate PMD as a trajectory-level objective, avoiding estimation of state values at intermediate states, and it is proved to have the same unique optimal solution as the original PMD objective on states reachable under the rollout policy. The practical token-level loss approximates this objective with a smoothed mismatch-correction weight — a smoothed ratio of complementary token probabilities — replacing the importance-sampling ratio. On Qwen3-30B-A3B-Base it reaches 50.5% average accuracy across AIME 2024-2026, vs 39.5% GRPO-ClipHigher, 43.5% GSPO, 47.4% CISPO, 46.4% DPPO (strongest baseline gaps 3.1-11.0 points); after 400 training steps 49.4% vs 45.5% for DPPO. Ablations on Qwen3-4B-Base show similar performance across a range of smoothing and truncation settings.
- Paper
Tropical Reinforcement Learning
Arip Asadulaev et al. (MBZUAI, TUM) argue standard RL-for-LLMs cannot learn compositions for a fundamental algebraic reason: expected return sums probabilities of every successful trajectory, measuring how often a model succeeds rather than which solution succeeded. Since probabilities sum to one, reinforcing one solution can make the model forget another that was never shown wrong. They propose Tropical Reinforcement Learning: instead of adding the probabilities of alternative solutions, take their maximum — the tropical (max-plus) semiring. A state's value then becomes the log-probability of its most likely verified solution plus an explicit path that can be replayed and reused, and because addition distributes over the maximum, the best prefix and best suffix meeting at a shared state can be joined even when they come from different rollouts. They prove the maximum is the only aggregation whose value always names a verified path and never decreases as new paths are found, and introduce TROPIC, a training algorithm for deterministic, resettable environments with verifiable outcomes. On Sokoban, Countdown, FrozenLake, and WebShop, TROPIC outperforms the strongest on-policy baselines by up to 16 percentage points.
- Paper
Priced Guidance: Can Language Models Generate Future Research Ideas?
Stanford (Kaiyue Wen, Tengyu Ma, Percy Liang) evaluates whether language models can generate novel research ideas through the lens of compression. Rather than estimating the tiny probability that a model generates the essence of a future research idea via expensive repeated sampling, the Priced Guidance framework measures a compression cost: how many extra bits of information are needed to guide the model to recover the target idea. The generator (an LM) poses a sequence of multiple-choice questions and specifies a probability distribution over the answers; a guide (an LM with access to the target idea) selects answers, and the generator pays -log2 p bits when a selected answer had prior probability p. The generator aims to reproduce an idea matching the target's essence at minimal cumulative cost, which equals, up to an additive constant, the bits of information the guide sent. Theorem: if the model can recover the target idea with at most K bits of guidance in expectation, it can generate the idea with no guidance with probability at least 2^-K. Evaluated five generator LLMs (Opus 5, Fable 5.1, GPT-6 Astra, GPT-5.6 Sol, GLM 5.3) on the core ideas of 87 recent high-quality deep learning papers, with an LLM judge checking whether the generated idea matches the target on the central research object and defining mechanism. Fable 5.1 achieves the lowest median compression cost (69.9 bits), far below gzip's 5,712-bit median for losslessly compressing the idea summaries; a uniform ensemble of Fable 5.1, Opus 5 and Astra reaches 55.8 bits and improves the generation-probability lower bound by 18,000x. CC BY 4.0; no code released as of 2026-10-06.
- Paper
Base Models Can Reason By Taking a Cue From Training Data
Sophie L. Wang et al. study how pretraining data creates associations between the tokens at the start of a base model's response and the reasoning behavior that follows, and show that fixing only the first two tokens (token cues, supplied by prefilling) makes base models competitive with their RL-trained counterparts on math and coding. On Olmo-3-7B, the discovered cue ".\n\nOkay" raises MATH-500 pass@1 from 42% to 78%, compared with 75% for its RL-Zero counterpart; on Qwen3-14B, "Alright," raises it from 72% to 87%, matching RL. The same cue transfers to GSM8K, AMC 23, AIME 2024 (1.4x-1.9x pass@1 gains on Olmo across five benchmarks, 1.1x-3x on Qwen's four math benchmarks) and to HumanEval for Olmo, despite giving no demonstration or instruction to reason. Cues are discovered label-free: beam search ranks likely two-token openings by next-token probability on 30 MATH training problems, and the opening with the lowest answer entropy (agreement) across 16 sampled continuations is selected - within 1.1 points of the best of 500 tested openings. Second, they show RL largely works by making these cues more likely: KL divergence between base and RL next-token distributions peaks at the first two output positions, RL concentrates probability on the cue, and forcing the cue in GRPO rollouts recovers most of RL's accuracy gain, matching about 100 RL steps on Olmo and 50 on Qwen. Third, they trace cue effects causally to training data: retraining Olmo-3-7B from a mid-training checkpoint with "okay" replaced by "chicken" raises MATH-500 accuracy with the ".\n\nChicken" opening from 2.4% to 37.2%, turning an arbitrary word into an effective reasoning cue; replacing "step by step" with "duck duck goose" makes "Think duck duck goose" as effective as "Think step by step". Hidden states induced by different cues correlate with different training document types. A safety case study shows cues also shape refusal behavior: "I'm sorry" favors refusal of both benign and harmful requests, "Okay," reduces refusal but increases harmful compliance on unsafe requests, while ".\n\nOkay" shifts the base model toward the selective-refusal behavior of its Instruct/Think-SFT variants. CC BY 4.0. Joins the base-vs-post-training cluster (1544, 1568, 1576) - strong evidence that RL mainly amplifies pretraining patterns rather than teaching novel reasoning.
- Paper
LiFT: Loop Flow Transformers
UvA Amsterdam introduces LiFT, a family of looped generative models that scale computation by repeatedly applying a shared Diffusion Transformer (DiT) core with only light changes to the standard architecture. The key training innovation: rather than asking every recurrent step for the final prediction, each loop is supervised at its own target - a point on a straight reference path from the model's initial velocity estimate to the flow-matching target. Because targets are indexed by a continuous depth coordinate, the trained model can loop far beyond its training depth (K_inf > K_train) with no retraining, early exits, or other modifications, and longer rollouts improve generation - inference computation grows without adding parameters. Prelude-core-coda decomposition: prelude embeds input once, shared core R_theta applied K times (boundary operator reinjects input state), coda maps any state to a prediction. On ImageNet 256x256, LiFT-L/2 achieves FID 3.34 points lower than the dense DiT-XL/2 baseline while using ~60 percent fewer parameters, 32 percent fewer training FLOPs, and 52 percent fewer inference FLOPs. Separates two axes of inference compute: integration steps (follow the flow more closely) vs loops (estimate the velocity field more accurately). At DiT-B/2 the dense model still wins, so the advantage appears at larger scales. CC BY 4.0. Joins the looped-models cluster (670, 952, 1545, 1548, 1549, 1551, 1563, 1566, 1579, 1581) and complements ALoDLM (1581) - the other Oct-2026 looped-diffusion result, which adapts depth per token instead.
- Paper
ALoDLM: Adaptively Looped Diffusion Language Models
Amazon AGI introduces ALoDLM, a diffusion language model that replaces uniform denoising depth with token-adaptive latent recurrence, attacking the computation-difficulty mismatch: within one denoising step, easy masked tokens need little compute while hard ones need a lot, yet standard DLMs apply the same fixed-depth denoiser to every position. ALoDLM partitions a Qwen3 backbone into a Prelude, a shared Recurrent Core, and a Coda; at each denoising step the core runs up to K=4 recurrent passes. After each pass, an LM head predicts token distributions and an exit gate gives per-token halting probabilities: positions with predictive entropy <= tau are sampled and committed (their embeddings fed back as context for the next pass), while unresolved positions carry their latent states forward for further refinement. The inner loop ends when the mean cumulative halting probability reaches q, no unresolved positions remain, or K is reached. Training treats token-wise exit schedules as latent variables and derives a conditional negative ELBO; a single-trajectory gradient estimator is provably unbiased for the objective (Prop. 1), with a truncated-geometric prior (c=0.4) favoring shallow exits and a practical recipe relaxing the KL term and adding variance reduction (intermediate supervision, first-pass control variate). ALoDLM-1.7B and 8B are trained from Qwen3 by direct SFT on a 5B-token corpus (no continued pretraining; largest looped DLM to date at 8B). On eleven reasoning/knowledge/math/code benchmarks via the OpenCompass protocol, ALoDLM beats all evaluated DLMs (LLaDA-8B, Dream-7B, Fast-dLLM-v2, SDAR-8B, WeDLM-8B) and its Qwen3 AR counterparts in average score at both scales: 65.5 vs 63.8 at 1.7B, 80.3 vs 78.5 at 8B. It keeps fast parallel decoding: on GSM8K, ALoDLM-8B delivers ~2.7x the throughput of vLLM-served Qwen3-8B (93.25% at 612.4 tok/s on one NVIDIA B200) at comparable or higher accuracy, and 13.6% fewer GFLOPs per token than WeDLM at the same accuracy threshold. Recurrent depth is an effective test-time scaling axis, and the model learns token-dependent refinement preferences without difficulty labels (e.g., numerical tokens refine longer). Caveats: longer time-to-first-token than AR models and input-dependent throughput; the speed advantage can shrink on difficult or out-of-distribution inputs. Code: github.com/amazon-science/ALoDLM (optimized CUDA-graph inference engine included); weights: huggingface.co/amazon/ALoDLM-8B and amazon/ALoDLM-1.7B; project page: alo-dlm.github.io. Joins the looped-models cluster (670, 952, 1545, 1548, 1549, 1551, 1563, 1566, 1579). Directly relevant to the user: a practical recipe for adaptive per-token compute and the strongest current DLM quality-efficiency tradeoff.
- 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
Loop, Think, & Generalize: Implicit Reasoning in Recurrent-Depth Transformers
Motivated by speculation that Claude Mythos is a looped transformer: studies why looped-transformer LLMs are so powerful by testing implicit multi-hop reasoning — reasoning over parametric knowledge within a single forward pass, no chain-of-thought. Two generalization challenges: systematic generalization (combining knowledge never composed during training) and depth extrapolation (generalizing to deeper reasoning chains than seen in training). Finding: looped transformers generalize on both, vanilla transformers don't. Systematic generalization emerges only after a sharp 3-stage grokking transition (train accuracy first, OOD jumps later). Depth extrapolation: an LT trained on 20-hop questions generalizes to 30-hop at inference simply by scaling up the number of loop iterations — more loops enable deeper reasoning. Takeaway: most existing LLMs already encode rich knowledge; they lack the mechanisms to best combine/manipulate it, and recurrent depth provides that. Encouragement for pretraining LT-based LLMs. Part of the user's looped-models cluster (670, 952, 1545, 1548, 1549, 1551, 1563, 1566).
- Paper
Length Generalization Needs Proper Regularization
Argues transformers need no architectural changes for length generalization — proper dropout regularization suffices, making the problem architecture-agnostic rather than a positional-encoding or attention-mechanism question. Diagnoses training-procedure culprits for extrapolation failure: weight decay can hinder extrapolation, while dropout improves it only when its placement is reconsidered — standard dropout before layer normalization introduces a systematic distributional mismatch; applying dropout just before the linear projection resolves it. Proposes Variance-Preserving Affine Dropout (VPAD), which substantially reduces the resulting pre-activation variance mismatch and further improves extrapolation; VPAD is complementary to attention-scaling methods. Results: modified SmolLM3 with sliding-window attention, continually pre-trained with dropout, extrapolates perfectly to 64x on Needle-in-a-Haystack and far beyond pre-training context on RULER and HELMET; training SmolLM3 from scratch reaches RBA 100.0 at 32x training length; matches a 'perfect' baseline at 2-8x extrapolation and improves on ICL/NIAH/RULER at longer contexts. Mamba2 also benefits from dropout, supporting the architecture-agnostic claim. CC BY 4.0 license. Directly relevant to the user's long-context training work (3:1 SWA:full-attention hybrid stack) — the dropout-placement fix applies to their architecture too.
- 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
The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks
Mechanistically studies two recurring Transformer phenomena: massive activations (a few tokens show extreme outliers in a few channels) and attention sinks (certain tokens attract disproportionate attention mass regardless of relevance). Through systematic experiments, shows their co-occurrence is largely an architectural artifact of modern Transformer design, and the two serve related but distinct functions: massive activations operate globally — inducing near-constant hidden representations that persist across layers, effectively functioning as implicit parameters — while attention sinks operate locally, modulating attention outputs across heads and biasing individual heads toward short-range dependencies. The pre-norm configuration is the key architectural choice that enables the co-occurrence; ablating it decouples the two phenomena. Practical upshot: modifying normalization logic or adding dynamic gating can eradicate massive activations without hurting LM performance, giving a structural path to safer ultra-low-precision quantization and efficient KV-cache management.
- Paper
SelfSearch: Reward-Free Search for Self-Improving Agents
Reward-free search procedure in which a coding agent rewrites its own harness (instructions, tools, execution procedures) using records of previous self-improvement episodes, which capture the reasoning, tool actions, and outcomes of earlier modification attempts; the modified agent then becomes the next improver. Avoids the cost and task-tied search of repeated downstream evaluation required by existing self-improvement approaches. Without downstream reward signals during search, population-mean success improves over the initial agent in all six model-benchmark settings, with individual agents gaining up to 11.2 percentage points on Terminal-Bench 2.1. On SWE-bench Multilingual, one evolved agent gains 5.0 percentage points while reducing execution cost by 38.5% on tasks solved by both versions. Achieves competitive success with evaluation-guided search baselines at lower search cost: with only $4.03 in search cost it produces a harness solving 82.0% of Terminal-Bench 2.1 tasks with DeepSeek V4 Flash under a public nine-harness comparison's settings, matching the top-scoring harness Codex.
- 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
Planning to Learn (The horizon problem: policy gradients are myopic)
Shows that when policy gradients fail, the usual suspects (exploration, credit assignment, sampling noise) are not the cause. A classifier is a policy whose expected reward — expected accuracy — is the probability assigned to the correct label, so the policy gradient is exact and smooth; yet exact policy gradient loses to cross-entropy even on expected accuracy (ImageNet: 4% vs 62% for cross-entropy). The exact gradient is myopic: it values an update only by what it buys now, but each update also sets where the next one starts, so an update's value depends on how much learning remains. Viewed this way, cross-entropy is 'patient accuracy' — the total error an example would pay if its log-odds rose at unit speed forever — while exact policy gradient is the zero-horizon limit. Truncating this total at the learning that remains yields the horizon loss, a one-line change moving from cross-entropy toward exact policy gradient as training runs out. Provably escapes the trap that catches each endpoint in a simple allocation model; on MNIST and ImageNet (ResNet-50, ResNet-101, ViT-S/16), the horizon loss improves top-1 accuracy over cross-entropy at a flat learning rate, with gains growing under label noise. Implication for LLM post-training: policy gradient 'only cares about the end result' (accuracy), so cross-entropy-like losses over a longer horizon can yield better expected reward than following the policy gradient directly.
- Paper
EurekaBench: Measuring Agentic Ability to Discover New Scientific Insights
Cross-domain benchmark testing AI agents' ability to conduct long-horizon experiments and discover mechanisms that explain observations. 26 expert-verified long-horizon tasks across neuroscience, computer science, chemistry, astrophysics, geophysics, and plasma physics, with 306 scientific insights the discovered mechanisms are expected to support. Environment interface lets agents run iterative experiments autonomously; evaluation framework tests three axes: scientific constraint tests, predictive accuracy of discovered mechanisms, and whether mechanisms yield scientific insights or inform future research. Key finding: current AI agents fixate on predictive accuracy optimization (Claude Fable 5.1: 47.4% PA vs 48.8% human; GPT 6 Astra approaches human accuracy) but fall far short on insight discovery (best agent Claude Fable 5.1: 29.8% SI vs 63.7% human; GPT 6 Astra only 29.4%). Optimizing predictive accuracy does not imply discovering novel scientific insights; agents tend to brute-force numerical optimization rather than interpret/extrapolate mechanisms.
- 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
The Surprising Effectiveness of Shared Memory in Looped Transformers
Looped Transformers add compute without parameters by re-applying the same layers, but each recursion writes its own KV cache, so memory grows with compute. This paper pretrains looped models to share memory instead: only the first recursion writes a cache; later recursions read it while keeping a short window of their own. Sharing memory does not cost quality — it improves it. At 150M-1B parameters, the Looped Prediction Transformer (LPT) and its hybrid variant set a new quality-memory frontier for looped models: with five recursions, the hybrid lowers FineWeb-Edu validation perplexity by 1.12-1.82 vs a same-size standard Transformer while using 76-79% less context memory. Analysis: shared and local memory develop different representations, later recursions attend mostly to the shared memory, which also acts as a gradient highway to the first recursion.
- 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
Refining Over Resampling: Test-Time Self-Correction for LLM Reasoning
Verifier-free breadth-depth refinement framework for test-time compute: samples multiple independent reasoning rollouts, refines each through iterative self-critique and self-correction, then aggregates by majority voting. Breadth preserves diverse initial attempts; depth repairs local reasoning errors before aggregation. Avoids the diminishing returns of blind resampling (new rollouts repeat answer patterns) and the calibration dependence of verifier-based selection. Beats greedy decoding, majority voting, verifier-based best-of-N, beam search, and lookahead decoding across multiple open-weight models on AIME24, AIME25, AMC, OlympiadBench, and MATH500. E.g., with Qwen2.5-1.5B: strongest verifier-based baseline rises to 58.0% on MATH500 and 25.0% -> 32.5% on AMC.
- Paper
Would This Change Your Answer? Evaluating Explanations of LLM Behavior in the Wild with Counterfactual Experiments
Evaluates explanations of LLM behavior through counterfactual simulatability: is the explanation useful for predicting the model's behavior on related counterfactual inputs? Introduces CHIVE (Counterfactual Hypothesis Investigation Via Edits), an agentic pipeline that identifies unexpected naturally-occurring model behaviors in the wild and investigates them with counterfactual prompt edits, yielding thousands of high-quality explanations with supporting counterfactual evidence. Two applications: (1) testing whether common interpretability techniques help an agent predict counterfactual model behaviors — surprisingly, no uplift from any technique studied (activation oracle / NLA / SAE conditions do not beat the transcript baseline: transcript 73.6 acc / 81.4 AUROC vs AO 72.7/80.9, NLA 71.3/80.3, SAE 71.9/81.0, per the paper chart); the authors note tool outputs almost always restate feature and behavior already visible in the transcript and almost never state the causal relationship explicitly. (2) Training models on CHIVE-generated counterfactuals generalizes to various out-of-distribution settings.
- Paper
Raven: The Harness of Harnesses for Composable Agentic Intelligence
Open-source multi-agent ecosystem that automatically constructs and evolves modular agent harnesses for specific models and domains, treating each executable model-harness pair as a composable unit of intelligence. Harness components are diagnosed, mutated, and recombined from failures; a candidate replaces the current harness only after passing a statistical check. A Host Agent decomposes goals into a task graph and routes parts to specialized model-harness pairs (research, code, design, on-call); a host archive and EverOS preserve experience across tasks and Skill Forge makes it available as reusable procedures. Theory gives sufficient conditions for composition to expand reliable task coverage beyond the individual agents under a shared resource budget. With DeepSeek-V4-Flash, the research harness scores 69.3% on BrowseComp and 60.0% on Humanity's Last Exam (vs at most 62.4%/43.3% for two other harnesses on the same model); a curated skill library raises SkillsBench Pass@1 from 9.2% to 22.6%.