cs.LGDec 15, 2025

CoDeQ: Compression with a Dead-Zone Quantizer for Differentiable Joint Pruning--Quantization

Authors: Jonathan Wenshøj, Mikkel Dahl, Tong Chen, Bob Pepin, Raghavendra Selvan

Organizations: Department of Computer Science, University of Copenhagen

Abstract

Joint pruning and quantization can reduce the inference cost of neural-networks, but determining layerwise sparsity and precision often requires auxiliary allocation procedures and considerable hyperparameter tuning. We introduce CoDeQ, a quantization-aware training method that unifies pruning and quantization through a learnable dead-zone quantizer. Its learned dead-zone width controls layerwise sparsity, while bit widths can be held fixed or learned in mixed-precision mode. A pruning-aware scale allocates all available nonzero reconstruction levels over the retained range. We derive the spacing that minimizes worst-case reconstruction error over this range for a fixed bit width and range endpoint. Model weights and compression parameters are optimized jointly under one global compression coefficient, with a shared learning rate for the compression parameters. On VGG7/CIFAR-10, CoDeQ with 2-bit activations achieves 0.05% relative BOPs, for an accuracy drop of 0.32 percentage points. On DeiT-Tiny/ImageNet-1K, mixed-precision CoDeQ preserves FP32-level accuracy at only 8.12% relative BOPs. Additional experiments across several architectures and datasets demonstrate competitive accuracy--BOP trade-offs against other joint compression methods.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. APQF: Agentic Profiling-Guided Structured Pruning and Mixed-Precision Quantization with Adaptive Fine-Tuning

    Aug 6, 2026Sadegh Jafari, Mohiuddin Bilwal, Fan Zhou +2Model CompressionMixed-Precision Quantization

  2. Scale When Needed: Adaptive Neuron-level Mixed Precision Quantization Aware Training

    May 24, 2026Ayush K. Varshney, Konstantinos Vandikas, Šarūnas Girdzijauskas +2Mixed-Precision QuantizationQuantization-Aware Training

  3. Prune-Quantize-Distill: An Ordered Pipeline for Efficient Neural Network Compression

    Apr 5, 2026Longsheng Zhou, Yu ShenNeural Network CompressionEfficient Neural Network Inference