MAGMA: Manifold Regularization for MAEs

Alin Dondera, Anuj Singh, Hadi Jamali-Rad
12/3/2024
cs.CV

Official code: adondera/magma (4 stars, MIT, last commit 2024-12-05).

Abstract

Masked Autoencoders (MAEs) are an important divide in self-supervised learning (SSL) due to their independence from augmentation techniques for generating positive (and/or negative) pairs as in contrastive frameworks. Their masking and reconstruction strategy also nicely aligns with SSL approaches in natural language processing. Most MAEs are built upon Transformer-based architectures where visual features are not regularized as opposed to their convolutional neural network (CNN) based counterparts, which can potentially hinder their performance. To address this, we introduce MAGMA, a novel batch-wide layer-wise regularization loss applied to representations of different Transformer layers. We demonstrate that by plugging in the proposed regularization loss, one can significantly improve the performance of MAE-based models. We further demonstrate the impact of the proposed loss on optimizing other generic SSL approaches (such as VICReg and SimCLR), broadening the impact of the proposed approach. Our code base can be found at https://github.com/adondera/magma.

View on arXivView PDF

Code Implementations(1)

adondera/magmaOfficial100%
MIT

MAGMA: Manifold Regularization for MAEs

42Shell, PythonNov 11, 20241 years agoMIT

Similar Papers

Cite this paper

@article{dondera2024magma,
  title  = {MAGMA: Manifold Regularization for MAEs},
  author = {Alin Dondera and Anuj Singh and Hadi Jamali-Rad},
  year   = {2024},
  eprint = {2412.02871},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.02871v2}
}

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/2412.02871.svg)](https://codeofpaper.com/paper/2412.02871)

Discussion