Skip to main content
QUICK REVIEW

[Paper Review] On Efficient Transformer-Based Image Pre-training for Low-Level Vision

Wenbo Li, Xin Lu|arXiv (Cornell University)|Dec 19, 2021
Advanced Image Processing TechniquesComputer Science26 citations
TL;DR

The paper analyzes transformer-based pre-training for low-level vision using an encoder-decoder transformer (EDT), showing multi-related-task pre-training is data-efficient and yields state-of-the-art results in SR, denoising, and deraining.

ABSTRACT

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.

Motivation & Objective

  • Assess how pre-training influences internal representations in low-level vision tasks.
  • Investigate different pre-training strategies (single-task, unrelated tasks, related tasks) for efficiency and performance.
  • Examine how data scale and model size affect pre-training gains.
  • Compare transformer-based EDT with CNN-based architectures in the context of pre-training.
  • Provide state-of-the-art pre-trained models for SR, denoising, and deraining.

Proposed method

  • Propose an encoder-decoder-based transformer (EDT) optimized for high efficiency in low-level vision tasks.
  • Process high- and low-resolution inputs with separate paths to model long-range interactions at reduced cost.
  • Use window-based transformer blocks with downsampling and skip connections, plus transposed convolutions in decoding.
  • Explore four EDT variants (Tiny, Small, Base, Large) with different channel counts, stages, and heads.
  • Conduct pre-training on ImageNet with 200k images under single-task, multi-task unrelated, and multi-task related regimes.
  • Characterize representations using centered kernel alignment (CKA) to compare layer similarities and monitor representation changes.
  • Evaluate pre-training effects across super-resolution (SR), denoising, and deraining, with ablations on data scale and model size.

Experimental results

Research questions

  • RQ1How does pre-training affect internal representations in low-level vision transformers across SR, denoising, and deraining?
  • RQ2Which pre-training strategy (single-task, unrelated tasks, related tasks) yields the best performance and data efficiency?
  • RQ3How do data scale and model size influence the gains from pre-training?
  • RQ4Do transformer-based architectures benefit more from pre-training than CNN-based models in low-level vision?
  • RQ5What state-of-the-art results can be achieved with EDT pre-training on SR, denoising, and deraining?

Key findings

  • Pre-training introduces varying degrees of local information to intermediate layers, acting as an inductive bias.
  • SR and deraining models show staged internal representations, while denoising models are more uniformly local.
  • Multi-related-task pre-training outperforms single-task and unrelated-task strategies in SR, providing better data efficiency.
  • Larger model capacity generally yields greater gains from pre-training, and transformers can outperform CNNs with pre-training.
  • EDT achieves state-of-the-art results on multiple low-level tasks at lower compute and parameter counts than some CNN-based methods.
  • Pre-training with related tasks can match or exceed larger data scale benefits, demonstrating data efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.