Is Quantization a Deal-breaker? Empirical Insights from Large Code Models
Saima Afrin, Bowen Xu, and Antonio Mastropaolo

TL;DR
This study investigates how quantization affects the quality of code generated by large models, finding that it preserves not only correctness but also important qualitative attributes like maintainability and simplicity.
Contribution
It provides empirical insights into the impact of quantization on qualitative aspects of code, extending beyond functional correctness in large code models.
Findings
Quantization preserves code correctness.
Quantization maintains code maintainability.
Quantization retains structural simplicity.
Abstract
The growing scale of large language models (LLMs) not only demands extensive computational resources but also raises environmental concerns due to their increasing carbon footprint. Model quantization emerges as an effective approach that can reduce the resource demands of LLMs by decreasing parameter precision without substantially affecting performance (e.g., 16 bit to 4 bit). While recent studies have established quantization as a promising approach for optimizing large code models (LCMs), a specialized subset of LLMs tailored for automated software engineering, their findings offer only limited insights into its practical implications. Specifically, current investigations focus only on the functional correctness of the code generated by quantized models, neglecting how quantization impacts critical aspects of code quality such as reliability, maintainability, and security. To bridge…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMedia Influence and Politics
