Explore the research collection
6 entries · Follow this search
- 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
Unlocking Lossless Speedups in LLMs via Discrete Diffusion
Introduces diffusion-augmented LLMs (“Uno”): keep standard AR/NTP weights, add lightweight diffusion weights trained via Diffusion Distillation to propose multi-token blocks from the same AR distribution. Ψ-Spec sampler family enables lossless acceleration and fixed-context inference-time scaling without a separate draft model. Claims vs speculative decoding: higher throughput at every evaluated batch size; up to ~3× over base AR including max device batch. Claims vs d-LLMs: keeps AR quality. 8B Uno reported to beat open 26B DiffusionGemma and proprietary Mercury 2 on agentic tool use, coding, and long-context reasoning. Train from scratch or retrofit open-weight AR LMs. Code/checkpoints: https://s-sahoo.github.io/uno/
- Paper
DAPO: An Open-Source LLM Reinforcement Learning System at Scale
arXiv 2503.14476 (v2): Decoupled Clip and Dynamic sAmpling Policy Optimization—Clip-Higher, dynamic sampling, token-level PG loss, overlong filtering/shaping. Reports 50 AIME24 with Qwen2.5-32B vs naive GRPO ~30; open-sources verl-based code + DAPO-Math-17k. Discord: RL better than GRPO / ByteDance DAPO.
- Other
Towards Looped Models Done Right — Part I: Topology, Input Injection, Recurrent-State Design
IFM living blog (Huang IFM/CMU corresponding). Controlled Ouro-to-Huginn ablations at matched parameter scale, logical depth, and token budget. Three axes: iteration envelope, input injection, latent-state organization. Sandwich prelude–loop–coda helps instance-conditioned reasoning (MATH500 +12.00, DROP +2.61 at 730M / 336B tokens); input injection helps context/spec tasks (BBH-CoT, DROP, code) but can hurt math; random init and shared H/L states are mixed or negative. Full Huginn beats Ouro on all ten dense benches at 730M. MoE transfer on TxT360: 8.0B resident / 0.8B active Huginn MoE vs Ouro vs a 32B-A3.2B feedforward MoE, all 500B tokens, matched train+infer FLOPs. Huginn MoE GSM8K 83.6% vs feedforward 80.8% with 75% fewer resident parameters; more even expert load, and forcing later loops to reuse iter-1 experts hurts. Code “release soon.”
- Paper
Efficient Agentic Reasoning Through Self-Regulated Simulative Planning
SR2AM (Self-Regulated Simulative Reasoning Agentic LLM) decomposes agent deliberation into reactive execution (System I), simulative planning with the LLM as world model (System II), and a configurator that chooses whether to plan, continue, or skip (System III). Two instantiations: v0.1 records a multi-module prompted teacher (o4-mini); v1.0 reconstructs structured plans from DeepSeek-V3.2 traces. Both use SFT then GRPO. SR2AM-v0.1-8B (from Qwen3-8B) overall Pass@1 57.0, competitive with 120-355B tool-using systems; v1.0-30B (from Qwen3-30B-A3B-Thinking-2507) 71.3 Pass@1 with 25.8-95.3% fewer reasoning tokens than similar-scale agentic LLMs. RL lengthens plan horizon +22.8% while planning frequency grows only +2.0 pp. Code sailing-lab/sr2am.
- Paper
LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing
LongCat Sparse Attention (LSA) composes three indexer changes on DSA: Streaming-Aware Indexing (sink+sliding-window contiguous budget plus dynamic sparse tokens for coalesced HBM), Cross-Layer Indexing (N=2 owner/reuse with distillation; halves indexer passes), and training-free Hierarchical Indexing (coarse page recall then token refine; net win at >=256K). Matches full MLA on general/long-context benches at 69B-A3B and 560B-A27B, enables 1M-token native training, and underpins LongCat-2.0 (1.6T-A48B). Releases LongCat-Flash-Lite-Sparse (69B-A3B).