arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.11601cs.DCcs.AIcs.LG
收藏

留意差距:揭示异构AI加速器之间的不一致性

Mind the Gap: Revealing Inconsistencies Across Heterogeneous AI Accelerators

The University of Auckland(奥克兰大学);Hong Kong Polytechnic University(香港Polytechnic大学);Victoria University of Wellington(但尼丁维多利亚大学);Harbin Institute of Technology(哈尔滨工业大学);Lingnan University(岭大大学)

Elliott Wen, Sean Ma, Ewan Tempero, Jens Dietrich, Daniel Luo, Jiaxing Shen, Kaiqi Zhao, Bruce Sham, Yousong Song, Jiayi Hua, Jia Hong

AI总结:

本文首次针对异构AI加速器开展实证研究,通过自动化流水线测试大量模型变体,量化不同厂商平台与NVIDIA的算子支持、输出差异等问题,揭示硬件多元化下ML行为一致性的挑战。

摘要:

尽管英伟达(NVIDIA)仍是云数据中心AI加速器的主流供应商,AMD、英特尔(Intel)、Mac、华为等新兴厂商也推出了具备成本效益的替代方案,声称具备兼容性与性能优势。本文首次开展实证研究,探究跨异构AI加速器运行时机器学习模型的行为差异。我们借助自动化流水线,基于4000个真实世界模型合成了超过10万个变体模型,并在5款不同的企业级加速器上执行这些模型。研究发现,Mac和华为的较新AI平台支持的算子比NVIDIA至少少17%;这些平台还存在更高的输出差异率(超过5%),差异源于算子实现、异常数值处理、指令调度的不同;它们在基于编译的模型加速过程中也更易出现故障,部分场景下编译后模型的输出与标准执行模式生成的输出存在明显差异。此外,我们在PyTorch中发现了7个实现缺陷,在各厂商平台中发现了40个平台特有问题。这些结果凸显了在日益多元化的硬件生态中实现机器学习行为一致性所面临的挑战。

英文摘要:

While NVIDIA remains the dominant provider of AI accelerators within cloud data center, emerging vendors such as AMD, Intel, Mac, and Huawei offer cost-effective alternatives with claims of compatibility and performance. This paper presents the first empirical study investigating divergence in machine learning model across heterogeneous AI accelerators. Utilizing an automated pipeline, we synthesize over 100,000 variant models derived from 4,000 real-world models and execute them across five different enterprise-grade accelerators. Our findings suggest that newer AI platforms from Mac and Huawei support at least 17\% fewer operators than NVIDIA. These platforms also exhibit a higher rate of output discrepancies (exceeding 5\%), which stem from differences in operator implementations, handling of exceptional numerical values, and instruction scheduling. They are also more susceptible to failures during model compilation-based acceleration, and in some cases, the compiled models produce outputs that differ noticeably from those generated using the standard execution mode. In addition, we identify 7 implementation flaws in PyTorch and 40 platform-specific issues across vendors. These results underscore the challenges of achieving consistent machine learning behavior in an increasingly diverse hardware ecosystem.

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

↑