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

RepDL:位级可复现的深度学习训练与推理

RepDL: Bit-level Reproducible Deep Learning Training and Inference

Microsoft Research(微软研究院)

Peichen Xie, Xian Zhang, Shuo Chen

AI总结:

针对深度学习训练与推理中的非确定性和不可复现性问题,本文提出开源库RepDL,通过强制浮点计算中的正确舍入和顺序不变性,实现跨环境的位级可复现,并公开源代码。

摘要:

非确定性和不可复现性在深度学习中构成重大挑战,导致不同运行和平台上的结果不一致。这些问题源于两个根源:随机数生成和浮点计算。虽然随机性可以通过确定性配置加以控制,但浮点不一致性在很大程度上仍未解决。为解决此问题,我们引入了RepDL,一个开源库,确保在不同计算环境中实现确定性和位级可复现的深度学习训练与推理。RepDL通过强制在浮点计算中实施正确舍入和顺序不变性来实现这一目标。源代码可在https://github.com/microsoft/RepDL获取。

英文摘要:

Non-determinism and non-reproducibility present significant challenges in deep learning, leading to inconsistent results across runs and platforms. These issues stem from two origins: random number generation and floating-point computation. While randomness can be controlled through deterministic configurations, floating-point inconsistencies remain largely unresolved. To address this, we introduce RepDL, an open-source library that ensures deterministic and bitwise-reproducible deep learning training and inference across diverse computing environments. RepDL achieves this by enforcing correct rounding and order invariance in floating-point computation. The source code is available at https://github.com/microsoft/RepDL .

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

↑