Emulating Self-attention with Convolution for Efficient Image Super-Resolution

Dongheon Lee, Seokju Yun, Youngmin Ro
3/9/2025
cs.CV

No official code found. Best implementation: dslisleedh/ESC (113 stars, MIT, last commit 2026-04-08).

Abstract

In this paper, we tackle the high computational overhead of Transformers for efficient image super-resolution~(SR). Motivated by the observations of self-attention's inter-layer repetition, we introduce a convolutionized self-attention module named Convolutional Attention~(ConvAttn) that emulates self-attention's long-range modeling capability and instance-dependent weighting with a single shared large kernel and dynamic kernels. By utilizing the ConvAttn module, we significantly reduce the reliance on self-attention and its involved memory-bound operations while maintaining the representational capability of Transformers. Furthermore, we overcome the challenge of integrating flash attention into the lightweight SR regime, effectively mitigating self-attention's inherent memory bottleneck. We scale up the window size to 32$\times$32 with flash attention rather than proposing an intricate self-attention module, significantly improving PSNR by 0.31dB on Urban100$\times$2 while reducing latency and memory usage by 16$\times$ and 12.2$\times$. Building on these approaches, our proposed network, termed Emulating Self-attention with Convolution~(ESC), notably improves PSNR by 0.27 dB on Urban100$\times$4 compared to HiT-SRF, reducing the latency and memory usage by 3.7$\times$ and 6.2$\times$, respectively. Extensive experiments demonstrate that our ESC maintains the ability for long-range modeling, data scalability, and the representational power of Transformers despite most self-attention being replaced by the ConvAttn module.

View on arXivView PDF

Code Implementations(1)

dslisleedh/ESCCommunity100%
MIT

[ICCV2025 Highlight] ESC: Emulating Self-attention with Convolution for Efficient Image Super-Resolution

1136C++, CudaMar 1, 20256 months agoMIT

Similar Papers

Cite this paper

@article{lee2025emulating,
  title  = {Emulating Self-attention with Convolution for Efficient Image Super-Resolution},
  author = {Dongheon Lee and Seokju Yun and Youngmin Ro},
  year   = {2025},
  eprint = {2503.06671},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.06671v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.06671.svg)](https://codeofpaper.com/paper/2503.06671)

Discussion