SpaceMoE:在空间网络上实现分布式混合专家推理
SpaceMoE: Realizing Distributed Mixture-of-Experts Inference over Space Networks
AI总结:
本文提出SpaceMoE框架,旨在解决在卫星网络中高效部署大规模LLM的挑战,通过分层专家放置策略减少延迟,实现混合专家模型在空间环境中的高效推理。
摘要:
利用高效的连续太阳能采集,空间数据中心被视为执行高能耗大语言模型(LLMs)的有前途的平台。鉴于这一优势,航天和人工智能 conglomerates(如SpaceX、Google)正在积极投资这一愿景。然而,一个关键挑战是由于卫星上的计算和通信资源有限,高效地在卫星网络中部署大规模LLM。这导致了一个放置问题,需要将模型组件划分为卫星,以确保不同的模型架构和网络拓扑能够协调一致,从而实现低延迟的token生成。为了解决这个问题,我们提出了混合专家(MoE)的空间网络(SpaceMoE)框架,旨在在空间中分布式执行流行的混合专家模型。所提出的放置策略是两级的:(1)层放置,将MoE层分配给卫星子网;(2)层内专家放置,将单个专家分配给同一层/子网的卫星。对于层放置,我们利用自回归推断的环形通信模式,将卫星星座沿轨道方向划分为子网,每个子网托管一个MoE层。基于此架构,我们制定了并解决了层内专家放置的优化问题,以将具有异构激活概率的专家映射到卫星上。推导出的策略揭示了一个直观的原则:频繁激活的专家应映射到具有低预期延迟的路由路径上的卫星。实验表明,SpaceMoE在千卫星星座上实现了至少三倍于传统随机和消融放置策略的延迟降低。
英文摘要:
Leveraging continuous solar energy harvesting at high efficiency, space data centers are envisioned as a promising platform for executing energy-intensive large language models (LLMs). Recognizing this advantage, space and AI conglomerates (e.g., SpaceX, Google) are actively investing in this vision. One key challenge, however, is the efficient distributed deployment of a large-scale LLM in a satellite network due to the limited onboard computing and communication resources. This gives rise to a placement problem that involves partitioning and mapping model components to satellites such that the fundamentally different model architecture and network topology can be reconciled to ensure low-latency token generation. To address this problem, we present the Space Network of Mixture-of-Experts (SpaceMoE) framework targeting the distributed execution of a popular mixture-of-experts (MoE) model in space. The proposed placement strategies are two-level: (1) layer placement, which assigns MoE layers to satellite subnets; and (2) intra-layer expert placement, which assigns individual experts to satellites associated with the same layer/subnet. For layer placement, we exploit the ring-like communication pattern of autoregressive inference to partition the satellite constellation along the orbiting direction into subnets arranged on a ring, each hosting one MoE layer. Based on this architecture, we formulate and solve an optimization problem for intra-layer expert placement to map experts with heterogeneous activation probabilities onto satellites. The derived strategy reveals an intuitive principle: a frequently activated expert should be mapped to a satellite on a routing path with low expected latency. Experiments over a thousand-satellite constellation show that SpaceMoE achieves at least a threefold latency reduction compared with conventional random and ablation-based placement strategies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。