Scaling Laws for Task-Stratified Knowledge in Post-Training Quantized Large Language Models

Chenxi Zhou, Pengfei Cao, Jiang Li, Jun Zhao, Kang Liu · OpenReview

Abstract: Post-Training Quantization (PTQ) is a critical strategy for efficient Large Language Models (LLMs) deployment. However, existing scaling laws primarily focus on general performance, overlooking crucial fine-grained factors and how quantization differentially impacts diverse knowledge capabilities. To address this, we establish Task-Stratified Knowledge Scaling Laws. By stratifying capabilities into memorization, application, and reasoning, we develop a framework that unifies model size, bit-width, and fine-grained factors: group size and calibration set size. Validated on 293 diverse PTQ configurations, our framework demonstrates strong fit and cross-architecture consistency. It reveals distinct sensitivities across knowledge capabilities: reasoning is precision-critical, application is scale-responsive, and memorization is calibration-sensitive. We highlight that in low-bit scenarios, optimizing these fine-grained factors is essential for preventing performance collapse. These findings provide an empirically-backed foundation for designing knowledge-aware quantization strategies.

Introduction

Post-Training Quantization (PTQ) is the primary method for deploying massive Large Language Models (LLMs) on resource-constrained hardware by reducing weight precision (e.g., from 16-bit to 4-bit). Despite its widespread use, the field has lacked a precise predictive framework for how quantization affects specific model capabilities. Existing scaling laws often focus on aggregate benchmarks, ignoring the nuances of different knowledge types and the impact of tunable parameters like group size and calibration data.

This research introduces Task-Stratified Knowledge Scaling Laws to bridge this gap. By treating different types of knowledge as distinct "strata," the authors provide a roadmap for more efficient and predictable model deployment.

Methodology and Task Stratification

The core of the methodology is a unified multiplicative power-law framework. It models performance loss as a function of four variables: Model Size ($N$), Bit-width ($B$), Calibration Set Size ($C_b$), and Group Size ($G$).

A key innovation is the Task Stratification approach, which categorizes benchmarks into three levels of increasing cognitive complexity:

  • Level 1: Knowledge Memorization (KM) – Factual recall (e.g., TriviaQA, SQuAD).
  • Level 2: Knowledge Application (KA) – Contextual understanding (e.g., MMLU, HellaSwag).
  • Level 3: Knowledge Reasoning (KR) – Multi-step logic (e.g., GSM8K, ARC-Challenge).
The Task Stratification Pyramid categorizes LLM capabilities by cognitive complexity, from factual recall to multi-step reasoning.

The researchers used the GPTQ algorithm to quantize models from the Qwen3 and Llama-3 families, fitting the scaling laws across 293 configurations using Ordinary Least Squares (OLS) regression.

The study reveals that different "cognitive levels" exhibit unique sensitivities to quantization:

  1. Reasoning is Precision-Critical: Reasoning tasks are the most fragile, showing 40% higher sensitivity to bit-width than other categories. Quantization noise accumulates through logical chains, leading to rapid performance degradation.
  2. Application is Scale-Responsive: These tasks benefit most from increased model size, as larger models possess more representational redundancy to buffer against precision loss.
  3. Memorization is Calibration-Sensitive: Factual recall is twice as sensitive to the size and quality of the calibration set compared to other tasks, likely due to the need for precise internal alignment.
Average accuracy scales predictably with model size and bit-width, though a performance cliff is observed at 2 bits for smaller models.

A significant finding is the 2-bit Phase Transition. While models smaller than 2B parameters often suffer systemic collapse at 2 bits, larger models can maintain utility if fine-grained factors like group size are optimized.

Results and Conclusion

The proposed four-factor scaling law achieved an Adjusted $R^2$ of ~0.95, demonstrating high predictive power. Furthermore, the laws derived from the Qwen family transferred effectively to Llama-3, indicating that these stratified sensitivities are fundamental properties of Transformer-based architectures.

While this framework provides a robust foundation, it currently focuses on weight-only quantization. Future research should extend these laws to include activation quantization and evaluate their applicability to Mixture-of-Experts (MoE) architectures. These findings offer an empirical basis for designing "knowledge-aware" quantization strategies that prioritize precision for reasoning-heavy tasks while optimizing scale for application-focused models.

Summary updated

BibTeX
@misc{zhou2025scaling,
  author = {Chenxi Zhou and Pengfei Cao and Jiang Li and Jun Zhao and Kang Liu},
  title = {{Scaling Laws for Task-Stratified Knowledge in Post-Training Quantized Large Language Models}},
  year = {2025},
  eprint = {2508.18609},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.18609},
}
Figure