Explore the research collection
243 entries · showing 49–72 · Follow this search
- Paper
Comparing Sparsified MLPs and Transcoders: Many Transcoder Features Are Neurons in Disguise
Asks what transcoders — sparse learned approximations of MLP layers, the substrate of attribution-graph circuit analysis — actually contribute over raw MLP neurons, prompted by Arora et al. 2026 and Ye et al. 2025 showing neuron-basis circuits can match transcoder circuits. Construction: a gated-MLP neuron at high activation magnitude is approximately bilinear, with effective encoders W_up ± W_gate and decoders ±W_down, so each neuron is treated as two sign-split features; the "sparsified MLP" is the MLP itself under layer-wise top-k thresholding (k≈50–64) on sign-split activations — a narrow transcoder with no learned weights. A transcoder feature is a NEURON FEATURE iff both its encoder and its decoder exceed a cosine threshold to the SAME neuron's effective encoder and decoder (the per-feature similarity distribution is bimodal; the separating threshold varies 0.6–0.9 across transcoders, headline claims at 0.6/0.7). Evaluated across 13 open-source per-layer transcoders (TopK and JumpReLU, two codebases) on dense base models 1B–27B (Gemma 2/3, Qwen 3, Llama 3.1/3.2; detailed testbed Gemma 3 4B). Prevalence: neuron features are a small share of the dictionary (late layers 5.9% → 8.9% → 15.6% → 37.1% from 1B to 27B) but fire >10× more often than other features, so they dominate activations — 57.9% → 82.8% of late-layer activations over the same range, near zero in early layers and >50% by mid-model; in attribution graphs they are ≥40% of nodes in the late third of layers for every transcoder tested (one exception ~38%). Faithfulness (§3.4): the full transcoder's Jacobian alignment with the MLP is ≈0.3; the neuron-aligned subset alone reproduces ≈0.3 while the non-neuron subset reaches only ≈0.05 — essentially all of the transcoder's first-order faithfulness is its neuron features; top-k-pruned neurons alone match or exceed the full transcoder's Jacobian alignment in late layers. Stability (§3.5): features that recur across training seeds are >50% likely to be neuron features in most configurations, and stable-feature count grows sublinearly with dictionary width — a 1M-feature dictionary discovers only ~22k stable features, comparable to the model's 20,480 sign-split neurons. Distance from init (§3.6): in TopK training, neuron features rotate to near-orthogonal to their random initialization (median encoder cos ≈ 0) while non-neuron features stay close (median cos +0.48, many >0.8) — the non-neuron remainder is partly an initialization artifact; JumpReLU pipelines behave differently. Their constructive fix, neuron initialization (§3.7): initialize encoder rows at neuron directions and alignment survives training — features with encoder similarity >0.5 to a neuron rise 11% → 92%, and aligned features carry 95% of activation mass (vs 65%). Replacement-model comparison (§2): sparsified neurons plus a trained linear reconstruction map beat transcoders on KL (replacement faithfulness) while losing on FVU (reconstruction) — part of what transcoders learn improves reconstruction only, not behavior; neurons match or exceed transcoders on sparse probing across 8 transcoders, and top neuron activations are as monosemantic as transcoder features on sort evals. Where transcoders still win: reconstruction, fine-grained concept detection (dictionary bigram features fire on their target bigram 75.6% of the time vs ~0% for neurons — though neurons still score 0.988 mean AUC on the probing task), and early layers; non-neuron features do encode extra interpretable concepts (bigrams, color), though the authors are uncertain how truly the model represents them. Recommendations: avoid transcoders with <4× width expansion (for MoEs, practically don't use transcoders); use TopK≈64 sign-split neurons as the baseline in dictionary-learning comparisons; consider neuron initialization. Limitations (authors'): base models only, mostly English, all dense, per-layer transcoders only; only sparse high-magnitude activations characterized — the low-activation regime is explicitly out of scope; neuron-feature fraction depends on architecture and threshold with no complete explanation; faithfulness measured is first-order Jacobian only, not interventional; cross-layer transcoder evidence preliminary (2 narrow models); no human evaluation (automated interpretability metrics only).
- Paper
Copy-Paste Language Models
Adds a pointer-style Copy-Paste (CP) head beside the standard LM head, motivated by the authors' own prior result (Godey & Artzi 2026) that the LM head is an optimization bottleneck, not just an expressivity one: backpropagating V-dimensional logit gradients through the D-dimensional head compresses them like a random projection — at 135M scale (D=576, V=49,152) LM heads lose over 99% of the gradient norm before it reaches the backbone, with the loss level set by the D/V ratio. Mechanism: the CP head scores context positions with q_t = W_Q h_t and keys k_τ = W_K h_τ (two D×D projections plus one sink key, +0.5% params at 1.7B); the copy distribution marginalizes attention over positions carrying the same token. A dummy <copy> token in the LM head supplies the gate c_t (its softmax probability); a learnable <sink> key in the CP softmax supplies the fallback probability s_t; the prediction is the mixture p = (1−λ_t)·p_LM + λ_t·p_CP with λ_t = c_t·(1−s_t). Trained end-to-end with plain next-token cross-entropy — no auxiliary loss, no copy supervision; closest prior art is the pointer-sentinel mixture (Merity et al. 2017), but here the gate is decided by the LM head before any copy attention is computed, so decoding can skip the copy pass when it cannot change the argmax. Because CP logits live over t context positions (t << V), the CP gradient path preserves up to 85% of gradient norm at early positions. Setup: ~60% of FineWeb-Edu tokens already appear earlier in a 4k context; pretraining 135M–1.7B on up to 200B FineWeb-Edu tokens (SmolLM2 recipe) across Full-attention, sliding-window, Hybrid 3:1 (SW:full interleave), and Gated DeltaNet backbones. Results: CPLMs reach the vanilla final loss 1.25× faster (Full/Hybrid) to 2× faster (SW) at 1.7B; 0.5–1.5 PPL better on OOD FinePDFs at 1.7B; zero-shot +0.4–0.9 avg (LAMBADA +2.5–4.0); gains also land on tokens the model does not copy. A sliding-window (w=256) CPLM matches full-attention vanilla perplexity at 12× less memory per token (copy cache included), and w≈128 also matches; rolling perplexity keeps improving out to 16k (4× training length) while vanilla models degrade past ~1k. Mechanistic evidence: a stop-gradient ablation (blocking CP gradients into the backbone) keeps only ~25% of the gain (0.008 vs 0.031 nats/token), i.e. ~75% of the benefit is the gradient pathway, not the extra output path; on the SpamLang synthetic task (D=576 fixed, V swept 8k→512k) vanilla collapses (34% accuracy at 512k) while CPLMs solve every size; byte-level models (V=257 < D=576, no bottleneck) get zero gain — a clean falsification check for the rank theory. Capacity effect: 1.7B CPLM backbones form only 4 induction heads vs 13–15 in vanilla models while copying better — the CP head takes over the induction heads' job. Long context (needle test, 1k–64k, averaged over the depth/length grid): SW 14.3% → 99.4%, Hybrid 3:1 58.2% → 83.6%, Full 49.7% → 54.8%; BABILong/RULER +7.5 avg, LongBench +4.1 avg. SFT on Tulu-3 (1.7B): CPLM beats vanilla by +1.2–5.1 average points; SW-256 CPLM lifts MATH (levels 1–2, pass@4) 7.2% → 16.4%, above Full-attention vanilla (13.9%) and near Full CPLM (17.5%); GSM8K gains hold at every pass@k. RAG (HotpotQA distractor setting, fine-tuned 1.7B): with documents hidden from the backbone and reachable only through precomputed CP keys, CPLMs keep 90–97% of their docs-visible accuracy at 5 distractors and 34–38% EM at 500 distractors with a 50× smaller cache than a full KV cache; the SW CPLM holds 34% EM at 500 distractors where every Full model fails, and a last-layer-KV control with twice the CP cache's memory sits at 14% EM (never-sees-the-docs level); document CP keys can be computed once and reused across queries. Overhead (single B300, bf16): +0.5% params at 1.7B/9B (+0.2% at 30B); training at 97% of vanilla throughput at 1.7B (~3% slower), within 1% at 9B/30B; inference prefill unchanged, decode step +1.0–3.8%, per-request +0.8–1.7%; copy cache is D values/token (2.1% of the KV cache at 1.7B). A CPLM variant also holds the modded-nanogpt speedrun record (+11.3% over the prior record, largest architecture-centric speedup since Dec 2024). Ablations: gains are 15–40× seed std at 135M (p<10⁻³); the sink matters most at small windows (−0.3 PPL at w=32, −0.07 at w=256, ~0 at w≥512); the <copy>/<sink> gate beats Chang et al. (2023) pointer partitions and matches or beats sigmoid-gate and shared-softmax mixtures; the CP head also improves Gated DeltaNet and Hybrid-GDN backbones (~0.5 PPL in-domain, 1–6 PPL OOD). Limitations (authors'): the CP head only relaxes the bottleneck for tokens present in the context; experiments stop at 1.7B, so how benefits evolve as D approaches V is untested; shrinking CP projections to d=64 costs nothing (within 0.02 PPL of d=2,048 at 9× less cache), which the pure rank theory does not obviously predict — left open; multi-seed analysis only at 135M; ethics note that easier copying may reproduce sensitive or copyrighted in-context content more faithfully.
- Paper
JetSpec++: Foresight Parallel Drafting with Self Refinements
Algorithm-system co-design for speculative decoding: acceptance rate and drafting cost co-optimized by hiding the draft model's cost almost entirely. Three components: (1) Intra-block self refinement — the causal parallel draft model (built on the original JetSpec architecture) is trained to iteratively correct its own parallel predictions within a token block via Jacobi-style passes; each pass moves the draft distribution toward a more autoregressive factorization with better target alignment; between passes, a context refresh re-predicts the target hidden states and an anchor replacement swaps the first draft token that disagrees with the decoder. (2) Inter-block foresight drafting — drafting the next block begins before the current block is verified, by anticipating possible verification outcomes and predicting the corresponding target hidden states and anchor tokens. (3) Pipelined drafting and verification — the two stages overlap (draft model on a second GPU) so drafting's marginal wall-clock cost approaches zero; the freed draft-side time funds the Jacobi passes and context refreshes. Lossless: standard speculative-sampling rejection rule preserves the target model's output distribution exactly (stated in the paper, §2). Results (all first-party, batch-size-1 serving on NVIDIA GB200 with CUDA graphs): targets Qwen3-8B and Qwen3.8-27B (thinking disabled); baselines DFlash, DSpark, Domino, JetSpec, SSD (Qwen3-0.6B drafter) — all drafters trained on 800k target-regenerated sequences, block size 16, verification budgets 16/32. Seven benchmarks: GSM8K, MATH-500, AIME25, HumanEval, MBPP, LiveCodeBench, MT-Bench. Up to 7.45× wall-clock speedup over autoregressive decoding and 1.54× over DSpark (1.54× on GSM8K, 1.51× on MATH-500); up to 1,361 tokens/s for a single request; average acceptance length 8.94 across the seven benchmarks (vs 6.89 for DSpark at temp 0) — longest of all methods on every benchmark at temperatures 0 and 1; cuts per-round overhead beyond verification by up to 84% vs DSpark. Caveats (authors' framing preserved): the 7.45× is the max (budget-16, single-request GB200 serving); the headline comparisons are at verification budget 16; all figures vendor/first-party, no independent repro; draft models are target-specific (trained per target on its own outputs).
- Paper
Check The Scoreboard: An Analysis of Scoring Schemes on Multiple-Choice Evaluation
MCQA benchmarks use number-right scoring (accuracy), but educational testing treats the scoring scheme — response mode (how test-takers answer) + scoring rule (how answers are graded) — as the key design choice for which abilities get rewarded. The paper ports six education-inspired schemes to LLM eval, each implemented as a prompt (response mode) plus metric (scoring rule), all on InspectAI MCQA templates: (1) Negative Marking (NM) — pick one answer or abstain; +1 right, −1/(n−1) wrong, 0 abstain (uncertainty, abstention); (2) Elimination Scoring (Elim) — list answers believed wrong; score = proportion of distractors eliminated, 0 if the correct answer is eliminated (partial knowledge, eliminative reasoning); (3) Elimination+NM — 1/(n−1) per eliminated distractor, −1 for eliminating the correct one (partial knowledge + abstention); (4) Confidence-Based Marking (CBM) — predict answer + confidence C∈{1,2,3}: C=1 → +1/0, C=2 → +2/−2, C=3 → +3/−6 (discrete confidence calibration); (5) Personal Point Allocation (PPA) — output a probability distribution per choice, scored by Brier score vs the one-hot gold (probabilistic calibration); (6) Answer Until Correct (AUC) — answer until correct over a fixed number of tries, told when wrong; score (r−1)/(n−1) where r = choices left when correct (self-correction, adaptability). Number Right (NR) is the baseline and a rephrased Control Variation (NR-Var) is the prompt-sensitivity control — so the table has 8 rows, 6 of them the alternative schemes. 31 LLMs (Gemini 2/3 Flash, 2.5 Lite, 2.5/3 Pro; GPT 4.1, 5 Nano, 5 Mini, 5, 5.2; Claude 3.7/4/4.5 Sonnet, 4.5 Haiku; Cohere Command-R/R+/R7B; DeepSeek V3.1, R1; Qwen-3 80B/235B Inst/Think; LLaMA-3.1 8B/70B/405B; GPT OSS 20B/120B; GLM 4.5/4.6; Kimi-K2; GPT-OSS and Cmd-R+ omitted on SuperGPQA for speed; default params) on 1,000 sampled MCQs each from ARC, MMLU, and SuperGPQA (285 graduate topics). Findings (author-reported, exact correlation values live in the paper's figures): (1) Elim, Elim-NM, PPA, and AUC shift LLM rankings beyond the NR-Var control (Spearman vs NR, bootstrapped SE n=1000) — they measure abilities NR doesn't; NM and CBM correlate highly with NR. Also holds under choice-shuffling/letter→number sensitivity baselines on ARC; ARC's NR scores cluster, so the schemes double as tie-breakers. (2) AUC best predicts LLM Arena crowd-preference rankings — better than NR — consistent with users preferring models that adapt to feedback; the NR-vs-AUC gap is wider on technical queries (Math, Expert) than on Creative Writing; a cheaper self-refine-once ablation also improves Arena agreement. (3) Schemes surface model quirks NR hides: GPT models state high confidence and rarely abstain; weaker GPT models struggle to change answers after being told they're wrong while stronger ones readily self-correct; Command-R+ often abstains; LLaMA-3.1 hesitates to eliminate choices; weaker open-weight models often abstain and hesitate to eliminate. All models state high confidence in CBM and rarely abstain in NM on easier datasets (ARC, MMLU) but not SuperGPQA — some awareness of item difficulty. Larger models and test-time reasoning improve cross-scheme consistency (NR answer must not be eliminated in Elim; NR answer must carry the most PPA weight). Caveats (authors' own): prompt sensitivity — changing prompts can shift ranks; LLM Arena doesn't disclose its prompts/inference params; AUC is the most expensive scheme (many turns, costs in Table 3) though still cheaper than crowdsourcing. Discussion: extend education-inspired scoring to programming (White 1993) and writing (Tew & Guzdial 2010) rubrics, and run classic NLP tasks (NLI, summarization) as multi-turn dialogues to form user-inspired evaluations. AI-use statement: Cursor used for plot design/refactoring/debugging, ChatGPT for writing brevity ("AI tools did not directly write any parts of this paper"). Code repo: github.com/nbalepur/mcqa-scoring (created 2026-03-01, 8 commits, 0 stars) — includes a "Self-Refine (ablation)" scheme row not in the paper's Table 1.
- Paper
LoopQuant: Accurate and Efficient Post-Training Quantization for Looped Transformers
Loop-aware PTQ for looped LLMs (LoopLMs), targeting W4A4/W4A6. Three components: (1) CLDC (Cross-Loop Distribution Canonicalization) — learns a shared orthogonal-scaling/rotation representation across recurrent states + group-aware channel reordering, keeping parameter sharing intact (directly addresses activations drifting across passes); (2) ILPA (Interaction-Aware Loop-wise Precision Allocation) — assigns 4-bit or 8-bit activation precision per loop under a fixed bit budget from task-level loop sensitivity plus cross-loop error interactions; (3) LCTC (Loop-Conditioned Task Calibration) — calibrates along the actual low-bit recursive trajectory, tuning only lightweight loop-conditioned clipping/gain/bias params; weights frozen. Numbers (first-party, vs SmoothQuant/QuaRot/SpinQuant/FlatQuant/DartQuant, GPTQ weights, 128 WikiText2 calib seqs, lm-eval, RTX PRO 6000): Ouro-2.6B W4A4 (68.89 avg zero-shot) beats all W4A8 baselines (best QuaRot W4A8 68.30); W4A6 70.20 vs 71.12 BF16. Memory −65.3% vs BF16, ~1.5–1.7× decoding speedup. Reasoning: Ouro-2.6B-thinking W4A4 retains >97% of BF16 (72.46/72.02/81.15 vs 76.20/73.31/82.32); baselines partially collapse (DartQuant W4A4 HumanEval: 4.88). Models: Ouro-1.4B/2.6B (+thinking), Nanbeige4.2-3B, Huginn-0125 (T=6). Caveats: the >97% retention is Ouro-2.6B-thinking only — Ouro-1.4B-thinking retains ~87%; all GPTQ-backed; speedups are PyTorch-on-RTX-PRO-6000; authors note prior/concurrent LoopQ (Fang et al. 2026) did initial cross-loop work but released no code, comparison only via its original numbers. Ethics statement flags quantized behavior may shift in ways accuracy benchmarks don't capture.
- Paper
LAST: Looped Audio Spectrogram Transformer
One full spectrogram pass through D=6 shared blocks, then audio tokens freeze; later passes update only the class token by attending to cached audio keys/values (K/V computed on pass 2, reused). End-to-end training with gradients reaching the first pass. Cached class-token pass costs O(D(C²+NC)) vs O(D(NC²+N²C)) full — the quadratic-in-N term vanishes. On AudioSet (1.9M train / 18,886 eval, from scratch, 12 epochs): R=10 reaches 0.3450 mAP vs 0.3379 for sequential 12-layer AST — +2.1% relative with 49.4% fewer parameters (43.5M vs 86.1M), 42% fewer MACs, 9.8% higher throughput. Passes 2→10 add only 1.2% compute; mAP rises monotonically. Key control: naive full-token recurrence with the same blocks gets worse (0.3247→0.3099 mAP, R=2→10) at ~8× MACs — the gain is specific to class-token-only loops. Robustness: leads sequential D=12 in all 12 corruption families (38 settings; family-mean 0.2651 vs 0.2422) and under temporal masking (0.1383 vs 0.0905). Frozen-feature probe wins 5/8 tasks (FMA-Small 43.5→50.9%; ESC-50, VGGSound, DCASE). Caveats: single seed, trained from scratch; each pass-count data point is a separately trained model — nothing establishes a trained LAST benefits from more passes at inference; absolute mAP modest; no win on speech keyword spotting or US8K — gains concentrate in music/events/environmental tasks.
- Paper
Harness²: Recursive Agent Harnessing for an Open World
Google Cloud AI Research + Northwestern's recursive self-improvement framework for agent harnesses in open-world settings. The model stays 100% frozen; the harness is the object of optimization. Eight editable components (system prompt, guardrails, memory, skills, tool guidance, scripts, subagents, middleware plugin — each a mounted runtime file; extends the AHE file-level decomposition by one). Two coupled recursion levels: task-level recursion refines the current task's execution harness via a contrastive Propose–Probe–Compose step — propose invariant + domain-specific candidate harness edits, probe them under matched conditions, compose changes supported by behavioral contrasts, no ground-truth verifier needed — scalable in parallel or sequential schedules; harnessing-level recursion distills reusable experience into an improvement library (adopted harnesses + EXPERIENCE.md lessons) that guides future proposals. On three professional benchmarks (WorkBuddy-Bench, JobBench, Harvey's Legal Agent Benchmark) across four executor–harness configurations (GLM-5 and Gemini 3.5 Flash under OpenCode/Codex, edited by Claude Opus 4.8), a single contrastive step consistently improves every configuration: up to +11.5 points WorkBuddy-Bench, +4.5 points JobBench, +11.8pp LAB Partial pass rate. Parallel recursion to k=5 reaches 80.8 on WorkBuddy-Bench and 39.0 on JobBench (31.5 base); improvement libraries transfer across benchmarks. Result: an adapted weaker model can surpass an unadapted stronger model. Caveats: multi-candidate probing multiplies test-time token costs; main experiments rely on a frontier editor (Claude Opus 4.8); behavioral signals don't guarantee correctness.
- Paper
Evaluating Model Capabilities After Benchmark Saturation
When benchmark scores saturate, do model transcripts still contain capability signal? The authors simulate saturation retrospectively: split benchmarks into saturated items (top-3 reference models all correct) and unsaturated items, give protocols only correctly-solved transcripts from the saturated set, and test whether they predict IRT-fitted latent capability on the unsaturated set. Across four domains (Science, Maths, Coding, Cyber) and 16 target models (2025-II, 2026-I semesters), pairwise LLM judging ("which of these two correct solutions came from the more capable model?") is the only protocol significantly better than the saturated-score baseline: pooled MSE 0.26 vs 1.37 — a 5.27x error reduction (mean LLR 0.68, p=.005). Deterministic transcript features, embeddings, and absolute 1–10 scoring do not significantly beat baseline. The signal lives in reasoning and tool channels: removing reasoning raises error ~3–4x in Coding/Cyber/Science (not Maths); removing tool interactions raises error ~4x in Cyber only; removing messages has no effect. The signal is redundantly distributed — any transcript third alone usually beats baseline. Pairwise judging generalizes to more capable targets and transfers to six closed-source models (Claude Opus 4.7/4.8, Fable 5, GPT-5, GPT-5.6 Sol, Gemini 3.5 Flash), and is significant only in the agentic domains (Coding, Cyber). The failure mode: the early-2025 reasoning-model shift — pre-reasoning-era judges underestimated reasoning targets by 2.1–3.0 θ units (MSE 6.20 vs 0.24); withholding reasoning text only halves the error, so the transcript–capability relationship itself changed. Code MIT at github.com/Mamiglia/scalable-capability-evaluation (650 commits, Inspect AI).
- Paper
Scaling Discovery Requires Forgetting
LLM-agent discovery plateaus because agents accumulate history: each agent becomes anchored to its own past attempts, making fewer and smaller edits, so more budget buys little. The paper's fix is forgetting: periodically discard every agent's session (messages, tool calls, errors) and the entire candidate history, keep only the highest-scoring artifact, and restart all agents from it with empty context. On a team of four agents with result-sharing (3 forgets → 4 budget-equal rounds), this Periodic Amnesia Search yields up to 15% over independent parallel agents and 39% over a single agent at matched token cost. Measured mechanism: edit distance between successive code artifacts decays exponentially as context grows and diff token entropy collapses — the model mimics recent turns instead of sampling its prior; before the first reset median edits shrink ~150→30 lines and thinking tokens ~28k→7k, and after forgetting agents resume larger edits and more reasoning tokens per proposal. Evaluated on four discovery tasks (AHC014 heuristic programming, a Frontier-CS optimization problem, Anthropic's kernel challenge on a simulated VLIW SIMD machine, a five-minute nanochat LM training run), all with the Pi agent + DeepSeek V4.1 Flash ($20 budget/replicate), 3 replicates each; Frontier-CS Q171 breaks the plateau pattern (parallel agents keep improving) yet the forgetting team still finishes 15% higher; on AHC014 the forgetting team reached mean best score 1,103K vs 964K parallel vs 795K single (best-replicate trajectories 1,144,695 / 1,007,073 / 961,136 — not the means). Stalled runs that forgot gained 4.5–9.2% over the next 30 proposals vs <2% for continuing runs at up to 2× cost (equal-proposal comparison, not equal-dollar/equal-time; AHC014 team-of-4 panel: 9.2% ± 6.9% at $15.32 vs 1.4% ± 1.3% at $24.67). Caveats: the anchoring explanation isn't isolated (session + candidate history cleared together), "when and what to forget" is left for future work, and generality beyond the four tasks isn't established.
- Paper
Training Language Models to Fail Gracefully
RL makes LMs better at tasks, but success-only rewards make guessing rational — when wrong actions corrupt databases or ship broken code, that's costly. This paper trains models to fail gracefully: preserve successful behavior where possible, execute a safe fallback where acting would be unreliable. Rewarding Success > Fallback > Error (1/c/0) with standard policy gradients is brittle: the gradient vanishes near saturated policies (‖∇J_PG‖ = O(1−p_o) as p_o→1), so policies collapse to always-fallback (or never-fallback) — shown empirically with GRPO/RLOO on SafeMaze (100% fallback within a few steps at c=0.4; collapse for every tested c≥0.3). GracefulRL reshapes the landscape with a surrogate objective J = (1−c)·log p_S + c·log(1−p_E): log-barriers at the outcome-simplex edges p_E→1 and p_S→0 keep the gradient non-vanishing (Θ(1)) near suboptimal saturation. The objective coincides with TailRL specialized to the ternary reward; the paper's contribution is the log-barrier reinterpretation plus ε-smoothing of inverse-frequency weights for variance control. Experiments: (1) SafeMaze (navigation; 4M-param ResNet policy) — GracefulRL Pareto-dominates online reward tuning and Delightful PG across 3 seeds; (2) math abstention on Qwen3-1.7B/4B-Base (DAPO-Math-17K, conditioned on five caution levels c∈{0,...,0.8} via prompt suffixes; eval MATH500, AIME 2024–2026, AMC 2022–2024, JEEBench) — Pareto-dominates RLCR+Thresholding at both sizes; on AIME the error rate falls 79.1%→8.9% (88.8% relative) while sacrificing only ~3.1pp success; models verbalize uncertainty in CoT with no fallback annotations; OOD transfer to AbstentionBench (F1 0.677 at c=0.8 vs 0.590 for Qwen3-4B-Instruct); (3) multi-turn Minesweeper (Qwen3-4B-Instruct, irreversible actions) — c=0.5 raises success 67.4%→77.4% and cuts errors 17.0%→6.0% (RLOO collapses to all-fallback); learning to fail gracefully improved success, hypothesized as reward-shaping toward safer states. Author-stated limitations: online RL only (off-policy unstudied), no coding-agent/long-horizon experiments, fallback specification is domain-dependent. Blog: zanette-labs.github.io/failing-gracefully/ (training code and checkpoints linked, exact URLs unverified).
- Paper
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
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
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
One Model to Loop Them All: Elastic Latent Recurrence for Language Models
Looped language models apply a shared block of layers repeatedly, so one checkpoint can trade inference compute for accuracy by changing the loop count — but existing elastic-depth models (Huginn, Ouro, Parcae) pay a "one-loop tax": at one loop they fall well short of a non-recurrent model of the same size, so a separate non-recurrent model remains the better choice whenever latency matters. Elastic Latent Recurrence (ELR) is NVIDIA's recipe for removing the tax, built on three choices. (1) An adaptive-delta state update: instead of replacing the recurrent state with the block's output, the state takes a gated step along the proposed change with a learned per-token, per-channel step size — the only update rule ablated that matches the baseline at one loop. (2) Loop counts mixed within each optimizer update via one-loop rank overrides (a rotating fraction of data-parallel ranks always runs one loop, keeping p₁≈⅓), which places one-loop and deeper gradients in the same update; uniform or globally reweighted sampling without overrides does not preserve the one-loop endpoint. (3) Loop-conditioned modulation: each pass is conditioned on its progress (i/k) and budget (k/K) through AdaLN/FiLM-style modulation, zero-initialized and grafted when mixed-depth training begins so the model starts as exactly the one-loop checkpoint; it lowers loss at every additional loop. Supporting tricks: delayed mixed-depth training (one loop for the first 75% of pretraining) costs ~1.16× baseline training compute and, with grafted conditioning, beats mixed-depth training from scratch; cross-loop route replay (reusing first-loop MoE expert routes on later loops) cuts mixed-depth update time 11.7% with no measurable accuracy change; last-loop KV caching keeps one attention cache overwritten per loop, holding KV memory at the one-loop level with 0–3-point per-benchmark cost. On Nemotron-3-style hybrid backbones (52 layers: 23 Gated DeltaProduct + 6 attention + 23 feed-forward, middle 24 looped), ELR at one loop scores −0.52 (4B dense, 1T tokens) and +1.04 (30B-A3B MoE, 300B tokens) versus matched non-recurrent baselines on a ten-task average, and four loops add +7.25 and +4.75 points, with the second loop capturing ~80–87% of the gain. Carried through 7T-token pretraining, 256K-context mid-training, SFT, and RLVR, the recipe yields Koi-4B, a single checkpoint scoring an estimated 18 on the Artificial Analysis Intelligence Index at one loop (on par with Qwen3.5-4B) and 29 at four loops, with higher-loop rollouts also producing ~33% fewer output tokens.
- Paper
Reasoning From Scratch: RLVR Round 2 — GRPO Stabilization (Clipped Policy Ratios, KL Loss, Format Rewards)
Sebastian Raschka's ~106-minute "RLVR round 2" video in the Build a Reasoning Model (From Scratch) series (companion to his July 2026 Manning book; code at github.com/rasbt/reasoning-from-scratch). A practical guide to stabilizing GRPO beyond the baseline round-1 implementation: interpreting GRPO training metrics, running longer training jobs with Python scripts, plotting training logs, and diagnosing unstable training. Core stabilizers covered with implementations and results: clipped policy ratios to limit oversized policy updates, a KL loss term against reward hacking (plus the limitations of the simplified KL estimator), and format rewards with <think> tags — including adding special tokens to the tokenizer and rewarding format only for correct answers. Diagnostics: tracking advantage statistics, computing and interpreting policy entropy in PyTorch, and analyzing advantage/entropy metrics together. Also evaluates checkpoints on MATH-500 and closes with further GRPO improvements from the research literature plus distillation as the next step. Key caution from the series: the baseline GRPO run takes Qwen3-0.6B from 15.2% to 47.4% on MATH-500 in 50 steps, but longer training can degrade accuracy; reward alone is an insufficient signal since it can rise via reward hacking while held-out capability falls.
- 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
Autorubric: A Unifying Framework for Rubric-Based LLM Evaluation on Non-Verifiable Tasks
Autorubric is an open-source Python library (pip install autorubric, MIT) and unified framework for rubric-based LLM evaluation on non-verifiable tasks, by Delip Rao (Penn) and Chris Callison-Burch. It consolidates scattered LLM-as-a-judge techniques plus psychometrics/educational-measurement ideas into one API with opinionated defaults. Design: per-criterion atomic evaluation of mixed binary/ordinal/nominal criteria within one rubric (heterogeneous criterion types); configurable bias mitigations for position bias and criterion conflation; ensemble judging (multiple LLM judges and/or decision models such as TypeSafe Jev) with configurable aggregation; few-shot calibration with verdict-balanced sampling; abstention under uncertainty; psychometric reliability metrics (agreement metrics, bootstrap CIs); batch EvalRunner with response caching, checkpointing, resumption, and cost tracking. Contributes CHARM-100, a 100-sample chatbot eval dataset with per-sample ground truth across all three criterion types. Evaluations span college chemistry grading, deep-research systems, and CHARM-100, revealing criterion-specific failures, systematic judge-family differences, and configuration effects that do not support a universal mitigation stack. Demonstrates per-criterion scores and explanations supporting agent skill revision and reward modeling for RL. Repo: github.com/delip/autorubric. Funded by DARPA SciFy program.
- 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
- 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
Learning to Decide, Not to Reason: Parameter-Efficient Decision Operators via Low-Rank Activation Steering
DecSteer is a System-1 decision operator that injects a skill into a frozen language model via low-rank activation steering, trained by behavior cloning instead of reinforcement learning. It injects a residual-stream offset Dh at D decoder-block outputs (default 8 depths) through a trunk shared across depths: RMS-normalized hidden states pass through a shared down-projection A, a zero-initialized shared up-projection B, and an input-dependent gate; h' = h + a * g ⊙ u. Because B is exactly zero at initialization, the operator starts as an exact identity, and the zero-initialized output projection receives a gradient immediately — prior operators' initialization zeroes the gradient of both large factor matrices at the first step, which a gradient-flow probe confirms is the trainability gap. The default operator uses 330,248 parameters (d_m=2560, d_s=64, D=8), 1/4.02 of the 1.33M-parameter KV-Skill RL baseline, and matches or exceeds it while collapsing 3,685-token deliberation into a 6-token decision with no accuracy loss. A rank-4 variant with 23K parameters (1/58 of the strongest published skill operator) suffices for SearchQA and nearly suffices for LiveMath. The recipe transfers across five tasks and three backbones, with out-of-distribution gains persisting on LiveMath problems released months after training. It is not chain-of-thought compression: 23 of 57 LiveMath points beat the base model's best-of-8 sampling, and a logit-lens probe shows the operator amplifies the answer along the model's existing late-layer pathway rather than writing it earlier. Gains track the base model's headroom across 13 base-task pairs, and skills compose as approximately linear operators that can be added, interpolated, and hot-swapped at inference time. Code: github.com/rlisml/decisionsteer (public; anonymized as WUAS-Skill; no trained weights included).
- Paper
Scaling Trajectories for Complex Tasks through Recursive Self-Rewrite
RSR: use one base model (Qwen-3.8-27B) to discover successes under diverse harnesses, then reconstruct them as training trajectories under a general harness - planner extracts runbooks, critic screens for verifier/solution leakage and guides recursive revision, executor follows qualified runbooks in fresh sandboxes.
- Paper
Adapter Thickets: Splitting an RLVR Budget Beats Concentrating It
RLVR improves each sampled completion, and majority voting over many completions is the workhorse of test-time scaling — but the standard pipeline (train one policy with RLVR, sample it many times, vote) is lossy. A vote can only overturn mistakes its voters do not share, and RLVR sharpens a policy so its samples increasingly make the same mistakes. With exactly 160 completions per problem, training a single LoRA adapter on the full RLVR budget raises single-sample accuracy on every model tested (1.5B-8B), yet on three of four models it leaves the majority vote below the untrained base model by up to 4.8 points. The damage builds during training: voter errors grow steadily more correlated, and majority-vote accuracy peaks early before falling by up to 7.0 points. The cause is concentration, not RLVR itself: the authors split the same data and training budget across K LoRA adapters, each trained on its own random disjoint shard, calling the result an adapter thicket. Thickets out-vote the fully trained adapter in all 16 (model, K) settings, and for K>=4 they stay within 0.8 points of the base model or above. A single adapter stopped early at a thicket member's step count is a strong control that matches thickets for small K; for K>=8, thickets keep more of RLVR's single-sample gain and out-vote this control in six of eight settings. The cost of concentration grows with the number of votes: from 16 to 160 votes, the thicket's lead over the fully trained adapter widens from 1.3 to 3.3 points. When the plan is to sample and vote, an RLVR budget is better spent broad than deep.
- 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.