HiGLR:面向一体化图像修复的高效高分辨率注意力与 FFN 设计
What Is Redundant at High Resolution? Efficient Attention and Feed-Forward Design for All-in-One Image Restoration
做图像修复或高分辨率视觉的人可以看看这篇。它把注意力里的冗余拆成三类逐个优化,最终换来最高 4.24 倍的推理加速,性能还不掉,比一般直接堆多尺度结构的做法更精细。
arXiv 论文提出 HiGLR,一种面向 all-in-one 图像修复(AIO-IR)的多尺度网络,通过分析高分辨率阶段自注意力与 ConvFFN 中的空间冗余来降低计算成本。论文识别出三类冗余:最细尺度阶段的 per-query 读出、中间阶段相邻 query 的 key 路由、以及 ConvFFN 扩展特征空间中的空间混合。
针对这些冗余,HiGLR 在最细尺度阶段用学习到的输入无关卷积核替代自注意力;在中间阶段提出 Block-Routed Hybrid Attention,将粗尺度密集注意力与细尺度块稀疏注意力结合,并在相邻 query 间共享路由索引;同时引入 Dual-Space FFN,在紧凑空间做空间混合、在扩展空间做逐点非线性变换,便于内核融合。
综合这些设计,HiGLR 在保持 state-of-the-art 性能的同时,推理速度较现有方法最高提升 4.24 倍。对需要在端侧或批量处理场景部署图像修复模型的开发者而言,这类冗余分析的思路也可迁移到其他高分辨率视觉任务。
What Is Redundant at High Resolution? Efficient Attention and Feed-Forward Design for All-in-One Image Restoration
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.24\times$ inference speedup over existing methods.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include HiGLR, image restoration, attention, ConvFFN.
Source attribution: curated from arXiv cs.AI (@Dongheon Lee, DongJae Lee, Sewhan Chun, Chanseul Cho, Youngwook Kim, Youngmin Ro, Yonghyun Jeong).