QuantNAS for Super Resolution: Searching for Efficient Quantization-Friendly Architectures Against Quantization Noise

Egor Shvetsov, Dmitry Osin, Alexey Zaytsev, Ivan Koryakovskiy, Valentin Buchnev, Ilya Trofimov, Evgeny Burnaev

Introduction

Single Image Super-Resolution (SISR) aims to upscale low-resolution images while recovering fine details. While deep learning models achieve state-of-the-art results, their high computational and memory requirements hinder deployment on resource-constrained mobile devices. To address this, researchers often combine Neural Architecture Search (NAS) for efficiency and Quantization for precision reduction. However, these steps are typically decoupled, leading to sub-optimal performance as architectures optimized for full precision may not be "quantization-friendly."

Methodology

The authors propose QuantNAS, a framework that integrates quantization awareness directly into a differentiable NAS supernet. Key innovations include:

Search Against Noise (SAN)

A primary challenge in quantization-aware NAS is the non-differentiable nature of standard quantization. QuantNAS overcomes this by introducing Search Against Noise (SAN). Instead of discrete quantization, the framework injects differentiable Gaussian noise into weights and activations during the search phase. This noise serves as a proxy for quantization error, allowing the search process to optimize for robustness against bit-width reduction with a 30% speedup in search time compared to direct quantization.

The Search Against Noise (SAN) mechanism uses differentiable noise as a proxy for quantization error.

Adaptive Deviation for Quantization (ADQ)

Standard Batch Normalization (BN) is often avoided in SR tasks because it can diminish the variance necessary for fine detail recovery. QuantNAS introduces Adaptive Deviation for Quantization (ADQ), a modified normalization module that rescales signals to preserve variance while providing the training stability required for quantized models.

Optimization Strategy

To ensure efficiency, different bit-width versions of the same operation share underlying weights during the search. Additionally, an entropy-based regularization loss is employed to force the supernet's importance weights toward discrete values (0 or 1), ensuring the final architecture is well-defined.

Experimental Results

The framework was evaluated on standard SR benchmarks including DIV2K for training and Set14, Urban100, and Manga109 for testing, focusing on 4x super-resolution.

Performance and Efficiency

QuantNAS consistently discovers architectures that define superior Pareto fronts compared to existing methods. As shown in Figure 5, QuantNAS-optimized models achieve higher PSNR (Peak Signal-to-Noise Ratio) for a given computational budget (measured in GBitOps) than baselines like EdMIPS, SRResNet, and ESPCN.

Comparison of PSNR vs. GBitOps (log scale) showing QuantNAS outperforming state-of-the-art baselines.

On the Set14 dataset, a QuantNAS-optimized RFDN model achieved a PSNR of 28.24 dB using only 19.3 GBitOps, outperforming heavier uniform 8-bit models. The search results also indicated that sensitivity to quantization is non-uniform; the first and last layers typically require higher precision (8-bit), while intermediate blocks can be compressed to 4-bit without significant quality loss.

Conclusion

QuantNAS demonstrates that "quantization-friendliness" is a structural property that can be automatically identified through differentiable search. By using noise as a proxy for quantization error and employing specialized normalization like ADQ, the framework efficiently discovers high-performance, low-precision architectures for SISR. Future work includes extending the search space to deeper networks and optimizing directly for hardware-specific latency on mobile NPUs.

Summary updated

BibTeX
@inproceedings{shvetsov2022quantnas,
  author = {Egor Shvetsov and Dmitry Osin and Alexey Zaytsev and Ivan Koryakovskiy and Valentin Buchnev and Ilya Trofimov and Evgeny Burnaev},
  title = {{QuantNAS for Super Resolution: Searching for Efficient Quantization-Friendly Architectures Against Quantization Noise}},
  booktitle = {IEEE Access},
  year = {2022},
  url = {https://openreview.net/forum?id=aOD7RjRdxM},
}
Figure