Manuscript Offprint

arXiv:2610.10133

HarnessIR: Harnessing Multimodal Foundation Models for Universal Real-World Image Restoration

Xiangtao Kong, Shuaizheng Liu, Rongyuan Wu, Lingchen Sun, Zhengqiang Zhang, Jinxin Zhao, Yuhui Wu, Lei Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Xiangtao Kong 1,2^{1,2} Shuaizheng Liu 1,2^{1,2} Rongyuan Wu 1,2^{1,2} Lingchen Sun 1,2^{1,2} Zhengqiang Zhang 1,2^{1,2} Jinxin Zhao 1,2^{1,2} Yuhui Wu 1,2^{1,2} Lei Zhang †1,2^{\dagger 1,2}

1^{1} The Hong Kong Polytechnic University 2^{2} OPPO Research Institute

†^{\dagger} Corresponding author (cslzhang@comp.polyu.edu.hk).

Project Page

Code

Dataset

Multiple-degradaion LQ

Figure

HarnessIR-NB2

Real-world LQ

HarnessIR-NB2

LR

GT

AgenticIR

Nano Banana2

HarnessIR-NB2

Figure 1. Top and Bottom-left: Visual results of HarnessIR, which can restore image details without altering their content and texts. Bottom-right: Radar charts comparing different metrics on real-world test sets. HarnessIR achieves much better restoration performance than Nano Banana 2, GPT-Image-2.5, previous all-in-one and agentic IR methods.

Real-world low-quality images suffer from complex mixed degradations, including but not limited to noise, blur, atmospheric effects, etc. Recent agentic methods usually model real-world image restoration (Real-IR) as a sequential tool calling problem over task-specific single-degradation restoration models. This paradigm, however, is fundamentally limited because complex real-world degradations cannot be cleanly undone degradation by degradation, and the tool used for task-specific models caps the capability of the agent system. In this work, we present HarnessIR, an agentic framework for Real-IR by harnessing a multimodal foundation model (MFM) as the executor. HarnessIR consists of five stages: perception and diagnosis, on-demand tool invocation, prompt composition, execution, and verification-driven refinement. Unlike prior agentic Real-IR methods that rely on tool chains assembled from task-specific models, HarnessIR feeds the restoration requirements, the perceptual diagnosis, and the evidence into an MFM that performs restoration in a single pass, followed by verification stages to determine whether the result warrants further processing. Under our harness, off-the-shelf MFMs handle restoration tasks remarkably well, achieving state-of-the-art results on the widely used MiO100 synthetic benchmark. More importantly, by exploiting the strong generalization ability of MFMs, HarnessIR delivers compelling restoration quality on challenging real-world scenes where previous agentic IR systems often struggle. Codes is available at https://github.com/PolyU-VCLab/HarnessIR.

Visual Computing Lab · The Hong Kong Polytechnic University

1/26

VC

1 Introduction

Image restoration (IR) is a classical yet challenging research problem. Early IR research mainly focuses on a specific type of degradation, such as denoising [1, 2], deblurring [3, 4], super-resolution [5, 6], dehazing [7, 8], etc. Later, many all-in-one [9, 10] or multiple-in-one [11, 12] IR methods have been proposed, aiming to train a unified model to handle different types of image degradations. However, most of these methods still assume that the input image is corrupted by one single type of degradation, and they explicitly or implicitly recognize the degradation before restoring the desired image. In practice, however, captured images in real-world are often corrupted by complex, mixed degradations that cannot be modeled by a specific degradation type.

Inspired by the recent rapid development of agentic models in multimodal understanding and generation [13, 14], agentic IR methods [15, 16] have been proposed to address the issue of complex mixed degradations, where pretrained task-specific IR networks are exposed as restoration tools, and vision-language models (VLMs) are employed as the perceiver to assess image content and its degradations, map the identified degradations onto specialized IR models, and as the planner to schedule them into an execution sequence, frequently augmented with reflection, rollback, and rescheduling. However, this formulation is subject to fundamental limitations. First, it approximates coupled mixed degradations as a sequence of specialized restoration operations, whereas many real-world degradations interact and cannot be cleanly separated or reversed in sequence. Second, the planner converts fine-grained description of image content and degradation from the perceiver into a sequence of restoration tool calls, so much useful information is lost before restoration. Third, task-specified IR tools generalize poorly, limiting the overall generalization ability of the whole system. Last but not least, most agentic IR methods are developed and evaluated on synthetic mixed degradations, whereas real-world degradations often interact with each other, making them difficult to simulate. Therefore, although these paradigms have achieved great progress, their generalization to real-world scenes remains limited.

Recently, generative multimodal foundation models (MFMs) [17–19] have advanced rapidly. Having been trained for image editing, these models demonstrate great potential for IR tasks in recent works [20, 21]. Basically, MFMs treat IR as an editing problem: they accept the LQ image together with an instruction to accomplish the restoration task. Unfortunately, prompting MFMs naively often yields unsatisfying results, as illustrated in Fig. 1 and Fig. 3, these models often over-generate, embellishing detail and repainting texts and image contents. However, we argue that this does not mean that MFMs cannot perform complex real-world IR tasks; the key lies in how we instruct them, together with additional tools, to execute IR tasks in appropriate steps, harnessing the strong generative and generalization capabilities of MFMs for high-quality, universal real-world image restoration (Real-IR).

To this end, we present HarnessIR, an agentic framework for universal real-world IR by harnessing an MFM as the executor. HarnessIR is organized into five stages: perception and diagnosis, on-demand tool invocation, prompt composition, execution, and verification-driven refinement. One key distinction between our design and previous work is that HarnessIR schedules no restoration tools, and it performs restoration by MFM calls; however, it invokes auxiliary tools — OCR [22], face detection [23], depth estimation [24], semantic segmentation [25] — which act as evidence providers for prompt composition rather than links in a restoration chain. As shown in Fig. 2, the LQ image and the restoration requests are first passed to a VLM, which returns a diagnosis of the content and its degradations, along with a recommendation on which auxiliary tools to invoke. The system executes the plan and collects the resulting evidence, which is fed back to the VLM with the LQ input and the first-stage analysis. The VLM then composes a prompt that contains rich content and degradation information, as well as the gathered evidence rendered in language. The prompt and the LQ image are passed to the MFM executor, and the VLM then examines the output to determine whether the restoration is satisfactory and how to revise the prompt for re-execution. HarnessIR binds the MFM to what the given LQ image actually needs for restoration, eliciting the MFM's restoration capability while regulating how far it can alter the input, so that degradations can be removed without changing the content.

Using advanced MFMs such as Nano Banana 2 [17] and GPT-Image-2.5-Sunburst [18] as executors, HarnessIR handles image restoration remarkably well. On MiO100 [11], a widely used synthetic mixed-degradation benchmark, HarnessIR surpasses existing all-in-one and agentic IR methods on almost every metric. On the more challenging real-world images captured with both single and mixed degradations, where many all-in-one and agentic IR methods fail outright, HarnessIR outperforms prior methods by a large margin. Our ablation studies attribute these restoration gains to the harness rather than the executor alone. Our contributions are summarized as follows:

Visual Computing Lab · The Hong Kong Polytechnic University

2/26

VC

• We first identify the limitations in the previous agentic IR paradigms and propose moving the agent action primitive from restoration tool scheduling to MFM harnessing.

• We then propose HarnessIR, an agentic framework that harnesses a single MFM as the restorer without using task-specific restoration models as tools.

• Experiments show that HarnessIR reaches leading performance on the widely used MiO100 benchmark; more importantly, it restores real-world images with complex degradations significantly better than existing agentic IR methods.

References (69)