On the Role of Discrete Tokenization in Visual Representation Learning

Tianqi Du, Yifei Wang, Yisen Wang
7/12/2024
cs.LGcs.CV

No official code found. Best implementation: PKU-ML/ClusterMIM (7 stars, last commit 2024-09-10).

Abstract

In the realm of self-supervised learning (SSL), masked image modeling (MIM) has gained popularity alongside contrastive learning methods. MIM involves reconstructing masked regions of input images using their unmasked portions. A notable subset of MIM methodologies employs discrete tokens as the reconstruction target, but the theoretical underpinnings of this choice remain underexplored. In this paper, we explore the role of these discrete tokens, aiming to unravel their benefits and limitations. Building upon the connection between MIM and contrastive learning, we provide a comprehensive theoretical understanding on how discrete tokenization affects the model's generalization capabilities. Furthermore, we propose a novel metric named TCAS, which is specifically designed to assess the effectiveness of discrete tokens within the MIM framework. Inspired by this metric, we contribute an innovative tokenizer design and propose a corresponding MIM method named ClusterMIM. It demonstrates superior performance on a variety of benchmark datasets and ViT backbones. Code is available at https://github.com/PKU-ML/ClusterMIM.

View on arXivView PDF

Code Implementations(1)

PKU-ML/ClusterMIMCommunity64%

Official Code for ICLR 2024 Paper: On the Role of Discrete Tokenization in Visual Representation Learning

70PythonMar 24, 20242 years ago

Similar Papers

Cite this paper

@article{du2024role,
  title  = {On the Role of Discrete Tokenization in Visual Representation Learning},
  author = {Tianqi Du and Yifei Wang and Yisen Wang},
  year   = {2024},
  eprint = {2407.09087},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.09087v1},
  journal = {ICLR 2024 2024}
}

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

Discussion