Morphing Tokens Draw Strong Masked Image Models

Taekyung Kim, Dongyoon Han, Byeongho Heo
2/12/2026

No official code found. Best implementation: naver-ai/dtm (4 stars, last commit 2025-03-29).

Abstract

Masked image modeling (MIM) has emerged as a promising approach for pre-training Vision Transformers (ViTs). MIMs predict masked tokens token-wise to recover target signals that are tokenized from images or generated by pre-trained models like vision-language models. While using tokenizers or pre-trained models is viable, they often offer spatially inconsistent supervision even for neighboring tokens, hindering models from learning discriminative representations. Our pilot study identifies spatial inconsistency in supervisory signals and suggests that addressing it can improve representation learning. Building upon this insight, we introduce Dynamic Token Morphing (DTM), a novel method that dynamically aggregates tokens while preserving context to generate contextualized targets, thereby likely reducing spatial inconsistency. DTM is compatible with various SSL frameworks; we showcase significantly improved MIM results, barely introducing extra training costs. Our method facilitates MIM training by using more spatially consistent targets, resulting in improved training trends as evidenced by lower losses. Experiments on ImageNet-1K and ADE20K demonstrate DTM's superiority, which surpasses complex state-of-the-art MIM methods. Furthermore, the evaluation of transfer learning on downstream tasks like iNaturalist, along with extensive empirical studies, supports DTM's effectiveness.

View on arXivView PDF

Code Implementations(1)

naver-ai/dtmCommunity100%
40PythonApr 3, 20241 years agoNOASSERTION

Similar Papers

Cite this paper

@article{kim2026morphing,
  title  = {Morphing Tokens Draw Strong Masked Image Models},
  author = {Taekyung Kim and Dongyoon Han and Byeongho Heo},
  year   = {2026},
  eprint = {2401.00254},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2401.00254},
  journal = {ICLR 2023 2023}
}

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

Discussion