Exploring Token-Level Augmentation in Vision Transformer for Semi-Supervised Semantic Segmentation

Dengke Zhang, Quan Tang, Fagui Liu, Haiqing Mei, C. L. Philip Chen
3/4/2025
cs.CV

No official code found. Best implementation: zdk258/TokenSwap (2 stars, last commit 2025-04-25).

Abstract

Semi-supervised semantic segmentation has witnessed remarkable advancements in recent years. However, existing algorithms are based on convolutional neural networks and directly applying them to Vision Transformers poses certain limitations due to conceptual disparities. To this end, we propose TokenMix, a data augmentation technique specifically designed for semi-supervised semantic segmentation with Vision Transformers. TokenMix aligns well with the global attention mechanism by mixing images at the token level, enhancing learning capability for contextual information among image patches. We further incorporate image augmentation and feature augmentation to promote the diversity of augmentation. Moreover, to enhance consistency regularization, we propose a dual-branch framework where each branch applies image and feature augmentation to the input image. We conduct extensive experiments across multiple benchmark datasets, including Pascal VOC 2012, Cityscapes, and COCO. Results suggest that the proposed method outperforms state-of-the-art algorithms with notably observed accuracy improvement, especially under limited fine annotations.

View on arXivView PDF

Code Implementations(1)

zdk258/TokenSwapCommunity100%

Implementation of "Exploring Token-Level Augmentation in Vision Transformer for Semi-Supervised Semantic Segmentation"

20PythonApr 14, 20251 years ago
semi-supervised-semantic-segmentationtokenswapvision-transformer

Similar Papers

Cite this paper

@article{zhang2025exploring,
  title  = {Exploring Token-Level Augmentation in Vision Transformer for Semi-Supervised Semantic Segmentation},
  author = {Dengke Zhang and Quan Tang and Fagui Liu and Haiqing Mei and C. L. Philip Chen},
  year   = {2025},
  eprint = {2503.02459},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.02459v2}
}

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

Discussion