Abstract
Traditional deep learning models for image restoration typically provide a single, fixed output for a given input. However, real-world images often suffer from multiple, overlapping degradations that require fine-tuned, interactive control. This paper presents CResMD, a lightweight framework designed for multi-dimension (MD) modulation. By employing novel controllable residual connections and a Beta-distribution-based data sampling strategy, CResMD enables users to independently adjust various restoration effects—such as denoising, deblurring, and JPEG deblocking—via simple "sliding bars." The proposed architecture achieves high-accuracy modulation with a minimal parameter overhead of only 0.16%.
1. Introduction
Image restoration is a fundamental task in computer vision, aiming to recover high-quality images from degraded versions. While standard models excel at "one-shot" restoration, they lack the flexibility needed for real-world scenarios where degradations are complex and user preferences vary. Previous interactive methods focused on single-dimension (SD) modulation, adjusting only one type of degradation. CResMD addresses the more challenging task of multi-dimension (MD) modulation, allowing simultaneous control over multiple degradation types.
2. Problem Statement
MD modulation introduces three primary technical challenges:
- Joint Modulation: Degradations like noise and blur are often coupled; removing one can inadvertently affect the other.
- The Zero Starting Point: When a user sets a restoration slider to zero, the model must perform an "identity mapping," outputting the input image exactly. Standard deep networks often fail to pass information perfectly without introducing artifacts.
- Unbalanced Learning: During training, severe degradations produce significantly higher losses than mild ones. Uniform sampling leads the model to prioritize "hard" cases, neglecting the precision required for subtle restoration.
3. Methodology
The CResMD framework introduces two key innovations to overcome these hurdles.
3.1 Controllable Residual Connections
The core of CResMD is the modification of standard residual connections. Instead of the traditional $Y = f(X) + X$, CResMD uses: $$Y = f(X) \cdot \alpha + X$$ where $\alpha$ is a learnable weight vector.
- Global Connection: A global controllable residual at the network's end allows for perfect identity mapping when $\alpha=0$.
- Local Connections: These are integrated into every building block. A lightweight Condition Network (an MLP) processes user-defined restoration levels to generate specific $\alpha$ weights for each block, effectively acting as a "switchboard" to route features based on the desired degradation mix.
3.2 Beta Distribution Sampling
To address unbalanced learning, the authors replace uniform sampling with a Beta distribution. This strategy increases the frequency of "mild" degradation cases during training, ensuring the model maintains high accuracy across the entire modulation range and preventing high-loss samples from dominating the gradient updates.
4. Experiments and Results
CResMD was trained on the DIV2K dataset and evaluated on standard benchmarks like CBSD68 (for 2D modulation) and LIVE1 (for 3D modulation). The model demonstrated exceptional performance:
- Efficiency: The control mechanism adds only 4.2k parameters (0.16% increase) to a 2.5M parameter base model.
- Accuracy: The "PSNR distance" between CResMD and task-specific models was consistently below 0.2 dB, indicating that the multi-purpose model performs nearly as well as specialized ones.
- Smooth Modulation: CResMD provides smoother transitions between restoration levels compared to existing SD methods like AdaFM or DNI.
5. Conclusion
CResMD offers a highly efficient and effective solution for interactive multi-dimension image restoration. By leveraging controllable residual connections and strategic data sampling, it provides users with precise control over overlapping degradations without sacrificing performance or significantly increasing model complexity. Future work will explore scaling to higher dimensions and applying these techniques to "blind" restoration of real-world imagery.
Summary updated