Accelerating Image Super-Resolution Networks with Pixel-Level Classification

Jinho Jeong, Jinwoo Kim, Younghyun Jo, Seon Joo Kim

Introduction

Single Image Super-Resolution (SISR)—the task of reconstructing a high-resolution (HR) image from a low-resolution (LR) one—is notoriously resource-heavy, especially as we move toward 4K and 8K displays. To handle these massive images, current state-of-the-art models usually chop images into overlapping patches. Some recent "patch-distributing" methods try to be smart by sending complex patches (like a bird's feathers) to a large model and simple patches (like a clear blue sky) to a tiny model.

However, there is a significant "granularity gap": even a "simple" patch might contain a few high-contrast edges that need extra care, and a "complex" patch often contains flat areas where heavy computation is wasted. PCSR (Pixel-level Classifier for Single Image Super-Resolution) solves this by moving the decision-making from the patch level down to the individual pixel.

Methodology

The PCSR architecture consists of three main components:

  1. Backbone: A standard SR network (like FSRCNN, CARN, or SRResNet) that extracts a feature map from the LR input.
  2. Pixel-level Classifier: A lightweight Multi-Layer Perceptron (MLP) that predicts a pixel's "restoration difficulty" based on feature maps and relative position.
  3. Pixel-level Upsamplers: A set of upsamplers with varying capacities based on LIIF (Local Implicit Image Function). LIIF is uniquely suited for this task because it treats every pixel as a query point in a continuous space, allowing for independent pixel processing.
Comparison of computation maps between patch-based ClassSR and the proposed pixel-level PCSR. PCSR achieves lower FLOPs (64%) by targeting high-frequency details more precisely.

During training, a joint loss function ensures the classifier learns to distinguish high-frequency details from flat regions. During inference, a hyperparameter ($k$) allows users to adjust the performance-vs-speed scale without retraining. A Pixel-wise Refinement step is also included to prevent visual artifacts at the boundaries where different upsamplers meet.

Key Results and Insights

PCSR consistently outperforms previous patch-based methods (like ClassSR and ARM) in the PSNR-FLOP trade-off. By moving from patch-level to pixel-level classification, the framework eliminates the "waste" of processing flat pixels within a textured patch.

PSNR vs. FLOPs trade-off for FSRCNN, CARN, and SRResNet. PCSR (solid line) consistently outperforms patch-based methods like ClassSR and ARM across different architectures.

Performance Benchmarks: * FSRCNN-PCSR: Achieved comparable quality to the original FSRCNN while using only 18-19% of the FLOPs on Test2K and Test4K. * CARN-PCSR: Reduced FLOPs to roughly 57-60% of the original while maintaining nearly identical PSNR scores. * SRResNet-PCSR: Cut computational costs by nearly half (48-49%) on high-resolution benchmarks.

Qualitative results show that PCSR is better at recovering thin lines and textures in regions that patch-based methods mistakenly classified as "easy" and processed with low-capacity models.

Limitations and Future Work

The primary bottleneck is currently the Backbone. Since the classifier relies on features from the backbone, the entire backbone must run for every image, setting a "floor" for the minimum possible FLOPs. Future research aims to move the classifier to earlier layers to allow for "early exiting" of the feature extraction process itself, and to apply this pixel-wise logic to generative models like GANs or Diffusion models to speed up high-fidelity synthesis.

Summary updated

BibTeX
@inproceedings{jeong2024accelerating,
  author = {Jinho Jeong and Jinwoo Kim and Younghyun Jo and Seon Joo Kim},
  title = {{Accelerating Image Super-Resolution Networks with Pixel-Level Classification}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72646-0\_14},
}
Figure