arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.05711cs.CLcs.AI
收藏

OmniMoE: 通过编排原子专家实现高效的MoE

OmniMoE: An Efficient MoE by Orchestrating Atomic Experts at Scale

Beijing Academy of Artificial Intelligence(北京人工智能研究院)

Jingze Shi, Zhangyang Peng, Yizhang Zhu, Yifan Wu, Guang Liu, Yuyu Luo

AI总结:

提出OmniMoE框架,通过向量级原子专家、笛卡尔积路由器和专家中心调度,解决细粒度MoE中路由复杂度和内存访问问题,在1.7B参数下实现50.9%零样本准确率,推理速度相比PEER提升10.9倍。

摘要:

混合专家(MoE)架构正朝着更细粒度的方向发展,以提高参数效率。然而,现有的MoE设计在专家专业化的粒度和硬件执行效率之间面临固有的权衡。我们提出了OmniMoE,一个系统-算法协同设计的框架,将专家粒度推向了逻辑极限。OmniMoE引入了向量级原子专家,使得在单个MoE层内实现可扩展的路由和执行成为可能,同时保留了一个共享的稠密MLP分支用于通用处理。尽管这种原子设计最大化容量,但它给路由复杂度和内存访问带来了严峻挑战。为了解决这些问题,OmniMoE采用了系统-算法协同设计:(i)笛卡尔积路由器,将巨大的索引空间分解,将路由复杂度从O(N)降低到O(sqrt(N));(ii)专家中心调度,反转执行顺序,将分散的内存受限查找转化为高效的稠密矩阵运算。在七个基准测试上验证,OmniMoE(具有1.7B活跃参数)在七个基准测试上实现了50.9%的零样本准确率,优于粗粒度(如DeepSeekMoE)和细粒度(如PEER)基线。关键的是,与PEER相比,OmniMoE将推理延迟从73ms降低到6.7ms(10.9倍加速),表明大规模细粒度MoE可以既快又准确。我们的代码已开源,地址见:this https URL。

英文摘要:

Mixture-of-Experts (MoE) architectures are evolving towards finer granularity to improve parameter efficiency. However, existing MoE designs face an inherent trade-off between the granularity of expert specialization and hardware execution efficiency. We propose OmniMoE, a system-algorithm co-designed framework that pushes expert granularity to its logical extreme. OmniMoE introduces vector-level Atomic Experts, enabling scalable routing and execution within a single MoE layer, while retaining a shared dense MLP branch for general-purpose processing. Although this atomic design maximizes capacity, it poses severe challenges for routing complexity and memory access. To address these, OmniMoE adopts a system-algorithm co-design: (i) a Cartesian Product Router that decomposes the massive index space to reduce routing complexity from O(N) to O(sqrt(N)); and (ii) Expert-Centric Scheduling that inverts the execution order to turn scattered, memory-bound lookups into efficient dense matrix operations. Validated on seven benchmarks, OmniMoE (with 1.7B active parameters) achieves 50.9% zero-shot accuracy across seven benchmarks, outperforming coarse-grained (e.g., DeepSeekMoE) and fine-grained (e.g., PEER) baselines. Crucially, OmniMoE reduces inference latency from 73ms to 6.7ms (a 10.9-fold speedup) compared to PEER, demonstrating that massive-scale fine-grained MoE can be fast and accurate. Our code is open-sourced at https://github.com/flash-algo/omni-moe.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑