KNN Local Attention for Image Restoration
摘要
Recent works attempt to integrate the non-local operation with CNNs or Transformer, achieving remarkable performance in image restoration tasks. The global similarity, however, has the problems of the lack of locality and the high computational complexity that is quadratic to an input resolution. The local attention mechanism alleviates these issues by introducing the inductive bias of the locality with convolution-like operators. However, by focusing only on adjacent positions, the local attention suffers from an insufficient receptive field for image restoration. In this paper, we propose a new attention mechanism for image restoration, called k-NN Image Transformer (KiT), that rectifies the above mentioned limitations. Specifically, the KiT groups k-nearest neighbor patches with locality sensitive hashing (LSH), and the grouped patches are aggregated into each query patch by performing a pair-wise local attention. In this way, the pair-wise operation establishes nonlocal connectivity while maintaining the desired properties of the local attention, i.e., inductive bias of locality and linear complexity to input resolution. The proposed method outperforms state-of-the-art restoration approaches on image denoising, deblurring and deraining benchmarks. The code will be available soon.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- High Visual-Fidelity Learned Video Compression 引用了 Reformer: The Efficient Transformer
- Sharing Key Semantics in Transformer Makes Efficient Image Restoration 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Sharing Key Semantics in Transformer Makes Efficient Image Restoration 引用了 Xformer: Hybrid X-Shaped Transformer for Image Denoising
- Sharing Key Semantics in Transformer Makes Efficient Image Restoration 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Xformer: Hybrid X-Shaped Transformer for Image Denoising 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Xformer: Hybrid X-Shaped Transformer for Image Denoising 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Xformer: Hybrid X-Shaped Transformer for Image Denoising 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- Xformer: Hybrid X-Shaped Transformer for Image Denoising 引用了 SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
- Dual-Domain Attention for Image Deblurring 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- ESSAformer: Efficient Transformer for Hyperspectral Image Super-resolution 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- ESSAformer: Efficient Transformer for Hyperspectral Image Super-resolution 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
引用它的顶会 Paper9
- ESSAformer: Efficient Transformer for Hyperspectral Image Super-resolutionMingjin Zhang, Chi Zhang, Qiming Zhang, Jie Guo 等ICCV 2023 · 73 次引用
- Dual-Domain Attention for Image DeblurringYuning Cui, Yi Tao, Wenqi Ren, Alois KnollAAAI 2023 · 68 次引用
- Xformer: Hybrid X-Shaped Transformer for Image DenoisingJiale Zhang, Yulun Zhang, Jinjin Gu, Jiahua Dong 等ICLR 2024 · 59 次引用
- Sharing Key Semantics in Transformer Makes Efficient Image RestorationBin Ren, Yawei Li, Jingyun Liang, Rakesh Ranjan 等NeurIPS 2024 · 17 次引用
- High Visual-Fidelity Learned Video CompressionMeng Li, Yibo Shi, Jing Wang, Yunqi HuangACM MM 2023 · 10 次引用
它引用的 Paper24
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar 等NeurIPS 2021 · 9,661 次引用
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan 等ICCV 2021 · 4,909 次引用
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
相关 Paper
- Cross Aggregation Transformer for Image RestorationZheng Chen, Yulun Zhang, Jinjin Gu, Yongbing Zhang 等NeurIPS 2022 · 274 次引用
- Random Shuffle Transformer for Image RestorationJie Xiao, Xueyang Fu, Man Zhou, Hongjian Liu 等ICML 2023 · 38 次引用
- Stochastic Window Transformer for Image RestorationJie Xiao, Xueyang Fu, Feng Wu, Zheng-Jun ZhaNeurIPS 2022 · 37 次引用
- T-former: An Efficient Transformer for Image InpaintingYe Deng, Siqi Hui, Sanping Zhou, Deyu Meng 等ACM MM 2022 · 58 次引用
- CLG-INet: Coupled Local-Global Interactive Network for Image RestorationYuqi Jiang, Chune Zhang, Shuo Jin, Jiao Liu 等ACM MM 2023 · 4 次引用
