mlsanityData to 7 Oct 2026

Evaluating the Generalization Ability of Quantized LLMs: Benchmark, Analysis, and Toolbox

arXiv 2406.12928 ↗First posted 15 Jun 2024cs.LG cs.AI cs.CLcited by 11

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have exhibited exciting progress in multiple scenarios, while the huge computational demands hinder their deployments in lots of real-world applications. As an effective means to reduce memory footprint and inference cost, quantization also faces challenges in performance degradation at low bit-widths. Understanding the impact of quantization on LLM capabilities, especially the generalization ability, is crucial. However, the community's main focus remains on the algorithms and models of quantization, with insufficient attention given to whether the quantized models can retain the strong generalization abilities of LLMs. In this work, we fill this gap by providing a comprehensive benchmark suite for this research topic, including an evaluation system, detailed analyses, and a general toolbox. Specifically, based on the dominant pipeline in LLM quantization, we primarily explore the impact of calibration data distribution on the generalization of quantized LLMs and conduct the benchmark using more than 40 datasets within two main scenarios. Based on this benchmark, we conduct extensive experiments with two well-known LLMs (English and Chinese) and four quantization algorithms to investigate this topic in-depth, yielding several counter-intuitive and valuable findings, e.g., models quantized using a calibration set with the same distribution as the test data are not necessarily optimal. Besides, to facilitate future research, we also release a modular-designed toolbox, which decouples the overall pipeline into several separate components, e.g., base LLM module, dataset module, quantizer module, etc. and allows subsequent researchers to easily assemble their methods through a simple configuration. Our benchmark suite is publicly available at https://github.com/TsingmaoAI/MI-optimize

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 63 of its 74 references that are in the map. First posted on arXiv 15 Jun 2024.

Builds on

63 of 74 references.

References · 63

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2020Scaling Laws for Neural Language Modelscited by 6,411
  7. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  8. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  10. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  11. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  12. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
38 more
  1. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  2. 2016Pointer Sentinel Mixture Modelscited by 2,992
  3. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  4. 2023A Survey of Large Language Modelscited by 2,537
  5. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  6. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  7. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  8. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
  9. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
  10. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  11. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  12. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
  13. 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
  14. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
  15. 2017Crowdsourcing Multiple Choice Science Questionscited by 742
  16. 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 703
  17. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 694
  18. 2023Baichuan 2: Open Large-scale Language Modelscited by 664
  19. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
  20. 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 553
  21. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
  22. 2021A White Paper on Neural Network Quantizationcited by 453
  23. 2023CMMLU: Measuring massive multitask language understanding in Chinesecited by 436
  24. 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
  25. 2023OmniQuant: Omnidirectionally Calibrated Quantization for Large Language Modelscited by 403
  26. 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 397
  27. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
  28. 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 359
  29. 2018SWAG: A Large-Scale Adversarial Dataset for Grounded Commonsense Inferencecited by 333
  30. 2016NewsQA: A Machine Comprehension Datasetcited by 330
  31. 2023LLM-QAT: Data-Free Quantization Aware Training for Large Language Modelscited by 320
  32. 2023A Survey on Model Compression for Large Language Modelscited by 263
  33. 2017SearchQA: A New Q&A Dataset Augmented with Context from a Search Enginecited by 221
  34. 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 216
  35. 2022WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creationcited by 200
  36. 2023QA-LoRA: Quantization-Aware Low-Rank Adaptation of Large Language Modelscited by 154
  37. 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 145
  38. 2020Beat the AI: Investigating Adversarial Human Annotation for Reading Comprehensioncited by 131

50 most cited of 63 All 63 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 5; 2026: 3.

11 papers.