arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.26845cs.NI
收藏

Birkhoff 分解与光子互连——等等!别忘了计算!

Birkhoff Decompositions and Photonic Interconnects Wait! Don't Forget the Compute!

Purdue University(普渡大学)

Eliezer Amponsah, Vamsi Addanki

AI总结:

针对MoE模型中全互连通信的调度问题,提出一种贪心最大权重分解策略,在限制匹配数量的同时保持大批次大小,从而提升通信-计算重叠效率并减少计算开销。

摘要:

分布式训练和推理中对高效通信的需求日益增长,引发了学术界和工业界对可重构光子互连的浓厚兴趣。混合专家(MoE)模型具有高度偏斜的通信模式,为这种电路交换网络提供了天然的应用机会。然而,现有方法大多孤立地优化通信,忽略了通信与后续专家计算之间的交互。本文重新审视了MoE执行中全互连通信的电路调度问题。我们表明,分发-计算-组合结构从根本上挑战了Birkhoff-von Neumann(BvN)分解等经典调度技术。首先,MoE通信矩阵很少是双随机的,这会在基于BvN的调度中引入显著的调度气泡。其次,虽然分解可以实现通信-计算重叠,但BvN产生的过多匹配将执行分割成小批量,由于固定的执行开销导致严重的计算效率低下。受这些观察的启发,我们探索了一种简单的贪心最大权重分解策略,该策略在限制匹配数量的同时保持每个匹配的大批量大小。尽管方法简单,但它显著提高了重叠效率,减少了计算开销,并接近理想无拥塞全互连的性能。

英文摘要:

The growing demand for efficient communication in distributed training and inference has sparked significant interest in reconfigurable photonic interconnects across both academia and industry. Mixture-of-Experts (MoE) models, with their highly skewed communication patterns, present a natural opportunity for such circuit-switched fabrics. However, existing approaches largely optimize communication in isolation, overlooking the interaction between communication and the expert computation that follows. In this paper, we revisit circuit scheduling for all-to-all communication in MoE execution. We show that the dispatch--compute--combine structure fundamentally challenges classical scheduling techniques such as Birkhoff--von Neumann (BvN) decomposition. First, MoE communication matrices are rarely doubly stochastic, introducing significant scheduling bubbles in BvN-based schedules. Second, while decomposition enables communication--compute overlap, the excessive number of matchings produced by BvN fragments execution into small batches, leading to severe compute inefficiencies due to fixed execution overheads. Motivated by these observations, we explore a simple greedy max-weight decomposition strategy that bounds the number of matchings while preserving large batch sizes per matching. Despite its simplicity, the approach significantly improves overlap efficiency, reduces compute overheads, and approaches the performance of an ideal congestion-free all-to-all.

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

↑