arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01309cs.ITcs.LGmath.IT
收藏

从 LLM 的旋转对称性中取回免费比特

Getting Free Bits Back from Rotational Symmetries in LLMs

University of Cambridge(剑桥大学)

Jiajun He, Gergely Flamich, José Miguel Hernández-Lobato

AI总结:

针对 LLM 权重压缩忽视旋转对称性导致冗余编码的问题,提出基于 bits-back coding 的 Transformer 权重存储格式,在 SliceGPT 剪枝模型上免费减少 3–5% 比特用量且不损性能。

摘要:

当前压缩神经网络权重的方法,如分解、剪枝、量化和通道模拟,往往忽视这些网络内部固有的对称性,因而把比特浪费在编码冗余信息上。本文提出一种基于 bits-back coding(比特返还编码)的格式,用于在相同浮点精度下,比通常的数组布局更高效地存储具有旋转对称性的 Transformer 权重。我们在由 SliceGPT(Ashkboos 等人,2024)剪枝的大语言模型(LLM)上评估该方法,并在不同模型规模和架构下免费实现总比特用量降低 3–5%,且在一定数值精度内不影响模型性能。

英文摘要:

Current methods for compressing neural network weights, such as decomposition, pruning, quantization, and channel simulation, often overlook the inherent symmetries within these networks and thus waste bits on encoding redundant information. In this paper, we propose a format based on bits-back coding for storing rotationally symmetric Transformer weights more efficiently than the usual array layout at the same floating-point precision. We evaluate our method on Large Language Models (LLMs) pruned by SliceGPT (Ashkboos et al., 2024) and achieve a 3-5% reduction in total bit usage for free across different model sizes and architectures without impacting model performance within a certain numerical precision.

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

↑