Introduction
Image Super-Resolution (SR) aims to reconstruct high-resolution (HR) details from low-resolution (LR) inputs. While Transformer-based models have surpassed traditional CNNs, they face significant scaling bottlenecks. Standard self-attention computational costs grow quadratically ($N^2$) with the number of pixels, forcing researchers to use small $8 \times 8$ windows or group pixels into larger patches. These constraints limit the model's contextual understanding and often lead to "blurry patches" where fine-grained textures are lost.
The TaylorIR Framework
To address these limitations, the authors propose TaylorIR, a framework designed to enable pixel-level reasoning without astronomical memory costs. It introduces two primary innovations:
- 1x1 Patch Embeddings: Unlike standard models that group pixels, TaylorIR treats every individual pixel as an independent token. This ensures the model reasons at the highest possible resolution, preserving pixel-level fidelity.
- TaylorShift Attention: This mechanism replaces the standard
softmaxfunction with a second-order Taylor series expansion. By leveraging the associative property to reorder matrix operations, TaylorShift reduces complexity from quadratic to near-linear.
By integrating these components into the TaylorSwinIR model, the researchers expanded the attention window from $8 \times 8$ (64 tokens) to a massive $48 \times 48$ (2,304 tokens), allowing the model to capture significantly more structural context without crashing the GPU.
Key Results and Efficiency
Evaluated on standard benchmarks like DIV2K, Urban100, and Manga109, TaylorSwinIR achieved state-of-the-art performance. Notably, on the Urban100 dataset, it delivered a PSNR gain of +0.31 dB over the baseline SwinIR.
The efficiency gains are particularly striking. By swapping standard attention for TaylorShift, the model achieves massive memory savings, making high-resolution processing feasible on standard hardware. Depending on the dataset, VRAM usage was reduced by 37% to 85%.
Qualitative analysis confirms that these technical improvements translate to visual quality, with TaylorSwinIR producing sharper edges and more accurate textures in complex scenes compared to previous methods.
Conclusion
TaylorIR demonstrates that mathematically approximating the attention mechanism can unlock significant performance and efficiency gains in image restoration. By enabling 1x1 pixel tokens and larger context windows, it sets a new standard for fine-grained super-resolution. Future work will explore hybrid CNN-Transformer architectures and optimization for edge device deployment.
Summary updated