While some studies have proven that Swin Transformer (Swin) with window self-attention (WSA) is suitable for single image super-resolution (SR), the plain WSA ignores the broad regions when reconstructing high-resolution images due to a limited receptive field. In addition, many deep learning SR methods suffer from intensive computations. To address these problems, we introduce the N-Gram context to the low-level vision with Transformers for the first time. We define N-Gram as neighboring local windows in Swin, which differs from text analysis that views N-Gram as consecutive characters or words. N-Grams interact with each other by sliding-WSA, expanding the regions seen to restore degraded pixels. Using the N-Gram context, we propose NGswin, an efficient SR network with SCDP bottleneck taking multi-scale outputs of the hierarchical encoder. Experimental results show that NGswin achieves competitive performance while maintaining an efficient structure when compared with previous leading methods. Moreover, we also improve other Swin-based SR methods with the N-Gram context, thereby building an enhanced model: SwinIR-NG. Our improved SwinIR-NG outperforms the current best lightweight SR approaches and establishes state-of-the-art results. Codes are available at https://github.com/rami0205/NGramSwin.


翻译:尽管已有研究证明,基于窗口自注意力(WSA)的Swin Transformer适用于单图像超分辨率(SR),但由于其有限的感受野,普通WSA在重建高分辨率图像时会忽略大范围区域。此外,许多基于深度学习的超分辨率方法面临计算量大的问题。为解决这些问题,我们首次将N-Gram上下文引入基于Transformer的低层视觉领域。与文本分析中将N-Gram视为连续字符或词语不同,我们将N-Gram定义为Swin中相邻的局部窗口。N-Gram通过滑动窗口自注意力(sliding-WSA)相互交互,从而扩展观测区域以恢复退化像素。利用N-Gram上下文,我们提出NGswin,一种高效的超分辨率网络,该网络采用SCDP瓶颈结构处理层次化编码器生成的多尺度输出。实验结果表明,与先前领先方法相比,NGswin在保持高效结构的同时实现了具有竞争力的性能。此外,我们还利用N-Gram上下文改进了其他基于Swin的超分辨率方法,构建了增强模型SwinIR-NG。改进后的SwinIR-NG超越了当前最优的轻量级超分辨率方法,并取得了最先进的结果。代码已开源至https://github.com/rami0205/NGramSwin。

0
下载
关闭预览

相关内容

VCIP 2022 Call for Demos
CCF多媒体专委会
1+阅读 · 2022年6月6日
Hierarchically Structured Meta-learning
CreateAMind
27+阅读 · 2019年5月22日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
ResNet, AlexNet, VGG, Inception:各种卷积网络架构的理解
全球人工智能
20+阅读 · 2017年12月17日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2013年12月31日
国家自然科学基金
0+阅读 · 2013年12月31日
国家自然科学基金
0+阅读 · 2013年12月31日
国家自然科学基金
1+阅读 · 2013年12月31日
国家自然科学基金
0+阅读 · 2012年12月31日
国家自然科学基金
3+阅读 · 2011年12月31日
国家自然科学基金
0+阅读 · 2009年12月31日
Arxiv
0+阅读 · 2023年5月8日
Arxiv
34+阅读 · 2022年2月15日
Arxiv
17+阅读 · 2021年1月21日
VIP会员
最新内容
“史诗怒火”行动:现代多域作战的重要节点
专知会员服务
5+阅读 · 今天5:05
《下一代无线网络中的多无人机通信资源管理》
专知会员服务
4+阅读 · 今天5:00
《同步多无人机系统中的故障与通信》
专知会员服务
4+阅读 · 7月29日
面向国防作战的最佳自主与蜂群无人机技术
专知会员服务
7+阅读 · 7月28日
相关VIP内容
相关基金
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2013年12月31日
国家自然科学基金
0+阅读 · 2013年12月31日
国家自然科学基金
0+阅读 · 2013年12月31日
国家自然科学基金
1+阅读 · 2013年12月31日
国家自然科学基金
0+阅读 · 2012年12月31日
国家自然科学基金
3+阅读 · 2011年12月31日
国家自然科学基金
0+阅读 · 2009年12月31日
Top
微信扫码咨询专知VIP会员