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

Quantization Aware Factorization for Deep Neural Network Compression

Daria Cherniuk, Stanislav Abukhovich, Anh Huy Phan, Ivan V. Oseledets, Andrzej Cichocki, Julia Gusak

Introduction

Deploying deep neural networks (DNNs) on resource-constrained edge devices requires significant reductions in memory footprint and computational complexity. Two primary strategies for this are tensor factorization and quantization. However, applying these techniques sequentially often leads to a "quality cliff" where approximation errors from factorization are amplified by subsequent quantization. This paper introduces Quantization Aware Factorization, a method that jointly optimizes for low-rank tensor factors that are inherently constrained to a discrete quantization grid.

The Challenge of Sequential Compression

Tensor factorization reduces FLOPs by decomposing weight matrices into smaller factors, while quantization reduces bit-precision (e.g., from float32 to int8). When performed independently, the factorization step does not account for the limited resolution of the final weights. Consequently, the resulting factors may be highly sensitive to the rounding errors introduced during quantization, leading to catastrophic accuracy loss, especially at low bit-widths like 4-bit. Most existing solutions require expensive retraining, which is often infeasible due to data privacy or compute constraints.

Proposed Method: ADMM-EPC

The authors propose a joint optimization framework using the Alternating Direction Method of Multipliers (ADMM) to solve the Canonical Polyadic (CP) decomposition under quantization constraints. Instead of factorizing then quantizing, they solve for factors that are already quantized.

Joint Optimization via ADMM

By formulating the problem as a constrained optimization, the algorithm searches for factor matrices where every element belongs to a predefined quantization grid (e.g., discrete values for 4-bit or 8-bit integers). ADMM is employed to handle these difficult non-convex discrete constraints effectively.

Algorithm 1: The ADMM sub-routine used for solving the constrained optimization problem.

Initialization and Scaling

To avoid poor local minima inherent in non-convex optimization, the process is initialized using CPD-EPC (CP Decomposition with Error-Perturbation Constraint). This method ensures a stable starting point with a narrow weight distribution centered around zero. Furthermore, the quantization scale is determined using a Mean Squared Error (MSE) approach to minimize reconstruction error and handle outliers more robustly than simple min-max scaling.

Algorithm 2: The ADMM-EPC framework for joint tensor factorization and quantization.

Experimental Evaluation

The method was benchmarked on the ImageNet dataset using the ResNet18 architecture. Calibration was performed using a small subset of 2048 images, aligning with standard post-training quantization (PTQ) protocols.

Key Results

  • Robustness at Low Precision: ADMM-EPC maintains competitive accuracy at 4-bit weights, whereas naive sequential methods typically fail.
  • Competitive Efficiency: The approach performs on par with or better than state-of-the-art PTQ methods like AdaRound and AdaQuant, particularly in low Bit-Operation (BOP) regimes.
  • Granular Control: Combining factorization with quantization allows for a "reduction rate" parameter, offering finer control over the accuracy-efficiency trade-off than bit-width adjustments alone.

Discussion and Insights

The primary insight of the research is the critical role of initialization. Using CPD-EPC as a "warm start" for ADMM prevents the optimization from stalling in suboptimal regions of the non-convex quantization grid. By making the factorization "aware" of the quantization grid, the model achieves a mathematical approximation that is fundamentally more compatible with low-precision hardware.

Limitations and Future Directions

While effective, the method's reliance on manual selection of factorization ranks and bit-widths per layer presents an opportunity for automation. Future research could explore Bayesian optimization or integer programming to automatically determine optimal layer-wise configurations. Additionally, extending this framework to Transformer architectures and other decomposition types like Tucker decomposition remains an open area for exploration.

Summary updated

BibTeX
@article{cherniuk2024quantization,
  author = {Daria Cherniuk and Stanislav Abukhovich and Anh Huy Phan and Ivan V. Oseledets and Andrzej Cichocki and Julia Gusak},
  title = {{Quantization Aware Factorization for Deep Neural Network Compression}},
  journal = {J. Artif. Intell. Res.},
  year = {2024},
  doi = {10.1613/jair.1.16167},
}
Figure