Trust but Verify: Adaptive Conditioning for Reference-Based Diffusion Super-Resolution via Implicit Reference Correlation Modeling

Yuan Wang, Yuhao Wan, Siming Zheng, Bo Li, Qibin Hou, Peng-Tao Jiang

TL;DR

Ada-RefSR is a novel single-step diffusion framework for reference-based super-resolution (RefSR) that operates on a "Trust but Verify" principle. By introducing a lightweight Adaptive Implicit Correlation Gating (AICG) module, the model intelligently leverages high-quality details from a reference image when they are reliable, while suppressing them when they are misleading. This approach achieves state-of-the-art restoration quality with a 30x speedup over multi-step competitors.

What Problem Does This Paper Address?

Super-resolution (SR)—the process of upscaling low-quality (LQ) images—is inherently "ill-posed" because many high-resolution images can map to the same low-resolution input. While modern diffusion models produce visually stunning results, they often "hallucinate" details that weren't in the original scene.

Reference-based SR (RefSR) tries to fix this by providing an auxiliary high-quality image (a "Ref") to guide the reconstruction. However, real-world degradations like noise and blur make it incredibly difficult to find accurate correspondences between the LQ input and the Ref image. Existing methods often fall into two traps:

  1. Over-reliance: They force-feed reference features into the output, leading to "semantic mismatches" (e.g., a bird's eye appearing on its wing because the reference was misaligned).
  2. Under-utilization: They use blunt, global weighting that ignores valuable local cues.

The authors aim to create a system that is both fast (single-step) and smart enough to decide where and how much to trust the reference.

Methods

The authors propose Ada-RefSR, which splits the restoration process into two logical phases:

Overview of the Ada-RefSR framework and the Adaptive Implicit Correlation Gating (AICG) module.
  1. The "Trust" Phase (Reference Attention): The model uses a "ReferenceNet" to extract features from the high-quality reference image. These features are injected into the main restoration branch via a Reference Attention (RA) module. This phase is intentionally aggressive to ensure no potential detail is missed.
  2. The "Verify" Phase (AICG): To prevent the artifacts caused by aggressive injection, the authors introduce Adaptive Implicit Correlation Gating (AICG).
  3. Summary Tokens: Instead of comparing every pixel (which is computationally expensive and noisy), AICG uses a small set of 16 learnable "summary tokens" to distill the most important patterns from the reference.
  4. Implicit Correlation: The model calculates the correlation between these summary tokens and the LQ input features. This generates a per-token "gate" value that scales the reference influence. If the reference region doesn't match the input context, the gate closes, and the model relies on its internal generative priors instead.

This entire process happens within a single-step diffusion framework, significantly reducing the computational overhead compared to traditional iterative diffusion models.

Datasets

The model was trained on a mix of synthetic SR datasets (DIV2K, DIV8K, Flickr2K) and a specialized face matching dataset. For evaluation, the authors used:

  • CUFED5 & WRSR: Standard benchmarks for dense reference matching.
  • Face Dataset: 162 test pairs to validate performance on human identities.
  • Bird Dataset (New): A self-collected dataset of 8,460 high-resolution bird images. This was specifically designed to test "category-based retrieval," where the model must find and use a similar bird from a database as a reference.

Key Insights and Ideas

  • Implicit > Explicit: Previous SOTA methods relied on explicit similarity maps (comparing every pixel/token). The authors found these are too "brittle" and easily disrupted by noise. By using implicit modeling via summary tokens, the gating mechanism becomes much more robust to heavy degradation.
  • The "Safety Valve": The AICG acts as a built-in safeguard. If you provide a completely irrelevant reference image, the model doesn't break or produce artifacts; it simply "shuts off" the reference branch and reverts to high-quality single-image super-resolution.
  • Efficiency is Feature-Driven: By making the conditioning (the reference) more reliable, the model can achieve high fidelity in just a single diffusion step, bypassing the need for the 50+ steps required by many other diffusion-based SR tools.

Key Results

Qualitative comparison of Ada-RefSR against state-of-the-art methods, demonstrating superior detail recovery without hallucinations.
  • Superior Fidelity: Ada-RefSR outperformed existing SOTA methods (like ReFIR and SeeSR) across PSNR, SSIM, and LPIPS metrics on multiple datasets.
  • Massive Speedup: When generating 1024x1024 images, Ada-RefSR is nearly 30x faster than optimization-heavy models (1.35s vs. 40.23s).
  • Lightweight Overhead: The AICG module is remarkably efficient, adding only 0.13% computational overhead to the base attention module while providing a 127x efficiency gain over explicit gating methods.
  • Robustness: Qualitative results show that even under extreme affine transformations or blur in the reference image, Ada-RefSR maintains stable, natural-looking reconstructions without the "ghosting" or "block artifacts" seen in other models.

Limitations and Future Work

  • Model Size: While the inference is fast, the core model is still quite large (~2.6B parameters), which may limit deployment on edge devices.
  • Injection Granularity: The authors suggest that future work could explore patch-wise rather than token-wise guidance to provide even finer control over detail injection.
  • Sparse Attention: To further reduce the memory footprint for ultra-high-resolution images, the team is looking into integrating sparse attention or token pruning strategies.

Summary updated

BibTeX
@inproceedings{wang2026trust,
  author = {Yuan Wang and Yuhao Wan and Siming Zheng and Bo Li and Qibin Hou and Peng-Tao Jiang},
  title = {{Trust but Verify: Adaptive Conditioning for Reference-Based Diffusion Super-Resolution via Implicit Reference Correlation Modeling}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=hYsqBf3Uad},
}
Figure