Modulating Image Restoration With Continual Levels via Adaptive Feature Modification Layers

Jingwen He, Chao Dong, Yu Qiao

Introduction

Deep learning models for image restoration, such as denoising, super-resolution, and JPEG artifact reduction, typically face a significant limitation: they are often "brittle." A model trained to remove a specific noise level ($\sigma=15$) frequently fails when applied to a different level ($\sigma=30$), leading to either residual noise or excessive smoothing. In real-world scenarios, degradation is continuous, and users often require a "restoration slider" to balance sharpness and noise reduction. To address this, researchers have developed AdaFM (Adaptive Feature Modification), a lightweight plug-and-play layer that enables a single neural network to handle continuous restoration levels with minimal parameter overhead.

Methodology

The core innovation of this work is the AdaFM layer, which performs channel-wise feature modification based on the observation that filters trained for different restoration levels share similar visual patterns but differ in their statistical weights.

The AdaFM Layer

AdaFM layers are essentially depth-wise convolutions inserted after standard convolution layers in a base network (e.g., SRResNet). Instead of retraining the entire network for every degradation level, AdaFM "nudges" the feature maps using channel-wise statistics.

Training and Modulation

The training process involves two steps:

  1. Base Training: A "basic model" is trained on a starting restoration level ($L_a$).
  2. Fine-Tuning: AdaFM layers are inserted, and only these layers are fine-tuned on an ending restoration level ($L_b$), while the rest of the network remains frozen.

At inference, an interpolation coefficient ($\lambda \in [0, 1]$) linearly adjusts the weights of the AdaFM layers. This allows the network to produce smooth, artifact-free transitions between the start and end restoration effects.

Restoration overview showing the target areas for detailed analysis.

Experiments and Results

The proposed method was evaluated across three primary tasks: Super-Resolution (SR), Denoising, and JPEG Artifact Reduction (DeJPEG), using standard benchmarks like DIV2K, CBSD68, and LIVE1.

Performance and Efficiency

AdaFM-Net achieves PSNR scores nearly identical to "oracle" models trained specifically for single levels. For instance, in SR $\times4$, the difference between the basic model and the AdaFM-adapted model was a negligible 0.13 dB. Crucially, AdaFM layers add only 1.5% to 4% additional parameters, making them highly efficient compared to maintaining a "model zoo."

Visual Quality

Qualitatively, AdaFM produces clean transitions. As the interpolation coefficient $\lambda$ increases, noise is reduced and resolution is enhanced without the "ghosting" artifacts common in other interpolation methods. AdaFM significantly outperformed other modulation techniques like AdaBN (Adaptive Batch Normalization) and Conditional Instance Normalization, which often produced visible artifacts or failed to reach the same level of detail.

Detailed crops of the face and hand regions demonstrating the high-quality restoration achieved by the model.

Key Insights

  • Filter Similarity: Filters for different restoration tasks are "fraternal twins," allowing for effective adaptation through simple feature map modification.
  • Directionality: Adapting from "easy" tasks (low noise) to "hard" tasks (high noise) generally yields better accuracy.
  • Perceptual Mapping: While weight interpolation is linear, the relationship between restoration levels and the optimal $\lambda$ is often non-linear (e.g., cubic polynomial), which can be mapped to provide an intuitive user experience.

Conclusion and Future Work

AdaFM provides a robust and efficient solution for continuous-level image restoration. While it performs exceptionally well within small-to-medium ranges, extremely large gaps in degradation levels may require sub-range splitting. Future research will focus on automating the mapping for unseen degradations and extending the method to "blind" restoration tasks where the degradation type is unknown.

Summary updated

BibTeX
@inproceedings{he2019modulating,
  author = {Jingwen He and Chao Dong and Yu Qiao},
  title = {{Modulating Image Restoration With Continual Levels via Adaptive Feature Modification Layers}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.01131},
}
Figure