Efficient and accurate quantized image super-resolution on mobile npus, mobile ai & aim 2022 challenge: Report

Andrey Ignatov, Lingshun KongWorkshops @ ECCV 2022

Introduction

Single Image Super-Resolution (SISR) has seen dramatic improvements through deep learning, yet deploying these advancements on mobile devices remains a significant hurdle. Most state-of-the-art models are designed for high-end desktop GPUs, prioritizing peak accuracy (PSNR/SSIM) over computational efficiency. The Mobile AI & AIM 2022 Challenge was established to address this gap, tasking researchers with developing INT8-quantized models for 3X image upscaling capable of running in real-time on mobile Neural Processing Units (NPUs).

The Challenge: Hardware and Quantization Constraints

Deploying deep learning models to edge devices involves overcoming two primary obstacles:

  1. Hardware Constraints: Mobile NPUs possess limited RAM and support only a specific subset of neural network operations. To achieve high performance, architectures must be tailored to these hardware-specific limitations.
  2. Quantization Errors: For efficient NPU execution, models typically must be converted from 32-bit floating point (FP32) to 8-bit integers (INT8). This conversion often introduces significant precision loss, leading to visible artifacts and a drop in image quality if not managed correctly.

Participants were required to optimize their solutions for the Synaptics VS680 edge NPU, balancing reconstruction fidelity with strict runtime limits for "Full HD" (1080p) output.

Methodology: A Recipe for Mobile Super-Resolution

The top-performing entries in the challenge converged on several key strategies to maximize efficiency without sacrificing quality:

Structural Reparameterization

A standout technique involved using complex blocks—such as multiple parallel convolutions—during the training phase to boost accuracy. These blocks are then mathematically "collapsed" into a single, simple convolution layer for inference, providing the benefits of a complex network at the cost of a shallow one.

Efficient Upscaling and Operations

Instead of computationally expensive transposed convolutions, teams utilized Depth-to-Space (Pixel Shuffle) operations for upscaling. Furthermore, standard operations like "Nearest Neighbor" upsampling were replaced with equivalent $1 \times 1$ convolutions, which are significantly better accelerated by mobile NPU architectures.

Quantization-Aware Training (QAT)

Rather than applying post-training quantization, successful teams employed Quantization-Aware Training (QAT). By simulating quantization during the training process, the network weights learn to compensate for the precision loss inherent in INT8 representation, typically keeping the "quantization drop" below 0.1 dB.

Experimental Setup and Datasets

The challenge utilized the DIV2K dataset, a standard benchmark in the super-resolution community. The dataset consists of 800 high-definition (2K) RGB images for training, with 100 images each for validation and final testing. The specific task involved upscaling images by a factor of 3X (e.g., transforming a $640 \times 360$ input into a $1920 \times 1080$ Full HD output).

Key Insights from Top Performers

  • Memory Alignment: Team Rtsisr2022 observed that NPUs operate more efficiently when feature channels are multiples of 16 (e.g., 32 channels instead of 28), due to hardware memory alignment.
  • The Clipping Trick: Several teams implemented a "clip" operation before the final upsampling layer. This prevented INT8 quantization from causing numerical overflows that manifest as visual artifacts.
  • Frequency-Domain Loss: The winning team (Z6) utilized a Discrete Cosine Transform (DCT)-domain L1 loss during fine-tuning. This approach helped preserve high-frequency details that are often smoothed over during the quantization process.

Results and Performance

The competition yielded 28 valid solutions, proving that high-fidelity video enhancement is viable on low-power hardware.

  • Winner: Team Z6 secured first place with their SCSRN model, achieving a PSNR of 30.03 dB and a runtime of just 19.2 ms per Full HD frame (exceeding 50 FPS).
  • Speed Benchmark: Team TCLResearchEurope produced the fastest model with a runtime of 15.0 ms (over 66 FPS) while maintaining a competitive PSNR of 29.88 dB.
  • NPU Acceleration: The results highlighted a massive performance gap between hardware; NPU-accelerated models were 20 to 55 times faster than their CPU-based counterparts.

Conclusion and Future Directions

The 2022 challenge demonstrated that 1080p upscaling is now a solved problem for modern mobile NPUs. However, the transition to 4K upscaling remains the next frontier. Moving to 4K requires significantly higher memory and computational throughput, likely necessitating more aggressive pruning and hardware-specific architectural searches. Additionally, maintaining temporal consistency for video super-resolution on NPUs remains an active area of research.

Summary updated

BibTeX
@inproceedings{ignatov2022efficient,
  author = {Andrey Ignatov and Lingshun Kong},
  title = {{Efficient and accurate quantized image super-resolution on mobile npus, mobile ai \& aim 2022 challenge: Report}},
  booktitle = {Workshops @ ECCV},
  year = {2022},
  url = {https://openreview.net/forum?id=NClbGPYdSm},
}
Figure