Explore the research collection
119 entries · showing 1–24 · 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.
- Thread
Attention Drift in Speculative Decoding (drafter attention sink → recent tokens)
X thread (2026-05-12) by @dogacel0: as a speculative-decoding drafter generates tokens, its attention moves from the attention sink onto its own recently generated tokens (“attention drift”). Fixing the underlying issue recovered up to ~2× acceptance length. No arXiv ID located via export search this pass — cataloged as idea/thread pending paper link.
- Post
RL is an evolutionary algorithm
Argues that pretraining, RL, and compaction are all evolutionary algorithms: micro-batch SGD is evolutionary search in the loss landscape (only generalizing updates survive), agent compaction evolves lesson summaries under environment feedback, and RL is evolutionary search in the reward landscape (weights as species, behaviors as individuals, reward as selection). Draws implications for generalization (multi-domain RL beats multi-teacher distillation), honesty/monitorability, prompt-reward design (mismatch breeds eval awareness), and agentic judging as a path to align capabilities with alignment.
- Post
Diagnosing and Mitigating Tool-Call Repetition in MiMo-V2.6
Post-mortem on MiMo-V2.6 models repeating identical or near-identical tool calls in agentic settings (MiMo Desktop, MiMo Code, OpenCode), burning context and stalling tasks. Root cause: a reward blind spot — the RL flooding penalty only triggered above 32 tool calls per turn, so sub-threshold high-volume calling was amplified during training. Fix: a repetition-specialized single-turn RL teacher merged into the main model via MOPD (Multi-teacher On-Policy Distillation) with teacher-prefix OPD.
- Model
K2 Horizon: six fully open models from 0.9B to 375B (IFM)
The Institute of Foundation Models (frontier lab of Abu Dhabi's MBZUAI) released K2 Horizon, a fleet of six fully open models (0.9B, 3.7B, 7B, 32B dense; 36B-A4B and 375B-A23B MoE) for reasoning, coding and agentic work, under Apache 2.0 with weights, training code, intermediate checkpoints, data and recipes published. The 36B-A4B introduces Mixture-of-Value Attention (MoVA); Uno freezes autoregressive params and trains diffusion params for parallel block emission. Tool definitions were presented in JSON, XML and Markdown during training.
- Other
[unidentified link] https://t.co/OCHk1n8Q5B
Destination unresolvable — the t.co shortlink returned no extractable content and could not be followed, so the underlying item is unidentified.
- Code
Repo2RLEnv — verifiable RL environments from any repository
Generates Harbor-format coding, terminal, and reasoning tasks — each with instruction, environment, private verifier, and reference solution — from any Git repository. Tasksmith reads pull requests, builds repositories, writes tasks and verifiers, and self-repairs until controls pass. The site reports 23 pipelines and 21 published Hugging Face datasets.
- Post
Where's the "intelligence explosion"?
Argument essay on why no runaway intelligence explosion has materialized. Distinguishes five forms of AI self-improvement, argues current self-improvement feedback would need to be roughly 5-10x stronger to be self-sustaining, and expects narrow superintelligence in verifiable domains while seeing no current evidence for runaway Type-5 recursive self-improvement.
- 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.
- Post
Intelligence Density (Density Aware Training)
Trajectory's 'Intelligence Density' field notes argue the right efficiency metric is cost per completed task, not cost per token, and introduce Density Aware Training — a knob-free post-training technique that cuts wasted output (90k→37k tokens at equal pass rate on a legal-agent benchmark) and resists the reward hacking where standard RL inflates training reward via verbosity while held-out performance collapses.
- 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.
- Model
StepAudio 3
StepFun's StepAudio 3 is a five-model speech/audio family — Realtime, ASR, TTS, Gen, and Music — released September 15, 2026. Realtime tops the Artificial Analysis conversational-dynamics leaderboard at 98.9 with a 'Think-While-Speaking' design that reasons in parallel with speech; the family spans full-duplex voice agents to 5.5-minute music generation, though reported response latency (8.83s) lags competitors.
- Post
(auto)²-research: SoTA on Karpathy's NanoChat Benchmark
rekursiv.ai's '(auto)²-research' blog describes a swarm of AI agents that improved on the previous NanoChat state of the art in three days, reaching 0.887791 mean bits-per-byte with a 5-minute training budget on one B200. The system ran 6,164 experiments and, notably, also improved its own research process — revising instructions and handoffs between waves — using open-source tooling (Trackinizer, Priml, Configgle).
- Model
Periodic Neon ('Nature Is Our Learning Environment')
Periodic Neon is a 1-trillion-parameter scientific model created by midtraining on Kimi K2.6 plus reinforcement learning on data from Periodic's own physical labs, deployed to analyze experiments in the search for better superconductors and magnets. On the internal FrontierXRD evaluation (134 hard X-ray diffraction analysis samples), it reaches 55.3% success — a 20x improvement over Kimi K2.6's 2.7% — and is claimed Pareto-optimal on cost vs performance against GPT-6 Astra and Claude Fable 5.1.
- Code
PufferLib
PufferLib is an open-source (MIT) reinforcement learning library focused on fast, compatible simulation. It offers one-line wrappers making complex environments (NetHack, Neural MMO, Griddly) compatible with Gymnasium/PettingZoo-style libraries, drop-in vectorization, and Puffer Ocean — 12 C environments each simulating at over 1M steps/second on a single CPU core. A PPO demo trains Ocean envs at 300K–1.2M steps/second on a single RTX 4090.
- Post
Previewing Locus
Locus is Intology's automated AI research/post-training system. Per the Discord embed, it sustains improvement over days, exceeds human experts on RE-Bench at equal time and compute, and sets SOTA on KernelBench and MLE-Bench Lite. Related Intology material describes Locus as SOTA on PostTrainBench (agents post-training models given 10 H100 hours) and PostTrainBench+, with Locus post-trained Qwen3 models surpassing human post-trained Qwen3 and running in production.
- Post
Lossy self-improvement
Per the Discord link embed: an essay making the case that AI self-improvement is real but does not lead to fast takeoff ('lossy' self-improvement).
- Benchmark
Astra vs. Fable 5.1 under a neutral Code quality panel | VulcanBench
Per the Discord link embed: VulcanBench-SWE v4 rescores the same 230 runs with Code quality weighted at 33%, judged for a human reader by Muse Spark 1.3 and Grok 4.6 under a frozen, calibrated protocol — comparing Astra vs Fable 5.1.