arXiv:2603.28290cs.LGcs.AR2026-03

用光网络计算梯度,大幅降低分布式训练通信开销。

OptINC: Optical In-Network-Computing for Scalable Distributed Learning

  • 在光互连中用马赫-曾德尔干涉仪实现梯度平均与量化
  • 在真实任务上达到与环形全部归约相当的精度,通信开销为零
  • 适合大规模分布式训练场景,尤其关注通信效率的研究者

分布式学习通过将模型或数据分发到多个设备并聚合计算结果来训练大型模型。现有通信算法如环形全部归约在服务器间造成巨大通信开销。由于大规模系统使用光纤通信,我们提出光学域内计算(OptINC)架构,将服务器中的计算任务卸载至光互连。为在光域执行梯度平均与量化,我们在互连中集成马赫-曾德尔干涉仪(MZIs),构建实际的光神经网络(ONN),显著降低现有分布式训练方案的通信开销。为降低训练该神经网络的数据复杂度,还提出了在光域实现的预处理算法。通过将光神经网络的权值矩阵近似为酉矩阵和对角矩阵,降低了硬件成本,同时通过提出的硬件感知训练算法保持精度。该方案在真实分布式学习任务中评估,包括在CIFAR-100上的ResNet50以及在Wikipedia-1B上的LLaMA模型,在两种情况下均达到与环形全部归约基线相当的训练精度,同时完全消除通信开销。

原文摘要 · Abstract (English)

Distributed learning is widely used for training large models on large datasets by distributing parts of the model or dataset across multiple devices and aggregating the computed results for subsequent computations or parameter updates. Existing communication algorithms for distributed learning such as ring all-reduce result in heavy communication overhead between servers. Since communication in large-scale systems uses optical fibers, we propose an Optical In-Network-Computing (OptINC) architecture to offload the computation in servers onto the optical interconnects. To execute gradient averaging and quantization in the optical domain, we incorporate optical devices such as Mach-Zehnder-Interferometers (MZIs) into the interconnects. Such a de facto optical neural network (ONN) can effectively reduce the communication overhead in existing distributed training solutions. To reduce dataset complexity for training this neural network, a preprocessing algorithm implemented in the optical domain is also proposed. Hardware cost is lowered by approximating the weight matrices of the optical neural network with unitary and diagonal matrices, while the accuracy is maintained by a proposed hardware-aware training algorithm. The proposed solution was evaluated on real distributed learning tasks, including ResNet50 on CIFAR-100, and a LLaMA-based network on Wikipedia-1B. In both cases, the proposed framework can achieve comparable training accuracy to the ring all-reduce baseline, while eliminating communication overhead.

分布式学习光计算通信优化神经网络

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。