Resource-Efficient Language Models: Quantization for Fast and Accessible Inference
Tollef Emil Jørgensen
TL;DR
This work addresses the resource and latency challenges of large language models by focusing on post-training quantization (PTQ) as a practical pathway for end-user inference on standard hardware. It provides a comprehensive, taxonomy-driven overview of PTQ methods, including asymmetric and symmetric quantization, static and dynamic quantization, and granularity choices (per tensor, per channel, per group), along with parameter-selection strategies such as min-max, percentile, MSE, and cross-entropy. The paper catalogs core PTQ methods and libraries (e.g., ZeroQuant, GPTQ, AWQ, SmoothQuant, HQQ) and discusses trade-offs between accuracy, speed, and hardware compatibility, while highlighting ongoing challenges like activation outliers and data-free calibration. Collectively, the work offers practical guidance for deploying quantized LLMs on consumer hardware, underlining automated calibration and case-specific evaluation as promising directions for making large models broadly accessible and energy-efficient.
Abstract
Large language models have significantly advanced natural language processing, yet their heavy resource demands pose severe challenges regarding hardware accessibility and energy consumption. This paper presents a focused and high-level review of post-training quantization (PTQ) techniques designed to optimize the inference efficiency of LLMs by the end-user, including details on various quantization schemes, granularities, and trade-offs. The aim is to provide a balanced overview between the theory and applications of post-training quantization.
