SRSR: Enhancing Semantic Accuracy in Real-World Image Super-Resolution with Spatially Re-Focused Text-Conditioning
Chen Chen, Majid Abdolshah, Violetta Shevchenko, Hongdong Li, Chang Xu, Pulak Purkait
TL;DR
This work tackles semantic misalignment in diffusion-based real-world image super-resolution by introducing SRSR, a plug-and-play, inference-time framework with two key components. Spatially Re-focused Cross-Attention (SRCA) grounds each text token to a corresponding image region, masking out irrelevant regions to reduce semantic drift, while Spatially Targeted Classifier-Free Guidance (STCFG) applies unconditional guidance to ungrounded areas to prevent hallucinations. The method leverages DAPE for degradation-aware prompt extraction and Grounded SAM for precise grounding, enabling strong improvements in fidelity (PSNR/SSIM) and perceptual quality (LPIPS/DISTS) on both synthetic and real-world datasets, with state-of-the-art performance on several benchmarks. Importantly, SRSR is inference-only and model-agnostic, preserving parameter counts and allowing seamless integration with existing cross-attention-based SR pipelines. These advances have practical impact for Real-ISR tasks requiring semantically faithful restorations and open-vocabulary grounding, while highlighting the need for robust grounding and evaluation metrics for no-reference scenarios.
Abstract
Existing diffusion-based super-resolution approaches often exhibit semantic ambiguities due to inaccuracies and incompleteness in their text conditioning, coupled with the inherent tendency for cross-attention to divert towards irrelevant pixels. These limitations can lead to semantic misalignment and hallucinated details in the generated high-resolution outputs. To address these, we propose a novel, plug-and-play spatially re-focused super-resolution (SRSR) framework that consists of two core components: first, we introduce Spatially Re-focused Cross-Attention (SRCA), which refines text conditioning at inference time by applying visually-grounded segmentation masks to guide cross-attention. Second, we introduce a Spatially Targeted Classifier-Free Guidance (STCFG) mechanism that selectively bypasses text influences on ungrounded pixels to prevent hallucinations. Extensive experiments on both synthetic and real-world datasets demonstrate that SRSR consistently outperforms seven state-of-the-art baselines in standard fidelity metrics (PSNR and SSIM) across all datasets, and in perceptual quality measures (LPIPS and DISTS) on two real-world benchmarks, underscoring its effectiveness in achieving both high semantic fidelity and perceptual quality in super-resolution.
