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

MONET:边缘到数据中心的神经网络训练建模与优化

MONET: Modeling and Optimization of neural NEtwork Training from Edge to Data Centers

Jérémy Morlier, Robin Geens, Stef Cuyckens, Arne Symons, Marian Verhelst, Vincent Gripon, Mathieu Léonardon

AI总结:

本文提出MONET框架,用于建模异构数据流加速器上的神经网络训练,探索ResNet-18和GPT-2的设计空间,发现更优硬件架构,并通过遗传算法发现激活检查点的权衡。

摘要:

尽管硬件软件协同设计显著提升了神经网络推理效率,但建模训练阶段仍是一个关键但未被充分研究的挑战。训练工作负载施加了不同的约束,特别是内存占用和反向传播复杂度,现有专注于推理的工具无法捕捉这些约束。本文引入MONET框架,用于建模在异构数据流加速器上神经网络的训练。MONET基于已被实验证明的Stream框架,该框架用于建模在异构数据流加速器上的神经网络推理,通过层融合。使用MONET,我们探索了ResNet-18和小型GPT-2的设计空间,展示了该框架建模训练工作流和发现更好硬件架构的能力。我们进一步研究了由于设计空间更大而变得更加复杂的神经网络训练问题,如确定最佳的层融合配置。此外,我们利用该框架通过遗传算法发现激活检查点的有趣权衡。我们的发现强调了为可扩展和高效的深度学习部署采用整体硬件软件协同设计的重要性。

英文摘要:

While hardware-software co-design has significantly improved the efficiency of neural network inference, modeling the training phase remains a critical yet underexplored challenge. Training workloads impose distinct constraints, particularly regarding memory footprint and backpropagation complexity, which existing inference-focused tools fail to capture. This paper introduces MONET, a framework designed to model the training of neural networks on heterogeneous dataflow accelerators. MONET builds upon Stream, an experimentally verified framework that that models the inference of neural networks on heterogeneous dataflow accelerators with layer fusion. Using MONET, we explore the design space of ResNet-18 and a small GPT-2, demonstrating the framework's capability to model training workflows and find better hardware architectures. We then further examine problems that become more complex in neural network training due to the larger design space, such as determining the best layer-fusion configuration. Additionally, we use our framework to find interesting trade-offs in activation checkpointing, with the help of a genetic algorithm. Our findings highlight the importance of a holistic approach to hardware-software co-design for scalable and efficient deep learning deployment.

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

↑