mlsanityData to 14 Oct 2026

Does quantization affect models' performance on long-context tasks?

arXiv 2505.20276 ↗First posted 26 May 2025cs.CL cs.AIcited by 10

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) now support context windows exceeding 128K tokens, but this comes with significant memory requirements and high inference latency. Quantization can mitigate these costs, but may degrade performance. In this work, we present the first systematic evaluation of quantized LLMs on tasks with long inputs (>64K tokens) and long-form outputs. Our evaluation spans 9.7K test examples, five quantization methods (FP8, GPTQ-int8, AWQ-int4, GPTQ-int4, BNB-nf4), and five models (Llama-3.1 8B and 70B; Qwen-2.5 7B, 32B, and 72B). We find that, on average, 8-bit quantization preserves accuracy (~0.8% drop), whereas 4-bit methods lead to substantial losses, especially for tasks involving long-context inputs (drops of up to 59%). This degradation tends to worsen when the input is in a language other than English. Crucially, the effects of quantization depend heavily on the quantization method, model, and task. For instance, while Qwen-2.5 72B remains robust under BNB-nf4, Llama-3.1 70B experiences a 32% performance drop on the same task. These findings highlight the importance of a careful, task-specific evaluation before deploying quantized LLMs, particularly in long-context scenarios and for languages other than English.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 38 of its 76 references that are in the map. First posted on arXiv 26 May 2025.

Builds on

38 of 76 references.

References · 38

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
  4. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  5. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  6. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
  7. 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,282
  8. 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
  9. 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 308
  10. 2024Extreme Compression of Large Language Models via Additive Quantizationcited by 232
  11. 2023Power Hungry Processing: Watts Driving the Cost of AI Deployment?cited by 191
  12. 2023From Words to Watts: Benchmarking the Energy Costs of Large Language Model Inferencecited by 170
26 more
  1. 2023BooookScore: A systematic exploration of book-length summarization in the era of LLMscited by 137
  2. 2024VERISCORE: Evaluating the factuality of verifiable claims in long-form text generationcited by 117
  3. 2024Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilizationcited by 101
  4. 2023Memory-Efficient Fine-Tuning of Compressed Large Language Models via sub-4-bit Integer Quantizationcited by 100
  5. 2024Scaling Laws for Precisioncited by 95
  6. 2024Catastrophic Failure of LLM Unlearning via Quantizationcited by 81
  7. 2024One Thousand and One Pairs: A "novel" challenge for long-context language modelscited by 80
  8. 2025Quantization Hurts Reasoning? An Empirical Study on Quantized Reasoning Modelscited by 73
  9. 2024An empirical study of LLaMA3 quantization: from LLMs to MLLMscited by 64
  10. 2023On the Impact of Calibration Data in Post-training Quantization and Pruningcited by 58
  11. 2025Energy Considerations of Large Language Model Inference and Efficiency Optimizationscited by 55
  12. 2023Do Emergent Abilities Exist in Quantized Large Language Models: An Empirical Studycited by 43
  13. 2024How Does Quantization Affect Multilingual LLMs?cited by 43
  14. 2025Quantization Meets Reasoning: Exploring LLM Low-Bit Quantization Degradation for Mathematical Reasoningcited by 37
  15. 2024"Give Me BF16 or Give Me Death"? Accuracy-Performance Trade-Offs in LLM Quantizationcited by 34
  16. 2024LLMC: Benchmarking Large Language Model Quantization with a Versatile Compression Toolkitcited by 33
  17. 2024Beyond Perplexity: Multi-dimensional Safety Evaluation of LLM Compressioncited by 33
  18. 2024CS4: Measuring the Creativity of Large Language Models Automatically by Controlling the Number of Story-Writing Constraintscited by 24
  19. 2024What Makes Quantization for Large Language Models Hard? An Empirical Study from the Lens of Perturbationcited by 23
  20. 2025An Empirical Study of Qwen3 Quantizationcited by 21
  21. 2024Quantifying the Capabilities of LLMs across Scale and Precisioncited by 19
  22. 2025One ruler to measure them all: Benchmarking multilingual long-context language modelscited by 19
  23. 2024When Precision Meets Position: BFloat16 Breaks Down RoPE in Long-Context Trainingcited by 15
  24. 2024Evaluating the Generalization Ability of Quantized LLMs: Benchmark, Analysis, and Toolboxcited by 11
  25. 2025Aggregating empirical evidence from data strategy studies: a case on model quantizationcited by 1
  26. 2025Capturing the Effects of Quantization on Trojans in Code LLMscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 8.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024A Comprehensive Evaluation of Quantization Strategies for Large Language Models
  2. 2026K-Quantization and its Impact on Output Performance
  3. 2024Exploring the Trade-Offs: Quantization Methods, Task Difficulty, and Model Size in Large Language Models From Edge to Giant
  4. 2023Understanding the Impact of Post-Training Quantization on Large Language Models
  5. 2025A Comprehensive Evaluation on Quantization Techniques for Large Language Models
  6. 2024When Quantization Affects Confidence of Large Language Models?
  7. 2025Why Do Some Inputs Break Low-Bit LLM Quantization?
  8. 2026Reliability Scaling Laws for Quantized Large Language Models