A Comprehensive Evaluation of Quantized Instruction-Tuned Large Language Models: An Experimental Analysis up to 405B
Abstract
Prior research works have evaluated quantized LLMs using limited metrics such as perplexity or a few basic knowledge tasks and old datasets. Additionally, recent large-scale models such as Llama 3.1 with up to 405B have not been thoroughly examined. This paper evaluates the performance of instruction-tuned LLMs across various quantization methods (GPTQ, AWQ, SmoothQuant, and FP8) on models ranging from 7B to 405B. Using 13 benchmarks, we assess performance across six task types: commonsense Q\&A, knowledge and language understanding, instruction following, hallucination detection, mathematics, and dialogue. Our key findings reveal that (1) quantizing a larger LLM to a similar size as a smaller FP16 LLM generally performs better across most benchmarks, except for hallucination detection and instruction following; (2) performance varies significantly with different quantization methods, model size, and bit-width, with weight-only methods often yielding better results in larger models; (3) task difficulty does not significantly impact accuracy degradation due to quantization; and (4) the MT-Bench evaluation method has limited discriminatory power among recent high-performing LLMs.
Community
💡 This work includes a total of 9 LLMs, including the Llama-3.1-405B model, and analyzes the accuracy drop caused by quantization methods (GPTQ, AWQ, SmoothQuant, and FP8) using 13 benchmarks composed of the OpenLLM Leaderboard-v1-v2 datasets, and MT-Bench.
⚒️ The evaluation pipeline was implemented in a multi-node cluster environment by combining #vLLM, #lm_eval, Neural Magic's #llmcompressor, #AutoGPTQ, and #AutoAWQ.
What is the calibration dataset you used in these methods?
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- ABQ-LLM: Arbitrary-Bit Quantized Inference Acceleration for Large Language Models (2024)
- Accurate and Efficient Fine-Tuning of Quantized Large Language Models Through Optimal Balance (2024)
- Compensate Quantization Errors+: Quantized Models Are Inquisitive Learners (2024)
- Toward the Evaluation of Large Language Models Considering Score Variance across Instruction Templates (2024)
- Advancing Multimodal Large Language Models with Quantization-Aware Scale Learning for Efficient Adaptation (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper