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

Miles Williams, Nikolaos Aletras
11/16/2023
cs.CL
quantization-pruning

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{williams2023impact,
  title  = {On the Impact of Calibration Data in Post-training Quantization and Pruning},
  author = {Miles Williams and Nikolaos Aletras},
  year   = {2023},
  eprint = {2311.09755},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.09755v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.09755.svg)](https://codeofpaper.com/paper/2311.09755)

Discussion