Explore the research collection
473 entries · showing 97–120 · Follow this search
- Paper
Evaluating LLM Creativity through Long-Tail Performance
LLM creativity benchmarks vary widely in task and metric design — do they capture a common notion of creativity? The paper formalizes the shared target as task-specific performance in the long tail of a reference input-output distribution (how common input-output pairs are relative to a chosen source of text), grounded in the novelty-quality product formulation Creativity = Novelty × Quality, where a theoretical identity shows the same quality difference contributes more to the creativity score in higher-novelty regions. Empirically: 15 benchmarks (writing, math, QA) and 26 open-weight models, using 4-gram absence from the Pile (Infini-Gram-Mini) as novelty proxy. Creativity benchmarks lie significantly further in tail regions than standard benchmarks from the same domains (p<0.001). Within each benchmark, rankings from higher-tail subsets align more closely with LM-Arena creative-writing human judgments: on Arena-Hard Creative Writing, tail bins reach Kendall τ=+0.39/+0.33 vs +0.06–+0.15 for peak bins; on GPQA-Diamond (not a creativity benchmark), +0.40/+0.22 vs +0.10–+0.18 — significant at ten-bin resolution (Spearman ρ=0.66–0.86). Introduces q@Tail(α), a lower-cost diagnostic: mean task quality on the top-α tail fraction of an existing benchmark. Applying it to nine creativity-promoting methods (min-p, temperature scaling, persona, Convergent-Divergent Thinking, Branch-Solve-Merge, self-consistency, meta-prompting, CRPO-SFT/DPO) reveals a quality-novelty tradeoff: only min-p improves tail quality (+17.7%) while reducing novelty (−16% to −44%); all others raise peak novelty but lower tail quality. Difficulty and novelty splits are nearly disjoint (MATH overlap 0.07), so tail selection is not just "harder examples." Limitations: n-gram rarity captures surface novelty only; rankings depend on the Skywork reward-model quality estimator; LM-Arena votes are self-selected-user holistic preferences, coupled with overall capability; methods tested only on open 7–8B models. Code and data: github.com/YichenZW/longtail-creativity; reading list: github.com/YichenZW/awesome_llm_creativity.
- Paper
DFlash: Block Diffusion for Flash Speculative Decoding
Speculative decoding caps out at ~2–3× because autoregressive drafters are sequential and shallow. DFlash replaces the AR drafter with a lightweight block-diffusion model (5 layers) that proposes an entire token block in one forward pass. The key design: the target model's hidden features — extracted from 5 uniformly sampled layers and fused — are KV-injected into every draft layer (not just fused at the input like EAGLE-3), so acceptance length scales with draft depth. The drafter trains on the target model's own outputs (random anchor-token block construction, early-position-weighted CE, shared frozen embedding/LM head), and verification keeps generation lossless. On Qwen3-8B (greedy): up to 6.1× speedup over autoregressive baseline (avg ~4.9×) and ~2.4× over EAGLE-3, with acceptance lengths ~6.5 vs ~3. In SGLang serving: 4.8× at concurrency 1, 2.9× at concurrency 32. Z-Lab × Modal joint retrains (40k context, sliding-window attention): Qwen3.5-122B-A10B — baseline ~260 tok/s → 1,088.9 tok/s on HumanEval (4.21×), 1,041.2 tok/s on math500, accept lengths up to 8.7 (4×B200); Qwen3.6-35B-A3B — up to 3.61× speedup (1,116.3 tok/s math500) on a single B200, beating Qwen's built-in MTP path everywhere. DFlash 2 (Inco AI, Qwen3.8-27B): per-position top-candidate selection plus two-tap dynamic convolutions; accept lengths 4.1–5.5 vs MTP 3.7–5.0, throughput 2.7–3.4×. Limitations: draft models trained on ~800K Nemotron+CodeAlpaca samples at ≤30B-A3B scale in the paper; retrain benchmark cards are same-domain (GSM8K/MATH/HumanEval/MBPP/MT-Bench); the X post's production-traffic-training claim for the Modal retrains is not stated on any model card.
- Paper
Vela: User Behavior as Supervision Sparks LLM Intelligence
User behavior as supervision: from anonymized behavior records of 100,000 users on a large social media platform, Vela builds 100,000 tasks across 91 real-world question templates. Each user's history (Views, Searches, Purchases, Posts, Follows, Dislikes) is split into a visible segment and a hidden future; Predictive questions (Objective candidate selection; Open-prediction free-form) are scored against ground truth extracted from the hidden future, while Rubric questions (Open summaries; Attribution explanations) are evaluated against task-specific rubrics, both by a larger scorer model (Qwen3.8-2.4T-A95B). Difficulty-based filtering (keep tasks with mean 4-shot score in [0.2, 0.8]) plus trajectory acceptance (best-of-4, must exceed the filtering mean) retains ~75,000 tasks forming Vela-Instruct, with a 9,375-sample self-generated Vela-RFT variant. Fine-tuning Qwen3.6-35B-A3B on Vela-Instruct: VelaBench (982 held-out tasks) 51.5 → 63.0 (+11.5); user-related OOD average 41.3 → 47.5 (+6.2), led by ProfileSummary +10.1 and AdRecommendation +11.2 while PurchaseIntent barely moves (+0.2); general OOD average 54.2 → 58.2 (+4.0), led by IFBench +6.7 and CL-bench Life +5.6, with no regressions on any of the five. More behavior data monotonically improves user-related performance (4.7K → 75K). GSPO reinforcement learning after Vela fine-tuning beats RL from the base model by 7.7 points on both VelaBench and ProfileSummary (using the 18.8K checkpoint). Limitations: proprietary single-platform data means no external reproduction is possible; the task templates, prompts, and code are promised but not released; rubric and scorer-based metrics use the authors' own larger sibling model; VelaBench is same-domain as training; no multi-platform generalization or deployment evidence; all results are the authors' own.
- Paper
Next-Concept Modeling: Fast, Parallel Coarse-to-Fine Text Generation
Diffusion language models offer parallel sampling but degrade with fewer steps, process the full sequence every step, and need many training passes. Next-Concept Modeling (NCM) is a two-stage coarse-to-fine alternative: a multiscale residual VQ-VAE encodes text into a hierarchy of discrete codes from coarse to fine (adapting VAR-style next-scale prediction from images, requiring substantial modeling changes since text has no natural downsampling and single-token errors matter), and a transformer generates one level at a time, predicting all codes within each level in parallel — one forward evaluation per level. At ~100M parameters, NCM beats strong diffusion baselines on unconditional generation (TinyStories, LM1B, OpenWebText) with 4–11× fewer function evaluations: on LM1B it uses 11× fewer NFE than DUO and runs 21× faster at better generative perplexity (single H100, batch 16), and on OpenWebText it matches the strongest diffusion LM at 10× faster. Tokenizer plus generator train on 13.36B token positions on LM1B, ~4.9× fewer than baselines' 66B. On XSum summarization it uses 16× fewer NFE than AURORA-LM and runs 31× faster at comparable ROUGE-L, with the best summarization scores; on WMT14 De–En translation it beats all but one non-AR baseline. On Sudoku it scores 99.5/96.5/86.1 (easy/med/hard) with 12 NFE, outperforming AR baselines (greedy: 14.6/5.1/1.0 at 128 NFE) and diffusion/flow baselines including DUO (96.3/84.7/58.4), MDLM, and the strongest flow baseline FMLM+ (97.7/92.8/81.3). Spending the saved sampling time on more candidates with MBR decoding gives ~7% higher ROUGE-L than the strongest summarization baseline at the same time budget. Preliminary scaling: larger generators improve quality at fixed training-token budgets. All numbers are the authors' own at ≤~100M scale; no independent reproduction.
- Paper
AutoEnvScaling: Automating the Data Flywheel with Terminal Agents
Terminal-agent RL is bottlenecked on human-designed environments: the supply of useful training envs grows only as fast as researchers can work. AutoEnvScaling turns environment design into a terminal task — a proposer agent reads the solver's rollouts, decides what to build, then writes and tests complete Harbor tasks (instructions + execution environment + reference solution + tests) inside a sandbox with web access, a coding harness, and child containers. Two admission gates: validation (reference solution scores 1, empty solution <0.5, no 13-gram overlap with held-out tasks, Terminal-Bench rubric review) and calibration (current solver keeps the task only if mean reward ∈ [0.25, 0.75] with variance; up to 2 revisions). The proposer co-evolves via harness optimization (editing its own harness/skills/memory between rounds) or weight training. Across eight frontier proposer models, terminal-based generation raises the valid-environment rate up to 25× over prompt-only generation (DeepSeek-V4-Flash 3.5% → 89.0%) at up to 75% lower cost per valid environment for six of eight models (cost rises for the two strongest proposers since AutoEnvScaling spends more turns). RL on generated environments beats matched static Tmax pools on Terminal-Bench 2.1 (+6.3/+7.4 for Qwen3.5-9B, +4.3/+3.8 for Qwen3.5-35B-A3B), and removing solver feedback costs −3.6/−6.7 points. Recursive self-improvement: Qwen3.6-35B-A3B as both proposer and solver (self-play, one shared policy) improves Terminal-Bench 2.1 from 41.1 to 53.3 (+12.2) and Terminal-Bench 4.0 from 1.6 to 3.2, with 3.1× higher usable-group rate and 42% less rollout-collection time; removing proposer training collapses the loop. On HiL-Bench, tasks generated by Claude Opus 5 let Qwen3.6-35B-A3B reach 33.9% task success / 55.3% Ask-F1 at asking for help — beating Opus 5 itself (7.5%/14.4%). Code (Apache-2.0, private preview), launchers for every experiment, figure data, and generated environments are public; sandboxes run on Modal.
- Paper
Real Long-Term Memory for AI: A 50-Million-Token Window That Is Faster and Cheaper Than Recompute
Corbenic AI's Sietse Schelpe reports a serving-side "long-term memory" layer for frozen LLMs: the public package galahad-kv, loaded into vLLM 0.31.0 via a KV-transfer plug-in, writes each ~16,000-token block's KV state to encrypted local NVMe (MRLNCRY1 format, AES-256-GCM) on first processing and later restores it byte-exact with zero recompute; only one block is ever resident, so GPU memory stays flat. On 50,000,000 tokens of real public text (3,125 blocks; WildChat/code/arXiv/FineWeb-Edu mix, mutated against pretraining contamination) served on a single NVIDIA H100: all 100 probed blocks restored from the encrypted store with no recompute at every depth from 0 to ~49.5M tokens, on both Gemma 4 12B (bf16) and Gemma 4 31B (FP8). A restore is 2.8×/4.3× faster than recomputing the same block (0.266s vs 0.760s; 0.347s vs 1.475s) and uses 8.8×/12.3× less GPU energy, with restore latency depth-independent. On facts planted millions of tokens earlier (with same-format decoys), the 12B model answered 82/100 and the 31B 98/100, with zero hallucinations and zero fabrications on 20 negative controls. Store: 1.86 TB (12B, 36.4 KiB/token) and 6.25 TB (31B FP8, 134 KiB/token) — the small footprint leans partly on Gemma 4's mostly sliding-window attention, which the paper notes it benefits from rather than introduces. The evaluation follows a cheat-resistant protocol (blind ingest, per-block needles, decoys, encrypted-store audit, separate engine-vs-model metrics). Limitations are explicit: this is KV reuse at any depth, not a wider attention window — one block is resident and restored on demand, never attended jointly; there is no learned retrieval; writing is a one-time cost measured at 20,839/10,700 tok/s deposit throughput; the store must be local NVMe.
- Paper
Hybrid Reasoning Agents
HybridAgent is an LLM agent that dynamically navigates between latent reasoning and text-based interaction within a single unified generation process, combining efficient latent "inner thinking" with text-based tool calls and external inspection. The core mechanism is HybridLink, a lightweight residual adapter mapping last-layer hidden states back into the input embedding space (e_{t+1} = h_t + W2·GELU(W1·h_t), ~10M params at 4B), enabling sequence-wise recurrence in latent mode without representation mismatch. Mode transitions: text mode emits a <latent> anchor token to enter latent mode; latent mode exits when the HybridLink-projected state nearest-matches a </latent> anchor; span lengths emerge adaptively. Latent thoughts remain interpretable: each latent step maps to its nearest token embedding, recovering readable pseudo-text. Multi-turn generation runs over a continuous working memory (KV entries from text, latent thoughts, and tool observations), losslessly preserving hybrid context across turns. Post-training: HybridSFT (format activation, HybridLink activation with cos+MSE regression, then self-conditioned two-pass training with joint CE at text and regression at latent positions, closing the train-inference mismatch) stabilizes tool-integrated hybrid generation; HybridRL scales reasoning via a hybrid policy factorization (policy likelihoods only over sampled text positions, since latents are deterministic given the backbone and fixed HybridLink) with exact rollout replay, rewarding correctness, format, and multi-tool use — learning when to think in latent space vs act through text. Built on Qwen3-Base at 4B/8B/14B and evaluated on 11 benchmarks (math, science, medicine, search, agentic reasoning) against text-based, latent, and frontier-agent baselines: HybridAgent improves performance by 10.4% on average at the RL stage (18.5% at SFT stage; 14B beats the strongest agentic baseline by 17.4%), with 35.5–54.7% token reduction, 1.8–2.6× faster inference, and 2.7–3.7× cost savings. Tool use stays reliable (higher valid call rates than GRPO, 99.7% execution success) and the exposed text trace remains monitorable/debuggable (first-error localization 98–99%), exposing 43–49% fewer text tokens while carrying 26–28% more key reasoning steps per 100 visible tokens. Code, models, and training data are public: github.com/togethercomputer/HybridAgent (MIT) with HybridAgent-8B-Agentic and -14B-Agentic checkpoints plus HybridSFT-v1/v2 and HybridRL datasets on Hugging Face.
- Paper
TeleTune: Evolving Agent Skills From Offline Telemetry
TeleTune learns a readable textual skill library from offline user telemetry — frozen activity logs with no recorded goals, no replayability, and possibly interleaved tasks — with no live-environment access during optimization. The object of learning is a prompt-inserted document of workflows (ordered cross-instance procedures with placeholders) and skills (rules resolving single decisions). The metric is skill-guided progress: teacher-forced next-action prediction accuracy on logged trajectories, conditioned on a goal inferred from the recorded actions. An optimizer reflects on the first prediction error per train-split trajectory, proposes add/replace/remove edits, and keeps the candidate only if skill-guided progress improves on a held-out dev split (two stages: workflows first, then skills). At test time, learned workflows also drive workflow-based retrieval of complementary demonstrations covering the new task's subgoals. On WorkArena with GPT-5.4, TeleTune reaches 77.1% average success (+6.7 over the strongest baseline; L1 80.3%→92.3%) and on Online-Mind2Web 80.6% (+7.7; largest gain on hard tasks). Gains transfer across backbones (Qwen3.6 +11.9 on L1) but shrink to parity on Mistral-3.5. Under controlled task-interleaving perturbation, TeleTune holds 68.5% at the heaviest level (+6.3 over strongest baseline) while AWM collapses to near-no-trajectory performance. Optimizing on fixed logs costs 5–75× fewer tokens than validating the same candidates with live episodes; the live success rate rises 74.1%→92.3% in lockstep with skill-guided progress, making it a usable offline proxy for skill updates. Test-time cost is prompt length: the library is re-sent every step (~201K extra input tokens per L1 episode). Limitations: needs a pool of successful trajectories; only scoreable actions count; test-time token overhead real; Mistral-3.5 shows no gain; L2 compositional tasks benefit less.
- Paper
Mamba-3: Improved Sequence Modeling using State Space Principles
Mamba-3 is the inference-first redesign of Mamba-2, derived from the continuous-time SSM viewpoint, with three core changes. (1) Exponential-trapezoidal discretization — a second-order scheme replacing the exponential-Euler discretization implicit in Mamba-1/2, giving a more expressive recurrence. (2) Complex-valued state updates — the state transition gains data-dependent rotations (equivalent in effect to data-dependent RoPE), which unlock state-tracking capability that real-valued linear models lack, including solving parity-style tasks Mamba-2 fails. (3) A multi-input multi-output (MIMO) formulation that raises arithmetic intensity during decoding — more model quality at essentially the same decode latency, addressing the hardware inefficiency of SISO decoding. At 1.5B scale, Mamba-3 improves average downstream accuracy by +0.6 points over the next-best sub-quadratic baseline (Gated DeltaNet), with the MIMO variant adding a further +1.2 points (+1.8 total over Gated DeltaNet, +1.9 over Mamba-2 per secondary summaries), and it matches Mamba-2 perplexity at half the state size.
- Paper
QwenGyre: An Elastic Reinforcement Learning Framework for Training xLong-Horizon Agents
QwenGyre (Alibaba Token Hub) is an end-to-end framework for online RL on extreme-long-horizon (xLong) agent executions — single rollouts lasting hours, spanning hundreds of model–environment interactions and ~1M tokens — run through unmodified black-box harnesses (Claude Code in the evals). It attacks two problems. (1) Scheduling: rollout durations are long-tailed, so Colocate training waits on stragglers and Async's fixed rollout/training GPU partitions idle on both sides. QwenGyre's Elastic Scheduler organizes GPUs into independently switchable cells and reallocates them between rollout and training as unfinished work changes, without interrupting live executions — harness state persists across role changes and in-flight model calls keep being served; newly freed nodes join an ongoing training batch, and streaming training feeds cells micro-steps on demand so they finish the batch together (role switches take ~3.5–8.5s). (2) Trajectory redundancy: harnesses branch via compaction, sub-agents, and retries, so expanding every path into samples explodes token volume. The Trajectory Processor records every model call token-in/token-out (exact token IDs, behavior log-probs, provenance), organizes calls into a prefix-shared trajectory tree preserving each output's original conditioning context, scores preserved work after termination — including partial progress after timeout — and admits at most 5 trajectories per execution by role priority (main > main-summary > sub-agent > sub-agent-summary), counting shared prefixes once, training only on policy-generated tokens, and averaging token losses within each execution. The RL algorithm is group-relative (16 rollouts/group) with a GSPO adaptation (token importance weights capped at 5, execution-level clipping [0.995, 1.005]). Against Colocate and Async baselines at equal GPU budgets and matched scheduling staleness, with comparable training scores (all figures first-party): on Qwen3.6 122B, 1.42–1.53× over Async and 1.36–1.47× over Colocate on NL2RepoBench, 1.57×/1.61–1.82× on DeepSWE, 1.38–1.43×/1.81–1.85× on TerminalBench; scaled to the flagship Qwen3.8 2.4T (~700K tokens per rollout, 192 nodes), 48 NL2RepoBench steps take 75.42h vs 134.55h (Async) and 91.47h (Colocate), lifting eval passrate from 52.48% to 58.54%.
- Paper
DiscoLoop: Looping Discrete Embeddings and Continuous Hidden States for Multi-hop Reasoning
Looped Transformers fix the depth-local storage problem that blocks in-weight multi-hop reasoning (facts stored in early layers are unavailable where later retrieval happens), but they still generalize poorly out of distribution. This paper localizes the remaining failure as representational: on a controlled symbolic two-hop task (two entity-disjoint knowledge graphs, 500 entities / 50 relations each, compositions over the OOD graph never seen in training), a vanilla looped Transformer reaches only 71.1% ID and 8.3% OOD accuracy, even though a logit-lens probe shows the first loop already assigns probability ≈1.000 to the correct bridge entity. The problem is geometry: the post-first-loop hidden state has cosine similarity of only 0.327 (ID) / 0.266 (OOD) to the bridge token's embedding, so the second loop consumes a noisy continuous mixture instead of the clean discrete embedding it was trained on. A training-free intervention — mixing the normalized decoded bridge embedding into the hidden state at the bridge position between loops — lifts OOD accuracy from 8.3% to 25.9% at mixing weight α=0.1 and to near 100% (ID and OOD) at α≈0.5. DiscoLoop turns this into an architecture: the recurrence carries both channels, adding a gated, RMSNormed soft decode-then-encode term Φ(h) — the tempered LM-head distribution over the vocabulary re-embedded through the tied embedding matrix — into the residual stream at every position and loop. The learnable gate variant adds only d+1 parameters. On the symbolic task DiscoLoop reaches near-perfect ID and OOD accuracy with a sharp phase transition around epoch 500 (vs ~70% ID / <10% OOD for the vanilla loop and <20% ID / ~0% OOD for a FLOPs-matched non-looped model with K× the parameters); it also generalizes on a three-hop extension where both baselines fail OOD completely, and on a synthetic natural-language version it reaches ~100% ID / ~95% OOD vs the vanilla loop's ~90% ID and OOD failure. In real pretraining (440M model, 24 layers, 4 backbone applications, 20B tokens of 60% FineWeb-Edu + 40% FineMath-4plus), DiscoLoop beats the vanilla loop and PonderLM on a seven-benchmark zero-shot average, 50.5 vs 49.3 and 49.8, best or tied on six of seven benchmarks, overtaking the vanilla loop after ~13B tokens. Authors' stated limits: hop-length generalization (train ≤k hops, test >k) untested, pretraining verified only at 440M scale, and whether the recipe can be grafted onto existing pretrained models via continual pretraining is open.
- Paper
Switching Linear Attention
Switching Linear Attention (SwiLA) is a sequence layer from Stanford (Lee, Gonzalez, Zucchet, Buchanan, Fox, Linderman) that tries to close linear attention's expressivity gap while keeping its fixed-size recurrent state (no growing KV cache). Derived in the test-time regression framework, the state is a mixture of J linear regressors (state O(JD²)) fitted online by expectation–maximization: posterior responsibilities computed from each component's prediction error plus a learned gating prior weight a delta-rule update per component. Because each output dimension selects its component independently, the layer realizes J^D piecewise-linear maps and its recurrence is nonlinear in the state — unlike Mixture-of-Memories, whose router is state-independent. Variants add temporal persistence in the assignment prior (Temporal SwiLA) and input-dependent gating (Gated SwiLA). At 374M parameters pretrained on 15B FineWeb-Edu tokens with state size matched across recurrent baselines, Gated SwiLA variants average 45.4 on a commonsense suite vs 45.3 for Transformer++ and 43.7 for DeltaNet (KDA leads the linear family at 46.6); on six recall-intensive tasks Gated Temporal SwiLA's 20.6 is the best pure-recurrent average (DeltaNet 17.3) though softmax models still lead (FoX 33.7), and Hybrid Temporal SwiLA (3:1 recurrent:softmax interleave) reaches 31.8, beating Hybrid GDN (29.5) and Transformer++. Profiled at 1.3B, SwiLA gets 4–5× the Transformer's end-to-end inference throughput (batch-size effect of having no KV cache) but trains ~2× slower than Gated DeltaNet with a sequential Triton kernel; a chunkwise parallel Newton training algorithm is derived but not yet implemented. Ablations (115M): temporal persistence helps consistently, load balancing prevents expert collapse in vanilla SwiLA, and more experts (4→16) slightly hurt at fixed state budget.
- Paper
False Frontiers: Diagnosing and Mitigating Co-Cheating in Self-Evolving Search Agents
Self-evolving search agents build their own curricula: a proposer turns source documents into questions and pseudo-labels, a solver trains on admitted pairs, and solver agreement sets the proposer's reward. This paper names and measures the loop's failure mode — co-cheating: proposer and solver increasingly agree on shared errors, so internal reward improves while external correctness stagnates. Auditing the Dr. Zero proposer–solver loop post-hoc against source evidence (LLM judge, never fed into training), false-agreement mass — evaluated pairs matching on the same incorrect answer — grows from ~0.3–0.4% in round 1 to 6.1% (Qwen3.5-4B) and 8.8% (Qwen3.5-9B) by round 3, even as pseudo-label correctness stagnates or declines. Multi-sample verification (MSV) — three source-aware plus three source-blind samples per candidate, compatible majorities admit and relabel, at six extra labeler generations per candidate — only reduces false agreement to 5.7%/7.2% and adds 0.7–0.8 downstream points. CrossFit, the main method, partitions the proposer's source documents into two folds at the document level: questions from fold A are scored by an auxiliary solver trained only on fold B and vice versa, and the cross-fitted agreement determines proposer reward, so a same-source pseudo-label cannot be reproduced through the feedback solver; the main solver's update rule is unchanged and it still trains on all admitted questions. Rerunning the full loop (3 rounds, no human-annotated QA data): CrossFit cuts false agreement to 3.0%/3.7% (2.0%/1.7% combined with MSV) and raises adopted-label truth from 0.747 to 0.819 (4B) and 0.737 to 0.851 (9B). On a fixed 1,325-question suite (Cover-EM averaged over NQ, TriviaQA, PopQA, HotpotQA, 2WikiMultiHopQA, MuSiQue, Bamboogle), CrossFit reaches 48.8% at 4B and 51.2% at 9B — +8.8/+8.4 points over coupled Dr. Zero self-evolution and +8.7/+7.8 over Search-R1, with every benchmark improving and multi-hop gains largest (10.0/10.9 points). Controls isolate the mechanism: replaying identical proposals with source-excluded feedback cuts false agreement to 0.4%/0.1%; same-source or full-data auxiliary solvers stay near coupled levels, a random per-question split only reaches 5.0%/6.2% (the split must follow source ancestry), and a half-budget control rules out extra compute. Limitations (authors'): shared pretraining errors and overlapping or semantically related sources can still correlate mistakes, exclusion across connected sources is untested, the auxiliary solvers' end-to-end cost is unmeasured, and the audit relies on an LLM judge.
- Paper
Harness Evolution Hits a Ceiling: When Weight Training Should Begin
Improving a long-horizon LLM agent means evolving the harness around a frozen model or training its weights. This paper builds a diagnose-then-intervene rule: label failed trajectories by the first failure signal — F1 unbacked assertions, F2 harness friction, F3 execution control (loops, exhausted step budgets), F4 planning capacity (delivered plan scoring below 0.5). A self-evolving harness loop (AHE-style propose-verify with judge) repairs the process classes; the behavior it instills can be trained into the weights; content failures are what weight training is for. On DeepPlanning (travel planning with deterministic programmatic scoring; 48 dev / 72 held-out tasks), the loop lifts Qwen3.5-4B held-out score 0.16→0.30 and Qwen3.5-9B 0.32→0.44: for 4B, held-out delivery rises 55%→90% while loop failures (F3) fall 64%→37% of trajectories; for 9B, loops fall 39%→17%. What the loop leaves behind is the content class: F4 rises 10%→28% (4B) and holds ~25% (9B). LoRA adapters trained on evolved-harness trajectories internalize the gain: under the original harness they add +0.13 on held-out tasks for both sizes; on 4B they stack with the harness to more than double the held-out score, and on 9B the adapter alone matches the full evolution line, cutting content failures from roughly a quarter of trajectories to one in twenty. A placebo adapter trained on answer-shuffled trajectories falls below the base model (gain is in trajectory content); full fine-tuning adds +0.04 over LoRA. Why the loop stops at F4: component ablations show compliance-enforcing components (exit gate, checkpoint, hard blocks) are mostly within noise, while capability-granting components (state ledger, distilled lessons file, invented tools) carry the gain — the loop's evidence package shows the proposer gate/checkpoint metrics and never aggregates failure composition, so it optimizes what it can see. The loop transfers to WebArena-Lite (+0.09 on 117 unseen tasks), where the gain lives in what the model sees (two pages of history instead of one) and adapters add nothing. Generality: nine evolution lines on eight models from six families; seed measurements separate the five lines where the harness lever paid (+0.05 to +0.14) from the three where it paid nothing. Measurement: four-rollout means, differences below 0.035 are noise.
- Paper
Fold2Reason: Does Learning Protein Folding Generalize to Broader Reasoning?
Fold2Reason asks whether solved protein structures can serve as a non-linguistic reasoning teacher. It builds FoldingCorpus — 1,200 proteins, 14,400 QA records via 12 deterministic structural operators (contact, distance comparison, segment orientation, center proximity, local direction, chirality, multi-constraint, 32-way global summary) applied to the OpenFold monomer short-protein collection, with 1,000/100/100 train/dev/test proteins in cluster-disjoint partitions and independently recomputed, auditable answers. Fold2Reason post-trains Qwen3.5-9B with LoRA through a shared training-time workspace using two complementary signals: discrete structural answers predicted via the native language head (L_qa) and continuous 3D geometry decoded by a frozen coordinate/distogram decoder (L_geo = coordinate + pair-distance + contact + distogram + local-frame + torsion + radius-of-gyration losses). At inference, protein inputs, workspace, and geometry decoder are all detached — only the adapted LM is evaluated. On FoldBench, structure prediction scores are 2.7–3.5× the base Qwen3.5-9B. On the "General-10" set of 10 benchmarks spanning spatial, graph, scientific, and general reasoning (text, image, and video tasks), macro-average accuracy rises 45.09% → 48.33% (+3.23 pp) across three seeds, positive on all 10 — while matched controls built from random, synthetic, and shuffled structures yield substantially smaller or negative gains. Ablations: FoldingCorpus supervision alone gives +2.93 pp; geometry adds +0.30 pp concentrated in spatial evaluations; gains extend to three Qwen3.5 scales and InternVL3.5-8B (Gemma-4-12B-IT neutral); a 50–4,000-protein study peaks at +3.70 pp with 2,000 proteins.
- Paper
Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models
NVIDIA paper on choosing which base checkpoint deserves an expensive round of agentic post-training. The problem: end-to-end SWE-bench Verified pass@K is near zero for base checkpoints because untuned base models cannot reliably operate tool-use harnesses (Appendix F; the dair_ai thread reports six base models with five solving zero tasks), while non-agentic coding benchmarks correlate inconsistently with post-trained agentic performance (across ten base/post-trained pairs, Spearman rho with post-trained SWE-bench Verified pass@1 ranges from 0.830 on RepoBench XFirst to -0.394 on HumanEval). The method treats successful post-trained agent trajectories as a lookahead signal of base-model potential: replay each trajectory and rerun the task's tests after every code-changing step; the decisive step T* is the first step whose cumulative patch flips the repository from failing to passing, and its action is the golden action - produced by a real coding agent and certified by the same verifier that defines task success, not the human-written gold patch. Three screens are built at the decisive step, none requiring the base checkpoint to drive the harness from a cold start: (i) Decisive-Action BPB (bits per byte) measures the byte-normalized probability mass the checkpoint assigns to the golden action; (ii) Patch MCQ tests the checkpoint's choice between the golden action and distractor alternatives rejected by the same verifier; (iii) prefix-conditioned pass@K draws K continuations from the decisive step and lets the task's own verifier judge them, crediting any continuation the tests accept. Across ten pairs of public base and post-trained models, all three screens rank the cohort in close agreement with post-trained SWE-bench Verified pass@1: Decisive-Action BPB reaches Spearman rho=0.964 on held-out trajectories from DeepSWE (a separate agentic coding benchmark), Patch MCQ reaches rho=0.903, and prefix-conditioned pass@K at K=16 reaches rho=0.988 on SWE-bench Verified trajectories. The construction is a generic recipe: any agentic coding benchmark with successful trajectories and a verifier can be converted into a base-model evaluation. Related-work details worth knowing: motivated by the coverage principle (base-model mass on high-quality behaviors bounds post-training gains); their audit of 1,682 APTBench MCQs found designated-correct options that were wrong or not unique, which motivates the verifier-certified distractor construction for Patch MCQ. License: (c) 2026 NVIDIA, all rights reserved - not CC-BY. No code repo found at catalog time.
- Paper
Self-Retrospection Distillation: Turning Post-hoc Experiences into Prior Foresight
Self-Retrospection Distillation (SRD) instantiates "prospective learning": rather than learning only from scalar outcome rewards after interaction, it uses post-hoc experience to supervise foresight predictions made from the pre-interaction view. Two prospective views: Knowledge (what would have been useful to know), supervised by successful trajectories, and Pitfall (failures to avoid), supervised by failed ones — same procedure, differing only in the prospection instruction. For each rollout in an on-policy group, the student samples a foresight sequence blind to the completed trajectory, while a hindsight teacher (a frozen copy of the same policy) evaluates the same prefix conditioned on privileged post-hoc context (the trajectory, gold solution, and error annotations); a token-level distillation loss aligns foresight with hindsight. Foresight is only a training target and need not be generated at inference time. Across 10 tool-integrated reasoning and long-horizon agentic benchmarks (AIME 2024/2026, AMO-Bench, LiveCodeBench-v6, OJBench, HotpotQA, 2WikiMultiHopQA, BrowseComp-Plus, ALFWorld, WebShop), SRD complements RLVR and self-distillation baselines with gains of up to 24.2 pp, and gains transfer under held-out distribution/format/horizon shifts. Its advantage is largest when reward contrast is scarce: 37-98% of rollout groups are reward-uniform across model scales, yet SRD still extracts learning signal from the trajectories. In the Qwen3.5-2B code-only setting (dynamic sampling disabled so reward-uniform groups are retained), where 98% of groups are all-failure, standard RLVR ends at 0.0% success while RLVR+SRD reaches 60.6% under the same rollout budget. Main training: Qwen3.5-4B and Qwen3.5-9B. The paper also formalizes the "reward-silent regime" (Appendix A) and includes a mechanism-level case study (§F). CC BY 4.0; no code repo mentioned in the paper at catalog time.
- 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).
- Code
slime v0.4.0: A First Step Toward Greater Scale
slime (THUDM) is an LLM post-training framework for RL scaling that connects Megatron training with SGLang rollout through a shared training/rollout/Data Buffer path; it is the RL framework behind the GLM-4.5 through GLM-5.3 model releases and supports Qwen, DeepSeek, and Llama 3 models (repo ~8.6K stars, Apache-2.0). Release v0.4.0, 'A First Step Toward Greater Scale', was motivated by OpenAI's Navier-Stokes research effort (~10,000 concurrent agents, ~130B output tokens), which prompted a rethink of RL infrastructure scale. Four architectural changes: (1) Focus — two training modes share one train.py lifecycle: synchronous training for algorithmic exploration and correctness, fully async training for throughput at scale (legacy train_async.py removed; PR #2391). (2) Distributed rollout — with the new straw backend, fully async rollout runs one rollout worker per Ray node on CPU resources, each with its own generation pool and asyncio event loop, so orchestration spreads across cluster CPUs instead of a single process bottleneck; training batches collect completed groups without waiting for every worker (PR #2410). (3) Persistent storage — straw (github.com/zhuzilin/straw) provides durable queues and shared tensor storage on a filesystem (JuiceFS currently supported): rollout workers publish payloads to shared storage and training ranks read by reference, moving bulk data off Ray's object-store transport; prompt tasks, partial rollouts, completed samples, and converted training batches persist as large append-only files to reduce small-file/filesystem metadata overhead, with checkpoint rollback support (PRs #2410, #2427). Select via --rollout-data-transport straw. (4) Independent recovery — Megatron training lifetime separated from the SGLang serving cluster: healthy engines/routers keep running after a training failure, and resubmitted training restores the last committed checkpoint and replays retained batches, reusing accepted samples and conversion results (PR #2444). Other improvements: score centering (REINFORCE objective with top-p replay and importance-sampling corrections, --use-score-centering, for training-inference mismatch); PipelineRL --flush-cache-interval letting unfinished requests and KV caches survive selected weight updates; streaming and agent rollouts (cumulative/incremental generation streams, partial-prefix retention, per-request cancellation); Biren SUPA and Ascend NPU accelerator backends; correctness fixes (linear-attention gradients under context parallelism, full-vocabulary reference logprobs in actor top-p replay, checkpoint shard selection in disk-delta sync); stack updated to Megatron Core 0.19.2, Transformer Engine 2.18.0, Flash Linear Attention 0.5.2, NCCL 2.30.7.
- Paper
MIMESIS: Learning User Simulators as Training Environments for Interactive Agents
MIMESIS is a purpose-built 9B user simulator (Qwen3.5 backbone) for training and evaluating interactive agents. Agent RL setups normally let an off-the-shelf assistant LLM play the user, but those are overly cooperative, explicit, and behaviorally homogeneous: on tau-bench a fixed GPT-5.5 agent succeeds 63.6% of the time with real users, but 82.4-84.4% when frontier API models (GPT-5.5, Gemini-3.8-Flash, Claude-Opus-5) play the user - while pretrained Qwen3.5 models make it harder (-14.9/-16.0 pp). MIMESIS-9B hits 66.1% (+2.4 pp), far closer to real users. Training is two-stage: (1) mid-training on 21.2M human-assistant conversations (9.51B tokens) adapting Qwen3.5 to the user role, and (2) reasoning-supervised RL on SOUL environments with explicit supervision over a taxonomy of 13 realistic user behaviors mined from ThoughtTrace conversations (hidden evaluation criteria, incremental goalpost shifting, clarification noncooperation, infeasibility persistence, underspecified-then-blames, abrupt intent switching, artificial constraint stacking, fabricated/false premise, impatient low-signal pressure, unresolved thread abandonment, self-contradiction, request overloading, belittling/entitled pressure). During interaction the simulator generates both a private thought and a public utterance; only the utterance is shown to the agent. Results: SOUL-Index 65.7 (5 axes: conversational, social, cognition, role play, eval/judgment), beating Claude-Opus-5 (64.9) and GPT-5.5 (64.1) and +15.2 over its pretrained backbone; on RealUserSim it improves behavioral fidelity over Claude-Opus-5 by 13.4 points and reduces SimulatorArena Turing distance by 3.6 points. Freezing the simulator and training agents with multi-turn GRPO across eight Gym environments (Travel, Turtle, Function, Tau, Persuade held in; Intention, Telepathy, Search held out), MIMESIS-trained agents beat GPT-5.5-trained agents under all nine unseen evaluation user models (frontier APIs + released simulators). The paper also introduces Coached On-Policy Self-Distillation (CSD): a coach model turns the simulator's private reasoning traces and subsequent utterances into concise coaching notes, adding dense token-level supervision (L = L_GRPO + alpha L_CSD) beyond sparse task rewards, with further gains under all nine evaluation user models while the deployed agent conditions only on public dialogue. Code: github.com/VietHoang1512/mimesis (project page viethoang1512.github.io/mimesis). Paper license CC0 1.0.
- 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
Relative Generalization Invariance of LLM Pretraining
Introduces Relative Generalization Invariance (RGI): the validation-loss difference between any two tokens is preserved across models, i.e. L_A(d) = L_B(d) + C_AB — different training choices produce a token-independent constant shift rather than selective per-token improvement. GPT-style models (124M, 0.7B) trained on FineWeb with six optimizers (Adam, Adam-mini, Lion, Muon, Soap, Scion) from shared initialization and data streams show concordance correlation r_CCC > 0.95 and relative discrepancy r_diff < 0.05 after ~2,000 steps; at 10K steps the validation-loss relationship between optimizers is near-perfectly linear (R^2 >= 0.99). RGI persists approximately across architectural changes: RoPE/NoPE/ALiBi positional encodings, full vs sliding-window attention, GELU/SiLU/Squared-ReLU FFN activations, different initializations, and moderate width changes. Changing the training data breaks it: FineWeb-trained vs ArXiv- or CodeParrot-trained models (same Adam optimizer) fail to exhibit RGI; C4 shows partial, unstable alignment. Not explained by NTK/lazy training — parameters and hidden states move substantially from initialization and cross-optimizer similarity decreases while RGI persists — nor by mean-field regimes (RGI appears in narrower models); the authors prove RGI can emerge in an overparameterized quadratic model. License: CC BY 4.0.
- Paper
EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory
EngramEdit turns the n-gram conditional-memory modules of architectures like DeepSeek Engram into an editable knowledge interface, decoupling factual knowledge updates from the Transformer backbone. Conditional memory uses input n-grams to look up learned embeddings; ablations show disabling it collapses factual-knowledge performance (~39% of enabled) while largely preserving in-context understanding and reasoning (~72%), so facts live in the n-gram tables while computation lives in the backbone. The core problem: different phrasings of one fact activate different n-gram embeddings, and editing shared embeddings can corrupt unrelated facts. EngramEdit's procedure: (1) generate multiple expressions of each fact to broaden n-gram coverage; (2) temporarily add a shared learnable perturbation to the memory representations of its expressions and optimize only that perturbation by backpropagating the new-fact prediction loss, yielding a target memory representation per expression (mirroring ROME-style locate-then-edit FFN targeting); (3) jointly solve for updates to the shared n-gram embeddings that match these targets across all expressions and edits, with reuse-based regularization that penalizes large updates to frequently reused (short/frequent) n-gram embeddings more strongly. Results: near-perfect editing success on CounterFact and ZsRE, revised knowledge usable across unseen expressions and in multi-hop reasoning (nearly 3x the strongest baseline's MQuAKE accuracy under chain-of-thought prompting), with unrelated knowledge and general capabilities largely preserved under extended sequential editing. Because only a small subset of n-gram embeddings changes, the edit set is a few-MB overlay that can be swapped per user, enabling continual per-user learning without touching the backbone. Limitation: edits are currently primitive [subject, relation, object] triples only. Code: https://github.com/ModalityDance/EngramEdit
- Post
Improving Qwen3.8-27B-Medium on DeepSWE with GRPO: 500-task SWE agent dataset experiment (AfterQuery)
AfterQuery's internal post-training team trained Qwen3.8-27B (medium reasoning) with GRPO on 500 tasks from their SWE agent training dataset and reports DeepSWE pass@1 (avg of 3 attempts) rising from 27.8% to 39.1% (+11.3 points) over 15 GRPO updates. The dataset spans 10,000+ tasks authored by experienced software engineers and open-source contributors with expert review, built from real workflows in private enterprise codebases to avoid evaluation contamination; the 500-task subset was chosen in a 'learnable distribution' across 422 repos (Python 39.4%, TypeScript 24.2%, Go 20.4%, Rust 13.8%, JavaScript 2.2%) with 80.4% feature requests, 11.6% bug fixes, 8.0% enhancements. Training: 8 attempts per task, GRPO updating all LM parameters on each attempt's reward relative to the group, medium reasoning to speed rollouts; mean shaped reward rose 0.570 to 0.856 over 15 updates (each update a new batch of tasks), entropy held 0.509-0.605 nats/token with no sustained decline. Same-harness evals (mini-swe-agent, medium reasoning): DeepSWE pass@3 51.3%->68.1%; Terminal-Bench 2.1 pass@1 57.30%->61.42%, pass@3 73.03%->75.28%; SWE-Bench-Pro (Hard) pass@1 61.44%->64.71%, pass@6 flat at 88.24%.