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

PARQ: Piecewise-Affine Regularized Quantization

Lisa Jin, Jianhao Ma, Zechun Liu, Andrey Gromov, Aaron Defazio, Lin Xiao

Quantization—the process of reducing the bit-precision of neural network weights and activations—is a cornerstone of deploying modern AI on resource-constrained edge devices. However, training these models effectively remains a challenge. For years, the industry standard has been Quantization-Aware Training (QAT) using the Straight-Through Estimator (STE), a mathematical heuristic that bypasses the non-differentiable nature of quantization functions.

In their recent work, researchers from Meta FAIR and the University of Michigan introduce PARQ (Piecewise-Affine Regularized Quantization). PARQ moves QAT from a heuristic-based approach to a principled optimization framework with rigorous convergence guarantees.

The Challenge: The "Staircase" Problem

Training a quantized model is inherently difficult because the quantization function is a "staircase" function. As shown in the figure below, its derivative is zero almost everywhere and undefined at the steps, which prevents standard gradient descent from providing meaningful updates.

The non-differentiable staircase function of standard quantization.

To circumvent this, researchers typically use the STE, which treats the quantization step as an identity function during the backward pass. While effective in practice, STE lacks theoretical backing and can lead to training instability. Alternative regularization methods often use non-convex "W-shaped" penalties that can trap weights in suboptimal local minima or lose their "quantization pressure" as the learning rate decays.

The PARQ Methodology

PARQ addresses these issues through a two-pronged innovation in regularization and optimization:

1. Convex Piecewise-Affine Regularization (PAR)

Instead of non-convex penalties, PARQ utilizes a specific regularizer ($\Psi$) that is both convex and nonsmooth. The nonsmoothness occurs at the target quantization levels, creating "sharp valleys" that naturally pull weights toward discrete values. Because the function is convex, the optimization landscape is globally better behaved, avoiding the "middle hill" problem where weights get stuck between quantization levels.

The convex piecewise-affine regularizer used in PARQ, showing target valleys at quantization levels.

2. The AProx Algorithm

Standard proximal gradient methods often fail in QAT because the regularizer's effect vanishes as the step size ($\eta_t$) approaches zero. PARQ introduces the Aggregate Proximal (AProx) method. Rather than scaling the regularizer by the current step size, AProx scales it by the sum of all previous step sizes. This ensures that the "quantization force" remains dominant throughout the entire training process, even during the final annealing stages.

Key Insights and Theoretical Advantages

  • Nonsmoothness as a Feature: In PARQ, the "kinks" in the piecewise-affine function are the mechanism that forces weights to settle exactly on discrete values (e.g., -1, 0, 1) rather than floating in between.
  • Last-Iterate Convergence: Unlike many stochastic optimization proofs that only guarantee the quality of the average of all training steps, PARQ is theoretically proven to have last-iterate convergence. This ensures the final model produced is the optimized quantized solution.
  • STE as a Limit Case: The authors demonstrate that the classic STE heuristic is actually the asymptotic limit of the PARQ method as the regularization slope becomes infinitely steep.

Empirical Performance

PARQ was evaluated on CIFAR-10 and ImageNet using ResNet and Data-efficient Image Transformer (DeiT) architectures across various bit-widths (from 1-bit to 4-bit):

  • Stability: PARQ exhibited significantly smoother training curves compared to STE and BinaryRelax, avoiding the sudden accuracy drops typical of heuristic methods.
  • Transformer Accuracy: On ImageNet with DeiT-S, PARQ outperformed STE by 1% in the challenging 1-bit regime (71.06% vs 70.07%). Its gradual annealing approach appears particularly beneficial for preserving the delicate attention mechanisms in Transformers.

Conclusion and Future Directions

PARQ represents a significant step toward making quantization-aware training a principled discipline. By replacing heuristics with convex regularization and the AProx algorithm, it provides both stability and theoretical guarantees. While currently validated on vision tasks, future work may extend these benefits to Large Language Models (LLMs), where efficient quantization is increasingly critical.

Summary updated

BibTeX
@inproceedings{jin2025parq,
  author = {Lisa Jin and Jianhao Ma and Zechun Liu and Andrey Gromov and Aaron Defazio and Lin Xiao},
  title = {{PARQ: Piecewise-Affine Regularized Quantization}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=8PCxOlwbIn},
}
Figure