When a super-resolution model trained with a GAN sharpens a low-resolution photo of a building facade, it invents fine detail for each window separately. (A GAN, or generative adversarial network, trains the upscaler against a second network, the discriminator, which tries to tell real high-resolution images from generated ones.) Each invented window looks plausible on its own, but the twenty identical windows of the real building come back as twenty slightly different windows. The cause is that the discriminator only ever looks at one small patch at a time. It is never shown two distant patches together, so it cannot notice that patches which must match do not. We propose a "pairwise critic": a discriminator that sees two far-apart patches at once, chosen because they repeat each other in the ground-truth image, and judges whether the pair is jointly realistic. Real pairs agree with each other. Generated pairs that disagree get penalized.
The reason to care goes beyond looks. A repeated structure is seen several times in the low-resolution input, each time sampled at a slightly different sub-pixel offset. Detail that is consistent across those repeats is therefore more likely to be the true detail than an independent invention. Rewarding consistency across distant repeats is a way to pull GAN outputs back toward fidelity without falling back on pixel losses that cause blur. It also tests a question the literature has skipped. Generators with image-wide attention exist, but they are trained only with pixel losses. Do such generators actually use their long reach under adversarial training if the critic itself is local?
Core Claim
Under adversarial training, the realism signal the generator receives is only as long-range as the discriminator's view. A patch-local discriminator rewards locally plausible detail and is indifferent to whether distant repeats agree. A generator with a global receptive field therefore has no adversarial incentive to copy detail across the image, and will tend to hallucinate repeats independently.
We claim that adding a discriminator that judges pairs of distant, ground-truth-matched patches does three things. It reduces cross-repeat inconsistency. It improves per-patch fidelity on repeated regions. It keeps perceptual quality (LPIPS, a learned measure of perceptual distance) at the level of the best existing adversarial methods. We further predict an interaction effect: the pairwise critic should help a global generator substantially more than a purely convolutional one, because only the global generator can route detail between the matched locations. If that interaction appears, it is direct evidence that generator reach and critic reach must be matched.
Where This Sits
Three lines of work motivate the gap. SeD: Semantic-Aware Discriminator for Image Super-Resolution adds frozen CLIP features to the discriminator through cross-attention, so the discriminator knows which kind of content a patch contains. Its judgments are still made one location at a time. It never compares two locations, and its generator stays convolutional. Enhanced Latent-Space Adversarial Training for Super-Resolution (HYPIR++) uses a latent Patch U-Net discriminator for "global consistency". Its generator attention is deliberately restricted to the top-k neighbouring blocks. The authors themselves warn that its details are "plausible but not necessarily faithful". On the architecture side, Global Learnable Attention for Single Image Super-Resolution (DLSN) and ATD: Improved Transformer With Adaptive Token Dictionary for Image Restoration give the generator image-wide routing, through learned similarity scoring and through category-based attention respectively. Both are trained only with $L_1$ pixel loss, so we do not know what their global routing does once a discriminator is involved. We reuse ATD as our global generator.
Two papers act as constraints. DLSN shows that similarity computed on degraded features is biased: the most similar-looking patches tend to share the same artifacts. We sidestep this by choosing patch pairs from the clean ground truth. Pairing is needed only while training the critic, so the degraded input never decides which patches count as repeats. Optimally Controllable Perceptual Lossy Compression describes the perception–distortion trade-off, which limits what we can claim. We do not promise to beat regression models on PSNR overall. We claim a better trade-off specifically on repeated structures.
Other work attacks hallucination locally. Towards Decoupling Learned Prior Hallucination and Data Fidelity in Image Restoration decouples fidelity from the learned prior, and Semantically Accurate Super-Resolution Generative Adversarial Networks adds a segmentation loss. Neither uses non-local agreement as the signal. SemSR-GAN's authors report little benefit on untextured classes, which suggests class labels are too coarse to constrain fine detail.
Research Program
The generator $G$ is either an RRDB network (residual-in-residual dense blocks, a deep convolutional design with local receptive field) or ATD (global reach). The two share the same $L_1$ pretraining and the same perceptual and local adversarial losses. We use the RaGAN formulation, a relativistic GAN loss, following the DECLoss setup in Uncovering the Over-Smoothing Challenge in Image Super-Resolution.
For each ground-truth training crop, we mine patch pairs $(i,j)$ offline. A pair qualifies if its two patches are at least a set distance apart and highly similar in a frozen feature space computed on the clean image. The pairwise critic $D_p$ takes two patches and their two low-resolution counterparts. It encodes each patch with shared weights, lets the patches exchange information through one cross-attention layer, and outputs a single realism score for the pair. The critic is conditioned on the low-resolution inputs so that "agreement" means agreement consistent with what was actually observed, and the generator cannot satisfy it by copying an arbitrary texture into both locations. The critic is trained to separate real pairs $(y_i, y_j)$ from generated pairs $(G(x)_i, G(x)_j)$ taken at the same locations. Here $y$ is the ground-truth high-resolution image, $x$ the low-resolution input, and subscripts index patches. The generator adds the pair term to its usual objective:
$$ \mathcal{L}_G = \mathcal{L}_{1} + \lambda_{p}\mathcal{L}_{\text{VGG}} + \lambda_{a}\mathcal{L}_{\text{adv}}^{\text{local}} + \lambda_{c}\,\mathbb{E}_{(i,j)}\big[\mathcal{L}_{\text{adv}}^{\text{pair}}(D_p(G(x)_i, G(x)_j \mid x_i, x_j))\big], $$
The λ's are loss weights and the expectation runs over mined pairs. We also feed the critic a small fraction of random, non-matching pairs from both real and generated images. This keeps the critic from learning "two identical patches look real" as a shortcut. With mixed pairs it has to model the joint statistics of patches that genuinely co-occur.
We will also build a diagnostic that does not exist in the file's benchmarks: the repeat-consistency gap. For ground-truth-matched pairs in test images, we compute the LPIPS between the two generated patches minus the LPIPS between the two ground-truth patches. We report this alongside per-patch PSNR and LPIPS to ground truth, restricted to repeated regions. This makes it possible to tell consistency from fidelity: a model could agree with itself and still be wrong.
Baselines
The naive reference point is ATD trained with $L_1$ only, as released for ATD. It anchors the distortion end of the trade-off and shows how consistent a blurry global model already is. We expect it to have a small consistency gap but poor LPIPS. Beating it means a large LPIPS improvement with a consistency gap no worse than ATD's.
The strongest existing perceptual method in the file is DECLoss with RaGAN on an RRDB generator. It reports LPIPS 0.093 at 24.51 dB PSNR on Urban100 at 4× and LPIPS 0.080 at 28.19 dB on the DIV2K validation set (Uncovering the Over-Smoothing Challenge). It is the right competitor because it already attacks the cause of blur directly and is tuned for perceptual quality. We will retrain it ourselves on DIV2K with the same iteration count and the same tuning budget for loss weights as our method, and report both its published and our reproduced numbers.
SeD is the closest discriminator-side competitor. The file reports no number for SeD on Urban100, DIV2K or Manga109, so we will retrain SeD's CLIP-conditioned discriminator on the same generators under the same budget. HYPIR++ reports an 86.8% user preference over HYPIR and a 1.71× speedup, but no LPIPS or PSNR in the file. It is also a diffusion-latent system at a very different scale, so we include it only in a qualitative real-world comparison on RealSR.
The key ablation is the 2×2 grid of generator {RRDB, ATD} by critic {local only, local plus pairwise}, with every other setting held fixed. Two further ablations isolate the ingredients. The first mines pairs from degraded features instead of clean ones, to test DLSN's similarity-bias concern inside a GAN. The second removes low-resolution conditioning from the critic.
Beating the baselines means two things on Urban100 at 4×. First, LPIPS at or below the reproduced DECLoss+RaGAN value. Second, a repeat-consistency gap and a repeated-region PSNR that are significantly better, using paired bootstrap over images.
Why not just…?
Why not just train ATD with an ordinary GAN loss and rely on its global attention to copy detail? This is the main threat, and it is the ATD/local-critic cell of our grid. If that cell already closes most of the consistency gap, our claim is wrong and we will report it. Our reason to expect otherwise is that a local critic gives no gradient favouring agreement across distant locations. Independent hallucination at each repeat scores just as well, so global attention under a local critic may route coarse structure but leave each location's fine detail to local invention. The interaction test decides this.
Why not just add a direct consistency loss, an $L_1$ penalty between generated patches at matched locations? This is cheaper and could work. Its expected failure is the same regression-to-the-mean effect that causes blur in the first place: penalizing differences pulls both patches toward their average, and true repeats are not pixel-identical because of lighting and perspective. A critic instead learns how much variation real repeats show. We run this explicit-loss variant as an ablation at matched compute. If it matches the pairwise critic on both LPIPS and the consistency gap, we would recommend it as the simpler method.
Why not just give the discriminator a global view, either a whole-image discriminator at low resolution or SeD-style semantics? A downsampled whole-image discriminator cannot see the high-frequency detail where the inconsistency lives. SeD's semantics tell the critic what kind of content a patch contains, not whether two specific patches agree. Its benefit should show up as fewer cross-category artifacts, not a smaller consistency gap. We measure both baselines on the same consistency metric, so this prediction can be checked.
Why not just use deeper or dilated convolutions? The file reports diminishing returns from enlarging local receptive fields: in Adversarial Spatio-Temporal Learning for Video Deblurring, 3D kernels gained only 3–5% over 2D stacking. More importantly, the RRDB row of our grid already plays this role. A large-receptive-field convolutional generator that benefits as much from the pairwise critic as ATD does would weaken our interaction claim.
Proposed Experiments
We train on DIV2K at 4× and evaluate on Urban100, which is dominated by repeated architecture, and Manga109, which has repeated line art and typography. BSD100 serves as a control with few repeats, where we expect little change: gains appearing there would suggest the critic is doing something other than enforcing repeat consistency. We report LPIPS, PSNR and SSIM on full images, plus the repeat-consistency gap and repeated-region fidelity. The LowLevelEval suite provides a broader zero-shot sanity check across tasks.
We also run a controlled synthetic test with known truth. Natural textures are tiled at random sub-pixel offsets into a scene and then degraded, so every repeat's true high-resolution content is known exactly. Here fidelity gains can be attributed to cross-repeat information, because a model that sees only one repeat cannot recover the sub-pixel detail available from several.
Three results would decide the proposal. The ATD/pairwise cell must beat the ATD/local cell on the consistency gap and on repeated-region PSNR at equal or better LPIPS. The improvement from the pairwise critic must be clearly larger for ATD than for RRDB. Mining pairs from degraded features must lose part of the improvement, confirming that pairing on clean ground truth matters. If the first holds but the second does not, the critic is useful but the reach-matching story is wrong. If neither holds, independent hallucination is not the failure mode we believe it is.
References
- SeD: Semantic-Aware Discriminator for Image Super-Resolution
- Enhanced Latent-Space Adversarial Training for Super-Resolution
- Global Learnable Attention for Single Image Super-Resolution
- ATD: Improved Transformer With Adaptive Token Dictionary for Image Restoration
- Optimally Controllable Perceptual Lossy Compression
- BIGPrior: Toward Decoupling Learned Prior Hallucination and Data Fidelity in Image Restoration
- Semantically accurate super-resolution Generative Adversarial Networks
- Uncovering the Over-Smoothing Challenge in Image Super-Resolution: Entropy-Based Quantification and Contrastive Optimization
- Adversarial Spatio-Temporal Learning for Video Deblurring