Explore the research collection
28 entries · showing 1–24 · Follow this search
- Paper
Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Experts
Diagnoses why looped MoE benefits fade after ~2 loops (extra FLOPs yield little): (1) the curse of depth is inherited and amplified — hidden-state variance grows each iteration as residual updates accumulate, destabilizing deep recurrence and drifting representations; (2) expert selection collapse — routers repeatedly select the same experts across loops, so iterations add compute without computational diversity. LOOM is built on one principle: each loop should contribute new computation while keeping the recurrent state stable. It stabilizes recurrence by scaling residual updates to bound variance growth and re-injecting the input embedding at every loop, and diversifies it through per-loop routers that engage different experts plus a Looping Residual carrying earlier outputs forward. Stable scaling to 9-12 loops across 100M-1.7B models. Near-iso-FLOP: the 700M model peaks at 5 loops, perplexity 18.36 -> 16.54, avg zero-shot 38.84% -> 39.53% over the non-looped baseline. Without FLOP matching: 1.7B model trained on 60B tokens peaks at 9 loops, perplexity 9.62 -> 7.77, avg zero-shot 42.4% -> 47.7%.
- 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
DeepSeek-V3 Technical Report
671B-parameter DeepSeekMoE (37B active: 1 shared + 8 of 256 routed experts, node-limited M=4) with Multi-head Latent Attention, auxiliary-loss-free load balancing, and 1-depth multi-token prediction. FP8 mixed precision, DualPipe pipeline parallelism, trained on 14.8T tokens with 2048 H800 GPUs. Full training 2.788M H800 GPU-hours (pretrain 2664K / context 119K / post-train 5K; ~$5.576M at $2/GPU-hour); no irrecoverable loss spikes. Context 4K→32K→128K via YaRN. Chat: MMLU 88.5, MMLU-Pro 75.9, GPQA-Diamond 59.1, MATH-500 90.2, AIME 2024 39.2, LiveCodeBench CoT 40.5, Arena-Hard 85.5. Code https://github.com/deepseek-ai/DeepSeek-V3.
- Paper
Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free
Compares ~30 gating variants on 15B MoE (15A2B, 2.54B active) and 1.7B dense models trained on up to 3.5T tokens. A head-specific sigmoid gate after SDPA (G1) is best: MoE 400B-token Avg PPL 5.761 vs 6.026 baseline and MMLU 60.82 vs 58.79, beating parameter-matched KV-head/expert expansions. Gains come from non-linearity between low-rank Wv and Wo plus query-dependent sparse gates (mean score 0.116). First-token attention falls 46.7%→4.8%; YaRN-extended RULER at 128k is 58.82 vs 31.65. Gate also damps loss spikes and allows higher LR (8e-3) where the baseline diverges. Claims first attention-sink-free models.
- Paper
GLM-5: from Vibe Coding to Agentic Engineering
GLM-5 is a 744B MoE (40B active, 256 experts, 80 layers) trained on 28.5T tokens with MLA then DSA continued pretrain and 200K context. Post-train is sequential Reasoning/Agentic/General RL on slime async infra plus on-policy cross-stage distillation; 10k+ verifiable SWE envs across 9 languages. SWE-bench Verified 77.8, Terminal-Bench 2.0 56.2 (61.1 on verified), BrowseComp 62.0 / 75.9 with context management, Vending-Bench 2 $4,432; Artificial Analysis Intelligence Index v4.0 score 50 (first open-weights). Code/models https://github.com/zai-org/GLM-5.
- 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
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
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
FreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive Execution
An edge-native mixture-of-experts serving system that treats a personal machine as a unified, elastic inference platform rather than a small GPU. FreeToken co-designs model layout and loading, expert residency, CPU-GPU execution, agentic state reuse, and runtime memory management around the realities of local AI: agentic workloads with shifting execution patterns and heterogeneous per-machine hardware. Instead of a fixed offloading strategy, it continuously maps computation and model state onto available resources.
- Paper
Exact Quantile Balancing and Load-Error Injection for Mixture-of-Experts
Introduces Exact Quantile Balancing (EQB), a distributed two-pass BF16 radix-selection method that recovers exact global-batch routing quantiles with token-count-independent communication, addressing shard-averaged or approximate Quantile Balancing. Load-Error Injection (LEI) feeds local hard-load residuals directly into router-score gradients so correction is microbatch-specific rather than relying on token-independent biases or GShard's normalized-probability surrogate. On a 7.5B MoE with 256 experts trained for 100B/500B tokens, EQB lowers global imbalance and improves benchmark BPB versus rank-averaged QB, while LEI lowers local imbalance versus GShard at comparable or slightly better quality; limitations include one model scale/seed and a proxy throughput metric.
- Paper
Atria Dawn: The Dawn of Agentic Superintelligence — On the Evolving Roles of Human–AI Collaboration
Shanghai AI Lab / Atria Team preprint (arXiv 2609.15818v2, cs.AI; 23 pp) introducing Atria Dawn Preview: agentic LM on Z.ai GLM-5.2 744B MoE, trained with a Verifiable Experience Pipeline that admits tool trajectories only when external verifiers pass. Across 16 benchmarks, highest reported score on five (AutomationBench 53.8, BFCL v4 77.0, CyberGym 86.5, DeepSearchQA 96.0, BrowseComp 92.5); competitive elsewhere vs DeepSeek V4 Pro / KIMI K3 / Qwen 3.8 Max / GLM 5.3 / GPT-5.6 sol / Claude Opus 5. Case studies include ~20 min MiniOS from empty workspace and 1.46× GDN CUDA decode latency ratio. R&D case study: 769 tasks / 56 participants; AI in 96.5% of tasks; agent actions/prompt median 11→28.5 over ~4 weeks; AI proposed 55.4% of methods but humans chose 85.5% of methods and 93.4% of goals; stalls resolved by humans 76% (context 35.2%, diagnosis 34.7%, takeover 0.7%) vs agent recovery 23%; AI did 75.4% of substantive revisions after human feedback; ~33% of AI-assisted tasks rated infeasible without AI. Argues RSI still blocked by direction diversity / pre-result value judgment and experience→weight retention, plus oversight protocols. Weights MIT on HF internlm/Atria-Dawn-Preview (256K; FP8 sibling). Discovery: @che_shr_cat X thread 2103044866183987365 (not Discord).
- Paper
Incompressible Knowledge Probes: Estimating Black-Box LLM Parameter Counts via Factual Capacity
Pine AI paper (arXiv 2604.24827v2, cs.LG/cs.AI; Bojie Li) introducing Incompressible Knowledge Probes (IKPs): 1,400 factual questions across 7 obscurity tiers (200 each; 16 domains) to estimate black-box LLM parameter counts from factual capacity rather than inference economics. Default scoring λ=0 (no hallucination penalty). Calibrates log-linear IKP accuracy→params on 93 open-weight models (135M–1,600B, 19 vendors), R²=0.910 (accuracy≈0.159·log10(N_B)+0.242); LOOCV median fold error 1.48× (72% within 2×, 86% within 3×); 90% prediction interval ~3× (coarse order-of-magnitude). MoE: total params beat active (R² 0.67 vs 0.41). Evaluates 201 models / 27 vendors on curated 1,311/1,400 probes; reports ~97 proprietary frontiers as prediction bands (safety-tuned = lower bounds). Falsifies Densing Law for factual capacity (time coeff +0.0013/mo, rejects +0.0129/mo at p<10⁻¹⁵). Releases toolkit + probe set + companion site; hallucination-similarity fingerprinting.
- Paper
HySparse2: Hybrid Sparse Attention with Two-Level KV Sharing
Xiaomi LLM-Core paper (arXiv 2609.26368v1, 2026-09-22, cs.CL). HySparse2 extends HySparse with YOCO-style self-decoder (hybrid SWA) + cross-decoder (hybrid sparse attention) and two-level KV sharing: outer KV Bridging (full-attention layers only; cross-decoder K/V from self-decoder full-attn hidden states) and inner KV Reuse (HySparse-style shared KV + selection within hybrid blocks). Refinements vs HySparse: token-level sparsity (replacing block-level) and Forced SWA (recent tokens forced into sparse selection, no separate SWA branch). All cross-decoder KV can be built from self-decoder states, so prefill can exit after the self-decoder (~half the model). On matched 80B-A3B MoE training: after light post-training (~100B tokens), mean MRCR-v2 / RULER-v2 +11.30 / +19.81 vs HySparse; at 256k RULER-v2 58.45 vs HySparse 32.61 / Hybrid SWA 35.74; lower AgentPPL and LongPPL to 256k; at 1M tokens analysis claims 2.92× / 5.02× less prefill FLOPs vs HySparse / Hybrid SWA plus smaller KV cache. No public code link in paper; AlphaXiv abs live; HF papers page 404 at catalog time.
- Paper
Jina-OCR-v1: Efficient Document Parsing with Speculative Decoding and Dense Verifiable Rewards
Jina-OCR-v1 builds on DeepSeek-OCR’s compressed-vision encoder + 3B MoE decoder (~570M active/token), adds a FastMTP speculative head that recursively shares one draft block over K=3 prediction steps with greedy verification (lossless). Post-training: instruction alignment, hard-doc robustness FT, then GRPO with dense verifiable rewards (deterministic formula/table/structure checks with partial credit). Data: cleaned public corpora + targeted synthetic pages. Default dynamic-res: OmniDocBench v1.6 91.14, olmOCR-Bench 83.4; claimed highest page throughput in their comparison at 2.57 pages/s. On NVIDIA L4, FastMTP ~2× greedy AR decode. Weights: https://huggingface.co/jinaai/jina-ocr-v1.
- Paper
Every Step Evolves: Scaling Reinforcement Learning for Trillion-Scale Thinking Model
Presents Ring-1T (~1T total / ~50B active MoE) trained with RL at unprecedented scale. Introduces IcePop (token-level train-inference discrepancy masking/clipping), C3PO++ for long-rollout partitioning, and ASystem RL framework. Reports strong reasoning numbers (e.g. AIME-2025 93.4, HMMT-2025, CodeForces, ARC-AGI-1; IMO-2025 silver-level claims).
- Paper
Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilities
Google DeepMind technical report (73 pages; pdfTeX dated 2025-10-16) on Gemini 2.5 Pro/Flash and earlier 2.0 Flash/Flash-Lite. Models are natively multimodal sparse MoEs with >1M-token context and native tool use. 2.5 Pro is positioned as the strongest thinking model (coding/reasoning, up to ~3h video); 2.5 Flash offers controllable thinking budget; 2.0 variants target low latency/cost. Correspondence: gemini-report@google.com. © 2025 Google.
- Paper
EMO: Pretraining Mixture of Experts for Emergent Modularity
AllenAI/Berkeley paper (arXiv 2605.06663, 2026-05-07). EMO restricts tokens in a document to a shared expert pool so semantic domain modules emerge. 1B-active / 14B-total MoE (128 experts, k=8) pretrained on 1T OLMoE-mix tokens (+50B anneal). Full model matches a standard MoE; retaining 25% / 12.5% experts drops ~1% / ~3% abs vs severe drops for regular MoEs. Experts specialize to semantic domains rather than lexical patterns. Releases model, code, blog, visualization.
- Paper
LatentMoE: Toward Optimal Accuracy per FLOP and Parameter in Mixture of Experts
NVIDIA paper (arXiv 2601.18089, submitted 2026-01-26) arguing that standard MoEs are often memory-bandwidth-bound at low latency and all-to-all-bound at high throughput. LatentMoE down-projects activations from hidden d to latent ell before routed experts, then up-projects; two configs: ell-MoE_eff (iso-accuracy, cheaper inference) and recommended ell-MoE_acc (iso-cost, higher accuracy by scaling N and K by alpha=d/ell). Ablations at 16B-total/2B-active (DeepSeek-v2-lite-like) pick alpha=4. 95B-total/8B-active Transformer at 300B tokens: ell-MoE_acc raises MMLU Pro 29.26→34.91 and MMLU 58.95→62.23 vs baseline at matched ~8.4B active / ~95B total. Hybrid Mamba-Attention 73B-total/8B-active trained 1T tokens: ell-MoE_acc MMLU Pro 48.30→52.87. Architecture later adopted in Nemotron-3 Super/Ultra (NVIDIA et al., arXiv 2512.20856). No official LatentMoE weight dump; linked Hub models are third-party experiments.
- Paper
Automated Tensor Scheduling for Hybrid CPU-GPU LLM Inference on Consumer Devices
ATSInfer (Nanjing University) extends llama.cpp (~15k C++ lines) for consumer hybrid inference. Static knapsack placement uses measured empirical performance density (latency per byte) plus backend-switch costs; load-aware dynamic transfer promotes CPU-resident tensors when PCIe overlap can hide the copy; async coordination splits compute vs copy-engine streams. Vs llama.cpp under the same VRAM budget: prefill up to 1.94×, decode up to 3.29× (laptop) / 3.12× (RTX 4090), ~70% higher average decode SM utilization. Also beats vLLM offload and KTransformers on the models those support. Hardware: RTX 3060 6GB+32GB (Qwen3-14B INT4, Qwen3-30B-A3B INT4, GPT-OSS-20B MXFP4, GLM-Z1-9B FP16) and RTX 4090 24GB+64GB (Llama 3.1-70B INT4, Qwen3-Next-80B-A3B INT4, Qwen3.5-122B-A10B INT4, GPT-OSS-120B MXFP4). No public code linked in the paper.
- Paper
Ling and Ring 2.6 Technical Report: Efficient and Instant Agentic Intelligence at Trillion-Parameter Scale
Inclusion AI Ling-2.6 (instant) and Ring-2.6 (thinking) upgrade Ling-2.0 via hybrid Lightning Attention+MLA (7:1), ~9.6T continue-pretrain tokens, and native agentic RL. KPop replaces IcePop’s fixed-ratio double-sided mask with a symmetric binary-KL token mask (one hyperparameter φ), adapting to train–inference mismatch on long-horizon rollouts. Paper: Ring-2.6-1T SWE-bench Verified 70.8%→76.28% with KPop; tweet claims >76 with pure RL. Open-sourced Ling-2.6-flash, Ling-2.6-1T, Ring-2.6-1T.
- Paper
PithTrain: A Compact and Agent-Native MoE Training System
Defines agent-task efficiency (ATE) and ships PithTrain, an ~11K-line Python-native MoE stack (PP, FSDP DP, CP, EP, DualPipeV overlap, torch.compile, FP8) built on compactness, no implicit indirection, and in-repo agent skills. Matches or exceeds Megatron-LM tokens/s on GPT-OSS-20B, Qwen3-30B-A3B, and DeepSeek-V2-Lite on H100/B200 (e.g. 280.0K vs 264.1K tok/s on 4×8 H100 Qwen3-30B-A3B PP4/EP8). ATE-Bench (12 Q&A, 4 operate/profile, 4 new-feature ports) with Claude Opus 4.7: up to 62% fewer agent turns and 64% less active GPU time vs production frameworks on the hardest new-feature tasks. Code Apache-2.0 https://github.com/mlc-ai/pith-train.
- Paper
Full-Pipeline Inference Optimization for MiMo-V2.5 Series: Pushing Hybrid SWA Efficiency to the Limit
Engineering report for MiMo-V2.5 / V2.5-Pro Hybrid Sliding Window Attention (example: 70 layers, 10 full + 60 SWA, W=128; ~7× less attention FLOPs and KV vs full attention) plus sparse MoE and vision/audio/video encoders. Dual-pool KV with strict O(W) SWA storage, layerwise prefetch, SWA-aware prefix cache trees, GCache L3 (RDMA, co-deployed on GPU nodes), KVCache-affinity router (~+25% L2 hit, ~+30% input throughput), length bucketing, halved EP after SWA storage (~40% e2e), MTP in prefill (2.3× on first 128 decode tokens), GPU image preprocess and parallel video decode (1-hour video 156s→23s). Reports ~93% production KV hit rate. Positions as the first large-scale serving system covering Hybrid SWA+MoE+multimodal. Not a dataset.