Manuscript Offprint

arXiv:2608.25334

GraftSR: Grafting Authentic Textures for Real-World Image Super-Resolution via Identical-Instance Guidance

Qifan Yu, Haoran Bai, Zongyao He, Weijie He, Sibin Deng, Honggang Qi, Ying Chen

Abstract

Diffusion-based real-world image super-resolution (SR) achieves impressive perceptual quality but inherently suffers from severe texture hallucination. To overcome this limitation, we propose GraftSR, a texture-reference-guided generative SR framework that leverages reference images of the identical instance to anchor the restoration of authentic textures. However, severe spatial misalignment between low-quality inputs and their references poses significant challenges, often leading to ambiguous transfer targets and background feature leakage. To address these issues, GraftSR employs a novel dual-mask reference guidance mechanism that systematically decouples the cross-view texture injection process. By explicitly isolating what authentic textures to extract from the reference and precisely localizing where to apply them within the target, GraftSR achieves robust texture transfer without relying on brittle spatial alignment. Furthermore, to bridge the critical gap in appropriate training data, we construct TexRefSR-141K, the first large-scale dataset providing high-quality reference tuples equipped with complementary spatial masks. Extensive experiments on our newly established benchmark, TexRefSR-Eval, demonstrate that GraftSR sets a new state-of-the-art. Notably, it reduces LPIPS by 20.2% over top-performing baselines, achieving superior reference-faithful restoration.

Introduction

Diffusion-based real-world image super-resolution (SR) (Wu et al. 2024; Duan et al. 2025; Fang et al. 2026) aims to restore high-quality (HQ) images from degraded observations by harnessing the immense potential of generative models (Wu et al. 2025; Peebles and Xie 2023; Labs et al. 2025; Podell et al. 2024), achieving perceptual quality far beyond that of earlier CNN-based approaches (Zhang et al. 2017; Soh and Cho 2022; Cui et al. 2024). However, a fundamental limitation persists: the generative restoration process inherently hallucinates textures that deviate from their authentic appearance due to the ill-posed nature of SR (see Fig. 1(a)). This severe hallucination destroys the fine-grained identity of the subject, strictly limiting its deployment in real-world scenarios that demand precise physical fidelity (e.g., e-commerce applications).

This limitation motivates the integration of reference images to anchor the generative process, aiming to restore a low-quality (LQ) input into a HQ output whose textures are faithful to a reference of the identical instance. Recently, generative editing approaches (e.g., Gemini-3-Pro) have emerged that can formally incorporate reference images to transfer customized textures into target regions. However, while these methods can achieve texture transfer, they often do so at the expense of the original geometric structure, resulting in poor content fidelity (see Fig. 1(c)). Therefore, it is of great interest to develop an effective texture-reference-guided generative SR framework that seamlessly transfers authentic reference textures while strictly preserving the structural and content consistency of the input image.

However, realizing this goal is highly challenging due to the severe cross-view spatial misalignments (e.g., varying poses, scales, and viewpoints) inherent in real-world identical-instance images. Existing reference-based SR methods rely heavily on brittle feature-level matching, suffering from severe artifacts beyond locally matched regions under such spatial misalignments (see Fig. 1(b)). Thus, achieving faithful cross-view texture transfer faces two intertwined challenges: (i) background feature leakage, since irrelevant reference contexts make it hard to isolate exactly what to reference; and (ii) ambiguous transfer target, since it is difficult to precisely localize where to transfer the reference textures.

To overcome these challenges, we present GraftSR, a novel generative framework driven by a dual-mask reference guidance mechanism. Built upon MMDiT backbone (Wu et al. 2025), it systematically tackles the aforementioned bottlenecks by explicitly injecting reference textures through two synergistic condition tokens: (i) mask-modulated reference tokens that isolate valid reference regions to explicitly determine what authentic textures to extract; and (ii) region-aware semantic tokens that precisely localize where the texture should be applied within the target. By jointly attending to these tokens within a unified sequence, GraftSR implicitly learns robust cross-view texture aggregation without relying on brittle spatial matching. Finally, an adversarial training objective (Fang et al. 2026) distills the generative process for efficient one-step image SR framework.

Furthermore, to address the critical absence of identical-instance training data, we curate TexRefSR-141K, the first large-scale dataset tailored for this task. Through an automated data construction pipeline, we pair images of strictly identical instances from multi-view galleries and supplement

∗^{*}Corresponding author.

Figure

Low-quality Input

Reference Image

(a) Diffusion-based SR Hallucinated textures

(b) Reference-based SR Fails beyond matched regions

(c) Generative Editing Poor content fidelity

(d) GraftSR (Ours) Reference-faithful restoration

Figure 1: GraftSR achieves reference-faithful image SR of fine-grained details (e.g., material textures and delicate prints), whereas existing methods exhibit distinct limitations: (a) Diffusion-based SR generates hallucinated textures; (b) Reference-based SR introduces artifacts beyond matched regions; and (c) Generative editing model suffers from poor content fidelity.

them with explicit complementary spatial masks. Specifically, the reference mask isolates the authentic texture source, while the target mask demarcates the exact restoration region. Comprising over 141K high-quality tuples across 61K distinct instances, this dataset provides the essential spatial selectivity to decouple textures from complex backgrounds, establishing a vital data foundation for the community.

Extensive experiments on our newly established TexRefSR-Eval benchmark, which enables faithful evaluation against identical-instance references, validate the superiority of GraftSR against state-of-the-art baselines. Quantitatively, a notable 20.2% reduction in LPIPS over top-performing methods confirms that the generated details are faithfully anchored to reference textures rather than arbitrarily hallucinated. Qualitatively, GraftSR achieves highly precise cross-view texture transfer while strictly preserving the original geometric structures, delivering reference-faithful restoration (see Fig. 1(d)). In summary, our main contributions are:

• We propose GraftSR, a novel texture-reference-guided generative SR framework that suppresses generative hallucinations and achieves highly faithful texture transfer from cross-view identical-instance references.

• We construct TexRefSR-141K and TexRefSR-Eval, the first large-scale dataset and benchmark suite providing high-quality identical-instance tuples equipped with complementary spatial masks.

• Extensive experiments demonstrate that GraftSR establishes a new state-of-the-art in reference-guided SR, bridging the gap between perceptual quality and texture fidelity for faithful texture restoration.

References (58)