Learning Domain-Aware Task Prompt Representations for Multi-Domain All-in-One Image Restoration
May 26, 2026 · View on GitHub
Learning Domain-Aware Task Prompt Representations for Multi-Domain All-in-One Image Restoration
ICLR 2026 Poster · Paper · Pre-trained Models · Results · Citation
DATPRL-IR is the first exploration of Multi-Domain All-in-One Image Restoration (MD-AiOIR). It handles diverse restoration tasks across natural scene, medical imaging, and remote sensing domains with a single unified model by learning domain-aware task prompt representations.
🔥 News
- 2026.05: We conduct extra experiments on natural-image 5-task, 3-task, and combined-degradation all-in-one settings. Experimental results, model weights, and code are released. Our DATPRL-IR achieves 31.00 dB / 0.919 average PSNR/SSIM on the 5-task setting, 32.95 dB / 0.918 on the 3-task setting, and 30.88 dB / 0.890 on the combined-degradation CDD11 setting.
- 2026.05: We release the model weights and code for the 3-domain 6-task to 9-task settings reported in the paper.
- 2026.01: DATPRL-IR is accepted by ICLR 2026.
✨ Highlights
- First MD-AiOIR framework: one model for multiple image domains and restoration tasks.
- Dual prompt pools: a task prompt pool and a domain prompt pool encode task-level and domain-level knowledge.
- Prompt Composition Mechanism (PCM): adaptively composes selected prompts into instance-level representations.
- Domain-aware restoration: domain priors distilled from MLLMs help the model better understand different image domains.
- Adaptive Gated Fusion (AGF): dynamically controls the contribution ratio between prompt representations and backbone features at different network layers.
- Strong scalability: DATPRL-IR remains robust when extending from 6 tasks to 9 tasks.
- Extra natural-image AiOIR benchmarks: we additionally provide classic natural-image all-in-one settings, including 3-task, 5-task, and combined-degradation settings, together with open-source weights. DATPRL-IR surpasses existing SOTA methods by +0.08 dB, +0.42 dB, and +1.83 dB average PSNR on the 3-task, 5-task, and combined-degradation CDD11 settings, respectively.
🧠 Method Overview
DATPRL-IR adopts a query–retrieval–composition paradigm:
- Task Prompt Pool learns task-related knowledge shared by and specific to different restoration tasks.
- Domain Prompt Pool learns domain-aware priors for natural, medical, and remote sensing images.
- PCM composes the most relevant prompts into instance-level task/domain representations.
- Adaptive Gated Fusion (AGF) injects the final domain-aware task prompt representation into the restoration backbone.
📌 Supported Tasks
Multi-domain all-in-one restoration
| Domain | Task | Dataset / Benchmark |
|---|---|---|
| Natural Image | 4× Super-Resolution | DF2K / DIV2K-Val |
| Natural Image | Deraining | Rain100L |
| Natural Image | Motion Deblurring | GoPro |
| Medical Image | MRI Super-Resolution | IXI MRI |
| Medical Image | CT Denoising | AAPM-Mayo |
| Medical Image | PET Synthesis | PolarStar m660 |
| Remote Sensing Image | 4× Super-Resolution | UCMerced |
| Remote Sensing Image | Cloud Removal | CUHK-CR1 |
| Remote Sensing Image | Dehazing | RICE1 |
Extra natural-image all-in-one settings
| Setting | Tasks | Dataset / Benchmark |
|---|---|---|
| Natural-AiOIR-3T | Dehazing + Deraining + Denoising | SOTS + Rain100L + WED & BSD400 |
| Natural-AiOIR-5T | Dehazing + Deraining + Deblurring + Denoising + Lowlight | SOTS + Rain100L + GoPro + WED & BSD400 + LOL |
| Natural-AiOIR-Combined | Combined / mixed degradations | CDD11 |
📊 Results
Main MD-AiOIR results
Qualitative results
Visual inference results for the 3-domain 6-task MD-AiOIR setting are released at 3-domain-6-task-results
Visual inference results for the 3-domain 9-task MD-AiOIR setting are released at 3-domain-9-task-results
Quantitative results
| Setting | Domains | Tasks | Avg. PSNR ↑ | Avg. SSIM ↑ |
|---|---|---|---|---|
| DATPRL-IR-6T | 3 | 6 | 30.77 | 0.8653 |
| DATPRL-IR-7T | 3 | 7 | 30.74 | 0.8643 |
| DATPRL-IR-8T | 3 | 8 | 30.74 | 0.8647 |
| DATPRL-IR-9T | 3 | 9 | 30.78 | 0.8645 |
Natural-image all-in-one results
Qualitative results
Visual inference results for the natural-image 5-task setting are released at 5-task-results
Visual inference results for the natural-image 3-task setting are released at 3-task-results
Visual inference results for the natural-image mixed-degradation CDD11 setting are released at CDD11-results
Quantitative results
Quantitative results on 5-Task natural image AiOIR.
Quantitative results on 3-Task natural image AiOIR.
Quantitative results on mixed-degradation natural image AiOIR with CDD11 dataset.
🧩 Repository Structure
ICLR/
├── All_in_One/ # Extra natural-image all-in-one experiments
│ ├── 5task_test/ # Test logs for the natural-image 5-task setting
│ ├── net/ # Network architecture
│ │ ├── promptpoolnafnetv3_arch.py
│ │ ├── promptrestormerv3_arch.py
│ │ └── restormer_arch.py
│ ├── utils/
│ ├── options.py
│ ├── test_v2.py # Testing
│ ├── train_3task.py # Training for the 3-task setting
│ └── train_5task.py # Training for the 5-task setting
├── MD_All_in_One/ # Main multi-domain all-in-one restoration code
│ ├── experiments/ # Experiment records / checkpoints
│ ├── options/ # YAML configuration files
│ │ ├── train/
│ │ └── test/
│ ├── scripts/ # Helper scripts
│ ├── requirements.txt # Python dependencies
│ ├── setup.cfg
│ └── setup.py
├── figure/ # Figures used in README
└── README.md
🛠️ Installation
cd MD_All_in_One
pip install -r requirements.txt
python setup.py develop
The codebase follows the BasicSR-style training / testing pipeline. Please adjust the PyTorch and CUDA versions according to your own environment.
🚀 Inference
Test MD-AiOIR models
cd MD_All_in_One
python basicsr/test.py -opt options/test/test_allinone_6task_ours.yml
Test natural-image all-in-one models
# 5-task natural-image all-in-one model
cd All_in_One
python test_v2.py
# Combined-degradation natural-image all-in-one model
cd MD_All_in_One
python basicsr/test.py -opt options/test/test_cdd11.yml
📦 Pre-trained Models
| Model | Domains | Tasks | Checkpoint |
|---|---|---|---|
| DATPRL-IR-6T | Natural + Medical + Remote Sensing | 6 | 3Domain-6Task |
| DATPRL-IR-7T | Natural + Medical + Remote Sensing | 7 | 3Domain-7Task |
| DATPRL-IR-8T | Natural + Medical + Remote Sensing | 8 | 3Domain-8Task |
| DATPRL-IR-9T | Natural + Medical + Remote Sensing | 9 | 3Domain-9Task |
| Natural-AiOIR-3T | Natural | 3 | Natural-3Task |
| Natural-AiOIR-5T | Natural | 5 | Natural-5Task |
| Natural-AiOIR-Combined | Natural | Combined degradation | Natural-CDD11 |
🙏 Acknowledgements
This project is built upon and inspired by several excellent open-source projects and papers:
We sincerely thank the authors for their contributions to the community.
📄 Citation
If this work is useful for your research, please consider citing:
@inproceedings{dong2026datprlir,
title = {Learning Domain-Aware Task Prompt Representations for Multi-Domain All-in-One Image Restoration},
author = {Dong, Guanglu and Li, Chunlei and Ren, Chao and Hu, Jingliang and Shi, Yilei and Zhu, Xiao Xiang and Mou, Lichao},
booktitle = {International Conference on Learning Representations},
year = {2026}
}
@article{dong2026learning,
title = {Learning Domain-Aware Task Prompt Representations for Multi-Domain All-in-One Image Restoration},
author = {Dong, Guanglu and Li, Chunlei and Ren, Chao and Hu, Jingliang and Shi, Yilei and Zhu, Xiao Xiang and Mou, Lichao},
journal = {arXiv preprint arXiv:2603.01725},
year = {2026}
}
📬 Contact
For questions, please open an issue in this repository or contact the authors listed in the paper.