What Is Redundant at High Resolution? Efficient Attention and Feed-Forward Design for All-in-One Image Restoration
Abstract
A multi-scale image restoration network reduces redundant computation in attention and feed-forward layers to achieve state-of-the-art restoration with faster inference.
Multi-scale architectures are widely adopted in all-in-one image restoration (AIO-IR) to capture larger-scale context at low-resolution stages and refine details at high-resolution (HR) stages. However, processing spatially large feature maps at HR stages incurs substantial computational costs and memory traffic, making efficient HR processing challenging. To address this challenge, we propose High-resolution Global-Local Restoration (HiGLR), an efficient multi-scale AIO-IR network grounded in an analysis of spatial redundancy in self-attention and convolutional feed-forward networks (ConvFFNs). Specifically, this analysis identifies three key redundancies: per-query readout at the finest-scale stage, key routing across neighboring queries at intermediate stages, and spatial mixing in the expanded feature spaces of ConvFFNs. Accordingly, HiGLR replaces costly self-attention at the finest-scale stage with a learned input-independent kernel. At intermediate stages, we propose a Block-Routed Hybrid Attention, which combines coarse-scale dense attention with fine-scale block-sparse attention over value residuals relative to coarse summaries, and shares routing indices across neighboring queries. We further introduce a Dual-Space FFN that performs spatial mixing in a compact space and pointwise nonlinear transformation in an expanded space, enabling efficient kernel fusion. Combining these designs, HiGLR achieves state-of-the-art performance while delivering up to a 4.24times inference speedup over existing methods.
Community
Hi everyone! ๐ I'm the first author of this paper.
TL;DR: We ask what is actually redundant at high resolution in multi-scale all-in-one image restoration (AIO-IR) networks, and use the answer to build HiGLR, a fast and memory-efficient AIO-IR model.
Our stage-wise analysis finds three redundancies, and each one leads to a design choice:
- Finest stage: what self-attention adds beyond uniform pooling is largely shared across queries โ we replace it with a learned, input-independent kernel.
- Intermediate stages: neighboring queries select largely the same keys โ Block-Routed Hybrid Attention (BRHA) shares routing indices across neighbors and combines coarse dense attention over block summaries with fine block-sparse attention over value residuals.
- ConvFFNs: spatial mixing tolerates much lower rank than the nonlinear expansion โ Dual-Space FFN (DSFFN) does spatial mixing in a compact space and keeps the expanded part pointwise, enabling kernel fusion.
With only 7M parameters, HiGLR achieves state-of-the-art results on AIO-3, AIO-5 and CDD-11, with up to 4.24ร faster inference and 65.8% lower peak GPU memory than CEA-IR-S.
NYO
Get this paper in your agent:
hf papers read 2611.33636 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper