Abstract
Image Super-Resolution (SR) has traditionally faced a trade-off between capturing global context and maintaining computational efficiency. While Transformers offer long-range modeling, standard self-attention suffers from quadratic complexity, leading many models to rely on restrictive local windows. This paper introduces the Recursive Generalization Transformer (RGT), which breaks this bottleneck. By recursively compressing image features into representative tokens, RGT achieves global context modeling with linear complexity. Combined with a novel Hybrid Adaptive Integration (HAI) scheme, RGT sets new state-of-the-art performance benchmarks while remaining more efficient than previous Transformer-based SR models.
Introduction
Reconstructing high-resolution (HR) images from low-resolution (LR) inputs requires a deep understanding of both local textures and global structures. Convolutional Neural Networks (CNNs) are inherently limited by their local receptive fields. While Transformers introduced Self-Attention (SA) to model long-range dependencies, the computational cost grows quadratically with image size. To mitigate this, popular architectures like SwinIR restrict attention to small local windows, which restores linear efficiency but sacrifices the ability to utilize repeating patterns across the entire image—a critical factor for reconstructing complex architectural scenes.
Methodology
The RGT architecture addresses these challenges through two primary innovations: Recursive-Generalization Self-Attention (RG-SA) and Hybrid Adaptive Integration (HAI).
Recursive-Generalization Self-Attention (RG-SA)
To capture global context without the quadratic cost, RGT utilizes a Recursive Generalization Module (RGM). Instead of dense pixel-to-pixel attention, the RGM employs depth-wise convolutions recursively to "summarize" the entire feature map into a small, fixed-size set of representative feature maps (e.g., a $4 \times 4$ or $16 \times 16$ grid).
The model then performs cross-attention between the original high-resolution features and these condensed global summaries. Because the summary size is constant regardless of the input resolution, the computational complexity scales linearly, allowing the model to "see" the entire image efficiently.
Hybrid Adaptive Integration (HAI)
The RGT alternates between local self-attention (L-SA) blocks for fine details and global RG-SA blocks for structural consistency. However, simply summing these disparate feature types via standard skip connections can lead to feature misalignment.
To solve this, the authors introduced HAI, which uses a learnable adaptor ($\alpha$) to dynamically weight input features before they are fused with the Transformer block's output. This allows the network to adaptively balance local and global information at every layer.
Experimental Results
The RGT was evaluated on standard benchmarks including DIV2K, Set5, Set14, B100, Urban100, and Manga109.
- Quantitative Performance: RGT consistently achieved higher PSNR scores than previous leaders. Notably, on the Urban100 (×2) dataset—which is rich in repetitive architectural structures—RGT outperformed the state-of-the-art CAT-A by 0.21 dB.
- Efficiency: Despite its superior performance, RGT is significantly leaner. Compared to CAT-A, it reduces FLOPs by approximately 30% and parameter count by nearly 20%.
- Qualitative Superiority: Visual analysis confirms that RGT is uniquely capable of recovering regular textures, such as window slats or stripes, which local-window models often blur or distort into moiré patterns.
Key Insights
- Global Context is Essential for Structure: The significant gains on the Urban100 dataset validate that global context is the "secret sauce" for reconstructing sharp, accurate edges in structured scenes.
- The Necessity of Adaptive Integration: Vanilla skip connections were found to actually degrade performance when mixing local and global blocks. The HAI's learnable adaptor is critical for resolving feature misalignment.
- Recursion for Flexibility: The recursive downsampling in the RGM allows the model to handle varying input resolutions gracefully while maintaining a fixed-size global summary.
Conclusion
The Recursive Generalization Transformer successfully bridges the gap between global modeling and linear efficiency in image super-resolution. By summarizing global features through recursion and integrating them adaptively, RGT provides a robust framework for high-fidelity image reconstruction. Future work may explore more sophisticated, content-aware methods for generating representative tokens to further refine the global summary process.
Summary updated