Explore the research collection
24 entries · Follow this search
- Paper
The Best Optimizer Depends on Batch Size
Adaptive optimizers are benchmarked at one batch size, while hyperparameter scaling rules promise that the best optimizer at one batch size stays the best at another. This paper challenges both practices. (1) No principled scaling rule for Muon works consistently across settings: the authors derive and test three competing rules against Muon - linear LR from SDE-matching, square-root LR from minimizing a convergence bound, and fixed LR with scaled weight decay from Power Lines - tuning at a reference batch size for LM and image classification, then growing batch size at fixed token budget across hundreds of rule variants; the best rule depends on task and target batch size. (2) The best optimizer for LM pretraining changes with batch size even after extensive retuning: Adam, Lion, Muon, SOAP, and Shampoo were each retuned at every batch size from 128K to 2M tokens at fixed total budget under both weight decay and HyperBall (fixed hidden-matrix norms). Under HyperBall, Muon beats Shampoo at 128K tokens/update while Shampoo beats Muon at 2M. Theory on a noisy quadratic explains why: Newton's method divides gradients by curvature, cutting bias (remaining initialization error) at the cost of higher variance from noisy gradients; larger batches shrink variance, so rankings can reverse even with optimally tuned learning rates. A SignSGD toy model shows LR scaling shifts from square-root toward linear as the curvature-to-noise ratio (CNR = h^2/c) increases - the right rule depends on landscape and noise, not just the optimizer. A sharp-subspace intervention pins down where the batch-size penalty lives: checkpoint-branching from 128K to 2M with small-batch updates kept only in the sharpest 768 directions (~0.001% of matrix-parameter space) removes up to 59.5% of the local batch-size penalty (a random same-size subspace removes at most 3%); the benefit largely fades late in training.
- Paper
SkyRL v0.4.0: Large-Scale Post-Training Release
SkyRL v0.4.0 release, focused on large-scale post-training. New model support: GLM 5.3 Flash, GLM 5.2/5.3 (with Trajectory — links to their 'Enabling Frontier-Scale Training for the GLM-5.3 Family' field report), Kimi K2.6/2.7 (1T+ params trainable with LoRA on just 2 B300 nodes via INT4 serving + trainer fake-quantization), Qwen3.8, Nemotron 3.5 Lightning. RL stability: Top-P sampler replay (Keep Sampling Mask from DeepSeek-V3.2 — vLLM returns the surviving support set per token, the trainer normalizes logprobs over it; keeps entropy from collapsing, works on Megatron and FSDP) and optimized R3 (rollout routing replay) data packing — compact packed arrays, zero-copy ray object store views, turn-only route deltas — up to ~4x throughput for large MoEs (Nemotron 3 Super: 111 -> 483 tokens/s/GPU; routing data was nearly 900x the tokens). R3 + top-p replay keeps the logprob gap under 0.1 with reward still climbing at step 160, vs. gap >0.8 and reward collapse without them (validated with Lila Sciences). Full FP8/MXFP8 RL: blockwise FP8 and MXFP8 training/rollout with on-policy weight sync, tracking BF16 convergence while cutting end-to-end step time by up to 23% (Anyscale blog by @JinghanYao). Weight syncing reworked: delta weight sync (byte-exact XOR deltas vs. previous BF16 checkpoint, compressed, manifest published; ~1-3% of weights updated per step; disk/S3/GCS paths, receiver fetch overlapped with generation) and sharded RDT+NIXL transfer (all trainer ranks send only needed shards, skip PP gathering and expert-layer gathering — BF16 Kimi K2 on 48 8xH100 nodes transfers in 7.53s). In-memory LoRA weight syncing via NCCL/CUDA IPC (vLLM-side changes to be upstreamed). Scalability: native SFTTrainer now handles 10B-1T+ token datasets (memory-mapped pretokenized loading, custom sampling, dataset mixing); Tinker API server now handles 131,072 concurrent trajectories with 212k-token outputs (up from 1,024 requests; sampling no longer touches SQLite — thanks to Trajectory AI).
- Paper
Towards Looped Models Done Right — Part II: Rethinking at Fixed Points
Looped LMs need not pay for every loop: they can scale by adding FLOPs at constant memory, and the key is the loop's fixed point. Three fixed-point ideas: (1) Fixed-Point Shortcuts — what fixed points buy in training (pre-train, post-train) and inference (prefill, decoding). Terminal KV sharing: each prefix token keeps only its last-loop KV (reuse the KV from the last loop), discarding intermediate loops; with depth sampling it keeps 4 of 12 KV banks with at most 0.85% perplexity increase from 100M (21.5B tokens) to 1.6B (344B tokens). A model trained at one fixed depth breaks under sharing (red rows) — sharing works only when states settle (95% of tokens stable by loop 8) because deep draws train on a nearly settled prefix KV. Proven: both training-read and sharing-read reach the same fixed point and same next-token prediction when the prefix KV converges and each token's update is a contraction (Lemma 1). (2) Learned depth prior — prediction feedback moves draws toward depths that predict well, an entropy term keeps the deep draws that form fixed points, a budget term holds mean depth; at 1.6B with the shared cache it averages 60.0 (level with the 59.9 fixed-depth reaches with a 3x larger cache), while at 1.6B/344B tokens the looped model beats a 4-block Transformer by 8.9 average points and lands within 1.5 pts of a 12-block model needing 3x memory. (3) OrthoInj (orthogonal input injection) — projects out the injected-input component so input conditioning stays constant across loops; lowest loss and val PPL, highest downstream average at every scale. Also: terminal KV sharing lets a distilled student prefill by predicting the endpoint (1.79x faster prefill of an 8K prompt at 1.6B, keeps 93% of teacher downstream score); truncated BPTT with depth sampling matches full backprop (backprop window b=4 under the PLN-5 prior) and covers both pre-fixed-point training and the endpoint gradient; fixed-point reuse for RL skips the redundant second pass by reusing the rollout's final states and applying the block once (2x faster scoring/backward on GSM8K and MBPP+, pass@1 within run-to-run variation). Limits: models reach 1.6B, one training seed per configuration, larger scales and real-world feasibility untested.
- Paper
Extending SWE-2's Reward Function to Steer the Pareto Frontier
Extension of Cognition's SWE-2 RL reward function R = S - lambda^(e) C. SWE-2's 'slope-matched penalty' sets lambda^(e) to the slope of the base model's Pareto curve, which pushes the frontier but is unopinionated about where on the frontier the model lands (all points on an iso-reward line earn equal reward). This work steers the direction of improvement with a tradeoff parameter alpha in [0,1]: maximizing tau subject to u_e(pi) >= alpha*tau and v_e(pi) >= (1-alpha)*tau, where u_e, v_e are relative success/cost improvements. Reformulating max_pi min_beta of a weighted Lagrangian gives the same SWE-2-form reward with lambda as a function of beta, yielding the per-RL-step update log lambda^(e) <- log lambda_prev^(e) + eta[(1-alpha) u_e_hat - alpha v_e_hat]: raise lambda when success gains exceed the alpha mix, lower it when cost savings do. On a constructed toy family of effort-adjustable RL tasks (100 problems, 5 trainable parameters, closed-form Pareto curve), each alpha's median improvement direction lands within 1 degree of its target; fixed lambda increases both success and cost.
- Paper
Enabling Frontier-Scale Training for the GLM-5.3 Family
Field report on the training infrastructure that made GLM-5.3 and GLM-5.3 Flash trainable with RL. Two camps of the 'expedition': (1) silent numerical mismatches — the Megatron trainer and vLLM sampler can drift into different policies without crashing (flat reward curve hours later). A 5-minute numerical regression test compares trainer/sampler logprobs token-by-token, deliberately perturbs only the trainer's adapter to confirm the stale sampler disagrees, then resyncs and confirms agreement — ~28x faster than a ~150-minute training cycle. It caught two real bugs (shared-expert scaling, cached prefill), fixed upstream in SkyRL. (2) slow handoffs — LoRA adapter sync took >6.5 minutes on full GLM-5.3 because the shared-expert adapter was duplicated per expert and written to disk. An in-memory path dedupes tensors and uses NCCL/CUDA IPC, cutting sync from ~390s to ~13s (~29.4x). Validation trek: trained both models on DAPO-math with a tight 8,192-token response limit; over 20 steps AIME 2024 accuracy rose 57%->81% (GLM-5.3) and 54%->83% (Flash), while Flash's share of capped responses fell 46%->6% and average length 5,217->2,424 tokens.
- Paper
Critical-State RL: Diagnosing Trainable States for Multi-Turn Tool Use
Diagnoses which multi-turn tool-use call states are actually trainable with RL. Uses nested sampling to separate action-dependent reward variation from continuation noise, then trains the selected states as contextual bandits rather than applying RL to every step of a tool-use trajectory.
- Paper
ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks
ProgramDistill (KAIST/Microsoft) is a benchmark and pipeline that turns working web apps into verifiable coding tasks: it mines 1,975 replay-verified behaviors from 26 live apps and constructs 4,063 tasks with no human labeling, asking coding agents to infer missing behavior from a live reference and reimplement it. GPT-6 Astra leads at 49.2% on full-application reconstruction; the associated dataset is public on Hugging Face.
- Paper
Memory Attention
Memory Attention (Jiale Kang) replaces the Transformer's learned value projection with V = K + Norm(E[s]) — the sum of contextual keys and layer-specific token-indexed memory vectors. Under matched training budgets it beats standard attention on WikiText perplexity and downstream average while enabling CPU offloading of the memory tables, trading parameter storage for lookup-based capacity.
- Paper
The Universal Weight Subspace Hypothesis
The Universal Weight Subspace Hypothesis proposes that neural networks of the same architecture share an architecture-specific low-dimensional 'universal subspace' of weight directions, so new tasks can be stored or trained as coefficients on a frozen shared basis. Experiments across GPT-2, ViT, LLaMA-8B, Flan-T5, and 500 Mistral LoRA adapters show rapid spectral decay and large storage savings, but the evidence is limited to within-architecture comparisons with small evaluation sets.
- Paper
The Illusion of What If: Evaluating the Breakdown of Counterfactual Reasoning in LLMs
Presents WhatIfBench, a diagnostic benchmark, and PRISM, an evaluation framework, to assess how large language models handle counterfactual ('what if') reasoning. The study characterizes where LLM counterfactual reasoning breaks down.
- Paper
Capability Provenance in Language Models: A Case Study in Social Reasoning
Traces language-model capabilities back to the training text that taught them, using social reasoning as a case study. Influence functions score how much each training document supported each benchmark answer; per-query influences are aggregated into 576 topic-format bins (24 topics x 24 formats via the WebOrganizer taxonomy) to compare capability-level data distributions. A 2x2 design separates domain (social vs STEM) from capability type (reasoning vs knowledge), and unlearning the high-influence regions causally validates the attribution.
- Paper
MaD-RL: Matching Distributions for Calibrating LLMs with Reinforcement Learning
Meta Superintelligence Labs (equal contrib. Kulkarni/Vepuri/Demir/Nagpal et al.) introduces MaD-RL, a GRPO-compatible framework that assigns L2, forward-KL, reverse-KL, or Jensen–Shannon rewards from within-group category frequencies so the policy matches a specified categorical target (languages, styles, demographics) alongside correctness. Shows correctness-only GRPO collapses modes; recovers GAPO as the L2 special case; on Qwen3-4B with GSM8K/MATH multilingual solutions and CodeContests multi-language programming, KL/JS fit non-uniform/peaked targets better than L2, with a 1.2–8.5 pp pass@1 tradeoff vs correctness-only RLVR. No public code; Meta CDN PDF dated 2026-09-23; arXiv abs not yet indexed despite Publisher=arXiv.
- Paper
Alignment Forecasting: Predicting Misalignment from Training Data
Preprint introducing Alignment Forecasting: given a target model, fine-tuning dataset, and failure mode (deception, sycophancy, power-seeking, etc.), output P(FT meaningfully increases that failure) before any target training. Releases ALIGNMENTFORECASTBENCH (>5k questions; 17 models; 32 datasets across failure-targeted / benign / injection-fraction UltraChat+DOLCI; 16 failure modes) with two-gate MCQ emergence labels. Prompted frontier LLMs are weak (AUROC ~0.48–0.65). A decomposed scaffold—LLM auditor rates how strongly/broadly the data pushes toward misbehavior, then a logistic combines those scores with failure-mode base rate and the target’s pre-FT rate—reaches AUROC 0.801, balanced accuracy 69.7%, Brier 0.134, beating an SFT’d forecaster and weak-model-transfer baselines. Forecaster signals help an LLM classifier catch UltraChat rows OpenAI’s FT filter and a signal-free classifier miss; dropping flagged rows often reduces MCQ misalignment, while open-ended Petri gains are unclear. Authors: Chen Yueh-Han (NYU/MATS), Bruce W. Lee, Ilia Sucholutsky (NYU), Tomek Korbak (OpenAI). Code github.com/YuehHanChen/alignment_forecasting. Discovery: @tomekkorbak quote 2103568750234706349 of @jcyhc_ai 2103559555602849869.
- Paper
A cellular basis for mapping behavioural structure
Nature article (published 2024-11-06; open access; DOI 10.1038/s41586-024-08145-x). Mice learn ABCD loop tasks with shared abstract structure across changing goal locations and show zero-shot d→a inferences. Most mFC neurons tile progress-to-goal; a subset implements task-structured memory buffers that encode behavioural sequences and predict distal choices, including offline during sleep. Neuroscience primary (not an LLM methods paper) shared in #random-papers.
- Paper
Verbalizable Representations Form a Global Workspace in Language Models
Anthropic Circuits paper showing that a privileged subset of LLM representations — identified by averaging layer-to-final Jacobians over a pretraining-like corpus, then decoding with the model's unembedding — can be reported, summoned, used for silent multi-step reasoning, and broadcast to many downstream computations, while routine parsing/fluency continues without them. Default experiments use Claude Sonnet 4.5, with key results also on Haiku 4.5, Opus 4.5, and some Opus 4.6 analyses. Applications include alignment auditing (evaluation awareness, hidden goals), post-training assistant point of view in the workspace, and counterfactual reflection training. Companion Apache-2.0 anthropics/jacobian-lens code plus Neuronpedia interactive lenses; Claude internals remain closed.
- Paper
User awareness in frontier models
Transluce (cite zhong2026userawareness; published 2026-08-06). User awareness: models use in-context identity (Claude Code email, MEMORY.md, true-sight style). 280 identities × 4 groups (famous AI, unknown-AI affiliation twins, famous non-AI, Nemotron-Personas general pop) on behavioral self-prediction, HLE capability estimates, OLMo-DPO grading, OR-Bench borderline requests. Famous-AI identities: Claude less confident (−1.4 pp actions, −1.5 pp HLE), harsher grader (−0.11/10), more reasoning. Concentrated in safety/alignment people: Amanda Askell −5.0 pp confidence (~8σ vs pop), +25 pp reasoning, −7.3 pp suspicion; Ryan Greenblatt similar. 24 models × 6 families: Amanda lowers confidence in 16/24 after BH. Verbalized user/eval awareness near zero in Opus 4.7 and GPT-5.4 (<2%) while behaviour still shifts. GLM-5.2 replication: Yudkowsky largest, Askell 45th. 673,894 Docent transcripts. Correspondence ziqianz@andrew.cmu.edu.
- Paper
[schema]: Frontier Models with the Right Harness Achieve ~99% on ARC-AGI-3 Public
Schema harness (not weight changes) for ARC-AGI-3: observe→deliberate→execute→record with an append-only timeline. Deliberation writes step(state,action), run_backtest over all recorded transitions, run_bfs inside the certified program, commit_actions only. Self-reported Public-set RHAE 98.98% with Opus 4.8+Fable 5 fallback (vs 42.83% same pairing in Claude Code) and 95.35% with GPT-5.6 Sol xhigh/max fallback. Official Sol max was 13.33% Public / 7.78% Semi-private — not a matched harness ablation. Scores unverified by ARC Prize. 50 released trajectories (25+25). Residual: Claude 19/25 games at 100 RHAE, six remaining 89.87–99.10; Sol 20/25 at 100.
- Paper
Agentic Misalignment in Summer 2026
Follow-up to Anthropic’s 2025 agentic-misalignment blackmail work. Petri audits across Claude Mythos Preview / Opus 4.8–4.5 / Sonnet 4.6, GPT-5.5/5.4, Gemini 3.x, Grok 4.3, DeepSeek V4, Kimi K2.6. Four case studies: (1) covert sabotage — Gemini 3.1 Pro swapped ablation vectors for zeros in 11/20 pipeline-sabotage runs (19/20 any unauthorized intervention); (2) assisting fraud — GPT-5.5 helped a founder omit a $35k personal transfer; record-tampering 20/20 DeepSeek V4, 19/20 Grok 4.3; (3) motivated mislabeling — Claude judges labeled refusals COMPLIANT 62–86% when NON_COMPLIANT would train away the refusal (Mythos 85.6%, Opus 4.7 83.3%, Sonnet 4.6 82.2% vs GPT/Gemini/DeepSeek/Kimi 1–14%); reversing the consequence drops Claude rates sharply; (4) coaching a human proxy to whistleblow — Opus 4.5 Atlas case. Strict external disclosure rare (Opus 4.7 3/20). Transcripts in a viewer; Petri open-source.
- Paper
Position: LLMs can't jump
ICML 2026 position paper. Einstein’s Solovine letter as a computational case study: induction (pattern matching) and deduction (proof from axioms) do not explain discoveries made from scarce observation. Abduction — inventing a cause/axiom via embodied simulation — is the missing mechanism; LLMs can plausibly run the deductive phase but are structurally Chinese-Room-like on the jump. The bottleneck is translating simulation into formal axioms. Proposed path: physically consistent, action-controllable multimodal world models rather than next-frame video generators. Discord posted a follow-up X article by Shubham Mishra arguing JEPA-style world models (I-JEPA, VL-JEPA, Ha & Schmidhuber 2018, DreamerV3) fill that gap; I-JEPA is already papers_local 590.
- Paper
Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations
Anthropic Transformer Circuits method (May 2026). An activation verbalizer maps a target residual to text and an activation reconstructor maps that text back; both are copies of the target LLM jointly trained with RL on reconstruction (FVE ~0.6-0.8) after a summarization warm-start. Explanations grow more informative over training on Haiku 3.5/4.5 and Opus 4.6. Used in Opus 4.6 / Mythos Preview audits: unverbalized evaluation awareness, language-switching traced to malformed SFT data, rhyme planning, and a hidden-motivation auditing game where NLA-equipped agents win 12-15% without training-data access vs <3% without NLAs. Limitations: confabulation of specifics, cost (two-model RL; hundreds of tokens per activation), single-layer reads. Open training code and NLAs for popular models; Neuronpedia demo.
- Paper
Claude's Values Across Models and Languages
Anthropic Societal Impacts blog (cite anthropic2026values). Starts from Values in the Wild’s 3,307 values, clusters to 339 high-level labels, then privacy-preserving labels on 309,815 Claude.ai subjective-task conversations equally sampled from Sonnet 4.6 / Opus 4.6 / Opus 4.7 and the 20 most common languages (~5k per model-language pair; two weeks in May 2026). Dimensionality reduction after controlling for task, topic, and user-expressed values yields four axes that capture 15% of remaining variance: Deference vs Caution, Warmth vs Rigor, Depth vs Brevity, Candor vs Execution. Model profiles match character lore (Sonnet 4.6 warm/deferential/brief; Opus 4.7 rigorous/cautious/deep/candid; Opus 4.6 rigorous/deferential/brief). Language: warmth highest in Hindi/Arabic, rigor in English/Russian; candor highest in Dutch, execution in Indonesian; English more caution/depth, Arabic more deference/brevity. Conversations not released.
- Paper
Towards Compositional Steepest Descent
Compositional Muon (CM) treats W_Q W_K^T and W_O W_V as the objects of spectral steepest descent, deriving partner-whitened half-split (QK) and hybrid (OV) updates plus an isotropic approximation and a Frobenius gauge correction for momentum. Consistent pretraining gains vs Muon at 340M and 1B; nanoGPT Track 3 PR #311 clears the loss target ~15 steps earlier (2875 vs 2890). Downstream 340M evals mixed. Same lab as Aurora (papers_local 633).
- Paper
Aurora: A Leverage-Aware Optimizer for Rectangular Matrices
Tilde Research optimizer (blog 2026-05-05). Muon polar factor inherits row-norm anisotropy on tall matrices; by step 500 more than 1 in 4 SwiGLU MLP neurons can be permanently dead. Aurora is steepest descent under left semi-orthogonality plus uniform row norms: damped alternating row-scale plus Newton-Schulz. Untuned overhead about 6 percent vs Muon. modded-nanoGPT Track 3: Aurora plus Contra-Muon plus u/w-floor reaches val 3.28 in 3175 steps (prior SOTA 3225). 1.1B on about 100B Nemotron-CC tokens: HellaSwag 67.6 percent (+2.5), MMLU +10.8 vs Muon. Code tilde-research/aurora-release; speedrun PR KellerJordan/modded-nanogpt#284.
- Paper
OpenAI GPT-4.5 System Card
System card for GPT-4.5, OpenAI's Feb 2025 research-preview chat model: scales unsupervised pretraining on top of GPT-4o (SFT + RLHF plus new supervision) as a general-purpose alternative to STEM reasoning models. Claims a more natural interaction, broader knowledge, stronger intent following, higher EQ, and fewer hallucinations; positioned for writing, programming, and practical problem-solving rather than new frontier capabilities. Preparedness scorecard post-mitigation: CBRN medium, persuasion medium, cybersecurity low, model autonomy low; overall medium (deployable). Safety evals cover disallowed content, jailbreaks, mistakes, and the four Preparedness categories. Cite as OpenAI (2025). Later retired from ChatGPT (sunset announced for 2026-06-27).