Restorer: Removing Multi-Degradation with All-Axis Attention and Prompt Guidance

Jiawei Mao, Juncheng Wu, Yuyin Zhou, Xuesong Yin, Yuanqi Chang
6/18/2024
cs.CV

No official code found. Best implementation: Talented-Q/Restorer (5 stars, MIT, last commit 2024-09-22).

Abstract

There are many excellent solutions in image restoration.However, most methods require on training separate models to restore images with different types of degradation.Although existing all-in-one models effectively address multiple types of degradation simultaneously, their performance in real-world scenarios is still constrained by the task confusion problem.In this work, we attempt to address this issue by introducing \textbf{Restorer}, a novel Transformer-based all-in-one image restoration model.To effectively address the complex degradation present in real-world images, we propose All-Axis Attention (AAA), a mechanism that simultaneously models long-range dependencies across both spatial and channel dimensions, capturing potential correlations along all axes.Additionally, we introduce textual prompts in Restorer to incorporate explicit task priors, enabling the removal of specific degradation types based on user instructions. By iterating over these prompts, Restorer can handle composite degradation in real-world scenarios without requiring additional training.Based on these designs, Restorer with one set of parameters demonstrates state-of-the-art performance in multiple image restoration tasks compared to existing all-in-one and even single-task models.Additionally, Restorer is efficient during inference, suggesting the potential in real-world applications.

View on arXivView PDF

Code Implementations(1)

Talented-Q/RestorerCommunity100%
MIT
50PythonAug 25, 20242 years agoMIT

Similar Papers

Cite this paper

@article{mao2024restorer,
  title  = {Restorer: Removing Multi-Degradation with All-Axis Attention and Prompt Guidance},
  author = {Jiawei Mao and Juncheng Wu and Yuyin Zhou and Xuesong Yin and Yuanqi Chang},
  year   = {2024},
  eprint = {2406.12587},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.12587v2}
}

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/2406.12587.svg)](https://codeofpaper.com/paper/2406.12587)

Discussion