NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Domain-Aware Task Prompt Representations for Multi-Domain All-in-One Image Restoration

Guanglu Dong, Chunlei Li, Chao Ren, Jingliang Hu, Yilei Shi, Xiao Xiang Zhu, Lichao Mou

This paper introduces a novel framework for handling the "Swiss Army Knife" problem of image restoration across vastly different visual domains. It was recently published as a conference paper at ICLR 2026.

TL;DR

DATPRL-IR is the first "all-in-one" image restoration model capable of handling multiple degradation tasks (like denoising and super-resolution) across three distinct domains: natural scenes, medical imaging, and remote sensing. By using a dual-prompt system—one for the task and one distilled from Multimodal Large Language Models (MLLMs) for the domain—the model adaptively restores images with state-of-the-art precision and impressive zero-shot generalization.

Radar chart comparing DATPRL-IR performance across 9 tasks in 3 domains.

What Problem Does This Paper Address?

Traditionally, image restoration models are specialists. You have one model for MRI super-resolution and another for removing clouds from satellite imagery. Recently, "All-in-One" (AiOIR) models emerged to handle multiple tasks (e.g., deraining and deblurring) within a single model. However, these are almost always confined to a single domain, like natural scenes.

The challenge is that different domains have massive "domain gaps." A medical CT scan looks nothing like a satellite photo of a city. Features that help restore one might confuse the other. The authors tackle the "Multi-Domain All-in-One" (MD-AiOIR) challenge: building a single model that can navigate these domain differences while still sharing useful "low-level" knowledge (like how to reconstruct an edge) across all tasks.

Methods

The core of the proposed DATPRL-IR method is a Domain-Aware Task Prompt Representation Learning strategy.

Architecture of the DATPRL-IR framework.

It consists of three main components:

  1. Dual Prompt Pools: Instead of a single set of instructions, the model uses two distinct pools:
  2. Task Prompt Pool: Encodes implicit knowledge about specific degradations (e.g., blur vs. noise).
  3. Domain Prompt Pool: Encodes knowledge about the image source (e.g., medical vs. remote sensing).
  4. MLLM Distillation: To make the model "domain-aware," the authors used LLaVa-1.5-7B (a large multimodal model) to generate detailed text descriptions of high-quality images. These descriptions (e.g., "a bird's-eye view of buildings") were converted into features using a CLIP text encoder and "distilled" into the domain prompt pool during training. This allows the model to recognize the domain of an input image without being explicitly told.
  5. Prompt Composition Mechanism (PCM) & Fusion: For any given input, the model doesn't just pick one prompt. It adaptively selects the top-$k$ most relevant prompts from both pools and blends them into an instance-level representation. These are then integrated into the restoration backbone using Adaptive Gated Fusion (AGF), which dynamically controls how much the prompts influence different layers of the network.

Datasets

The authors evaluated their model on a massive suite of 9 tasks across 3 domains:

  • Natural Scenes: Super-resolution (DF2K), Deraining (Rain100L), and Deblurring (GoPro).
  • Medical Imaging: MRI Super-resolution (IXI MRI), CT Denoising (AAPM-Mayo), and PET Synthesis (PolarStar m660).
  • Remote Sensing: RSI Super-resolution (UCMerced), Cloud Removal (CUHK CR1), and Dehazing (RICE1).

For generalization testing, they used GenAI-Bench (AIGC images), Manga109 (comics), Snow100K-S (desnowing), and SHIQ (specular highlight removal).

Key Insights and Ideas

  • Positive Knowledge Transfer: Interestingly, the authors found that as they added more tasks (moving from 6 tasks to 9), the model's performance on the original tasks often improved. This suggests that the model is learning fundamental restoration principles that transcend specific domains.
  • MLLMs as Domain Experts: Using MLLMs to provide semantic context for low-level vision tasks is a powerful bridge. It allows the model to understand what it is looking at (e.g., "human organs") to better decide how to fix the pixels.
  • Shared vs. Specific: The "Task" prompts tended to have more overlap across datasets, while "Domain" prompts were more distinct. This confirms the intuition that while a "blur" is mathematically similar across domains, the context of the domain is what requires specialized handling.

Key Results

  • SOTA Performance: DATPRL-IR outperformed existing state-of-the-art (SOTA) methods like PromptIR and MoCEIR. In the 6-task setting, it achieved an average PSNR improvement of 0.37 dB over the best competitor.
  • Zero-Shot Generalization: The model showed remarkable "blind" restoration capabilities. When tested on AI-generated images and comics (domains it never saw during training), it outperformed specialized models by up to 0.87 dB.
  • Unseen Tasks: It successfully handled completely unseen tasks, such as removing snow and specular highlights, significantly better than other all-in-one models.

Limitations and Future Work

The authors acknowledge a few areas for growth:

  • Training Cost: The dual-prompt architecture and distillation process make the training cost slightly higher than simpler single-task models.
  • Domain Expansion: While three domains are a great start, the authors suggest that extending this to even more diverse domains (like underwater or infrared imaging) is a promising future direction.
  • Efficiency: Further research is needed to model the shared and specific knowledge even more efficiently to reduce the parameter overhead of the prompt pools.

Summary updated

BibTeX
@inproceedings{dong2026learning,
  author = {Guanglu Dong and Chunlei Li and Chao Ren and Jingliang Hu and Yilei Shi and Xiao Xiang Zhu and Lichao Mou},
  title = {{Learning Domain-Aware Task Prompt Representations for Multi-Domain All-in-One Image Restoration}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=CzVlgDOF7L},
}
Figure