Extremely Lightweight Quantization Robust Real-Time Single-Image Super Resolution for Mobile Devices

Mustafa AyazogluWorkshops @ CVPR 2021

Introduction

Single-Image Super Resolution (SISR) aims to reconstruct high-resolution images from low-resolution inputs. While deep learning has significantly advanced SISR, most state-of-the-art models are too computationally expensive for real-time use on mobile devices. Furthermore, deploying these models on mobile Neural Processing Units (NPUs) typically requires 8-bit quantization, which often leads to severe degradation in image quality, such as loss of contrast and color fidelity.

Hardware-Aware Architecture

The XLSR (Extremely Lightweight Super Resolution) network is designed specifically for mobile hardware constraints. Rather than optimizing solely for FLOPs, the authors focused on operations that are efficient on mobile NPUs. They avoided element-wise additions and channel shuffling, which can be slow due to memory access patterns, favoring concatenation and standard convolutions instead.

The XLSR network architecture, highlighting the use of Gblocks and the final Clipped ReLU layer.

The core building block, the Gblock, utilizes a channel split followed by parallel 3x3 convolutions and a 1x1 convolution for merging. This structure provides the benefits of group convolutions without the associated overhead.

Solving the Quantization Problem

A major contribution of this work is identifying and solving the "dull color" problem in quantized SR models. Standard models often produce outlier activations that consume the limited 8-bit dynamic range, squashing the actual image signal. XLSR introduces a Clipped ReLU activation at the output layer. By capping values between 0 and 1 during training, the model is inherently robust to the quantization process.

Performance and Results

XLSR is remarkably compact, containing only 22,000 parameters—significantly fewer than traditional lightweight models like FSRCNN (25K) or VDSR (665K). Despite its size, it maintains exceptional performance after quantization.

Visual comparison of XLSR against other lightweight models after 8-bit quantization. XLSR preserves the original color and contrast, while competitors suffer from significant degradation.

In benchmarks, XLSR lost only 0.28 dB in PSNR when converted to 8-bit integer format. In contrast, ESPCN and FSRCNN experienced catastrophic drops of 5.61 dB and 7.72 dB, respectively. On a Samsung Galaxy A21s, XLSR achieves a runtime of approximately 44.85ms, enabling true real-time mobile super-resolution.

Conclusion

By combining hardware-aware architectural choices with a simple yet effective quantization-robust activation function, XLSR sets a new standard for mobile SISR. It demonstrates that extreme efficiency does not have to come at the cost of robustness, winning the Mobile AI 2021 Real-Time SISR Challenge.

Summary updated

BibTeX
@inproceedings{ayazoglu2021extremely,
  author = {Mustafa Ayazoglu},
  title = {{Extremely Lightweight Quantization Robust Real-Time Single-Image Super Resolution for Mobile Devices}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  doi = {10.1109/cvprw53098.2021.00280},
}
Figure