arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.28290cs.LGcs.AR
收藏

OptINC:面向可扩展分布式学习的光内计算

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

Sijie Fei, Grace Li Zhang, Bing Li, Ulf Schlichtmann

AI总结:

OptINC通过在光互连中集成光学设备实现光内计算,降低通信开销,提升分布式学习效率。

摘要:

OptINC通过在光互连中集成光学设备实现光内计算,降低通信开销,提升分布式学习效率。分布式学习广泛用于在大型数据集上训练大型模型,通过将模型或数据集的组成部分分布在多个设备上,并聚合计算结果以进行后续计算或参数更新。现有的分布式学习通信算法,如环形全减少,导致服务器之间的通信开销较大。由于大规模系统中的通信使用光纤,我们提出了一种光学内计算(OptINC)架构,将计算任务从服务器卸载到光互连上。为了在光域中执行梯度平均和量化,我们将Mach-Zehnder干涉仪(MZIs)等光学设备集成到互连中。这种实际的光学神经网络(ONN)可以有效减少现有分布式训练解决方案中的通信开销。为了减少训练此神经网络的数据集复杂性,还提出了一种在光域中实现的预处理算法。通过将光学神经网络的权重矩阵近似为单位ary和对角矩阵,降低了硬件成本,同时通过提出的硬件感知训练算法保持了准确性。所提出的方法在实际分布式学习任务上进行了评估,包括在CIFAR-100上的ResNet50和基于LLaMA的网络在Wikipedia-1B上的应用。在两种情况下,所提出框架都能达到与环形全减少基线相媲美的训练准确性,同时消除了通信开销。

英文摘要:

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.

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

↑