Explore the research collection
704 entries · showing 385–408 · Follow this search
- Paper
Efficient Pre-Training with Token Superposition
Token-Superposition Training (TST) averages embeddings of non-overlapping bags of s contiguous tokens and trains with multi-hot cross-entropy, then a recovery phase reverts to standard next-token CE. Drop-in: no change to parallelism, optimizer, tokenizer, data, or architecture. Evaluated at 270M/600M (SmolLM2-shaped Llama3, untied embeddings) and validated at 3B and a 10B A1B MoE on DCLM. Consistently beats baseline loss and downstream metrics; equal-loss wall-clock up to 2.5× faster at the 10B A1B scale. Project https://nousresearch.com/token-superposition.
- Paper
Dynamic Mixture of Experts: An Auto-Tuning Approach for Efficient Transformer Models
DynMoE replaces fixed top-k with top-any gating (cosine similarity vs a trainable per-expert threshold) so tokens activate a variable number of experts, plus an adaptive add/remove process when tokens activate none or experts go unused. A diversity+simplicity auxiliary loss encourages sparse orthogonal expert representations. Competitive with tuned GMoE on DomainBed and MoE-LLaVA on VQA-style benches while activating fewer params (StableLM-1.6B: avg k=1.25 / 1.75B vs k=2 / 2.06B). Visualizations suggest bottom layers need MoE more than top layers and a shared easy-to-activate expert per layer. Code https://github.com/LINs-lab/DynMoE.
- Paper
MeMo: Memory as a Model
MeMo distills a target corpus into reflection QA (fact extract, consolidate, verify, entity-surface, cross-document synthesis) and SFT a dedicated Memory model (e.g. Qwen2.5-14B) while the Executive stays frozen and queries it via a 3-stage multi-turn protocol. Retrieval cost is independent of corpus size; plug-and-play with closed-source Executives. NarrativeQA 26.85%/53.58% (Qwen2.5-32B / Gemini-3-Flash) vs HippoRAG2 21.39%/23.21%; MuSiQue 48.30%/60.20% vs 42.17%/57.00%; BrowseComp-Plus 54.22%/66.67% (trails HippoRAG2 56.11% on Qwen). Robust to distractor docs (±1.8pp vs ~5–6pp RAG drops). TIES-merge of two NarrativeQA halves cuts compute 33% at K=2 but loses 11–19pp vs full retrain.
- Paper
Generative Recursive Reasoning
GRAM adds learned stochastic residual guidance ε~N(μθ,σθ²I) on the high-level latent of an HRM/TRM-style hierarchy and trains via a truncated ELBO. Width scaling samples N trajectories and ranks them with an LPRM or majority vote. Sudoku-Extreme 97.0% vs TRM 87.4% at 16 steps; N=20 at 16 iters beats TRM at 320 (97.0 vs 90.5). ARC-1/2 52.0/11.1 vs TRM 44.6/7.8. N-Queens 8×8 accuracy 99.7% / coverage 90.3% vs TRM 66.8/36.1. Unconditional Sudoku 99.05% validity (10.9M, 16 steps) vs D3PM-Big 91.33% (55.1M, 1000 steps); binarized MNIST FID 73.34 at 256 steps vs TRM collapse 303. Project https://ahn-ml.github.io/gram-website/.
- Paper
Probabilistic Tiny Recursive Model
PTRM injects Gaussian noise into the TRM latent at each deep recursion step, runs K parallel rollouts, and selects the candidate with highest Q-head score (the ACT correctness classifier unused at standard TRM inference). No retraining or task-specific test-time augmentation. PPBench golden 62.6%→91.2% (K=100, D=48, σ=0.2), beating a 7-LLM ensemble with oracle verifier (55.1%) at ~$0.001 vs $38.51 per correct. Sudoku-Extreme 87.4%→98.75%; Maze-Hard 83.8%→86.73%; ARC-AGI-2 pass@1 7.36%→8.47%. Width scaling dominates depth; Q nearly matches pass@K on PPBench/Sudoku but lags on Maze-Hard.
- Paper
Decoupling the Benefits of Subword Tokenization for Language Model Training via Byte-level Simulation
Trains a 1.7B LLaMA-3 byte LM on FineWeb-Edu UTF-8 and injects one subword effect at a time. Biggest gains: 4× isoFLOP sample throughput (chunk-4 embeddings) and subword boundary priors/inductive biases (end-boundaries leak future bytes; start-boundaries remain useful when removed at val). Embedding-table scaling, subword-distance RoPE, per-subword CE, and next-subword MTP are weak or harmful at this scale. Interventions often run 50k steps then revert. No official code on abs.
- Paper
Agentic Discovery of Neural Architectures: AIRA-Compose and AIRA-Design
Dual AIRS-Bench frameworks. AIRA-Compose recasts Composer NAS: agents arrange 16-layer strings over MLP/attention(/Mamba), then stretch/stack to 350M–3B. 14 AIRAformer/AIRAhybrid designs; at 1B / 37.5B tokens AIRAformer-D beats Llama 3.2 by 2.4 pp 0-shot avg and AIRAhybrid-D beats approx. Nemotron-2 by 3.8 pp; AIRAformer-C isoFLOP slope 54% steeper than Llama 3.2. AIRA-Design: agents write LRA attention (within 2.3/2.6 pp of human SOTA on retrieval/text) and Autoresearch train.py (Greedy Opus 4.5 +lit BPB 0.968, beating published min). No official code on abs.
- Paper
Targeted Neuron Modulation via Contrastive Pair Search
Contrastive neuron attribution (CNA) ranks MLP neurons by harmful-vs-benign last-token activation difference using only forward passes; top 0.1% form the circuit. Ablating it cuts JBB-Behaviors refusal >50% on Llama/Qwen instruct 1B–72B while n-gram quality stays >0.96 and MMLU is preserved; CAA matches the refusal drop but collapses quality at high α. Matched base models have similar late-layer discrimination structure but steering only shifts content, not refusal — alignment crystallizes a sparse gate. Code https://github.com/NousResearch/neural-steering.
- Paper
Self-Policy Distillation via Capability-Selective Subspace Projection
SPD SVD-extracts a low-rank K/V subspace from gradients on correctness-defining tokens (answer span / assertions), hooks those projections during self-generation, then LoRA-SFT on the raw hooked completions. No teacher, reward, or filter. Up to 13% over SSD/PSR and 16% over base across code/math/QA on five instruct backbones; QA-calibrated SPD also lifts math/code OOD. Correctness-aligned loss beats full-sequence loss (MBPP 11.9→25.5). Calibration works with ~50 examples. No official code on abs.
- Paper
OPUS: Towards Efficient and Principled Data Selection in Large Language Model Pre-training in Every Iteration
OPUS (Optimizer-induced Projected Utility Selection) linearizes AdamW/Muon one-step updates, sketches ghost outer-product gradients with CountSketch, and Boltzmann-samples a batch aligned with a Bench-Proxy retrieved from the corpus. Scoring overhead 4.7% vs naive 3.5×. GPT-2 XL Muon FineWeb 30B: avg 41.75 vs random 40.29, beating 60B random (41.29) and static filters. FineWeb-Edu: OPUS on score-3 beats baselines trained on score 4+5 (XL 44.99). Qwen3-8B-Base CPT on SciencePedia: 0.5B tokens beats 3B full CPT. Code https://github.com/gszfwsb/OPUS.
- Paper
Emergent Analogical Reasoning in Transformers
Synthetic two-category task with atomic, compositional, and analogical facts. Emergence is sensitive to entity/relation counts, OOD ratio, optimization, and scale. Mechanism: (1) geometric alignment of relational structure in the embedding space (Dirichlet energy) and (2) functor application inside the Transformer. Same qualitative signatures in pretrained Gemma-2-2B/9B and Llama-3.1-8B. ICML 2026 spotlight. Code https://github.com/gouki510/Analogy_in_Transformer.
- Paper
Improved Finite-Particle Convergence Rates for Stein Variational Gradient Descent
Relative-entropy derivative of the N-particle joint vs π^{⊗N} splits into a dominant negative N·E[KSD²] term and a smaller positive term, giving KSD rates of order 1/√N in continuous and discrete time — a near-optimal double-exponential improvement over Shi and Mackey 2024 that matches i.i.d. rates. Bounds grow polynomially in d under mild kernel/potential assumptions. A bilinear kernel component yields W2 convergence; bilinear+Matérn shows an i.i.d.-like curse of dimensionality. Also time-averaged marginal convergence and long-time propagation of chaos. Theory only; no experiments. No official code on abs.
- Paper
Agentic Systems as Boosting Weak Reasoning Models
Separates proposal coverage, local identifiability, progress, and diversity. Coverage can be amplified by sampling, but critics/comparators need a local soundness signal (execution, tests, proof/type checking). Rank-based bounds for composing local selection errors; oracle best-of-k only covers task slices with nonzero useful proposal probability. On SWE-bench Verified, GPT-5.4 nano 67.0% → critic–comparator orchestration 76.4% at k=8, matching Gemini 3 Pro and Claude Opus 4.5 Thinking vs 79.0% oracle Bo8. Remaining failures are mostly shared proposal blind spots. No official code on abs.
- 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
Neural Weight Norm = Kolmogorov Complexity
Shows N(s) ≤ K(s) ≤ N(s) log N(s) for the min non-zero parameter count of a fixed-precision looped net that emits s; both sides tight (program-to-weights encoding; permutation-matrix witness). In fixed precision every Lp norm collapses to N(s), so L2 weight decay induces an output prior matching Solomonoff's universal prior up to a log in the exponent. Infinite/rational precision makes the bound vacuous. Conceptual, not small-scale predictive; no experiments. 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.
- Paper
DiffusionBlocks: Block-wise Neural Network Training via Diffusion Interpretation
Interprets residual updates as Euler steps of a probability-flow ODE, partitions layers into B blocks each assigned an equi-probability noise range, and trains one block at a time with score matching (Bx memory cut). Matches or beats end-to-end on ViT CIFAR-100 (59.30 vs 60.25), DiT CIFAR-10/ImageNet FID, MD4 text8 BPC 1.45 vs 1.56, Llama-2-style LM1B/OWT, and Huginn recurrent-depth (single-pass vs 32 iterations). Also beats NoProp variants on CIFAR-100. Code https://github.com/SakanaAI/DiffusionBlocks.
- Paper
Looped Diffusion Language Models
LoopMDM shares a small early-middle block (typically 2 layers) for S applications while keeping head/tail unshared; S is sampled uniformly in {1..S_max} at train time. Iso-parameter 170M DiT matches same-size MDM test NLL with up to 3.3x fewer training FLOPs on FineWeb-Edu/OWT/LM1B; GSM8K +8.5pp vs same-size MDM and beats a deeper 21-layer MDM at matched per-step FLOPs. Adaptive loop stopping (~5 vs 12 loops) keeps downstream acc. Attention analysis: looping raises mask-to-mask attention, using masked positions as a workspace (Sudoku under forced L2R order). No official code on abs.
- 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
Learn from your own latents and not from tokens: A sample-complexity theory
On the Random Hierarchy Model (PCFG, depth L, m rules/symbol), supervised learning needs ~m^L samples and token-level SSL (MLM/diffusion) ~m^{L+1}. Latent prediction (cluster cousin context vectors level-by-level) recovers the non-root tree from ~v m^3 samples, independent of L up to logs. Confirmed with (i) iterative latent clustering, (ii) a stacked predictor-clusterer net trained by GD (also with local stop-grad rules), and (iii) the first sample-complexity analysis of data2vec, which implicitly does hierarchical latent prediction — so explicit H-JEPA stacking is largely redundant. Suggests own-latent SSL as a route to beat token-correlation scaling laws.
- 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.
- Paper
DualKV: Shared-Prompt Flash Attention for Efficient RL Training with Large Rollouts and Long Contexts
Standard FA2 packs N same-prompt rollouts as N(P+R) tokens, recomputing the prompt N times. DualKV repacks to P+NR and splits attention into one prompt self-attention plus a fused kernel that reads shared KV once and accumulates N-way dK/dV with fp32 atomics; mathematically equivalent, no approximation. On Qwen3-8B GRPO (8xH100, N=32, 8K-context) policy-update is 1.63–2.09x faster, MFU 36%→76%; DAPO 2.47x / 77% MFU. At 30B MoE on 16xH100, 3.82x policy-update and 3.38x step vs FA2 that needs 4-way Ulysses SP. Also supports Gemma-4 hybrid d=512 / sliding-window at 64K. Code https://github.com/amazon-science/dualkv-flash-attn-for-rl.