Test-Time Preference Optimization for Image Restoration

Bingchen Li, Xin Li, Jiaqi Xu, Jiaming Guo, Wenbo Li +2 more
11/24/2025
cs.CV

No official code found. Best implementation: lbc12345/TTPO (4 stars, last commit 2026-01-21). 1 more below.

Abstract

Image restoration (IR) models are typically trained to recover high-quality images using L1 or LPIPS loss. To handle diverse unknown degradations, zero-shot IR methods have also been introduced. However, existing pre-trained and zero-shot IR approaches often fail to align with human preferences, resulting in restored images that may not be favored. This highlights the critical need to enhance restoration quality and adapt flexibly to various image restoration tasks or backbones without requiring model retraining and ideally without labor-intensive preference data collection. In this paper, we propose the first Test-Time Preference Optimization (TTPO) paradigm for image restoration, which enhances perceptual quality, generates preference data on-the-fly, and is compatible with any IR model backbone. Specifically, we design a training-free, three-stage pipeline: (i) generate candidate preference images online using diffusion inversion and denoising based on the initially restored image; (ii) select preferred and dispreferred images using automated preference-aligned metrics or human feedback; and (iii) use the selected preference images as reward signals to guide the diffusion denoising process, optimizing the restored image to better align with human preferences. Extensive experiments across various image restoration tasks and models demonstrate the effectiveness and flexibility of the proposed pipeline.

View on arXivView PDF

Code Implementations(2)

lbc12345/TTPOCommunity60%

[AAAI26] Test-Time Preference Optimization for Image Restoration

40Nov 26, 20259 months ago
lavender19371/TTPOCommunity58%

An unofficial implementation for "Test-Time Preference Optimization for Image Restoration (AAAI 2026)"

40PythonJan 21, 20269 months ago

Similar Papers

Cite this paper

@article{li2025testtime,
  title  = {Test-Time Preference Optimization for Image Restoration},
  author = {Bingchen Li and Xin Li and Jiaqi Xu and Jiaming Guo and Wenbo Li and Renjing Pei and Zhibo Chen},
  year   = {2025},
  eprint = {2511.19169},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.19169v1}
}

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

Discussion