LoRA-IR: Taming Low-Rank Experts for Efficient All-in-One Image Restoration

Yuang Ai, Huaibo Huang, Ran He
10/20/2024
cs.CV

Official code: shallowdream204/LoRA-IR (84 stars, Apache-2.0, last commit 2025-05-28).

Abstract

Prompt-based all-in-one image restoration (IR) frameworks have achieved remarkable performance by incorporating degradation-specific information into prompt modules. Nevertheless, handling the complex and diverse degradations encountered in real-world scenarios remains a significant challenge. To tackle this, we propose LoRA-IR, a flexible framework that dynamically leverages compact low-rank experts to facilitate efficient all-in-one image restoration. Specifically, LoRA-IR consists of two training stages: degradation-guided pre-training and parameter-efficient fine-tuning. In the pre-training stage, we enhance the pre-trained CLIP model by introducing a simple mechanism that scales it to higher resolutions, allowing us to extract robust degradation representations that adaptively guide the IR network. In the fine-tuning stage, we refine the pre-trained IR network through low-rank adaptation (LoRA). Built upon a Mixture-of-Experts (MoE) architecture, LoRA-IR dynamically integrates multiple low-rank restoration experts through a degradation-guided router. This dynamic integration mechanism significantly enhances our model's adaptability to diverse and unknown degradations in complex real-world scenarios. Extensive experiments demonstrate that LoRA-IR achieves SOTA performance across 14 IR tasks and 29 benchmarks, while maintaining computational efficiency. Code and pre-trained models will be available at: https://github.com/shallowdream204/LoRA-IR.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[arXiv 2024] LoRA-IR: Taming Low-Rank Experts for Efficient All-in-One Image Restoration

844PythonOct 20, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{ai2024lorair,
  title  = {LoRA-IR: Taming Low-Rank Experts for Efficient All-in-One Image Restoration},
  author = {Yuang Ai and Huaibo Huang and Ran He},
  year   = {2024},
  eprint = {2410.15385},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.15385v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.15385.svg)](https://codeofpaper.com/paper/2410.15385)

Discussion