Explore the research collection
473 entries · showing 217–240 · Follow this search
- Paper
AMUSE: Anytime Muon with Stable Gradient Evaluation
River-valley analysis: Muon orthogonalization enlarges bulk (river) steps but also amplifies dominant-direction noise and valley-wall oscillations. AMUSE interpolates gradient evaluation from the fast Muon sequence toward the averaged sequence via a time-varying coefficient, enabling anytime training without LR schedules. Improves the performance-iteration Pareto frontier over (Schedule-Free) AdamW and Muon on vision tasks and Llama-style FineWeb pretraining (124M/720M/1.3B). Code https://github.com/kjeiun/amuse.
- Paper
Training-Free Looped Transformers
Lightweight wrapper re-applies a contiguous mid-stack block of a frozen LM. Naive block reapplication usually degrades; treating a pre-norm block as a forward Euler step and replacing one large update with damped/RK sub-steps helps. Single out-of-the-box recipe (3-stage Runge–Kutta at the mid 4 layers; block-mode for dense, layer-mode for MoE so expert routing does not thrash) over 7 families and 45 (model, benchmark) cells. Qwen3-4B-Instruct +2.64 pp MMLU-Pro and +2.01 GPQA-Main; Qwen1.5-MoE-A2.7B-Chat +2.30 ARC-Challenge; Qwen3-30B-A3B-Instruct +1.14 CommonsenseQA; Moonlight-16B-A3B-Instruct +1.20 OpenBookQA. ~20k H100 hours. No official code on abs.
- Paper
PowLU: An Activation Function for Stable Pre-Training of LLMs
PowLU(x)=x·x^{m/(√x+1)}·sigmoid(x) for x>0 (same as SwiGLU for x≤0); m=3 default. Proved continuous, differentiable, monotone for 0<m<10, and ~linear (not quadratic) as x→+∞. Scaling-law MoE 26M–368M activated matches SwiGLU loss. Ling 7.9B/600B tokens and 124B/800B stay competitive vs SwiGLU and SwiGLU-Clip on knowledge/reasoning/math/code while cutting outliers and FP8 loss spikes after ~76k steps. No official code on abs.
- Paper
More Expressive Feedforward Layers: Part I. Token-Adaptive Mixing of Activations
MoA mixes a small activation dictionary (GELU/SiLU/ReLU²/etc.) with lightweight per-token gates on shared FFN projections; LA is the input-independent linear-combination ablation. Finite-width theory: fixed-activation FFN ⊊ LA ⊊ MoA. Pretrains dense Llama 0.12B–0.5B (AdamW, cosine, 20/100 TPP) and LlamaMoE 0.25B–2B (Muon, WSD, ~100 tokens/active param). Type-II one-MoA/qd-MoA beat well-tuned SwiGLU/Muon baselines by >0.01 terminal loss with ~1.03–1.13× wall-clock and negligible params; LlamaMoE-2B zero-shot avg 42.20→42.86/42.96. Also helps MAE ViT-B. No official code on abs.
- Model
FlashAR: Efficient Post-Training Acceleration for Autoregressive Image Generation
Keeps the original AR head for row-wise prediction and branches a vertical head from an intermediate layer, fused by a learnable gate so decoding walks anti-diagonals (HW steps → H+W−1). Two-stage post-training: freeze backbone to init the vertical head, then joint finetune. On LlamaGen ImageNet 256, FlashAR-L FID 3.16 / IS 289.0 vs BlockDiffusion 4.55 / 243.5 after 25 vs 75 epochs; FlashAR-B 447 img/s. On Emu3.5-Image-34B at 512×512, 22.9× wall-clock (130.10s → 5.68s, 1024 → 63 steps) with GenEval 80.48→80.29 using ~80K pairs (0.05% of pretrain data). FlexAttention sparse 2D masks + batched KV. Code https://github.com/lxazjk/Emu3.5-FlashAR; project https://lxazjk.github.io/FlashAR/.
- Paper
One LR Doesn't Fit All: Heavy-Tail Guided Layerwise Learning Rates for LLMs
Uniform LR ignores Transformer heterogeneity. LLR fits a power-law to each layer's weight-correlation ESD (PL_Alpha_Hill) and maps weaker heavy tails (embeddings/FFN) to larger LRs and stronger tails (attention) to smaller ones, with embedding pinned at the upper bound, a soft LR switch, and updates only in the first 20% of tokens. Transfers the uniform baseline's near-optimal global LR. LLaMa-1B FineWeb: zero-shot avg 47.09→49.02; 3B 48.58→50.61; up to 1.5x token speedup. Beats LARS/LAMB/Sharpness/TempBalance/AlphaDecay; also helps Muon and GPT-nano. Code https://github.com/hed-ucas/Layer-wise-Learning-Rate.
- Paper
Understanding and Mitigating Premature Confidence for Better LLM Reasoning
Defines premature confidence by probing truncated CoTs: the answer is often already fixed, so remaining tokens cannot causally shape it. On CSQA, prematurely confident traces have 2.8x more logical flaws than progressive ones (pattern holds on GPQA/LSAT/MuSR and on correct answers). Progressive confidence shaping subtracts η⟨c,w⟩ from GRPO advantages with a fixed decreasing vector w, no PRM labels. Hard Countdown Pass@1 19.1%→61.1% (+42.0pp) and issue rate 93.5%→45.5%; AIME Pass@64 +6.6pp; SciQA +2.9–5.8pp from 1.7B–8B. Also raises hint-acknowledgement on a safety benchmark. Premature confidence grows with model size and task difficulty (accessibility dominates utility). No official code on abs.
- Model
Parallax: Parameterized Local Linear Attention for Language Modeling
Parallax parameterizes LLA's local-linear correction as ρ=W_R x, dropping the CG solve and the unstable boundary-amplification factor. A FlashAttention-style streaming kernel reuses the KV stream and raises arithmetic intensity; a Hopper decode prototype matches or beats FA2/3. Pretrained at 0.6B (78.6B tokens) and 1.7B (157.2B) on Ultra-FineWeb with a Qwen-3 backbone: under Muon, Parallax beats softmax on LAMBADA/WikiText and zero-shot avg (0.6B 55.99 vs Transformer 54.54; 1.7B 62.45 vs 61.43). Gains hold under parameter-matched and compute-matched controls. Under AdamW the correction branch collapses and the gap vanishes — first reported architecture–optimizer codesign for attention. Code https://github.com/Yifei-Zuo/Parallax.
- Model
LT2: Linear-Time Looped Transformers
LT2 loops subquadratic mixers: DPLR linear attention gets a rank-T state update; sparse windows get Tw receptive field. On FineWeb-Edu 100B tokens, 1.3B T=4: Looped Hybrid (Full+GDN) 62.89 avg zero-shot vs looped Transformer 59.27, with ~2.7–5x decode speedup; GDN+DSA matches quality with no full attention (~2.9x at 32k). Distills Ouro-1.4B into Ouro-hybrid-1.4B with ~1B tokens; competitive with 1B–4B industry models. Code https://github.com/chili-lab/LT2; checkpoint https://huggingface.co/chili-lab/Ouro-hybrid-1.4B.
- Paper
Decentralized Multi-Agent Systems with Shared Context
DeLM has parallel agents claim subtasks from a queue, read compact verified gists, and admit updates only after evidence checks, with hierarchical unfold (gist→summary→raw) for long sources. On SWE-bench Verified with Gemini 3 Flash: Avg.@1 65.7 / Pass@4 77.4 at $0.12/task vs AOrchestra-Parallel 56.4 / 71.8 at $0.25. Claude Opus 4.6 gains are smaller but still best. LongBench-v2 Multi-Doc QA: highest average across GPT-5.4, Claude Sonnet 4.6, Gemini 3 Flash, DeepSeek-V4-Pro (up to +5.7 pp). Hybrid DeLM+RLM is best on OOLONG and LongBench-v2. Code https://github.com/yuzhenmao/DeLM; project https://yuzhenmao.github.io/DeLM/.
- Paper
Harness Learning Enables Generalizable Test-Time Adaptation
Introduces harness learning: instead of updating model weights at test time, train a proposer model to revise the solver's executable harness — the program organizing model calls, tool use, and information flow — using execution feedback. Framed as meta-learning over executable programs, with harness revisions playing the role of weight updates; the proposer is trained with RL using revised harnesses' task performance as reward, and candidate harnesses run under a frozen solver. On 21 unseen Reasoning Gym families, SFT followed by RL raises mean single-revision score from 0.32 (base proposer) to 0.62, and the trained 4B proposer beats its 35B teacher on average. A QA proposer trained with RL only on HotpotQA transfers to MuSiQue and 2WikiMultihopQA, with ten revision rounds nearly doubling exact match. Policies trained on single revisions keep improving harnesses over multiple rounds, suggesting harness design can become a reusable adaptation skill.
- Paper
PixelUMM: Encoder-Free Unified Image and Video Understanding and Generation
Presents PixelUMM, an encoder-free unified multimodal model that handles image and video understanding and generation directly in pixel space — no VAE and no ViT. Images are represented as spatial patches and videos as spatiotemporal tubelets, connected to a shared multimodal backbone through single-layer linear projections. Built from Qwen3-8B into a Mixture-of-Transformers, separate understanding and generation experts share one self-attention over text, clean and noisy pixels, jointly supporting autoregressive text prediction and pixel-space flow matching, with clean-pixel prediction extended to video generation. Reported competitive with open-source baselines across image and video understanding and generation, with ablations on decoder design and spatial-temporal patch size. Code and model released.
- Paper
Scaling Laws for Looped Mixture of Experts
Introduces Loop Scaling Laws, the first scaling law to jointly model recurrence (looping) and MoE sparsity alongside model size and data. Its core is a bounded, sparsity-conditional recurrence mapping that characterizes the effective-parameter gain from looping and how sparsity raises that gain; the laws predict held-out loss of looped models more accurately than prior alternatives and recover standard dense and MoE scaling laws as special cases. Downstream, sparsity delivers ~3x active-parameter efficiency and recurrence ~2x total-parameter efficiency on reasoning, and at trillion-token scale a looped MoE with law-derived recurrence matches a ~2x larger non-looped MoE at matched training compute while enabling test-time scaling through recurrence.
- Paper
Ceiling of a Task: When Can a Transformer Succeed Without Its Chain of Thought?
Asks whether chains of thought do real computational work or are decorative, by viewing a transformer as a shallow circuit: one forward pass has constant depth, so any constant number of passes is a shallow circuit, and the best accuracy such a circuit can reach on a task is the task's ceiling. Three results hold for every transformer on serial tasks (ceiling below one): Necessity — replacing the chain with content-independent filler or a restated question drops accuracy to the ceiling, and to chance on a maximally serial task; Depth — no shallow computation can write the chain of a model that exceeds the ceiling; Locality — the answer is one shallow pass from the finished chain, so all serial reasoning happens in the chain. Experiments confirm the predictions: on finite-group word problems, chain-trained small transformers solve every input length and fall to chance when the chain is erased, and on MATH-500/AIME erasing the chain costs open reasoning models 0.52 to 0.82 accuracy while a sentence shuffle is harmless and a token shuffle is as harmful as erasing.
- Paper
Marathoner: Ultra-Long-Horizon Autonomous Intelligence
Marathoner: Ultra-Long-Horizon Autonomous Intelligence (arXiv 2609.34378; CC BY 4.0). Marathoner-9B, built on Qwen3.5-9B, trained for ultra-long-horizon autonomous coding with a three-stage post-training pipeline: (1) Ultra-Long-Horizon Task Synthesis -- mining major-release PRs (1000+ new lines of code each) from 10,000 GitHub repositories into task-level data in the Harbor framework format, plus 'Multi-Task Chaining' that chains multiple synthesized tasks into one harder task; (2) Rejection Sampling Finetuning -- using Kimi K3 as teacher with diverse harnesses (Claude Code, Codex, etc.), then SFT on rejection-sampled trajectories; (3) Reinforcement Learning -- GRPO in the AReaL framework with real execution in independent sandboxes, plus a novel 'Later Stage Bonus Reward' (+0.5) that explicitly rewards exceptionally valuable operations late in a run (e.g., finding a hidden bug, delivering a major optimization). Endurance: average on FrontierSWE 3.56h / 426.2 steps / 648.3 tool calls; on Terminal-Bench 2.0 0.58h / 104.8 steps / 239.4 tool calls; a case study shows an 11.8-hour trajectory (872 steps) implementing native Rust control-flow operations in Qiskit. Results with Claude Code harness: SWE-bench Verified 43.8% (Qwen3.5-9B) -> 58.4% (after RFT) -> 77.5% (final Marathoner-9B); Terminal-Bench 2.0 27.3% -> 49.7% -> 57.2%; FrontierSWE 10.2 -> 18.2 -> 26.4; NL2Repo 17.9 -> 23.8 -> 34.7; SWE-Marathon 0 -> 2.9 -> 8.2. Compares against proprietary models (Kimi K3, Claude Fable 5.1, GPT-6-Astra, GLM-5.2). Listed under cs.CV; 30 pages, 4 figures. No code, model, or dataset release visible in the paper or arXiv 'Code, Data, Media' section at research time.
- Paper
How Much Is an AI Token Worth? Scaling Laws for Wild AI-Generated Web Text
Measures how 'wild' AI-generated web text affects LM pretraining: after FineWeb quality filtering, 27.5% of June 2026 web tokens are labeled AI-generated by Pangram, rising to 31.1% by August. Pretrains 800 language models varying the ratio of added AI tokens to human tokens and fits scaling laws to held-out losses on both human and AI-generated text. For data-starved models, adding AI tokens initially lowers loss on human text, but the benefit saturates and quickly reverses into harm; for models trained on high budgets of human text, AI tokens raise loss almost immediately while the same number of fresh human tokens keeps lowering it. Standard scaling laws (e.g. Hoffman/Chinchilla 2022) fail to predict this behavior, so the authors propose a new scaling law with separate benefit and harm terms that lets the value of an AI token change sign and reduces to Chinchilla in the absence of AI text; fit on smaller models it predicts the effect on models up to 3.6x larger with 41% lower error than the best existing law over all AI ratios. Recommendations: filter AI text when the target is human text, repeat human text before expanding the training dataset with AI-generated web text, and report validation loss on human and AI text separately; AI text remains valuable when the target is AI text. Releases WildAI, an 83B-token corpus with AI, topic, and format labels, plus all 800 models and code.
- Paper
ID Balancing: Stable Training of Extremely Sparse MoE via PID-Based Load Control
Addresses expert load imbalance when scaling LLMs via Mixture-of-Experts with increasingly sparse routing. ID Balancing: an Integral-Derivative load-control method built on the observation that two existing auxiliary-loss-free methods are incomplete PID controllers -- DeepSeek's loss-free method is a fixed-step integral controller and Kimi K3's Quantile Balancing is a generalized proportional controller. ID Balancing scales its integral term with load error and activates its derivative term only when imbalance worsens, giving stronger corrections for large/worsening errors and smaller updates near balance. Results (Top-10/Top-5/Top-3 routing over 768 experts): in Top-3, worst-case backbone MaxVio reduced by over 50% and training-average backbone MinVio by over 12% vs the best baselines. Scaling 18.9B -> 69.9B total params (Top-10-of-768), worst-case backbone MaxVio stays nearly unchanged, ~89.6% lower than the auxiliary-loss baseline. Maintains competitive language-modeling and downstream performance; advantages grow as sparsity increases.
- Paper
PivotOPD: Learning to Recover from Pivotal Mistakes in Multi-Turn Agents
On-policy distillation (OPD) for training language agents with dense teacher supervision on student trajectories. In multi-turn interaction an incorrect action changes the states the student encounters later, so errors compound. Across three Qwen3 models (8B-235B), more than half of failed rollouts contain an early "pivotal mistake" -- an action that moves the agent farther from task completion -- and these are often recoverable: a few guided turns after the pivotal turn can restore task success. PivotOPD jointly trains the student to prevent pivotal mistakes and to recover from the states they create: at each pivotal mistake the teacher provides a gold action plus recovery actions for the next few turns. Preventive distillation uses the gold action with reverse KL to steer the student away from the mistake; recovery distillation uses the recovery actions with forward KL to transfer recovery behaviors the student rarely samples. Strongest average performance vs 13 baselines on ALFWorld, WebShop, and Search-based QA for Qwen3-1.7B and Qwen3-8B students (+5.5% over the strongest baseline on ALFWorld with the 1.7B student); gains transfer to SWE-Bench Verified, raising a Nemotron-3.5 student's resolve rate by +3.2%.
- Tool
who-ate-my-flops: bring your own PyTorch job, let an agent speed it up end to end
An open-source Claude Code / Codex plugin (OpenPerfAgent) for iteratively optimizing PyTorch training and inference jobs as a whole, not just individual GPU kernels. Design philosophy: rely on the foundation model's reasoning rather than prescribing how the agent reasons; the harness supplies (1) context -- computation structure and runtime profiling, (2) verification -- tools to check correctness against the baseline as the agent iterates, and (3) user alignment -- guidance to ask the right questions and align on goals/constraints. Claimed results: performance PRs developed with it merged into FunASR, FastVideo, gsplat, Ultralytics, Unsloth, and SGLang, with speedups up to 3.6x on tested workloads. Case study: in FastVideo the agent found CPU-GPU weight transfers consuming ~2/3 of the video-decoding stage, removed redundant transfers and sped up the rest, reducing generation time 15.20s -> 6.34s (2.40x) on 4 B200s. Usage: give the agent a repo, a launch command, and GPU access; run /who-ate-my-flops::init to clarify goals, then /who-ate-my-flops::optimize. Includes experiments, profiles, and lessons learned on the blog.
- Paper
Adversaries can still steal reasoning from American frontier models via Third-Party Cloud Aggregators ("Stolen Thoughts" update)
Updated paper on reasoning extraction: patching your own API does not secure your cloud-hosting ecosystem. Most critical findings: reasoning replay attacks still intermittently work on Microsoft Azure for every OpenAI model (Astra included) and for Anthropic up to Sonnet 5, with one decode returning the trace verbatim; scratchpad reasoning attacks (ask the model to put its reasoning into a tool argument, publicly demonstrated by @_can1357) still extract reasoning from every OpenAI model and from Opus 4.6 and Sonnet 5; today only Opus 4.1, Fable 3, and Fable 5 do not expose their reasoning. A September 13 audit found replay extraction blocked on direct OpenAI/Anthropic APIs but still working on Azure for the same models -- same models, different defenses, depending on which platform serves them. OpenAI publicly disclosed a reasoning-extraction campaign citing this work: operators copied encrypted reasoning from one conversation and asked a model in another to decrypt and transcribe it; activity began July 1, spiked July 24-25 with 16,000 requests using an extraction pattern from over 4,000 users; related prompt-pattern activity across a cluster of 15,000+ users was fully disrupted by July 28. The authors argue patches must cover all attacks and hosting clouds, or attackers choose the route where protection is weakest; findings shared to accelerate defense rollout.
- Paper
LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning
A benchmark evaluating both the effectiveness and efficiency of long-context LM harnesses (RLMs, ReAct, mini-swe-agent-style coding agents). Existing long-context evaluations are saturated across harnesses, so the four hard tasks require strategic/efficient reasoning (multiple valid strategies with very different costs), hard retrieval (both GREP and semantic), and extensive multi-step reasoning. Example: Constraint Solving asks for every person satisfying 5 conditions scattered across documents; checking the most selective condition first narrows candidates far more cheaply than checking every condition. 5 frontier LMs x 4 agentic harnesses: best setup reaches only 68% macro-average accuracy and no single harness leads across all tasks. Clear accuracy gaps, plus >10x efficiency differences even with the same LM and similar accuracy: more compute does not always mean better accuracy. mini-swe-agent is especially strong, reaching the best performance at a cost close to direct inference. Establishes efficiency as an axis for long-context evaluation and provides a testbed for harnesses that process context strategically rather than exhaustively.
- Paper
Generalization Dynamics of LM Pre-training ("Discovering Mode-Hopping")
The usual mental model -- that LMs stably mature from pattern-matching parrots to generalizable intelligence during pre-training -- is wrong: throughout pre-training, LMs frequently and suddenly hop between parrot-like and intelligence-like computations ("mode-hopping"). Across a toy eval suite, LMs suddenly latch onto memorized or in-context patterns instead of in-context learning, use System 1 instead of System 2 thinking, pick up what sounds true instead of what is true, fail at multi-hop persona QA, out-of-context reasoning, and emergent misalignment -- then just as suddenly revert and generalize. Mode-hopping is not explained by standard optimization dynamics: it is locally stable and cannot be fixed by checkpoint averaging; the authors frame it as a capacity-allocation problem in which generalizable circuits compete with early-learned shallow circuits, with each pre-training window's data deciding which wins. Two applications: (1) selecting intermediate pre-training checkpoints that strongly generalize reasoning and alignment, better than final or mid-training checkpoints; (2) selecting pre-training data that controls and stabilizes generalization dynamics. Concrete numbers from the announcement: OLMo3-32B went from 81% accuracy to 0%, then back to 81.7% within 40B training tokens; an earlier 4.5T-token checkpoint beat a 4.9T one on GPQA transfer after math fine-tuning (36.3% vs 29.8%) and robustness to alignment attacks (53% vs 21%). Code/eval suite: GDsuite (GitHub).
- Paper
LibraryDesignBench: can agents design libraries other agents can use?
Agents will soon replace humans as the main users and designers of libraries; a good library lets future agents write correct programs with less code. LibraryDesignBench: one agent designs a library, and three other agents write programs with it. 15 design tasks across four languages, with no prescribed APIs, abstractions, or guidance, to elicit genuine design decisions; programs are scored on correctness and simplicity. Results: agents using libraries designed by Opus 5.5 or Fable 5.1 pass as many tests as with the production human-written library while writing simpler code; with DeepSeek V4 Pro's libraries, agents do worse than with no library at all. Despite full design freedom, agents converged on the same patterns as the human library for 11 of 15 tasks. Most excess code stems from the library's design, not the implementer: rigid interfaces led agents to reimplement functionality (adding bugs), verbose interfaces forced more code. Giving the designer explicit guidance (start from prototypes, test with fresh subagents, more examples) made downstream programs shorter and improved score modestly at roughly twice the design cost. A standalone spin-off benchmark, LibraryUseBench, tests how well a model uses a real library with minimal guidance: Opus 5.5 leads, Sonnet 5.5 close behind, every newer model improves on its predecessor. Supported by DARPA, NSF, PrimeIntellect, and SnorkelAI's Open Benchmark Grant.
- Paper
Tokenization: A Survey for Modern NLP
The most comprehensive survey of tokenization for modern language models, assembled by 32 tokenizer researchers over ~8 months. Argues tokenization is a wildly understudied area of language modeling despite its effects across all of NLP. Covers every aspect: algorithms, evaluations, multilinguality, encodings, theory, trade-offs and pitfalls of tokenizer choice, and what tokenizers could be replaced with (latent or visual tokenization). Adjacent topics: constrained generation, token healing, tokenizer security concerns. Includes a beginner-friendly nod to Karpathy's "Let's build the GPT Tokenizer" video. Every section comes with questions for prospective researchers and practitioners; readers are invited to report missing papers and join a tokenizer-research Discord.