Abstract
Image Restoration (IR) has traditionally relied on pixel-level "hard-fitting" through L1/L2 loss minimization, often resulting in over-smoothed textures and limited generalization to real-world, out-of-domain (OOD) degradations. We present IRPO (Image Restoration via Post-training GRPO), a novel paradigm that adapts reinforcement learning alignment techniques from Large Language Models to low-level vision. By employing Group Relative Policy Optimization (GRPO) and a multi-faceted reward system—including feedback from a Vision-Language Model (VLM) expert—IRPO significantly enhances restoration quality and robustness. Our approach focuses on the most challenging 30% of training data, achieving state-of-the-art results and an average improvement of 3.43 dB on OOD benchmarks.
Introduction
Conventional IR models are typically trained to minimize the distance between degraded inputs and ground-truth images. While effective for synthetic data, this approach suffers from two primary drawbacks: the production of perceptually "safe" but blurry textures and a lack of robustness when encountering real-world noise distributions. IRPO addresses these issues by introducing a post-training phase that aligns model outputs with human perceptual preferences, moving beyond simple pixel accuracy.
Methodology
The IRPO framework is built upon two core innovations: data-oriented supervision and reward-oriented optimization.
Data-Oriented Supervision: The 30% Rule
Rather than fine-tuning on exhaustive datasets, IRPO utilizes a "hard-mining" strategy. By identifying and training exclusively on the bottom 30% of samples (the "hard-tail") from the pre-training phase, the model achieves superior performance while reducing training time by approximately 3x compared to full-dataset training.
Reward-Oriented Optimization via GRPO
IRPO leverages Group Relative Policy Optimization (GRPO), an efficient reinforcement learning algorithm that eliminates the need for a separate critic network. The policy is guided by a composite reward function:
- General Reward: Incorporates standard metrics (PSNR, SSIM) and perceptual scores (LPIPS, CLIP).
- Expert Reward: Utilizes a Vision-Language Model (Qwen-2.5-VL) as an expert judge to provide subjective quality scores (1–5).
- Task-Aware Reward: Employs problem-specific heuristics, such as gradient consistency for denoising and anisotropy consistency for deraining.
The underlying restoration network (based on AdaIR) is augmented with lightweight policy heads, enabling stochastic exploration of restoration actions, such as adaptive frequency masking, during the post-training phase.
Experimental Evaluation
IRPO was evaluated across a diverse set of tasks, including dehazing, deraining, deblurring, low-light enhancement, and denoising. Testing spanned both In-Domain (ID) datasets (e.g., SOTS, Rain100L) and challenging Out-of-Domain (OOD) real-world benchmarks (e.g., RRSHID, GT-Rain, SIDD).
Key Results
IRPO establishes a new state-of-the-art across all evaluated tasks. Notably, it demonstrates exceptional robustness in OOD scenarios, outperforming the strong AdaIR baseline by an average of 3.43 dB.
Qualitative analysis reveals that IRPO produces images with sharper edges and more natural color constancy compared to traditional methods. Ablation studies confirm that both the VLM-based "Expert Reward" and "Task-Aware Rewards" are critical for achieving high perceptual quality.
Conclusion
IRPO demonstrates that reinforcement learning is a powerful tool for aligning image restoration models with perceptual quality. By focusing on hard-sample mining and leveraging VLMs as expert judges, IRPO bridges the gap between mathematical pixel accuracy and human visual preference, setting a new standard for robust, real-world image restoration.
Summary updated