CVAILGOct 12, 2022

Token-Label Alignment for Vision Transformers

Tsinghua
arXiv:2210.06455v26 citationsh-index: 97Has Code
Originality Incremental advance
AI Analysis

This work addresses a specific bottleneck in training vision transformers for computer vision tasks, offering an incremental improvement over existing data mixing techniques.

The paper tackles the token fluctuation phenomenon in vision transformers that reduces the effectiveness of data mixing strategies like CutMix, and proposes a token-label alignment method that improves performance across multiple vision tasks with negligible extra cost.

Data mixing strategies (e.g., CutMix) have shown the ability to greatly improve the performance of convolutional neural networks (CNNs). They mix two images as inputs for training and assign them with a mixed label with the same ratio. While they are shown effective for vision transformers (ViTs), we identify a token fluctuation phenomenon that has suppressed the potential of data mixing strategies. We empirically observe that the contributions of input tokens fluctuate as forward propagating, which might induce a different mixing ratio in the output tokens. The training target computed by the original data mixing strategy can thus be inaccurate, resulting in less effective training. To address this, we propose a token-label alignment (TL-Align) method to trace the correspondence between transformed tokens and the original tokens to maintain a label for each token. We reuse the computed attention at each layer for efficient token-label alignment, introducing only negligible additional training costs. Extensive experiments demonstrate that our method improves the performance of ViTs on image classification, semantic segmentation, objective detection, and transfer learning tasks. Code is available at: https://github.com/Euphoria16/TL-Align.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes