Cherry on Top: Parameter Heterogeneity and Quantization in Large Language Models
Wanyun Cui, Qianle Wang
TL;DR
This work reveals a pervasive parameter heterogeneity in large language models, where a tiny subset of 'cherry' parameters disproportionately impacts performance while most parameters tolerate quantization with little loss. It introduces CherryQ, a quantization framework that end-to-end optimizes mixed precisions by preserving cherry parameters in high precision and quantizing the rest, using a heterogeneity-based criterion to identify cherry parameters. Through extensive experiments across base and chat LLMs, CherryQ achieves superior perplexity and downstream task performance with 3-bit quantization, and even competitive results relative to 16-bit baselines for Vicuna-1.5. The approach reduces memory and compute requirements for deployment while maintaining model quality, with strong performance gains in ultra-low precision regimes and robust results across datasets and tasks.
Abstract
This paper reveals the phenomenon of parameter heterogeneity in large language models (LLMs). We find that a small subset of "cherry" parameters exhibit a disproportionately large influence on model performance, while the vast majority of parameters have minimal impact. This heterogeneity is found to be prevalent across different model families, scales, and types. Motivated by this observation, we propose CherryQ, a novel quantization method that unifies the optimization of mixed-precision parameters. CherryQ identifies and preserves the critical cherry parameters in high precision while aggressively quantizing the remaining parameters to low precision. Extensive experiments demonstrate the effectiveness of CherryQ. CherryQ outperforms existing quantization approaches in terms of perplexity and downstream task performance. Notably, our 3-bit quantized Vicuna-1.5 exhibits competitive performance compared to their 16-bit counterparts.
