Abstract
While vision transformers achieve significant breakthroughs in various image restoration (IR) tasks, it is still challenging to efficiently scale them across multiple types of degradations and resolutions. In this paper, we propose Fractal-IR, a fractal-based design that progressively refines degraded images by repeatedly expanding local information into broader regions. This fractal architecture naturally captures local details at early stages and seamlessly transitions toward global context in deeper fractal stages, removing the need for computationally heavy long-range self-attention mechanisms. Moreover, we identify a holistic set of strategies to effectively guide model scaling. Extensive experimental results show that Fractal-IR achieves state-of-the-art performance in seven common image restoration tasks, including super-resolution, denoising, JPEG artifact removal, IR in adverse weather conditions, motion deblurring, defocus deblurring, and demosaicking. For $2\times$ SR on Manga109, Fractal-IR achieves a 0.21 dB PSNR gain. For grayscale image denoising on Urban100, Fractal-IR surpasses the previous method by 0.2 dB for $\sigma=50$.
Introduction
Image Restoration (IR) involves recovering high-quality images from degraded versions, such as those affected by noise, blur, or low resolution. While Convolutional Neural Networks (CNNs) are computationally efficient, they often struggle to capture "long-range dependencies"—the relationships between distant parts of an image. Vision Transformers (ViTs) addressed this through self-attention mechanisms, but they introduced a new set of challenges. Global self-attention is computationally prohibitive as it scales quadratically with image size, while window-based attention (like SwinIR) can isolate spatial regions, limiting the model's ability to reconstruct complex, large-scale structures.
Furthermore, scaling these models up is notoriously difficult. Simply increasing the number of layers often leads to training instability or diminishing returns, a phenomenon the authors describe as the "curse of dimensionality" in IR transformers. Fractal-IR aims to solve these issues with a unified, efficient, and scalable architecture.
Methodology: The Fractal-IR Architecture
The core innovation of this framework is the Fractal-IR Layer, which mimics self-similar fractal patterns to propagate information across three hierarchical levels:
- Local Fractal Layer ($\mathcal{L}_1$): This level performs standard self-attention within small local patches to capture fine-grained details and textures.
- Non-Local Aggregation ($\mathcal{L}_2$): Instead of attending to the entire image, this layer uses a clever reshaping and permutation trick to distribute information from local patches across a broader region. This recursive expansion allows the model to "see" more context progressively without quadratic complexity.
- Global Modelling ($\mathcal{L}_3$): A convolutional Feed-Forward Network (FFN) is used to aggregate channel-wise information, providing a global understanding of the image structure.
Holistic Scaling Strategy
To ensure successful scaling to larger parameter counts, the authors introduced a set of robust training strategies:
- Warm-up Phase: Training begins with a very low learning rate for the first 50k iterations, stabilizing the optimizer in a large parameter space.
- Lightweight Operators: The authors identified an "initialization trap" where dense $3 \times 3$ convolutions lead to tiny initial weights and "lazy" gradients. By replacing these with bottleneck blocks ($1 \times 1 \to 3 \times 3 \to 1 \times 1$), they maintain healthy weight magnitudes and improve gradient flow.
- Dot-Product Attention: Standard dot-product attention was found to provide more stable gradients than cosine similarity attention as models grow in size.
Experimental Results and Discussion
Fractal-IR was evaluated on a massive battery of benchmarks across seven distinct tasks. The framework utilized datasets such as DIV2K, Urban100, and Manga109 for testing, consistently achieving state-of-the-art (SOTA) results.
Quantitative Performance
- Efficiency: For 4× Super-Resolution, Fractal-IR outperformed the previous leader (HAT) while using 28.6% fewer parameters and 31.1% fewer FLOPs.
- Super-Resolution: The model achieved a 0.21 dB PSNR gain on the Manga109 dataset for 2× SR.
- Denoising: It surpassed previous methods by 0.2 dB on the Urban100 dataset for heavy noise ($\sigma = 50$).
Qualitative Visual Quality
Beyond numerical metrics, qualitative results show that Fractal-IR produces significantly sharper edges and fewer "checkerboard" or blocking artifacts in restored textures compared to models like SwinIR and Restormer. This is particularly evident in tasks like JPEG artifact removal, where preserving fine detail is critical for natural-looking results.
Conclusion
Fractal-IR demonstrates that a recursive, fractal-based architecture can effectively bridge the gap between local detail and global context in image restoration. By combining this design with robust scaling strategies, the framework achieves SOTA performance across diverse tasks with significantly improved efficiency. While scaling beyond the 100M parameter range remains an area for future exploration, Fractal-IR provides a powerful and unified foundation for the next generation of image restoration models.
Summary updated