Current CNN-based super-resolution (SR) methods process all locations equally with computational resources being uniformly assigned in space. However, since missing details in low-resolution (LR) images mainly exist in regions of edges and textures, less computational resources are required for those flat regions. Therefore, existing CNN-based methods involve redundant computation in flat regions, which increases their computational cost and limits their applications on mobile devices. In this paper, we explore the sparsity in image SR to improve inference efficiency of SR networks. Specifically, we develop a Sparse Mask SR (SMSR) network to learn sparse masks to prune redundant computation. Within our SMSR, spatial masks learn to identify "important" regions while channel masks learn to mark redundant channels in those "unimportant" regions. Consequently, redundant computation can be accurately localized and skipped while maintaining comparable performance. It is demonstrated that our SMSR achieves state-of-the-art performance with 41%/33%/27% FLOPs being reduced for x2/3/4 SR. Code is available at: https://github.com/LongguangWang/SMSR.
翻译:由于低分辨率图像缺失的细节主要存在于边缘和纹理区域,因此这些平板区域需要的计算资源较少。因此,现有的有线电视新闻网使用的方法涉及平板区域的冗余计算,这增加了其计算成本,限制了其在移动装置上的应用。在本文中,我们探索了图像SR的广度,以提高SR网络的推断效率。具体地说,我们开发了一个微缩面具SR(SMSR)网络,以学习稀薄的面具来进行冗余量计算。在我们的SMSR中,空间面具学会识别“重要”区域,同时引导面具在“不重要”区域打分。因此,冗余量计算可以准确本地化,在保持类似性能的同时可以跳过。我们SMSR达到最先进的性能,为x2/3/4SR将FLOPs降低4。代码见:https://github.com/LonggwankWang/SMSR。