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

在边缘云系统的机器学习研究中利用神经图编译器

Leveraging Neural Graph Compilers in Machine Learning Research for Edge-Cloud Systems

Coovally Barcelona, Spain(巴塞罗那Coovally公司);Distributed Systems Group, TU Wien(维也纳技术大学分布式系统组);ICREA Barcelona, Spain(巴塞罗那ICREA)

Alireza Furutanpey, Carmen Walser, Philipp Raith, Pantelis A. Frangoudis, Schahram Dustdar

AI总结:

该研究对跨异构硬件平台的神经网络图编译器全面评估,揭示其性能依赖神经架构和批量大小,通过实验确定特定供应商编译器优势,引入新指标,纳入编译器效应弥合学术与实际部署差距。

摘要:

这项工作对跨异构硬件平台的神经网络图编译器进行了全面评估,解决了理论优化技术与实际部署场景之间的关键差距。我们展示了特定于供应商的优化如何使架构原型之间的相对性能比较无效,编译后性能优势有时会完全逆转。我们的系统分析表明,图编译器的性能模式高度依赖于神经架构和批量大小。通过细粒度的块级实验,我们确定特定于供应商的编译器可以利用简单架构中的重复模式,随着模型深度增加产生不成比例的吞吐量增益。我们引入了新的指标来量化编译器在批量大小增加时减轻性能摩擦的能力。我们的方法通过在整个研究过程中纳入编译器效应,弥合了学术研究与实际部署之间的差距,为在异构硬件环境中驾驭复杂优化环境的从业者提供了可操作的见解。

英文摘要:

This work presents a comprehensive evaluation of neural network graph compilers across heterogeneous hardware platforms, addressing the critical gap between theoretical optimization techniques and practical deployment scenarios. We demonstrate how vendor-specific optimizations can invalidate relative performance comparisons between architectural archetypes, with performance advantages sometimes completely reversing after compilation. Our systematic analysis reveals that graph compilers exhibit performance patterns highly dependent on both neural architecture and batch sizes. Through fine-grained block-level experimentation, we establish that vendor-specific compilers can leverage repeated patterns in simple architectures, yielding disproportionate throughput gains as model depth increases. We introduce novel metrics to quantify a compiler's ability to mitigate performance friction as batch size increases. Our methodology bridges the gap between academic research and practical deployment by incorporating compiler effects throughout the research process, providing actionable insights for practitioners navigating complex optimization landscapes across heterogeneous hardware environments.

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

↑