arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.06975cs.CV
收藏

用于加速图像超分辨率的高频先验驱动自适应掩码

Frequency-Guided Adaptive Computation for Efficient Single-Image Super-Resolution

School of Computer Science and Technology, Harbin Institute of Technology(计算机科学与技术学院,哈尔滨工业大学);City University of Hong Kong(香港城市大学);Tianjin University(天津大学)

Wei Shang, Wanying Zhang, Wenwen Li, Xiaohe Wu, Huaming Wu, Dongwei Ren

AI总结:

本文提出无需训练的高频先验自适应掩码方法,通过 K-means 定位边缘纹理并稀疏执行 CNN/Transformer,在 CARN、SwinIR 上减少 24–43% FLOPs 且性能相当或更优。

摘要:

加速图像超分辨率的主要挑战在于在降低计算量的同时保持性能和适应性。受高频区域(例如边缘和纹理)对重建最为关键这一观察的启发,我们提出了一种无需训练的自适应掩码加速模块,可动态地将计算集中于这些具有挑战性的区域。具体而言,我们的方法首先通过高斯模糊相减提取高频分量,并使用 K-means 聚类自适应生成二值掩码,以识别需要密集处理的区域。我们的方法可以轻松集成到 CNN 和 Transformer 中。对于基于 CNN 的架构,我们将标准 3×3 卷积替换为 unfold 操作后接 1×1 卷积,从而在掩码引导下实现像素级稀疏计算。对于基于 Transformer 的模型,我们将掩码划分为互不重叠的窗口,并根据 token 的平均值选择性地处理它们。在推理期间,不必要的像素或窗口会被剪枝,从而显著减少计算量。此外,我们的方法支持基于膨胀的掩码调整,无需重新训练即可控制处理范围,并且对未见退化(例如噪声、压缩)具有鲁棒性。在多个基准上的大量实验表明,我们的方法可为最先进模型(例如 CARN、SwinIR)减少 24–43% 的 FLOPs,同时取得相当或更好的定量指标。源代码可在 https://github.com/shangwei5/AMSR 获取。

英文摘要:

Efficient single-image super-resolution (SISR) can benefit from allocating computation according to spatially varying reconstruction difficulty, rather than uniformly processing the entire image. In this paper, we propose a frequency-guided sparse computation framework that derives input-adaptive execution policies without introducing learnable routing modules. The policy is constructed directly from the frequency responses of each input image through non-parametric response partitioning and morphological context propagation. Under the evaluated synthetic degradation shifts, this design yields more stable computation allocation than the compared adaptive methods. The resulting binary mask activates computation around frequency-responsive structures while bypassing redundant regions. We further decouple the shared non-parametric policy construction from architecture-specific sparse execution mechanisms for convolutional and Transformer-based SR backbones. For CNNs, dense convolution is reformulated as a masked projection over active local neighborhoods. For window-based Transformers, the pixel-level policy is aggregated into window-level execution decisions, allowing inactive windows to bypass the attention and feed-forward branches during inference. Across five CNN and Transformer backbones, the proposed implementations reduce floating-point operations (FLOPs) by 23.6-49.2% and measured runtime by 10.6-32.0%, while maintaining comparable reconstruction quality.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑