NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LLMCBench: Benchmarking Large Language Model Compression for Efficient Deployment

Ge Yang, Changyi He, Jinyang Guo, Jianyu Wu, Yifu Ding, Aishan Liu, Haotong Qin, Pengliang Ji, Xianglong Liu

Abstract

Large Language Models (LLMs) face significant deployment challenges due to their immense computational and memory requirements. While compression techniques like quantization and sparsification offer potential solutions, existing evaluations often lack breadth and practical relevance. We present LLMCBench, a comprehensive benchmarking framework that evaluates compression algorithms across six critical dimensions: performance, generalization, training cost, inference footprint, hardware acceleration, and trustworthiness. Our evaluation of seven mainstream algorithms across 18 architectures reveals that quantization remains the most robust choice for preserving model capabilities, while sparsification offers unique advantages in physical memory reduction.

Introduction

The rapid advancement of Large Language Models (LLMs) has revolutionized natural intelligence tasks, yet their massive scale poses a formidable barrier to efficient deployment. To mitigate this, researchers have developed various compression techniques, primarily focusing on quantization (reducing numerical precision) and sparsification (removing redundant weights). Despite the proliferation of these methods, the field lacks a standardized, deployment-oriented evaluation framework.

Current research often suffers from three major "evaluation gaps":

  1. Limited Scope: Evaluations are frequently restricted to a narrow set of models (e.g., LLaMA only), failing to capture cross-architecture performance.
  2. Theoretical vs. Practical Metrics: Metrics like parameter count or theoretical FLOPs often fail to correlate with actual GPU memory savings or wall-clock speedups in production.
  3. Neglected Trustworthiness: The impact of compression on model safety, bias, and adversarial robustness remains under-explored.

LLMCBench addresses these gaps by standardizing evaluation across 11 datasets, 18 network architectures, and 3 major deployment platforms.

The LLMCBench Framework

LLMCBench introduces a multi-track evaluation framework designed to mirror the lifecycle of model production:

  • Track 1: Compression Performance: Evaluates "knowledge ability" (factual recall) and "inference ability" (logical reasoning).
  • Track 2: Generalization Ability: Tests methods across diverse model families (LLaMA, Vicuna, OPT, ChatGLM) and scales (6B to 70B).
  • Track 3: Training Consumption: Measures the time and compute resources required to perform compression.
  • Track 4: Inference Consumption: Tracks actual GPU memory footprint and model size post-compression.
  • Track 5: Hardware Acceleration: Benchmarks real-world token generation speed using industry-standard libraries like TensorRT-LLM and vLLM.
  • Track 6: Trustworthiness: Assesses robustness against adversarial attacks and truthfulness.
Overview of the LLMCBench evaluation tracks and the radar chart performance of evaluated compression paradigms.

The benchmark evaluates seven representative algorithms: three for sparsity (LLM-Pruner, Wanda, SparseGPT) and four for quantization (GPTQ, SmoothQuant, AWQ, OmniQuant).

Results and Analysis

Our comprehensive evaluation yields several critical insights for practitioners:

Quantization vs. Sparsification

Quantization emerged as the more reliable "default" for compression. Most quantization methods maintained over 95% of the original model's performance. In contrast, sparsity methods often resulted in significant performance degradation, particularly in knowledge-heavy tasks.

Detailed performance comparison between sparsity and quantization methods across knowledge and inference tasks.

The Knowledge-Inference Tradeoff

An interesting finding is the divergence in how compression affects different cognitive abilities. Sparsity is surprisingly effective at preserving "inference ability" (reasoning) relative to its impact on "knowledge ability" (factual recall). Conversely, quantization excels at preserving the model's internal knowledge base. For example, methods like Wanda (50% sparsity) show higher relative scores in inference ability compared to knowledge ability, while quantization methods like GPTQ show the opposite trend.

Practical Deployment Considerations

  • Generalization: Most methods are heavily optimized for LLaMA-style architectures and struggle with others like ChatGLM, with the exception of weight-only quantization.
  • Hidden Costs: Training consumption varies wildly. While Wanda is nearly instantaneous, OmniQuant requires substantial GPU time.
  • Hardware Realities: Despite the theoretical appeal of structured 2:4 sparsity, it currently lacks the robust library support enjoyed by INT8/INT4 quantization, leading to inferior real-world speedups.
  • Memory Efficiency: LLM-Pruner stands out among sparsity methods for its ability to physically reduce GPU memory usage by removing neurons, whereas other sparsity methods often only zero out weights without reducing the memory footprint.

Conclusion

LLMCBench provides a much-needed "fair playground" for evaluating LLM compression. By moving beyond simple accuracy metrics to include hardware performance and trustworthiness, it enables researchers and engineers to make informed decisions for real-world deployment. Future work will expand the benchmark to include KV cache compression and specialized tasks like coding and mathematics.

The code and benchmark are open-sourced at https://github.com/AboveParadise/LLMCBench.

Summary updated

BibTeX
@inproceedings{yang2024llmcbench,
  author = {Ge Yang and Changyi He and Jinyang Guo and Jianyu Wu and Yifu Ding and Aishan Liu and Haotong Qin and Pengliang Ji and Xianglong Liu},
  title = {{LLMCBench: Benchmarking Large Language Model Compression for Efficient Deployment}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
}
Figure