InstructRestore: Region-Customized Image Restoration with Human Instructions

Shuaizheng Liu, Jianqi Ma, Lingchen Sun, Xiangtao Kong, Lei Zhang
3/31/2025
cs.CV

Official code: shuaizhengliu/InstructRestore (53 stars, last commit 2025-10-23).

Abstract

Despite the significant progress in diffusion prior-based image restoration, most existing methods apply uniform processing to the entire image, lacking the capability to perform region-customized image restoration according to user instructions. In this work, we propose a new framework, namely InstructRestore, to perform region-adjustable image restoration following human instructions. To achieve this, we first develop a data generation engine to produce training triplets, each consisting of a high-quality image, the target region description, and the corresponding region mask. With this engine and careful data screening, we construct a comprehensive dataset comprising 536,945 triplets to support the training and evaluation of this task. We then examine how to integrate the low-quality image features under the ControlNet architecture to adjust the degree of image details enhancement. Consequently, we develop a ControlNet-like model to identify the target region and allocate different integration scales to the target and surrounding regions, enabling region-customized image restoration that aligns with user instructions. Experimental results demonstrate that our proposed InstructRestore approach enables effective human-instructed image restoration, such as images with bokeh effects and user-instructed local enhancement. Our work advances the investigation of interactive image restoration and enhancement techniques. Data, code, and models will be found at https://github.com/shuaizhengliu/InstructRestore.git.

View on arXivView PDF

Code Implementations(1)

[NeurlPS' 25] InstructRestore: Region-Customized Image Restoration with Human Instructions

531Shell, PythonMar 31, 202512 months ago

Cite this paper

@article{liu2025instructrestore,
  title  = {InstructRestore: Region-Customized Image Restoration with Human Instructions},
  author = {Shuaizheng Liu and Jianqi Ma and Lingchen Sun and Xiangtao Kong and Lei Zhang},
  year   = {2025},
  eprint = {2503.24357},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.24357v1},
  journal = {NEURIPS 2025 2025}
}

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

Discussion