Skip to main content
QUICK REVIEW

[Paper Review] Towards Understanding Why Mask-Reconstruction Pretraining Helps in Downstream Tasks

Jiachun Pan, Pan Zhou|arXiv (Cornell University)|Jun 8, 2022
Advanced Neural Network ApplicationsComputer Science6 citations
TL;DR

This paper provides a theoretical analysis of mask-reconstruction pretraining (MRP), showing that MRP with a two- or one-layered convolutional auto-encoder captures all discriminative features of each semantic class in the pretraining data. It further proves that fine-tuned MRP models achieve superior generalization over supervised learning by preserving features across diverse downstream datasets, with theoretical guarantees on high test accuracy for both single- and multi-view data.

ABSTRACT

For unsupervised pretraining, mask-reconstruction pretraining (MRP) approaches, e.g. MAE and data2vec, randomly mask input patches and then reconstruct the pixels or semantic features of these masked patches via an auto-encoder. Then for a downstream task, supervised fine-tuning the pretrained encoder remarkably surpasses the conventional ``supervised learning'' (SL) trained from scratch. However, it is still unclear 1) how MRP performs semantic feature learning in the pretraining phase and 2) why it helps in downstream tasks. To solve these problems, we first theoretically show that on an auto-encoder of a two/one-layered convolution encoder/decoder, MRP can capture all discriminative features of each potential semantic class in the pretraining dataset. Then considering the fact that the pretraining dataset is of huge size and high diversity and thus covers most features in downstream dataset, in fine-tuning phase, the pretrained encoder can capture as much features as it can in downstream datasets, and would not lost these features with theoretical guarantees. In contrast, SL only randomly captures some features due to lottery ticket hypothesis. So MRP provably achieves better performance than SL on the classification tasks. Experimental results testify to our data assumptions and also our theoretical implications.

Motivation & Objective

  • To understand how mask-reconstruction pretraining (MRP) performs semantic feature learning during pretraining.
  • To explain why MRP achieves superior performance on downstream tasks compared to end-to-end supervised learning.
  • To theoretically demonstrate that MRP captures all discriminative features of each semantic class in the pretraining dataset.
  • To show that MRP generalizes better than supervised learning due to feature coverage and kernel specialization.
  • To provide theoretical guarantees for high test accuracy in downstream classification tasks under shared data distribution.

Proposed method

  • Theoretical analysis is conducted on a two- or one-layered convolutional auto-encoder architecture for MRP.
  • The analysis assumes multi-view or single-view data with discriminative features, based on the multi-view data assumption from Allen-Zhu & Li (2020).
  • It proves that each convolution kernel in the encoder captures at most one feature, preventing feature fusion and enabling clear class discrimination.
  • The paper shows that since the pretraining dataset is large and diverse, it covers most features in the downstream dataset, allowing the pretrained encoder to generalize well.
  • Theoretical comparison is made between MRP and supervised learning, showing MRP achieves higher test accuracy under shared data distribution.
  • The analysis uses gradient updates and kernel dynamics to show that MRP preserves feature representations through fine-tuning.

Experimental results

Research questions

  • RQ1How does mask-reconstruction pretraining (MRP) learn semantic features during pretraining?
  • RQ2Why does MRP outperform end-to-end supervised learning on downstream classification tasks?
  • RQ3Can MRP theoretically guarantee better feature coverage and generalization than supervised learning?
  • RQ4What is the role of kernel specialization in MRP's success for downstream tasks?
  • RQ5Does MRP preserve discriminative features from pretraining to fine-tuning with theoretical guarantees?

Key findings

  • MRP with a two- or one-layered convolutional auto-encoder captures all discriminative features of each semantic class in the pretraining dataset.
  • Each convolution kernel in the encoder captures at most one feature, preventing feature fusion and enabling clear class discrimination in downstream tasks.
  • Due to the large and diverse pretraining dataset, MRP captures features that cover most of those in the downstream dataset, enabling strong generalization.
  • After fine-tuning, MRP achieves high test accuracy on both single-view and multi-view data, outperforming supervised learning, which only achieves half accuracy on single-view data.
  • Theoretical analysis shows MRP maintains feature representations through fine-tuning, with guarantees on correct classification of new samples.
  • The results hold under the assumption that pretraining and downstream datasets share the same data distribution.

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.