MOCA: Self-supervised Representation Learning by Predicting Masked Online Codebook Assignments
Abstract
Self-supervised learning can be used for mitigating the greedy needs of Vision Transformer networks for very large fully-annotated datasets. Different classes of self-supervised learning offer representations with either good contextual reasoning properties, e.g., using masked image modeling strategies, or invariance to image perturbations, e.g., with contrastive methods. In this work, we propose a single-stage and standalone method, MOCA, which unifies both desired properties using novel mask-and-predict objectives defined with high-level features (instead of pixel-level details). Moreover, we show how to effectively employ both learning paradigms in a synergistic and computation-efficient way. Doing so, we achieve new state-of-the-art results on low-shot settings and strong experimental results in various evaluation protocols with a training that is at least 3 times faster than prior methods. We provide the implementation code at https://github.com/valeoai/MOCA.
Cite
@article{arxiv.2307.09361,
title = {MOCA: Self-supervised Representation Learning by Predicting Masked Online Codebook Assignments},
author = {Spyros Gidaris and Andrei Bursuc and Oriane Simeoni and Antonin Vobecky and Nikos Komodakis and Matthieu Cord and Patrick Pérez},
journal= {arXiv preprint arXiv:2307.09361},
year = {2024}
}
Comments
Published in Transactions on Machine Learning Research (TMLR) 2024. Code at https://github.com/valeoai/MOCA