{
  "id": 649,
  "kind": "code",
  "title": "MoonEP: A Perfectly Balanced Expert Parallelism Library via Dynamic Redundant Experts",
  "summary": "Moonshot MIT EP communication library (Kimi K3 Open Day, with FlashKDA and AgentEnv). Hard invariant: every EP rank receives exactly S×K tokens regardless of router skew. An on-GPU planner duplicates a small set of experts from the current routing, prefetches their weights, and reduces duplicated grads back to home ranks. Zero-copy permute/unpermute writes tokens straight into expert-grouped remote buffers; static S×K shapes drop per-layer host sync and stop the fragmentation that OOMs DeepEP under imbalance. On H20 EP=8 vs DeepEP v2, comm time stays nearly flat as maxvio grows while DeepEP degrades, and e2e iteration time stays flat. Training prefetch slots B=E/R; inference can use B=3–4. NVIDIA GPU; Zhenwu PPU listed as coming. Cite moonep2026.",
  "body": "",
  "notes": "Primary: GitHub README (MIT, Python, 1079 stars / 118 forks at check). Discord/X https://x.com/Kimi_Moonshot/status/2081763086281973847 via fxtwitter. Inspired by DeepEP, Echo arXiv 2603.07685, UltraEP, AcclEP. Comm library, not a hosted corpus, so no datasets_local row.",
  "url": "https://github.com/MoonshotAI/MoonEP",
  "links": [],
  "authors": [
    "Yutian Chen",
    "Cong Li",
    "Yucheng Wang",
    "Ming Wei"
  ],
  "tags": [
    "moonep",
    "moe",
    "expert-parallelism",
    "moonshot",
    "kimi",
    "deepep",
    "x"
  ],
  "topics": "MoE training, expert parallelism, distributed systems",
  "venue": "Moonshot AI (GitHub)",
  "publisher": "",
  "source": "github",
  "language": "en",
  "access": "free",
  "license": "MIT",
  "published_year": 2026,
  "added_at": "2026-08-14T19:25:00.000Z",
  "verified_at": "2026-08-14T19:25:00.000Z",
  "attrs": {
    "scale": "GitHub 1,079 stars / 118 forks at check. Python. Tweet ~4048 likes / 481 retweets / ~404k views at fetch.",
    "purpose": "Keep expert-parallel token loads perfectly balanced across ranks via dynamic redundant experts",
    "author_type": "human",
    "time_period": "GitHub created 2026-07-24; pushed 2026-08-13; updated 2026-08-14. Tweet 2026-07-27. Discord posted 2026-07-27."
  },
  "enrichment": {
    "github": {
      "forks": 134,
      "stars": 1158,
      "pushed": "2026-09-20",
      "created": "2026-07-24",
      "license": "MIT",
      "archived": false,
      "language": "Python",
      "full_name": "MoonshotAI/MoonEP",
      "fetched_at": "2026-10-03T14:30:39.312Z"
    }
  },
  "enriched_at": "2026-10-03T14:30:39.349Z",
  "license_class": "permissive",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "668",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:30:39.349Z",
  "page": "https://papers.projxon.ai/entries/649",
  "markdown": "https://papers.projxon.ai/entries/649.md",
  "api": "https://papers.projxon.ai/api/entries/649",
  "relations": [
    {
      "relation": "about",
      "direction": "in",
      "note": "",
      "via": "manual",
      "entry": {
        "id": 1206,
        "kind": "note",
        "title": "Mixture-of-experts language models: where the work is (overview)",
        "summary": "An overview of the 43 entries on mixture-of-experts models: the open releases, load balancing at extreme sparsity, expert design, training and serving, and what the collection lacks. Written by Claude Opus 5.5.",
        "url": "",
        "authors": [
          "Claude Opus 5.5"
        ],
        "tags": [
          "synthesis",
          "ai-written",
          "moe"
        ],
        "venue": "",
        "source": "",
        "license": "",
        "published_year": null,
        "added_at": "2026-10-03T15:08:32.032Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": null,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1206",
        "markdown": "https://papers.projxon.ai/entries/1206.md",
        "api": "https://papers.projxon.ai/api/entries/1206"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 637,
      "kind": "model",
      "title": "Inkling: open-weight controllable-effort multimodal MoE",
      "summary": "Inkling (released 2026-07-15): 66-layer decoder-only MoE, 975B total / 41B active (6-of-256 experts + 2 shared), hybrid local/global attention, native text/image/audio in, text out, 1M context. Sibling Inkling-Small 276B/12B. Apache-2.0 weights on HF. Distinctive RL: Reward = task reward − λ × (# reasoning tokens), with λ and effort-instruction varied across rollouts so the model learns to spend thought rather than maximize it; inference effort is a continuous 0–0.99 knob. Model-card highlights at effort=0.99 include HLE text 29.7% / tools 46.0%, AIME 2026 97.1%, GPQA Diamond 87.2%, SWE-bench Verified 77.6%. Discord post is Vipul Gupta’s note of that RL trick, not a TML thread.",
      "url": "https://thinkingmachines.ai/model-card/inkling/",
      "authors": [
        "Thinking Machines Lab"
      ],
      "tags": [
        "inkling",
        "thinking-machines",
        "moe",
        "reasoning-effort",
        "open-weights",
        "rl",
        "x"
      ],
      "venue": "Thinking Machines Lab",
      "source": "web",
      "license": "Apache-2.0",
      "published_year": null,
      "added_at": "2026-08-14T19:35:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/637",
      "markdown": "https://papers.projxon.ai/entries/637.md",
      "api": "https://papers.projxon.ai/api/entries/637"
    },
    {
      "id": 838,
      "kind": "paper",
      "title": "Supercharging Olmo-core for Efficient and Scalable MoE Training",
      "summary": "Supercharging Olmo-core for Efficient and Scalable MoE Training (Allen AI technical report, October 2026, 168 pages; no arXiv listing at research time, lives only on allenai.org; no license notice visible on the report). Olmo-core 3 is a redesigned open MoE training stack, moving from Fully Sharded Data Parallel (FSDP) -- which gathered/resharded weights per microbatch -- to Distributed Data Parallel (DDP) + Expert Parallelism (EP) + Pipeline Parallelism (PP) + a distributed optimizer + activation recompute. Experts stay resident on GPUs and training data is routed to them, avoiding repeated weight gathering. Key techniques: NVSHMEM-based rowwise EP (tokens written directly into expert buffers), GPU-resident routing metadata, device-scheduled grouped GEMMs, and MXFP8 low-precision formats. Results on NVL8 B300 nodes: configurations from 12.9B to 1.2T total parameters on up to 512 GPUs; 858 useful-model TFLOP/s/GPU at 1.2T with MXFP8 and per-layer recompute; an experimental DeepEP v2 backend capacity test reached 2.38T total parameters. ~2.7x throughput vs Olmo-core 2's FSDP stack (47B-param MoE on 8x B300: ~52,000 vs 19,400 tokens/sec/GPU); expert pool grown 8->128 with only 4 experts/token and <5% throughput loss; ~21% higher throughput with MXFP8 vs BF16 (peak memory 103->95 GiB). Failure-mode studies include 'token gerrymandering' (the MoE router learns to hack the load-balancing loss so the score improves while the actual workload gets less balanced) and a finding that overlapping communication with computation can slow the overlapped kernels by more than it hides. Code released as Olmo-core v3.0.0 (Apache-2.0). Designed to scale into the trillion-parameter range; the next-generation Olmo will use an MoE architecture.",
      "url": "https://allenai.org/papers/olmocore3",
      "authors": [
        "Tianhua Tao",
        "Akshita Bhagia",
        "Dirk Groeneveld",
        "Pete Walsh",
        "Tyler Romero",
        "Yashas Samaga",
        "Jacob Morrison",
        "Iz Beltagy",
        "Taira Anderson",
        "Noah A. Smith",
        "Hannaneh Hajishirzi (Allen Institute for AI",
        "University of Washington)"
      ],
      "tags": [
        "moe-training",
        "expert-parallelism",
        "distributed-training",
        "nvshmem",
        "mxfp8",
        "grouped-gemm",
        "load-balancing",
        "token-gerrymandering",
        "olmo",
        "open-infrastructure",
        "b300",
        "pipeline-parallelism"
      ],
      "venue": "Allen AI technical report, 2026-10",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/838",
      "markdown": "https://papers.projxon.ai/entries/838.md",
      "api": "https://papers.projxon.ai/api/entries/838"
    },
    {
      "id": 833,
      "kind": "paper",
      "title": "ID Balancing: Stable Training of Extremely Sparse MoE via PID-Based Load Control",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2609.39137",
      "authors": [
        "Peng Jin",
        "Zihan Qiu",
        "Zekun Wang",
        "Bo Zheng",
        "Yang Xu",
        "Tian Xie",
        "Xiao Li",
        "Huaqing Zhang",
        "Haoran Lian",
        "Rui Men",
        "Dayiheng Liu"
      ],
      "tags": [
        "mixture-of-experts",
        "moe",
        "load-balancing",
        "pid-control",
        "sparse-routing",
        "training-stability"
      ],
      "venue": "arXiv 2026-09-30 (cs.LG)",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/833",
      "markdown": "https://papers.projxon.ai/entries/833.md",
      "api": "https://papers.projxon.ai/api/entries/833"
    },
    {
      "id": 651,
      "kind": "other",
      "title": "Towards Looped Models Done Right — Part I: Topology, Input Injection, Recurrent-State Design",
      "summary": "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.”",
      "url": "https://ifm-research.notion.site/Towards-Looped-Models-Done-Right-3ade511912ec8128987dfeb7a5580043",
      "authors": [
        "Benhao Huang",
        "Chufan Shi",
        "Junlin Chen",
        "Shicheng Wen",
        "Zhengzhong Liu",
        "Eric Xing",
        "Xuezhe Ma"
      ],
      "tags": [
        "loop-models",
        "huginn",
        "ouro",
        "moe",
        "ifm",
        "mbzuai",
        "blog",
        "x"
      ],
      "venue": "Institute of Foundation Models",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-08-14T19:25:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/651",
      "markdown": "https://papers.projxon.ai/entries/651.md",
      "api": "https://papers.projxon.ai/api/entries/651"
    },
    {
      "id": 622,
      "kind": "paper",
      "title": "Ling and Ring 2.6 Technical Report: Efficient and Instant Agentic Intelligence at Trillion-Parameter Scale",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2606.15079",
      "authors": [
        "Ling Team (Inclusion AI)"
      ],
      "tags": [
        "kpop",
        "icepop",
        "ring-2.6",
        "ling-2.6",
        "moe",
        "agentic-rl",
        "inclusionai",
        "ant-group",
        "x"
      ],
      "venue": "arXiv / Inclusion AI",
      "source": "arxiv",
      "license": "MIT (github.com/inclusionAI/Ling-V2.5)",
      "published_year": 2026,
      "added_at": "2026-08-14T19:06:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 6,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/622",
      "markdown": "https://papers.projxon.ai/entries/622.md",
      "api": "https://papers.projxon.ai/api/entries/622"
    },
    {
      "id": 1076,
      "kind": "paper",
      "title": "Exact Quantile Balancing and Load-Error Injection for Mixture-of-Experts",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2609.28053",
      "authors": [
        "Pit Neitemeier",
        "Jiaze Li",
        "Alessio Serra",
        "Philipp Scholl",
        "Sohir Maskey"
      ],
      "tags": [
        "moe",
        "load-balancing",
        "eqb",
        "lei",
        "router"
      ],
      "venue": "Aleph Alpha",
      "source": "arxiv",
      "license": "CC BY 4.0",
      "published_year": 2026,
      "added_at": "2026-09-26T22:47:32.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1076",
      "markdown": "https://papers.projxon.ai/entries/1076.md",
      "api": "https://papers.projxon.ai/api/entries/1076"
    }
  ]
}
