arXiv:2608.14543cs.CVAug 2026

Manuscript Offprint

arXiv:2608.14543

MagnifiQ: Patch-aware Text Guided Progressive Upscaling for High-Resolution Image Restoration

Mahesh Reddy, Yashesh Savani, Antoine Mercier, Hong Cai, Fatih Porikli, Guillaume Berger

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

High-resolution image restoration from degraded inputs is challenging because it must preserve global structural consistency while recovering fine-grained local details, especially at 4K resolution where direct diffusion-based restoration is computationally expensive and prone to repeated or inconsistent textures. In this work, we introduce MagnifiQ, an image restoration framework that progressively upscales and restores images across resolutions, e.g., from 1024×10241024\times 1024 to 4096×40964096\times 4096. Our approach leverages a pre-trained text-to-image diffusion model such as SDXL and adapts it for more scalable high-resolution inference by replacing its original self-attention layers with convolutional operations whose computational cost grows linearly with image resolution. We further propose a progressive upscaling strategy that iteratively restores images over multiple resolution stages, refining each intermediate output rather than directly hallucinating the final 4K image, thereby improving global coherence and reducing high-resolution artifacts. To enhance local details while controlling content drift, MagnifiQ uses patch-specific text prompts that provide spatially localized semantic guidance during restoration. Extensive experiments on synthetic and real-world degraded images show that MagnifiQ outperforms prior diffusion-based restoration methods in perceptual quality and human preference, producing sharper textures and more coherent 4K results while offering practical speed–quality trade-offs through its scalable backbone and progressive design.

Figure

Figure 1: MagnifiQ restores real-world low-quality inputs into coherent high-resolution outputs up to 4096×40964096\times 4096, supporting up to 32×32\times scaling while preserving global structure and recovering fine details. Zoom in for details.

1 Introduction

Real-world restoration of single low-quality images is a challenging problem due to the inherent difficulty of recovering lost details and textures from unknown degradations. Recent approaches [31, 33, 35, 37, 20] leverage the strong generative capabilities of large-scale pre-trained text-to-image diffusion models, enabling the synthesis of restored images with superior perceptual quality and realistic content compared to GAN-based counterparts [32, 19].

Despite these improvements, most existing approaches [33, 35, 37, 20] are constrained to moderate upscaling factors, typically up to 4×4\times. This limitation restricts their applicability in real-world scenarios such as recovering image quality lost due to heavy zooming, close-up cropping, or low-resolution capture. StableSR [31] introduces a pipeline for 4K high-resolution restoration based on Mixture-of-Diffusers [12]. While effective, this approach is computationally expensive because it denoises each image patch independently at every timestep. Furthermore, although the generated images maintain global structural consistency, they often lack fine-grained local details due to the absence of text guidance, which is critical for high-resolution restoration.

Figure

Figure 2: Overview of our restoration backbone. (a) We adapt pre-trained SDXL [24] for image restoration by modifying the input convolution, following InstructPix2Pix [5], to condition on the low-quality input image. (b) We replace self-attention layers in the SDXL U-Net with efficient PADRe layers, improving high-resolution efficiency and restoration quality.

To address these challenges, we propose MagnifiQ, a patch-aware, text-guided progressive upscaling framework that iteratively restores low-quality images to high resolution 4096×40964096\times 4096 with scaling factors of up to 32×32\times, as shown in Fig. 1. MagnifiQ ensures coherent global structure by progressively conditioning the restoration model on intermediate outputs, while enhancing local details through patch-level text prompts generated from intermediate images. Specifically, we introduce Patch-Aware Cross-Attention (PACA), a lightweight modification of the cross-attention layers in a pre-trained restoration model, enabling cross-attention between latent patches and their corresponding patch-specific text prompts. Our progressive upscaling framework uses a Stable Diffusion XL (SDXL) [24] model adapted and fine-tuned for image restoration, requiring minimal architectural changes compared to prior works [37]. Additionally, we address the limitations of standard self-attention for high-resolution restoration by replacing it with PADRe [17], an efficient alternative with convolutional operations to improve computational efficiency and generate sharper textures at high resolutions.

Figure

Figure 3: Preliminary analysis of three SDXL-based restoration variants, SDXL-IR, SDXL-NoSA, and SDXL-PD, at 1024×10241024\times 1024 and 4096×40964096\times 4096. At higher resolution, SDXL-IR preserves structure but produces grainy artifacts, while SDXL-NoSA yields sharper textures but introduces hallucinated details. SDXL-PD provides a better balance between structural consistency and texture sharpness. Zoom in for details.

References (31)