Introduction
Super-resolution (SR) is an inherently ill-posed problem where multiple high-resolution (HR) images can correspond to a single low-resolution (LR) input. While Single Image SR (SISR) relies on learned generative priors to hallucinate missing details, Reference-based SR (RefSR) leverages an additional high-quality reference image of the same scene to provide authentic textures.
Despite the potential of RefSR, existing methods face two primary challenges: spatial misalignment between the LR input and HR reference (due to scale or perspective shifts) and a lack of high-quality, Ultra-High-Definition (UHD) training data. Most current benchmarks feature resolutions far below the 4K standards of modern photography. To address these gaps, this paper introduces TriFlowSR, a diffusion-based framework optimized for UHD landmark restoration, and Landmark-4K, a new high-resolution dataset.
Methodology: The TriFlowSR Framework
TriFlowSR utilizes a three-branch architecture designed to balance generative power with structural fidelity. By decoupling the processing of the low-resolution input, the reference image, and the final super-resolved output, the model achieves high-fidelity texture transfer without losing the robust priors of pre-trained diffusion models.
The Tri-Branch Architecture
- SR Branch: Utilizes a frozen, pre-trained text-to-image diffusion model (Stable Diffusion 3) to provide a strong generative foundation.
- LR Branch: A frozen branch that extracts features from the degraded low-resolution input.
- Reference HR Branch: The primary trainable component that extracts and injects fine-grained features from the reference image.
Patch-Ref Attention and Explicit Alignment
A core innovation is the Patch-Ref Attention mechanism. Instead of simple feature concatenation, TriFlowSR uses cross-attention to match patches between the LR and Reference branches. This ensures the model only "borrows" textures from the reference image where they are spatially and contextually relevant.
To further mitigate alignment issues, the framework employs a pre-trained matching model (Roma) to find pixel-level correspondences. The reference image is warped to align with the LR input before entering the network, significantly reducing the computational burden on the attention layers and improving structural accuracy.
Dataset: Landmark-4K
To facilitate research into UHD super-resolution, the authors released Landmark-4K. This dataset contains 185 high-quality images across 49 landmark categories, such as the Taj Mahal and Big Ben. With an average resolution of 3295 × 3295, it provides the first dedicated benchmark for evaluating RefSR models in real-world, high-fidelity scenarios.
Experimental Results
TriFlowSR demonstrates significant improvements over existing state-of-the-art (SOTA) diffusion-based models like SUPIR and ReFIR.
- Quantitative Performance: On the Landmark-4K benchmark, TriFlowSR achieved a PSNR of 25.89, outperforming SUPIR (24.44) and ReFIR (25.21).
- Visual Fidelity: Qualitative evaluations show that TriFlowSR excels at restoring complex architectural elements, such as intricate carvings and historical text, which often appear blurred or artifact-heavy in competing models.
- Efficiency: Despite its high performance, TriFlowSR is more efficient than other high-end diffusion models, recording lower TFLOPs (491.65) and faster inference times (~10.6s).
Conclusion
TriFlowSR represents a significant step forward for UHD Reference-based Super-Resolution. By combining explicit pixel-level warping with a sophisticated tri-branch diffusion architecture, it effectively transfers high-frequency textures while maintaining structural integrity. While extreme viewpoint variations remain a challenge, the introduction of the Landmark-4K dataset and the TriFlowSR framework provides a robust foundation for future work in high-fidelity image restoration.
Summary updated