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

无理复数旋转赋能低位优化器

Irrational Complex Rotations Empower Low-bit Optimizers

Gaoling School of Artificial Intelligence, Remin University of China(中国人民大学高瓴人工智能学院)

Zhen Tian, Wayne Xin Zhao, Ji-Rong Wen

AI总结:

本文提出π-Quant优化器状态压缩算法,利用无理数复数旋转将参数对映射为旋转角,以线性复杂度计算,将位宽降至3.32位,减少75%参数规模和40%GPU内存,保持全精度。

摘要:

本文提出了一种新颖的优化器状态压缩算法,即π-Quant,该算法利用无理数(如π)的特性实现内存高效的训练。其核心思想基于我们的数学发现,该发现表明,利用复数旋转方案,一对参数可以用单个旋转角来表示。基于这一洞见,我们将参数映射到复数空间,并使用相应的旋转角进行量化。为了高效地将其集成到优化过程中,我们开发了一个高效的几何方程组系统,该系统能以线性复杂度计算精确的旋转角。我们在广泛的任务上评估了π-Quant。我们的实验表明,它能将参数的位宽降至3.32位,实现参数规模减少75%,GPU内存使用量减少40%,同时保持完全准确度。

英文摘要:

In this paper, we propose a novel optimizer state compression algorithm, namely $π$-Quant, which leverages the properties of irrational numbers (e.g., $π$) for memory-efficient training. The core idea is based on our mathematical findings, which show that a pair of parameters can be represented by a single rotation angle using the complex rotation scheme. Building on this insight, we map the parameters into a complex space and perform quantization using the corresponding rotation angles. To efficiently integrate it into optimization process, we develop an efficient system of geometric equations that computes the precise rotation angles with linear complexity. We evaluate $π$-Quant on a wide range of tasks. Our experiments show that it can reduce the bit-width of parameters to 3.32-bit, achieving a 75% reduction in parameter scale and a 40% decrease in GPU memory usage, all while maintaining full accuracy.

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

↑