AI Pulse
📄 论文解读

修图 AI 提速 4 倍,靠的是少看几眼

AI 修复高清照片,最贵的功夫竟花在反复看几乎一样的地方。研究者发现,这类模型在高清阶段有大量重复计算:相邻区域各自做一遍几乎相同的注意力检索,中间网络也在放大的特征空间里重复混合信息。他们的 HiGLR 模型据此做减法:最精细层不再逐点计算注意力,改用一套学好的固定卷积核;中间层让相邻区域共享检索路线,只细看与粗略画面不同的部分;后续网络则把空间混合压缩到小空间里完成。最终修复效果达到现有最佳水平,推理速度最高提升 4.24 倍。它不是你明天就能用上的修图功能,但展示了高清 AI 修复的一条前沿路线:少做重复计算,而不是一味堆大模型。

📄 原文摘要(英文)

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.

arXiv 原文

订阅 AI Pulse

每天 08:00 · 12:30 · 18:30 · 23:50 更新