Parameter Efficient Adaptation for Image Restoration with Heterogeneous Mixture-of-Experts

Hang Guo, Tao Dai, Yuanchao Bai, Bin Chen, Xudong Ren, Zexuan Zhu, Shu-Tao Xia

TL;DR

AdaptIR is a parameter-efficient tuning framework that allows a single pre-trained model to adapt to diverse image restoration tasks—like denoising, deraining, and super-resolution—by training only 0.6% of its parameters. By using a "Heterogeneous Mixture-of-Experts" design, it captures local, global, and channel-wise features independently, outperforming standard tuning methods and even massive "all-in-one" models on complex, hybrid degradations.

What Problem Does This Paper Address?

Image restoration is the art of "cleaning" images—removing noise, fixing blur, or upscaling low-resolution shots. Historically, researchers built a specific model for every single type of damage. While "all-in-one" models recently emerged to handle multiple tasks at once, they are computationally expensive to train and often struggle when they encounter a type of image degradation they haven't seen before.

While Parameter Efficient Transfer Learning (PETL) works wonders for text (like GPT) or image classification by keeping a large pre-trained model "frozen" and tuning only a tiny set of added modules, it often fails in image restoration. The authors identify a major roadblock: existing PETL methods (like LoRA or Adapters) are homogeneous. They produce the same kind of feature representations regardless of the task. However, fixing a rainy image requires a completely different "frequency response" than fixing a blurry one. Standard PETL methods simply aren't flexible enough to switch gears between these different physical problems.

Performance and Fourier Analysis of AdaptIR vs. standard PETL

Methods

The authors introduce AdaptIR, a custom PETL module designed to be inserted into frozen transformer-based restoration backbones (like IPT or EDT). The core innovation is a multi-branch Mixture-of-Experts (MoE) structure that is "heterogeneous" by design.

AdaptIR Architecture and Heterogeneous Mixture-of-Experts

Instead of having identical experts, AdaptIR uses three specialized, orthogonal branches:

  1. Local Interaction Module (LIM): Uses depth-wise convolutions to capture high-frequency details and local textures.
  2. Frequency Affine Module (FAM): Operates in the frequency domain using Fast Fourier Transforms (FFT) to capture global spatial structures (low-frequency information).
  3. Channel Gating Module (CGM): Focuses on channel-wise interactions to select the most relevant features for a specific task.

These three "experts" are then combined via an Adaptive Feature Ensemble that dynamically weights their contributions based on the input. This allows the model to "dial in" the right mix of local vs. global processing for any given degradation.

Datasets

The researchers evaluated AdaptIR across a massive battery of standard benchmarks:

  • Super-Resolution (SR): DIV2K and Flickr2K for training; Set5, Set14, BSDS100, Urban100, and Manga109 for testing.
  • Denoising: BSD400 and WED for training; CBSD68 and Urban100 for testing.
  • Deraining: Rain100L (light rain) and Rain100H (heavy rain).
  • Low-light Enhancement: LOLv1.
  • Hybrid Degradations: Custom mixes of Low-Resolution + Noise and Low-Resolution + JPEG artifacts.
  • Real-world Denoising: The SIDD dataset.

Key Insights and Ideas

  • The "Homogeneity" Trap: Through Fourier analysis, the authors prove that standard PETL methods like LoRA produce nearly identical frequency signatures across different tasks. This explains why they fail at restoration: they can't provide the high-pass filtering needed for SR while simultaneously providing the low-pass filtering needed for denoising.
  • Orthogonality is Key: By forcing the experts to be structurally different (one using Convs, one using FFT, one using Gating), AdaptIR ensures the model has a diverse "toolbox" to draw from.
  • Efficiency vs. Generality: AdaptIR proves you don't need to retrain a 100M+ parameter model to handle new tasks. By tuning just 0.6% of parameters, you can achieve better results than full fine-tuning in a fraction of the time (8 hours vs. days).
  • Avoiding Negative Transfer: Unlike "all-in-one" models that try to learn everything in one set of weights (often leading to one task "hurting" the performance of another), AdaptIR’s modular approach keeps task-specific knowledge isolated in the tiny adapter modules.

Key Results

  • Superior Hybrid Performance: On complex tasks (e.g., fixing an image that is both low-res and noisy), AdaptIR outperformed the state-of-the-art PETL method (FacT) by 1.78dB on the Urban100 dataset.
  • Beating the Giants: AdaptIR achieved higher PSNR (image quality scores) than dedicated all-in-one models like PromptIR, despite having significantly fewer trainable parameters. For example, it was 4.9dB better on light rain removal.
  • Speed and Scale: The method requires only about 8 hours of fine-tuning on a single GPU to adapt to a new task, making it highly practical for real-world deployment where new types of camera sensors or degradations appear frequently.

Limitations and Future Work

  • Fixed Expert Count: Currently, AdaptIR uses exactly three branches. Future work could explore whether adding more specialized experts (e.g., specifically for deblurring or dehazing) provides diminishing returns.
  • Backbone Dependency: While tested on IPT and EDT, the performance is still somewhat tied to the quality of the frozen pre-trained backbone.
  • Dynamic Architecture: The authors suggest that future iterations could move toward "degradation-aware" dynamic networks that change their entire internal routing based on the input image, rather than just the adapter weights.

Summary updated

BibTeX
@inproceedings{guo2024parameter,
  author = {Hang Guo and Tao Dai and Yuanchao Bai and Bin Chen and Xudong Ren and Zexuan Zhu and Shu-Tao Xia},
  title = {{Parameter Efficient Adaptation for Image Restoration with Heterogeneous Mixture-of-Experts}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=R7w68Z5iqf},
}
Figure