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

MX+:突破微缩放格式极限,实现高效大型语言模型服务

MX+: Pushing the Limits of Microscaling Formats for Efficient Large Language Model Serving

Seoul National University(首尔国立大学)

Jungi Lee, Junyong Park, Soohyun Cha, Jaehoon Cho, Jaewoong Sim

AI总结:

本文提出MX+,一种非侵入式微缩放格式扩展,通过重用离群值的指数位提高精度,在可忽略开销下显著提升LLM推理性能,优于MXFP4和MXFP6。

摘要:

降低精度的数据格式对于大型语言模型(LLM)的经济高效服务至关重要。尽管迄今已提出多种降低精度的格式,但它们往往需要对软件框架进行侵入式修改,或者对于硬件供应商的广泛采用而言相当非传统。在本文中,我们转而关注近期行业驱动的块浮点(BFP)格式变体,并进行全面分析以突破其极限,实现高效的LLM服务。我们的分析表明,由于块中的离群值,现有的超低位BFP变体难以提供合理的语言模型性能。为了解决BFP中的离群值问题,我们提出了MX+,一种经济高效且非侵入式的扩展,旨在无缝集成到微缩放(MX)格式中。MX+基于关键洞察:离群值不需要使用元素数据类型中的指数位,这使我们能够将指数位重新用作扩展尾数,以提高离群值元素的精度。我们的评估表明,与4位MX格式(MXFP4)相比,MX+在可忽略的存储开销和速度损失下,实现了显著更高的模型性能,从而为高效LLM推理提供了比MXFP4或MXFP6更具吸引力的替代方案。

英文摘要:

Reduced-precision data formats are crucial for cost-effective serving of large language models (LLMs). While numerous reduced-precision formats have been introduced thus far, they often require intrusive modifications to the software frameworks or are rather unconventional for widespread adoption across hardware vendors. In this paper, we instead focus on recent industry-driven variants of block floating-point (BFP) formats and conduct a comprehensive analysis to push their limits for efficient LLM serving. Our analysis shows that existing ultra low-bit BFP variants struggle to provide reasonable language model performance due to outlier values in blocks. To address the outliers with BFPs, we propose MX+, a cost-effective and non-intrusive extension designed for seamless integration into the microscaling (MX) formats. MX+ builds on the key insight that the outlier does not need to use its exponent field in the element data type, which allows us to repurpose the exponent field as an extended mantissa to increase the precision of the outlier element. Our evaluation shows that MX+ achieves significantly higher model performance compared to the 4-bit MX format (MXFP4) with negligible storage overhead and slowdown, thus offering a compelling alternative to MXFP4 or MXFP6 for efficient LLM inference.

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

↑