Explore the research collection
293 entries · showing 73–96 · Follow this search
- 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
TeleTune: Evolving Agent Skills From Offline Telemetry
TeleTune learns a readable textual skill library from offline user telemetry — frozen activity logs with no recorded goals, no replayability, and possibly interleaved tasks — with no live-environment access during optimization. The object of learning is a prompt-inserted document of workflows (ordered cross-instance procedures with placeholders) and skills (rules resolving single decisions). The metric is skill-guided progress: teacher-forced next-action prediction accuracy on logged trajectories, conditioned on a goal inferred from the recorded actions. An optimizer reflects on the first prediction error per train-split trajectory, proposes add/replace/remove edits, and keeps the candidate only if skill-guided progress improves on a held-out dev split (two stages: workflows first, then skills). At test time, learned workflows also drive workflow-based retrieval of complementary demonstrations covering the new task's subgoals. On WorkArena with GPT-5.4, TeleTune reaches 77.1% average success (+6.7 over the strongest baseline; L1 80.3%→92.3%) and on Online-Mind2Web 80.6% (+7.7; largest gain on hard tasks). Gains transfer across backbones (Qwen3.6 +11.9 on L1) but shrink to parity on Mistral-3.5. Under controlled task-interleaving perturbation, TeleTune holds 68.5% at the heaviest level (+6.3 over strongest baseline) while AWM collapses to near-no-trajectory performance. Optimizing on fixed logs costs 5–75× fewer tokens than validating the same candidates with live episodes; the live success rate rises 74.1%→92.3% in lockstep with skill-guided progress, making it a usable offline proxy for skill updates. Test-time cost is prompt length: the library is re-sent every step (~201K extra input tokens per L1 episode). Limitations: needs a pool of successful trajectories; only scoreable actions count; test-time token overhead real; Mistral-3.5 shows no gain; L2 compositional tasks benefit less.
- Paper
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
nanoswe: Speedrunning SWE-bench — a 2.8B agent trained from scratch for ~$1,000 reaches 25.5% on SWE-bench Verified
nanoswe is a community speedrun of SWE-bench Verified, forked from Karpathy's nanochat: how good a coding agent can ~$1,000 of train compute buy when the model is trained from random initialization on agentic SWE trajectories, with SWE-bench's 12 source repositories strictly held out (the 1.59M-trajectory corpus was audited and 4,516 violating rows purged)? Budgets are denominated in B200-hours at $5/h ($60 track = 12 h; $1000 track = 192 h). The August 2026 scaling sweep found solve rate roughly log-linear in train compute: a ~$10 run already scores 0.53% pass@1, the $60 run (1.38B) reaches 5.0% — the level of Claude 2 at SWE-bench's release — and the $1000 run (5.67B) reaches 11.0%. Two findings complicate the distillation story. First, a stronger teacher can be a worse teacher: replacing Qwen-Coder-30B-A3B trajectories (teacher at 29% pass@1) with Qwen 3.6 35B A3B trajectories (58%) dropped the $60 student from 5.0% to 2.1%, because the stronger teacher's test-first workflow leaves the weak student stuck writing reproduction tests (no patch in 74% of attempts vs 8%). Second, trajectory-only training buys code and little else: the speedruns generalize to synthetic bugs that exist nowhere online and to bugs from real 2026 pull requests, but MMLU and GSM8K do not improve with speedrun compute even after elicitation fine-tuning, while a differential-item-functioning analysis against SmolLM3-3B fine-tunes finds no detectable problem-coverage blind spots from skipping web pretraining — at matched ability the cohorts solve essentially the same problems. The current $1000-track record (Oct 2026) shrinks the model to 2.82B and adds a short web warmup: 6.7B FineWeb-Edu tokens, then 37.8B tokens of SWE-smith trajectories from a Nemotron teacher, reaching 25.47% pass@1 (pass@5 41.4%) on the project's 483-instance cluster-runnable subset of Verified — above the originally reported scores of Claude 3 Opus (15.8%) and GPT-4o (23.2%), under a different scaffold.
- Paper
Host-Aware Web Crawling for LLM Pretraining Data
Web crawling is the main source of LLM pretraining data, yet selection pipelines discard most crawled pages — so the crawl policy itself is an upstream data-selection decision. Combining scores from ten fastText quality classifiers (DCLM, FineWeb-Edu, Nemotron-CC, GneissWeb) over 3.01M documents on 532,628 hosts from CC-MAIN-2024-10, Ostendorff shows document quality is substantially a host-level property: the intraclass correlation is 0.43–0.62, i.e. roughly half the variation in classifier scores is between hosts. Common Crawl allocates its crawl by harmonic centrality, but in simulations centrality-based host ordering collects at most 1.8× as many high-quality pages as random ordering (and fewer than random for DCLM), versus 4.0–8.0× for an oracle — the centrality signal is confounded by host language composition (English-trained classifiers score languages differently; within-language, centrality correlates positively). For crawl depth, a ~3-page sample per host already predicts the host's remaining quality (Spearman ρ = 0.53 at k=3, plateauing by k≈15–20), and a sample-then-deepen policy — probe a few pages per host, then fetch deeply from high-scoring hosts — collects up to 7.8× more high-quality pages per fetch than uniform-depth crawling at small budgets and approaches the oracle, while also keeping the classifier out of the crawler's hot path (unlike page-level schedulers such as Craw4LLM). Finally, Common Crawl's actual per-host coverage is uncorrelated with quality under every classifier tested (ρ = −0.08 across 5.65M hosts; stable across six crawls 2021–2024): an estimated 58M high-quality pages (~58B tokens at ~1,000 tokens/page) sit among known-but-uncrawled URLs in a single crawl, with 62% concentrated on 369,534 under-crawled "hidden-gem" hosts (6.5% of hosts), skewing toward national/regional news and scholarly repositories.
- 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
Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models
NVIDIA paper on choosing which base checkpoint deserves an expensive round of agentic post-training. The problem: end-to-end SWE-bench Verified pass@K is near zero for base checkpoints because untuned base models cannot reliably operate tool-use harnesses (Appendix F; the dair_ai thread reports six base models with five solving zero tasks), while non-agentic coding benchmarks correlate inconsistently with post-trained agentic performance (across ten base/post-trained pairs, Spearman rho with post-trained SWE-bench Verified pass@1 ranges from 0.830 on RepoBench XFirst to -0.394 on HumanEval). The method treats successful post-trained agent trajectories as a lookahead signal of base-model potential: replay each trajectory and rerun the task's tests after every code-changing step; the decisive step T* is the first step whose cumulative patch flips the repository from failing to passing, and its action is the golden action - produced by a real coding agent and certified by the same verifier that defines task success, not the human-written gold patch. Three screens are built at the decisive step, none requiring the base checkpoint to drive the harness from a cold start: (i) Decisive-Action BPB (bits per byte) measures the byte-normalized probability mass the checkpoint assigns to the golden action; (ii) Patch MCQ tests the checkpoint's choice between the golden action and distractor alternatives rejected by the same verifier; (iii) prefix-conditioned pass@K draws K continuations from the decisive step and lets the task's own verifier judge them, crediting any continuation the tests accept. Across ten pairs of public base and post-trained models, all three screens rank the cohort in close agreement with post-trained SWE-bench Verified pass@1: Decisive-Action BPB reaches Spearman rho=0.964 on held-out trajectories from DeepSWE (a separate agentic coding benchmark), Patch MCQ reaches rho=0.903, and prefix-conditioned pass@K at K=16 reaches rho=0.988 on SWE-bench Verified trajectories. The construction is a generic recipe: any agentic coding benchmark with successful trajectories and a verifier can be converted into a base-model evaluation. Related-work details worth knowing: motivated by the coverage principle (base-model mass on high-quality behaviors bounds post-training gains); their audit of 1,682 APTBench MCQs found designated-correct options that were wrong or not unique, which motivates the verifier-certified distractor construction for Patch MCQ. License: (c) 2026 NVIDIA, all rights reserved - not CC-BY. No code repo found at catalog time.
- Paper
The Best Optimizer Depends on Batch Size
Adaptive optimizers are benchmarked at one batch size, while hyperparameter scaling rules promise that the best optimizer at one batch size stays the best at another. This paper challenges both practices. (1) No principled scaling rule for Muon works consistently across settings: the authors derive and test three competing rules against Muon - linear LR from SDE-matching, square-root LR from minimizing a convergence bound, and fixed LR with scaled weight decay from Power Lines - tuning at a reference batch size for LM and image classification, then growing batch size at fixed token budget across hundreds of rule variants; the best rule depends on task and target batch size. (2) The best optimizer for LM pretraining changes with batch size even after extensive retuning: Adam, Lion, Muon, SOAP, and Shampoo were each retuned at every batch size from 128K to 2M tokens at fixed total budget under both weight decay and HyperBall (fixed hidden-matrix norms). Under HyperBall, Muon beats Shampoo at 128K tokens/update while Shampoo beats Muon at 2M. Theory on a noisy quadratic explains why: Newton's method divides gradients by curvature, cutting bias (remaining initialization error) at the cost of higher variance from noisy gradients; larger batches shrink variance, so rankings can reverse even with optimally tuned learning rates. A SignSGD toy model shows LR scaling shifts from square-root toward linear as the curvature-to-noise ratio (CNR = h^2/c) increases - the right rule depends on landscape and noise, not just the optimizer. A sharp-subspace intervention pins down where the batch-size penalty lives: checkpoint-branching from 128K to 2M with small-batch updates kept only in the sharpest 768 directions (~0.001% of matrix-parameter space) removes up to 59.5% of the local batch-size penalty (a random same-size subspace removes at most 3%); the benefit largely fades late in training.
- Paper
Tinker: long-context RL efficiency improvements, price cuts up to 70%, GLM-5.3-Flash and DeepSeek-v4.1-Flash now live
Thinking Machines announced via @tinkerapi (2026-10-09 ~5:27 PM ET, ~18.7K views, 148 likes, verified org account) that users have been scaling up long-context RL on Tinker; the team reports significant efficiency improvements to Tinker's long-context RL support and says the gains are passed on as price cuts of up to 70%. GLM-5.3-Flash and DeepSeek-v4.1-Flash are newly live on the platform, positioned for cost-efficient long-context work. Tinker background: a managed post-training API where researchers write their own training loops in Python using low-level primitives (forward_backward, optim_step, sample, save_state) while Tinker handles scheduling, resource allocation, and failure recovery across its GPU clusters; training is LoRA-based, and the Tinker Cookbook (open-source) provides post-training recipe implementations. Newly supported models: GLM-5.3-Flash (agentic-coding flash tier; third-party comparisons cite Terminal-Bench 2.1 84.3 and DeepSWE v1.1 63.4) and DeepSeek-v4.1-Flash (552B MoE backbone plus 196B memory module, 8B active on input / 16B on output, 1M-token context, ~890 bytes of cache per token, MIT license). CAVEATS: all efficiency and pricing claims are first-party vendor marketing with no independent verification; the announcement image (likely a pricing/efficiency figure) could not be viewed, so the exact tiers and scope of the 70% cuts are unconfirmed; this is a product update, not a paper with methods or evals.
- Paper
How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering?
Apple/EPFL paper asking how much harness machinery a strong agent actually needs for autonomous ML engineering (MLE). Their baseline, Malena, is a single well-prompted coding-agent session (OpenCode v1.15.6) with a minimal tool set (read/write/bash) run under a matched 24h time budget, same 1xA100 80GB / 12-CPU / 144GB-RAM hardware, and the same frontier LLM backbone (GLM 5.2 primary, plus Kimi K3, DeepSeek V4, DeepSeek V4 Flash, Gemma 4). Malena matches or beats four open-source SOTA MLE harnesses — MLEvolve, AiScientist, Arbor, and ScienceFlow — on every harness-backbone pair tested, on MLE-bench and on the less-saturated NatureBench; with GLM 5.2 Malena earns a medal on 62.5% of competitions vs 47.1% for the best external harness, and only at the smaller Gemma 4 31B backbone does MLEvolve lead by mean estimate (confidence intervals overlap). A systematic ablation ladder (chat iteration → oneshot coding-agent session → search primitives → autonomy → multi-agent orchestration) shows giving the model a coding-agent environment is by far the largest effect, while no further machinery layer yields a statistically significant gain; trace analysis suggests a capable backbone performs adaptive search on its own, balancing rare techniques against performance-oriented refinement while reusing artifacts. Interpretation (the paper's 'bitter lesson' framing): coding-agent post-training substitutes for hand-designed scaffolding — weaker backbones still benefit from workflow priors, but as agentic capability grows a plain coding-agent loop closes the gap. Cost nuance: Malena's single ever-growing session resends its full context each turn, so its modeled inference cost was ~6.2x AiScientist's ($12.12 vs $1.95) despite comparable token volumes, though hardware cost dominates. Recorded limitations: MLE-bench contamination risk (mitigated with fixed tasks plus NatureBench), wide confidence intervals (no-worse-than claims better supported than effect sizes), single-worker scope (inter-agent coordination left to future work), and possible tuning asymmetry vs the external harnesses (documented in Appendix D.3).
- Paper
dattri-LLM: A Unified and Efficient Library for Training Data Attribution at LLM Scale
dattri-LLM is an open-source PyTorch library for gradient-based training data attribution (TDA) at LLM scale, from TRAIS-Lab (Shixuan Liu et al.). Efficiency comes from two exact per-example gradient representations - factorized (input-activation/output-gradient pairs) and materialized (dense per-sample weight gradients) - with a FLOP-aware cost model routing each layer and operation to the cheaper one, so 'ghost' inner products score samples without ever forming weight gradients when that is cheaper. Compatibility comes from non-invasive capture: autograd hooks assemble per-sample gradients from any training loop that calls backward(), with no changes to the loop, optimizer, or trainer - demonstrated on HuggingFace Trainer, TRL (SFT/GRPO trainers), and OLMo, under DDP and FSDP, with per-rank sharded gradient stores merged afterwards; gradients can be offloaded to disk during training and re-attributed by any method without the model. Extensibility comes from two interfaces: Attributor (plug-in attribution methods over one shared gradient stream) and HookManagerCallback (training-time applications acting on captured gradients, e.g. online data selection). Built-in attributors: TracIn, Grad-Dot/Grad-Cos, K-FAC and EK-FAC influence, DVEmb, LESS, AdamW-influence, plus a DataSelectionCallback for online data selection. Benchmarks on four H200s (512 training sequences, Qwen2.5 0.5B-72B plus Qwen1.5-110B; 1 query through 32B, 4 queries at 72B/110B) against Bergson, Kronfluence, and LogIX: dattri-LLM averages 3.2x the throughput of the fastest competing library per configuration across GradDot/K-FAC/EK-FAC, and is the only library besides Bergson to complete 72B/110B runs (Kronfluence OOMs beyond 7B on K-FAC; LogIX beyond 32B). Fidelity-cost trade-offs (LDS/LOO-style TSLOO on GPT-2, Qwen2.5-1.5B, OLMo-3-7B) favor dattri-LLM's EK-FAC and AdamW-influence. Code: MIT-licensed at github.com/TRAIS-Lab/dattri-llm (9 stars at catalog time; the library is the LLM-scale companion of the earlier dattri package). Paper license: arXiv non-exclusive distribution 1.0 (not CC).
- Paper
Agent Plasticity: Measuring Self-Improvement Through Experience
Agent Plasticity introduces a benchmark for self-improvement: measuring how efficiently agents convert experience into persistent, generalizing gains with frozen weights. Instead of updating model weights, agents amortize past experience into reusable artifacts (Python tools, written strategies, skills, memory notes) inherited by future instances; at each checkpoint the agent plays training interactions, proposes artifact edits (which must pass structural/executable checks; rejected attempts count toward learning cost), and is scored on held-out in-distribution (ID) and out-of-distribution (OOD) opponents. Each round starts in a fresh context — nothing carries over except the inventory. The headline metric Psat is the points of held-out score gained up to saturation (first checkpoint reaching 90% of a fitted S-shaped rise) per $1,000 of learning cost (API spend on training games and reflection; eval not counted). Environments: chess (20 rounds, Hard and Easy; Stockfish 16 at 20,000 nodes; skills 1–8 training, 3–8 ID held-out, 12 OOD), 5×5 Go (GNU Go), 6×6 Hex, and NetHack (40 rounds; agents may edit CLAUDE.md/AGENTS.md, skills, tools, memory; ten fresh unseen games per checkpoint). Key results: Claude Fable 5, Claude Opus 5 and GPT-5.6 Sol each add 30–40 points on held-out ID averaged over chess/Go/Hex (Chess Hard: Fable 5 37.5%→73.3% checkpoints 16–20; Opus 5 25.0%→66.4%; Sol near zero→36.9%), while GPT-5.5 improves slowly and Claude Opus 4.8 / GPT-5.6 Luna barely move. Endpoint capability and acquisition efficiency diverge: Fable 5 reaches the highest endpoint (~$610 to saturate) while GPT-5.6 Sol has the highest Psat (298 vs 57; ~$120 to saturate with a similar ~35-point rise), so the best final score and the best learning efficiency belong to different models. In NetHack only Claude Opus 5.5 improves reliably (median ~2,000→~6,000, saturating at checkpoint 11; Psat 61.75 on rescaled 0–100 scores), while GPT-5.6 Sol — the most plastic on board games — declines, showing plasticity is model- and task-dependent. Failure tracing: low artifact reuse accompanies weak improvement (Luna makes ~98% of relevant decisions without any artifact; writing an instruction is not the same as following it — one GPT-5.5 run keeps being told to load its saved move-picker yet lists files first), but high reuse (94–98%) does not explain the remaining gap between top models; 83–99% of strong improvers’ remaining mistakes happen while a relevant artifact is in use, so the bottleneck shifts from reuse to artifact quality, generalization, and application. A concrete win: a NetHack agent that died re-praying too soon adds a ‘pray only through the controller’ rule to CLAUDE.md and later survives the same emergency. Limitations: frozen weights plus fresh contexts do not separate the benefit of training feedback from the extra compute spent developing artifacts; cost excludes deployment; Psat depends on provider prices and the saturation fit (protocol-tied, not a universal ranking); reuse diagnostics are observational, not causal; small eval sets add checkpoint noise; NetHack checkpoints mix learning with game difficulty since each plays new games; some models have a single run (Fable 5, Opus 4.6, Luna in chess); gains in the training regime transfer only partially to OOD opponents.
- Paper
Periodic Weak Spots: Phase Sensitivity from Chunked KV-Cache Compression
Chunked KV-cache compression groups consecutive tokens into fixed-size windows and compresses each window into fewer cache entries at a fixed stride S, cutting long-context memory and attention cost. The paper shows this creates a new positional coordinate — the token's phase, its position modulo S — and a systematic failure mode called phase sensitivity: the same information can be easy to retrieve at one phase and difficult at another. In the DeepSeek-V4 family (which uses compressed sparse attention, CSA, with stride S=4), single-token needle-in-a-haystack retrieval at 128K context differs by up to 40.2 percentage points across phases, and a code-completion top-1 prediction flips periodically with period 4 matching the CSA stride. To isolate the cause, the authors pretrained a family of Qwen3-0.6B-derived transformers from scratch with chunked KV compression as the only substantial architectural change: every compressed variant shows periodicity matching the compression stride — even plain within-window averaging — while full-attention baselines show none. Window boundaries (key-value pairs split across windows) do not fully explain it: accuracy varies widely across phases that keep the pair inside one window. Mechanistic analysis (KV-head/layer knockouts in their models and attention-readout interventions) reveals phase specialization: different heads contribute asymmetrically to retrieval at different phases, also in DeepSeek-V4 itself. Compression gates that can learn separate positional preferences develop persistent per-head phase preferences during pretraining, and an idealized bigram-retrieval analysis shows gradient flow drives gates toward sharp static phase concentration. The practical takeaway: evaluating chunked-KV models requires measuring across compression phases (e.g., shifting the input by a few tokens while keeping the queried information fixed) — high average accuracy can coexist with systematic periodic positional failures.
- Paper
NeMo-DCR: Bit-Exact Delta-Compressed Refit for Scalable Agentic RL at Trillion-Parameter Scale
NeMo-DCR (Delta-Compressed Refit): bit-exact weight synchronization from training to rollout clusters for agentic RL, where each policy update must reach the rollout clusters before the next batch. Measurements of BF16 training show about 1% of weights (0.6-1.2% across the six models measured) change their stored values per RL step, yet a standard refit copies the full checkpoint every update - 87.5 minutes for a 1T model between two AWS regions. NeMo-DCR sends only the changes and still yields the exact same parameter and buffer bits as a dense refit. For placement, fixed affine mappings project changes from training shards into the checkpoint's canonical coordinates (residual conversion covers the rest), and the serving runtime's native loader places all changes in receiver storage. For exactness, compressible XOR masks carry affine changes whose projection and loader preserve stored bits, while overwrites carry the others; receivers apply both in place. For efficiency, object storage or a relay tree streams payloads while the delta is still being built, with no cross-cluster collective. Retries overwrite partial writes, and a joint commit binds the policy to the baseline for the next delta, recovering from mid-refit failures. Even at 3% and 5% change rates, refits of 30B-1T models are 12-40x faster than a transport-only full-checkpoint reference: a 1T relay-tree refit at 3% change rate takes 150 seconds instead of 87.5 minutes, making refits practical for cross-cluster agentic RL at trillion-parameter scale.
- Paper
AgentTime: Can Agents Estimate and Control Their Own Runtime?
AgentTime is a benchmark for time awareness in LLM agents covering three capabilities: duration following (working for a requested duration), forecasting (predicting runtime), and retrospection (estimating elapsed time afterward). It comprises 222 tasks from 18 sources spanning coding, computer use, agentic work, and automated research; duration-following experiments append a single instruction specifying how long to work, with requests ranging from about a minute to multiple days. Accuracy varies substantially: Fable 5.1 in Claude Code deviates from requested runtimes by a typical factor of 2.9x, compared with only 1.2x for GPT-6 Astra in Codex. But matching the requested runtime does not establish continued work on the task — among 158 reviewed Astra runs with classifiable transcripts, 14 explicitly slept after appearing to finish. In forecasting experiments, predictions tend to overestimate natural runtimes; in retrospection, removing temporal information more than doubles deviation for Sol and Astra and nearly doubles it for Fable. The authors hypothesize Astra's much higher duration following comes from training on strictly time-bounded tasks — an instrumental skill learned almost by accident — while Anthropic's Fable 5.1 does not reliably follow any given duration. Core lesson: an agent's ability to complete a task does not guarantee it can control its own time or work for the whole requested duration.
- Paper
UNREAL: Unifying Retrieval and Long-Context with a Single Model
NVIDIA's UNREAL makes RAG and long-context inference two scales of one model-internal evidence-selection mechanism, replacing external bi-encoder retrievers and rerankers. The LLM backbone stays completely frozen; the only trainable parts are fewer than 500K parameters: learned retrieval tokens (a soft prompt appended after the query that elicits a retrieval mode) and layer-mixing weights that combine residual-stream states across layers for evidence ranking. Each corpus chunk is encoded independently by the frozen LLM at an intermediate layer; the query's residual states at the retrieval-token positions (conditioned on the query plus a BM25 initial context) score every chunk via late-interaction MaxSim, trained with a multi-positive InfoNCE contrastive loss. Because the readout operates on the residual stream, the same module works across dense-attention, linear-attention, state-space, and hybrid architectures. On a 3B-token, 21M-chunk Wikipedia index, all four tested UNREAL backbones outperform state-of-the-art retriever-reranker systems: the best raises recall from 49.1% to 73.2% on HotpotQA, 31.7% to 60.1% on 2WikiMultiHopQA, and 8.8% to 14.4% on MuSiQue. The same retrieval-trained module prunes distractors before generation in long-context tasks: NoLiMa accuracy jumps from 1.0% to 24.83% at 128K tokens, and LV-Eval F1 from 49.97% to 54.66% at 256K. Relative to full-context inference, UNREAL reduces FLOPs and time-to-first-token from roughly 32K tokens onward, with larger gains as context grows. arXiv 2610.08463 (cs.CL), submitted 6 Oct 2026; CC BY 4.0. No code repo linked on arXiv at catalog time.
- Paper
AECP: Artifact-Exclusive Communication Protocol for Multi-Agent Code Generation
AWS AI Labs (first author Jiaqi Xue, UCF, during an AWS internship). In free-form multi-agent coding teams, shared findings are just context — agents can ignore them, and deviations from agreed module interfaces go undetected. AECP requires agents to communicate exclusively through structured artifacts, and specifies how the harness processes them: the harness supplies recorded findings when an agent accesses relevant code, screens implementations against recorded interface commitments, and requires affected agents to revisit an agreement when it changes. These coordination steps become part of harness execution rather than actions agents must initiate from prior messages. Across Doc2Repo, NL2Repo, and CodeProjectEval, with closed- and open-source models including Opus-4.8 and DeepSeek-V4-Flash, AECP improves average test pass rate by 28.2% and reduces average wall time by 16.5% relative to a team using free-form inter-agent messages. Artifact-exclusive communication also blocks relay of malicious instructions between agents: they reach other agents 0% of the time (vs 95%) and are acted on 0% of the time (vs 40%). CC BY 4.0.
- Paper
Scaling Verifiable Environments for Long-horizon Work Agents
WorkForge is a scalable synthesis framework for building verifiable long-horizon work-agent environments from real-world resources. From expert-authored 'Scene Blueprints' (workflow, deliverable, source requirements, domain decisions), an acquisition agent iteratively searches, downloads, and previews real files to instantiate a workspace; profiling then extracts observable factual anchors (file roles, dependencies, verifiable facts). Task generation derives each task's instruction, hidden solution plan, and complementary verifiers from those anchors: programmatic verifiers check deterministic requirements on final artifacts (mean pass rate over rubric items), while semantic verifiers score open-ended deliverables via an LLM judge with criterion-specific scoring guides (scores 0-10, normalized). The corpus is 16,665 environments across 40 professional domains (top 4 = 31.9% of tasks), workspaces covering 60 file types, avg 42.3 files / 279KB, avg 21.9 rubrics per task; solver rollouts (GLM 5.3 with Claude Code and OpenClaw harnesses) average 31.8 steps, 33.8 tool calls, 76.5K tokens. Full-parameter SFT of Qwen3.5-35B-A3B-Base on the 16,665 trajectories lifts GDPval 45.5 to 73.6 (+28.1) and APEX Score 5.0 to 21.3 (+16.3), with similar gains on WildClaw, ClawEval, and Agents' Last Exam; the 73.6 GDPval beats the prior sub-100B specialized SOTA (ClawGym-30A3, 35.0) by 38.6 points. Applied to the post-trained Qwen3.5-27B, WorkForge-27B reaches GDPval 82.4, beating Qwen3.5-397B-A17B (79.7) with ~15x fewer parameters. Scaling holds across data volume (1K to 16K trajectories: ALE +13.0, WildClaw +8.4) and interaction horizon (41-60-turn training trajectories vs 0-20: ALE +4.2, WildClaw +5.0). Hybrid verification-based trajectory selection beats programmatic-only or LLM-only selection; real-workspace environments have 5.4x more files and 2.4x more file types than synthetic ones.
- Paper
Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs
Recurrent-attention hybrid LMs (e.g., Qwen3.5) interleave attention and recurrent layers as two complementary memory pathways: attention supports precise recall of earlier tokens, recurrent layers consolidate disparate information over long contexts. The paper shows hybrids rely substantially more on attention than on the recurrent state — and that standard SFT improves overall performance but does not fix the imbalance: the model becomes more reliant on attention-propagated information while recurrent-pathway use stays limited. Fix: an auxiliary loss that limits attention's access to earlier context while the recurrent state propagates through the full sequence, forcing the model to retain and use information through the recurrent pathway alongside attention. Results: overall performance improves with especially strong gains on longer-context and information-aggregation tasks; QA avg +4.6%, agentic tasks avg +12.1% across multiple hybrid LMs; also generalizes to attention-only models combining different memory types (+28.6%). Core message: simply providing multiple memory pathways does not ensure their effective use — targeted supervision is needed to coordinate them.
- 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
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
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
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.