Accuracy is Not All You Need
<|reference_start|>Accuracy is Not All You Need: When Large Language Models (LLMs) are compressed using techniques such as quantization, the predominant way to demonstrate the validity of such techniques is by measuring the model's accuracy on various benchmarks.If the accuracies of the baseline model and the compressed model are close, it is assumed that there was negligible degradation in quality.However, even when the accuracy of baseline and compressed model are similar, we observe the phenomenon of flips, wherein answers change from correct to incorrect and vice versa in proportion.We conduct a detailed study of metrics across multiple compression techniques, models and datasets, demonstrating that the behavior of compressed models as visible to end-users is often significantly different from the baseline model, even when accuracy is similar.We further evaluate compressed models qualitatively and quantitatively using MT-Bench and show that compressed models are significantly worse than baseline models in this free-form generative task.Thus, we argue that compression techniques should also be evaluated using distance metrics.We propose two such metrics, KL-Divergence and flips, and show that they are well correlated.<|reference_end|>
@article{dutta2024accuracy,
    title={Accuracy is Not All You Need},
    author={Abhinav Dutta, Sanjeev Krishnan, Nipun Kwatra, Ramachandran Ramjee},
    journal={arXiv preprint arXiv:2407.09141},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.09141},
    primaryClass={cs.LG}
}