How Transformers Learn Diverse Attention Correlations in Masked Vision Pretraining
<|reference_start|>How Transformers Learn Diverse Attention Correlations in Masked Vision Pretraining: Masked reconstruction, which predicts randomly masked patches from unmasked ones, has emerged as an important approach in self-supervised pretraining. However, the theoretical understanding of masked pretraining is rather limited, especially for the foundational architecture of transformers. In this paper, to the best of our knowledge, we provide the first end-to-end theoretical guarantee of learning one-layer transformers in masked reconstruction self-supervised pretraining. On the conceptual side, we posit a mechanism of how transformers trained with masked vision pretraining objectives produce empirically observed local and diverse attention patterns, on data distributions with spatial structures that highlight feature-position correlations. On the technical side, our end-to-end characterization of training dynamics in softmax-attention models simultaneously accounts for input and position embeddings, which is developed based on a careful analysis tracking the interplay between feature-wise and position-wise attention correlations.<|reference_end|>
@article{huang2024how,
    title={How Transformers Learn Diverse Attention Correlations in Masked Vision
  Pretraining},
    author={Yu Huang, Zixin Wen, Yuejie Chi, Yingbin Liang},
    journal={arXiv preprint arXiv:2403.02233},
    year={2024},
    archivePrefix={arXiv},
    eprint={2403.02233},
    primaryClass={cs.LG math.OC stat.ML}
}