Introduction
Real-World Image Super-Resolution (Real-ISR) is the task of restoring high-quality (HQ) images from low-quality (LQ) inputs that suffer from complex degradations like noise, blur, and compression artifacts. While diffusion-based models have significantly advanced the state-of-the-art, they often struggle with "hallucinations"—generating realistic but incorrect details—and visual artifacts. These issues arise because traditional supervised learning on paired datasets fails to capture the nuances of human perception.
While Direct Preference Optimization (DPO) has successfully aligned Large Language Models and Text-to-Image models with human preferences, its application to Real-ISR faces a unique challenge. Human preference in image restoration is often inconsistent; a user might prefer a sharper overall image despite local hallucinations. This global-local conflict makes standard image-level DPO unstable for super-resolution tasks.
The DSPO Framework
To address these challenges, the authors propose Direct Semantic Preference Optimization (DSPO). DSPO is a framework-agnostic, "plug-and-play" solution that shifts the optimization focus from global image-level comparisons to fine-grained semantic instances.
The framework relies on three core strategies:
- Semantic Instance Alignment: Using the Segment Anything Model (SAM), images are decomposed into individual semantic instances (objects or regions). Preference selection (Best/Worst-of-N) is performed at this instance level. This allows the model to learn specific local preferences—such as the clarity of an eye or the texture of a leaf—without being misled by conflicting signals elsewhere in the image.
- User Description Feedback: To combat hallucinations, DSPO leverages a Vision-Language Model (VLM) to generate textual descriptions of these instances. If a generated region deviates semantically from the ground truth (e.g., a blur erroneously becoming a "running horse"), this description is used as a negative feedback prompt. This provides a semantic anchor that traditional pixel-wise losses lack.
- Weighted Optimization: The DPO loss function is reformulated to operate on these weighted semantic instances, ensuring the model maintains perceptual consistency across various object scales.
Experimental Setup and Results
The DSPO models were pre-trained on the LSDIR dataset. A specialized preference dataset was curated from 500 LSDIR images, resulting in 2,500 annotated instance regions ranked by both human experts and automated Image Quality Assessment (IQA) pipelines. Evaluation was performed on real-world datasets (RealSR, DRealSR) and synthetic benchmarks (DIV2K-val).
Quantitative Performance
DSPO-enhanced models showed significant improvements across perceptual metrics. On the DRealSR dataset, DSPO improved the LPIPS score by 3.34% for one-step SR models. For multi-step diffusion models, it achieved a 7.42% improvement in DISTS on the RealSR dataset. Most notably, human preference studies revealed that DSPO-aligned models achieved win rates of 73.6% on DRealSR and 75.6% on RealSR against their respective pre-trained baselines.
Qualitative Superiority
Visually, DSPO produces results that are cleaner and more natural than those from standard Supervised Fine-Tuning (SFT) or basic DPO. It effectively avoids the "over-sharpened" or "painterly" artifacts often seen in other alignment methods.
Conclusion and Future Work
DSPO represents the first successful attempt to bring human preference alignment to Real-ISR through semantic-level optimization. By focusing on instances rather than whole images and incorporating VLM-based feedback, it effectively suppresses hallucinations while maintaining high perceptual quality.
While the current approach involves computational overhead during the dataset preparation phase, these are one-time costs. Future research may focus on scaling preference datasets more efficiently and extending the DSPO framework to other restoration tasks, such as low-light enhancement and deblurring.
Summary updated