paper-with-me

홈 › Papers

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

2023-06-12 · Roberto Amoroso, Marcella Cornia, Lorenzo Baraldi, Andrea Pilzer, Rita Cucchiara

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.

📄 PDF Abstract BibTeX arXiv:2306.07346

Code (1)

aimagelab/mapet 공식 구현 pytorch

Tasks

Image Classification

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Position-Wise Feed-Forward Layer 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

MixMAE: Mixed and Masked Autoencoder for Efficient Pretraining of Hierarchical Vision Transformers

2022-05-26 · CVPR 2023 1 · Jihao Liu, Xin Huang, Jinliang Zheng, Yu Liu 외

In this paper, we propose Mixed and Masked AutoEncoder (MixMAE), a simple but efficient pretraining method that is applicable to various hierarchical Vision Transformers. Existing masked image modeling (MIM) methods for …

Image ClassificationObject DetectionRepresentation LearningSemantic Segmentation

PermuteFormer: Efficient Relative Position Encoding for Long Sequences

2021-09-06 · EMNLP 2021 11 · Peng Chen

A recent variation of Transformer, Performer, scales Transformer to longer sequences with a linear attention mechanism. However, it is not compatible with relative position encoding, which has advantages over absolute po…

Language ModelingLanguage ModellingPosition

Masked and Permuted Implicit Context Learning for Scene Text Recognition

2023-05-25 · Xiaomeng Yang, Zhi Qiao, Jin Wei, Dongbao Yang 외

Scene Text Recognition (STR) is difficult because of the variations in text styles, shapes, and backgrounds. Though the integration of linguistic information enhances models' performance, existing methods based on either…

DecoderLanguage ModelingLanguage ModellingMasked Language Modeling+1

BEiT: BERT Pre-Training of Image Transformers

2021-06-15 · ICLR 2022 4 · Hangbo Bao, Li Dong, Songhao Piao, Furu Wei

We introduce a self-supervised vision representation model BEiT, which stands for Bidirectional Encoder representation from Image Transformers. Following BERT developed in the natural language processing area, we propose…

Document Image ClassificationDocument Layout Analysisimage-classificationImage Classification+2

MPNet: Masked and Permuted Pre-training for Language Understanding

2020-04-20 · NeurIPS 2020 12 · Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu 외

BERT adopts masked language modeling (MLM) for pre-training and is one of the most successful pre-training models. Since BERT neglects dependency among predicted tokens, XLNet introduces permuted language modeling (PLM) …

Language ModelingLanguage ModellingMasked Language ModelingOnly Connect Walls Dataset Task 1 (Grouping)+2