Skip to main content
QUICK REVIEW

[Paper Review] ClassSR: A General Framework to Accelerate Super-Resolution Networks by Data Characteristic

Xiangtao Kong, Hengyuan Zhao|arXiv (Cornell University)|Mar 6, 2021
Advanced Image Processing TechniquesComputer Science6 references11 citations
TL;DR

ClassSR proposes a general framework to accelerate super-resolution (SR) networks on large images (2K–8K) by classifying sub-images into difficulty levels—simple, medium, or hard—and applying lightweight, medium, or full-capacity SR networks accordingly. By jointly training a classification module with two novel losses (Class-Loss and Average-Loss), it reduces FLOPs by up to 50% without performance drop, generalizing to other low-level vision tasks like denoising.

ABSTRACT

We aim at accelerating super-resolution (SR) networks on large images (2K-8K). The large images are usually decomposed into small sub-images in practical usages. Based on this processing, we found that different image regions have different restoration difficulties and can be processed by networks with different capacities. Intuitively, smooth areas are easier to super-solve than complex textures. To utilize this property, we can adopt appropriate SR networks to process different sub-images after the decomposition. On this basis, we propose a new solution pipeline -- ClassSR that combines classification and SR in a unified framework. In particular, it first uses a Class-Module to classify the sub-images into different classes according to restoration difficulties, then applies an SR-Module to perform SR for different classes. The Class-Module is a conventional classification network, while the SR-Module is a network container that consists of the to-be-accelerated SR network and its simplified versions. We further introduce a new classification method with two losses -- Class-Loss and Average-Loss to produce the classification results. After joint training, a majority of sub-images will pass through smaller networks, thus the computational cost can be significantly reduced. Experiments show that our ClassSR can help most existing methods (e.g., FSRCNN, CARN, SRResNet, RCAN) save up to 50% FLOPs on DIV8K datasets. This general framework can also be applied in other low-level vision tasks.

Motivation & Objective

  • Address the high computational cost of super-resolution (SR) on large images (2K–8K) due to quadratic FLOP growth with input size.
  • Overcome the limitation of fixed-architecture SR networks that apply uniform complexity across all image regions regardless of content difficulty.
  • Develop a general, plug-and-play framework that accelerates existing SR models without architectural redesign.
  • Enable adaptive inference by assigning different network capacities to different image regions based on restoration difficulty.
  • Demonstrate generalization of the framework to other low-level vision tasks such as image denoising.

Proposed method

  • Decompose large input images into small sub-images (e.g., 32×32) for localized processing.
  • Introduce a two-module pipeline: a Class-Module for classifying sub-images into difficulty levels (simple/medium/hard), and an SR-Module that applies a network container with multiple SR branches of varying capacity.
  • Design a dual-loss training strategy: Class-Loss encourages correct classification per sub-image, while Average-Loss prevents bias toward any single class.
  • Train the SR-Module first with L1 loss for reconstruction, then fine-tune the Class-Module with all three losses (L1, Class-Loss, Average-Loss), followed by end-to-end joint optimization.
  • Construct SR-branches with varying channel and layer counts to create networks of different FLOP levels, ensuring effective capacity scaling.
  • Apply the framework to diverse SR models (FSRCNN, CARN, SRResNet, RCAN) and extend it to denoising using DnCNN as the base network.

Experimental results

Research questions

  • RQ1Can sub-images from large-scale super-resolution inputs be effectively classified by restoration difficulty to enable adaptive inference?
  • RQ2How can a classification head be trained to assign sub-images to appropriate SR network branches without degrading reconstruction quality?
  • RQ3What loss functions are necessary to ensure balanced and accurate classification across different image complexity levels?
  • RQ4To what extent can ClassSR reduce FLOPs across diverse SR models while preserving PSNR performance?
  • RQ5Can the framework be generalized beyond super-resolution to other low-level vision tasks with variable restoration difficulty?

Key findings

  • ClassSR reduces FLOPs by up to 50% on the DIV8K dataset across multiple SR models, including FSRCNN, CARN, SRResNet, and RCAN, with no drop in PSNR.
  • On the Test8K set, ClassSR-FSRCNN achieves the same PSNR as the original FSRCNN while using only 55% of the FLOPs.
  • The Class-Loss is essential for convergence; without it, the model collapses to random class assignment due to the influence of the Average-Loss.
  • The Average-Loss prevents the model from overfitting to the most complex branch, avoiding a bad local minimum where all inputs are routed to the heaviest network.
  • The framework is robust to the number of classes: even with only two classes, performance remains strong, though accuracy improves slightly with more classes.
  • ClassSR generalizes to other low-level tasks: when applied to image denoising with DnCNN, it achieves higher PSNR than the original model while reducing FLOPs by 33% on Test4K.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.