Explore the research collection
13 entries · Follow this search
- 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
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
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
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
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.
- Model
Ring-1T (inclusionAI)
MIT-licensed bailing_moe causal LM on HF (~999.7B safetensors params reported). Preview (Ring-1T-preview) released earlier for community exploration; full Ring-1T is the canonical open release tied to arXiv:2510.18855.
- 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).
- 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
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.
- Code
KTransformers
kvcache-ai/ktransformers is a CPU-GPU hybrid inference/SFT framework (MADSys Tsinghua / Approaching.AI / 9#AISoft). Current tree exposes kt-kernel serving (AMX/AVX INT4/INT8, NUMA-aware MoE, hot-GPU/cold-CPU experts, SGLang integration) and LLaMA-Factory SFT/DPO for ultra-large MoE on limited VRAM. README: DeepSeek-R1/V3 on a single 24GB GPU plus large DRAM; SFT DeepSeek-V3 ~80GB / 3.7 it/s on 4x RTX 4090, claimed 6-12x vs ZeRO-Offload in their MoE SFT benches. SOSP 2025 paper: AMX kernels, async CPU-GPU scheduling, Expert Deferral (CPU util <75% to ~100%, up to 1.45x extra throughput, <=0.5% avg accuracy drop). Apache-2.0. Docs site kvcache-ai.github.io/ktransformers.
- 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.
- Paper
Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering
OpenMLE is a full stack: OpenMLE-Gym (5,758 quality-gated executable tasks), OpenMLE-ERL (execution-grounded SFT+RL on the four operators), and OpenMLE-Evo (experience-guided search). Frontis-MA1-35B post-trained on this stack raises MLE-Bench Lite Medal Average from 39.39% (Qwen3.6-35B-A3B) to 60.61% under OpenMLE-Evo and 71.21% under OpenMLE-Evo-Max (12h / one RTX 4090 12GB). NatureBench Lite Match-SOTA moves 50%→70% by swapping the trained model and 20%→50% by swapping the harness. Weights, gym, and traces are released.
- Paper
Towards Physics of Multimodal Pretraining: Knowledge Flow, Modality Synergy, Early Unification, and Recipes
Four findings: (1) Knowledge flow is asymmetric — language boosts all visual tasks, understanding is a strong prior for generation, generation is largely neutral backward. (2) Task complexity and architecture (shared attention/norm, split FFNs) determine synergy vs competition. (3) Early joint unification beats late alignment; delayed vision causes vision laziness. (4) Asymmetric recipes (e.g. 70/25/5 L/U/G) plus MoE and early unification scale; 13.5B MoE on 2T tokens. Project page https://junlinhan.github.io/projects/physics_of_mm_pretrain/