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

MoR:混合精度训练的表示混合

MoR: Mixture Of Representations For Mixed-Precision Training

Nvidia(英伟达);Meta

Bor-Yiing Su, Peter Dykas, Mike Chrzanowski, Jatin Chhugani

AI总结:

本文提出MoR混合表示框架,通过动态选择FP8和BF16表示提升混合精度训练的鲁棒性与精度

摘要:

混合精度训练是扩展深度学习模型的关键技术,但成功的混合精度训练需要识别并应用正确的训练方法组合。本文介绍了我们对混合表示(MoR)的初步研究,这是一种新颖的每张张量和子张量级量化框架,能够动态分析张量的数值特性以选择多种不同的表示形式。基于该框架,我们提出了并实验了具体的算法,用于在每张张量和子张量级别动态选择FP8和BF16表示。我们的通用方法旨在在各种量化分区策略和数据集上保持模型质量。我们的初步发现表明,该方法可以实现最先进的结果,其中98.38%的张量被量化到FP8格式。这项工作突显了动态、属性感知量化在保持模型质量方面的潜力。我们相信这种方法可以普遍提高低精度训练的鲁棒性,如通过在无需细粒度分区的情况下实现与现有方法相当的FP8精度,或与其他训练方法结合使用,以提高甚至更低精度数字格式(如NVFP4)的利用效率。

英文摘要:

Mixed-precision training is a crucial technique for scaling deep learning models, but successful mixedprecision training requires identifying and applying the right combination of training methods. This paper presents our preliminary study on Mixture-of-Representations (MoR), a novel, per-tensor and sub-tensor level quantization framework that dynamically analyzes a tensor's numerical properties to select between a variety of different representations. Based on the framework, we have proposed and experimented concrete algorithms that choose dynamically between FP8 and BF16 representations for both per-tensor and sub-tensor level granularities. Our universal approach is designed to preserve model quality across various quantization partition strategies and datasets. Our initial findings show that this approach can achieve state-of-the-art results with 98.38% of tensors quantized to the FP8 format. This work highlights the potential of dynamic, property-aware quantization while preserving model quality. We believe this approach can generally improve the robustness of low precision training, as demonstrated by achieving FP8 accuracies that are on par with existing approaches without the need for fine-grain partitioning, or can be used in combination with other training methods to improve the leverage of even lower precision number formats such as NVFP4.

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

↑