CL-MAE: Curriculum-Learned Masked Autoencoders

Neelu Madan, Nicolae-Catalin Ristea, Kamal Nasrollahi, Thomas B. Moeslund, Radu Tudor Ionescu
8/31/2023
cs.CVcs.AIcs.LG

Official code: ristea/cl-mae (12 stars, MIT, last commit 2024-01-30).

Abstract

Masked image modeling has been demonstrated as a powerful pretext task for generating robust representations that can be effectively generalized across multiple downstream tasks. Typically, this approach involves randomly masking patches (tokens) in input images, with the masking strategy remaining unchanged during training. In this paper, we propose a curriculum learning approach that updates the masking strategy to continually increase the complexity of the self-supervised reconstruction task. We conjecture that, by gradually increasing the task complexity, the model can learn more sophisticated and transferable representations. To facilitate this, we introduce a novel learnable masking module that possesses the capability to generate masks of different complexities, and integrate the proposed module into masked autoencoders (MAE). Our module is jointly trained with the MAE, while adjusting its behavior during training, transitioning from a partner to the MAE (optimizing the same reconstruction loss) to an adversary (optimizing the opposite loss), while passing through a neutral state. The transition between these behaviors is smooth, being regulated by a factor that is multiplied with the reconstruction loss of the masking module. The resulting training procedure generates an easy-to-hard curriculum. We train our Curriculum-Learned Masked Autoencoder (CL-MAE) on ImageNet and show that it exhibits superior representation learning capabilities compared to MAE. The empirical results on five downstream tasks confirm our conjecture, demonstrating that curriculum learning can be successfully used to self-supervise masked autoencoders. We release our code at https://github.com/ristea/cl-mae.

View on arXivView PDF

Code Implementations(1)

ristea/cl-maeOfficial100%
MIT
122PythonOct 25, 20232 years agoMIT

Similar Papers

Cite this paper

@article{madan2023clmae,
  title  = {CL-MAE: Curriculum-Learned Masked Autoencoders},
  author = {Neelu Madan and Nicolae-Catalin Ristea and Kamal Nasrollahi and Thomas B. Moeslund and Radu Tudor Ionescu},
  year   = {2023},
  eprint = {2308.16572},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.16572v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.16572.svg)](https://codeofpaper.com/paper/2308.16572)

Discussion