arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.09755cs.CL
收藏

关于校准数据在训练后量化和剪枝中的影响

On the Impact of Calibration Data in Post-training Quantization and Pruning

University of Sheffield(谢菲尔德大学)

Miles Williams, Nikolaos Aletras

AI总结:

本文首次系统研究校准数据对大型语言模型训练后量化和剪枝效果的影响,发现其显著影响下游任务性能,并提出有效使用建议。

摘要:

量化和剪枝构成了神经网络压缩的基础,使得大型语言模型(LLMs)能够实现高效推理。近年来,各种量化和剪枝技术在训练后设置中展现出了卓越的性能。它们依赖于校准数据,即一小部分用于生成层激活的无标签示例。然而,此前没有工作系统地研究校准数据如何影响模型压缩方法的有效性。在本文中,我们首次对校准数据对LLM性能的影响进行了广泛的实证研究。我们尝试了多种量化与剪枝方法、数据集、任务和模型。令人惊讶的是,我们发现下游任务性能存在显著差异,这与现有工作所暗示的对校准数据具有更高鲁棒性的观点形成对比。最后,我们为在LLM量化和剪枝中有效使用校准数据提出了一系列建议。

英文摘要:

Quantization and pruning form the foundation of compression for neural networks, enabling efficient inference for large language models (LLMs). Recently, various quantization and pruning techniques have demonstrated remarkable performance in a post-training setting. They rely upon calibration data, a small set of unlabeled examples that are used to generate layer activations. However, no prior work has systematically investigated how the calibration data impacts the effectiveness of model compression methods. In this paper, we present the first extensive empirical study on the effect of calibration data upon LLM performance. We trial a variety of quantization and pruning methods, datasets, tasks, and models. Surprisingly, we find substantial variations in downstream task performance, contrasting existing work that suggests a greater level of robustness to the calibration data. Finally, we make a series of recommendations for the effective use of calibration data in LLM quantization and pruning.

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

↑