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

Automatic Joint Structured Pruning and Quantization for Efficient Neural Network Training and Compression

Xiaoyi Qu, David Aponte, Colby R. Banbury, Daniel P. Robinson, Tianyu Ding, Kazuhito Koishida, Ilya Zharkov, Tianyi Chen

Abstract: Deploying large-scale Deep Neural Networks (DNNs) on edge devices requires significant model compression. While structured pruning and quantization are effective independently, joint optimization often yields superior results but remains challenging due to manual tuning requirements and architecture dependencies. This paper introduces GETA, a "one-shot" framework that automates joint structured pruning and quantization-aware training. By leveraging a novel Quantization-Aware Dependency Graph (QADG) and a "white-box" optimizer (QASSO), GETA achieves state-of-the-art compression across diverse architectures, including CNNs, Transformers, and LLMs, without extensive hyperparameter search.

Introduction

Deep Neural Networks (DNNs) have grown increasingly massive, complicating their deployment on resource-constrained platforms like mobile devices and IoT sensors. To address this, researchers typically employ two main techniques: structured pruning—removing entire neurons or channels—and quantization—reducing numerical precision (e.g., from 32-bit floats to 4-bit integers).

While combining these techniques (joint optimization) is theoretically optimal, it is rarely implemented in practice. Existing methods are often "black-boxes" requiring significant manual tuning or multi-stage pipelines where pruning and quantization are performed separately, often interfering with each other's progress. GETA (General and Efficient Training framework that Automates joint compression) addresses these challenges by providing an automated, architecture-agnostic framework for joint compression.

The GETA Framework

GETA is built upon three technical pillars designed to streamline the compression process and remove the need for manual "guess-and-check" tuning:

  1. Quantization-Aware Dependency Graph (QADG): Traditional pruning relies on dependency graphs to identify removable structures. However, the insertion of quantization layers often disrupts these graphs. QADG provides a robust structural analysis that accounts for quantization, enabling GETA to support a wide range of architectures, from standard CNNs to modern Vision Transformers (ViTs) and BERT.
  2. QASSO Optimizer: Unlike "black-box" optimizers that rely on vague penalties, QASSO is a "white-box" optimizer. It allows users to explicitly define target sparsity ratios and bit-widths. The optimization process follows a four-stage schedule: warm-up, projection to hit bit-width targets, joint training for pruning and quantization, and a final "cool-down" phase to recover model accuracy.
  3. Partially Projected Stochastic Gradient (PPSG): This specialized gradient method maintains the model within its defined "bit budget" during training. It prevents mathematical instabilities, such as exploding gradients, which are common in joint optimization methods.
The GETA framework pipeline: from a full model to a compressed model via QADG and the QASSO optimizer.

Key Insights and Methodology

A central innovation in GETA is the "Forget Rate" strategy ($\gamma$). Instead of immediate removal, redundant network components are gradually phased out. This allows the network to transfer "knowledge" from pruned sections to the remaining important structures before they are fully discarded.

Furthermore, GETA recognizes that as pruning increases, remaining neurons become more sensitive to quantization. The framework's joint learning strategy dynamically balances these two forces during training, ensuring that the final compressed model maintains high performance even at extreme compression ratios.

Experimental Results

The researchers evaluated GETA across multiple domains to prove its versatility, including image classification (CIFAR-10, ImageNet-2K), natural language processing (SQuAD for BERT), and common-sense reasoning for Large Language Models (Phi-2 2.7B).

Comparison of GETA against sequential pruning and quantization (OTO + PTQ) on the SQuAD task using BERT.

Key performance highlights include:

  • Efficiency: On ResNet20, GETA achieved a 4.5% relative BOPs (Bit Operations) ratio with only a 0.28% drop in accuracy.
  • Transformers: For BERT on the SQuAD task, GETA significantly outperformed the standard "prune-then-quantize" baseline. At 70% sparsity, GETA maintained much higher Exact Match (EM) scores while achieving superior compression.
  • LLMs: When applied to the Phi2-2.7B model, GETA surpassed specialized LLM pruning tools like SliceGPT and LLMPruner across multiple common-sense reasoning tasks, demonstrating its scalability to modern large-scale models.

Conclusion and Future Work

GETA represents a significant step toward automated, efficient model compression. By replacing manual tuning with a structured, white-box approach, it enables the deployment of high-performance models on edge hardware. While the framework currently uses BOPs as a proxy for efficiency, future work will focus on hardware-specific optimizations to translate these theoretical gains into direct wall-clock speedups on specialized NPUs and DSPs.

Summary updated

BibTeX
@inproceedings{qu2025automatic,
  author = {Xiaoyi Qu and David Aponte and Colby R. Banbury and Daniel P. Robinson and Tianyu Ding and Kazuhito Koishida and Ilya Zharkov and Tianyi Chen},
  title = {{Automatic Joint Structured Pruning and Quantization for Efficient Neural Network Training and Compression}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01419},
}
Figure