[论文解读] On Efficient Transformer-Based Image Pre-training for Low-Level Vision
本论文分析以编码器-解码器 transformer 为基础的预训练用于低级视觉任务,展示多相关任务预训练在数据效率方面的优势,并在超分辨、去噪和去雨方面达到最先进的结果。
Pre-training has marked numerous state of the arts in high-level computer vision, while few attempts have ever been made to investigate how pre-training acts in image processing systems. In this paper, we tailor transformer-based pre-training regimes that boost various low-level tasks. To comprehensively diagnose the influence of pre-training, we design a whole set of principled evaluation tools that uncover its effects on internal representations. The observations demonstrate that pre-training plays strikingly different roles in low-level tasks. For example, pre-training introduces more local information to higher layers in super-resolution (SR), yielding significant performance gains, while pre-training hardly affects internal feature representations in denoising, resulting in limited gains. Further, we explore different methods of pre-training, revealing that multi-related-task pre-training is more effective and data-efficient than other alternatives. Finally, we extend our study to varying data scales and model sizes, as well as comparisons between transformers and CNNs-based architectures. Based on the study, we successfully develop state-of-the-art models for multiple low-level tasks. Code is released at https://github.com/fenglinglwb/EDT.
研究动机与目标
- 评估预训练如何影响低级视觉任务中的内部表示。
- 研究不同的预训练策略(单任务、无关任务、相关任务)在效率与性能方面的表现。
- 考察数据规模和模型规模如何影响预训练的收益。
- 在预训练背景下,将基于 transformer 的 EDT 与基于 CNN 的架构进行比较。
- 提供超分辨、去噪和去雨的最先进预训练模型。
提出的方法
- 提出一种基于编码器-解码器的 transformer(EDT),针对低级视觉任务的高效性进行优化。
- 使用分离路径对高/低分辨输入进行处理,以在降低成本的同时建模长程交互。
- 使用基于窗口的 transformer 块,带下采样和跳跃连接,解码阶段再加入转置卷积。
- 探索四种 EDT 变体(Tiny、Small、Base、Large),具有不同的通道数、阶段和 heads。
- 在 ImageNet 上对 200k 图像进行预训练,分为单任务、多任务无关任务和多任务相关任务三种模式。
- 使用 centered kernel alignment (CKA) 来刻画表示,以比较层之间的相似性并监测表示变化。
- 评估预训练对超分辨(SR)、去噪和去雨的影响,并对数据规模与模型大小进行消融研究。
实验结果
研究问题
- RQ1在 SR、去噪和去雨等低级视觉变换器任务中,预训练如何影响内部表示?
- RQ2哪种预训练策略(单任务、无关任务、相关任务)在性能和数据效率方面表现最佳?
- RQ3数据规模和模型大小如何影响预训练收益?
- RQ4在低级视觉任务中,基于 transformer 的架构比基于 CNN 的模型更能从预训练中获益吗?
- RQ5通过 EDT 预训练在 SR、去噪和去雨上能达到哪些最先进的结果?
主要发现
- 预训练在中间层引入不同程度的局部信息,作为一种归纳偏置。
- SR 和去雨模型表现出分阶段的内部表示,而去噪模型则更偏向局部一致性。
- 多相关任务预训练在 SR 方面优于单任务和无关任务策略,提供更好的数据效率。
- 更大容量的模型通常能从预训练中获得更大的收益,且带有预训练的 Transformer 可以超过 CNN。
- EDT 在多项低级任务上实现了最先进的结果,且在计算量和参数数量上低于某些基于 CNN 的方法。
- 相关任务的预训练可以达到或超过更大数据规模的收益,证明数据效率。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。