Learning to Mask and Permute Visual Tokens for Vision Transformer Pre-Training

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Baraldi, Lorenzo, Amoroso, Roberto, Cornia, Marcella, Pilzer, Andrea, Cucchiara, Rita
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910793093611520
author Baraldi, Lorenzo
Amoroso, Roberto
Cornia, Marcella
Baraldi, Lorenzo
Pilzer, Andrea
Cucchiara, Rita
author_facet Baraldi, Lorenzo
Amoroso, Roberto
Cornia, Marcella
Baraldi, Lorenzo
Pilzer, Andrea
Cucchiara, Rita
contents The use of self-supervised pre-training has emerged as a promising approach to enhance the performance of many different visual tasks. In this context, recent approaches have employed the Masked Image Modeling paradigm, which pre-trains a backbone by reconstructing visual tokens associated with randomly masked image patches. This masking approach, however, introduces noise into the input data during pre-training, leading to discrepancies that can impair performance during the fine-tuning phase. Furthermore, input masking neglects the dependencies between corrupted patches, increasing the inconsistencies observed in downstream fine-tuning tasks. To overcome these issues, we propose a new self-supervised pre-training approach, named Masked and Permuted Vision Transformer (MaPeT), that employs autoregressive and permuted predictions to capture intra-patch dependencies. In addition, MaPeT employs auxiliary positional information to reduce the disparity between the pre-training and fine-tuning phases. In our experiments, we employ a fair setting to ensure reliable and meaningful comparisons and conduct investigations on multiple visual tokenizers, including our proposed $k$-CLIP which directly employs discretized CLIP features. Our results demonstrate that MaPeT achieves competitive performance on ImageNet, compared to baselines and competitors under the same model setting. We release an implementation of our code and models at https://github.com/aimagelab/MaPeT.
format Preprint
id arxiv_https___arxiv_org_abs_2306_07346
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Learning to Mask and Permute Visual Tokens for Vision Transformer Pre-Training
Baraldi, Lorenzo
Amoroso, Roberto
Cornia, Marcella
Baraldi, Lorenzo
Pilzer, Andrea
Cucchiara, Rita
Computer Vision and Pattern Recognition
Artificial Intelligence
Multimedia
The use of self-supervised pre-training has emerged as a promising approach to enhance the performance of many different visual tasks. In this context, recent approaches have employed the Masked Image Modeling paradigm, which pre-trains a backbone by reconstructing visual tokens associated with randomly masked image patches. This masking approach, however, introduces noise into the input data during pre-training, leading to discrepancies that can impair performance during the fine-tuning phase. Furthermore, input masking neglects the dependencies between corrupted patches, increasing the inconsistencies observed in downstream fine-tuning tasks. To overcome these issues, we propose a new self-supervised pre-training approach, named Masked and Permuted Vision Transformer (MaPeT), that employs autoregressive and permuted predictions to capture intra-patch dependencies. In addition, MaPeT employs auxiliary positional information to reduce the disparity between the pre-training and fine-tuning phases. In our experiments, we employ a fair setting to ensure reliable and meaningful comparisons and conduct investigations on multiple visual tokenizers, including our proposed $k$-CLIP which directly employs discretized CLIP features. Our results demonstrate that MaPeT achieves competitive performance on ImageNet, compared to baselines and competitors under the same model setting. We release an implementation of our code and models at https://github.com/aimagelab/MaPeT.
title Learning to Mask and Permute Visual Tokens for Vision Transformer Pre-Training
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Multimedia
url https://arxiv.org/abs/2306.07346