ARM: Any-Time Super-Resolution Method

Bohong Chen, Mingbao Lin, Kekai Sheng, Mengdan Zhang, Peixian Chen, Ke Li, Liujuan Cao, Rongrong Ji

Introduction

Single Image Super-Resolution (SISR) has seen significant advancements with deep learning, yet state-of-the-art models often suffer from extreme over-parameterization. Processing a single 1080p image can require upwards of 66G FLOPs, making high-quality SR prohibitive for mobile devices and real-time applications.

The core inefficiency lies in the static nature of traditional SISR models. They treat every pixel with the same computational intensity, regardless of the local image complexity—a phenomenon known as spatial redundancy. For instance, a smooth sky patch requires far less processing than a detailed architectural texture. Furthermore, static architectures cannot adapt to fluctuating hardware resources, such as a device entering power-saving mode.

Overview of patch-based difficulty assessment and deployment scenarios.

To address these challenges, the authors propose ARM (Any-time super-Resolution Method), a dynamic framework that optimizes computation by matching image patch difficulty to the capacity of specific sub-networks within a weight-sharing "supernet."

Methodology

ARM introduces an "elastic" approach to SR through three primary components:

1. The ARM Supernet

Instead of maintaining multiple independent models for different resource levels, ARM utilizes a single "supernet." Within this supernet, smaller sub-networks share weights with larger ones. This weight-sharing strategy significantly reduces the memory footprint, requiring 52% to 78% fewer parameters than previous multi-branch methods like ClassSR.

2. Computation-Aware Sampling

Training a supernet requires balancing the optimization of various subnets. The authors employ a sampling probability proportional to the square of a subnet's FLOPs. This ensures that larger, more complex subnets receive sufficient training priority to reach convergence, while smaller subnets are prevented from overfitting.

The ARM training pipeline using a weight-sharing supernet.

3. Edge-to-PSNR Routing

A critical challenge in dynamic SR is the "routing" problem: how to quickly decide which subnet to use for a given patch. ARM uses lightweight edge detection (via a Laplacian operator) as a proxy for patch difficulty. Edge detection is computationally negligible (~0.02M FLOPs) compared to the SR process. By building an offline lookup table that maps edge scores to expected PSNR performance, ARM can instantly select the optimal subnet during inference based on a tradeoff function: $\text{Score} = \eta \cdot \text{PSNR} - \text{Cost}$.

Key Results

The ARM framework was evaluated using FSRCNN, CARN, and SRResNet backbones across standard benchmarks like DIV2K and Flickr2K.

  • Efficiency: When applied to the SRResNet backbone, ARM achieved a 2.4x reduction in FLOPs while maintaining or even slightly improving PSNR compared to the static baseline.
  • Dynamic Adaptability: ARM is uniquely "any-time." It can be throttled in real-time to meet hardware constraints without reloading models. If battery levels are low, the system can shift to smaller subnets instantly.
  • Visual Fidelity: Qualitative analysis demonstrates that ARM preserves sharp details in high-frequency regions while saving energy on low-frequency regions. Interestingly, for very simple patches, the authors found that using a massive model can sometimes degrade performance compared to simple interpolation, further justifying the dynamic approach.

Conclusion

ARM represents a significant step toward practical, deployable super-resolution. By leveraging spatial redundancy and a weight-sharing supernet, it provides a flexible solution that balances visual quality with computational efficiency. Its ability to adapt to hardware resources in real-time makes it an ideal candidate for mobile and edge computing environments.

Summary updated

BibTeX
@inproceedings{chen2022arm,
  author = {Bohong Chen and Mingbao Lin and Kekai Sheng and Mengdan Zhang and Peixian Chen and Ke Li and Liujuan Cao and Rongrong Ji},
  title = {{ARM: Any-Time Super-Resolution Method}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19800-7\_15},
}
Figure