Emergence of Segmentation with Minimalistic White-Box Transformers

Yaodong Yu, Tianzhe Chu, Shengbang Tong, Ziyang Wu, Druv Pai +2 more
8/30/2023
32 citations
cs.CVcs.LG
transformer-attentioncontrastive-ssl

Official code: Ma-Lab-Berkeley/CRATE (1,274 stars, Python, MIT, last commit 2024-10-23).

Abstract

Transformer-like models for vision tasks have recently proven effective for a wide range of downstream applications such as segmentation and detection. Previous works have shown that segmentation properties emerge in vision transformers (ViTs) trained using self-supervised methods such as DINO, but not in those trained on supervised classification tasks.

Show full abstract

In this study, we probe whether segmentation emerges in transformer-based models solely as a result of intricate self-supervised learning mechanisms, or if the same emergence can be achieved under much broader conditions through proper design of the model architecture. Through extensive experimental results, we demonstrate that when employing a white-box transformer-like architecture known as CRATE, whose design explicitly models and pursues low-dimensional structures in the data distribution, segmentation properties, at both the whole and parts levels, already emerge with a minimalistic supervised training recipe. Layer-wise finer-grained analysis reveals that the emergent properties strongly corroborate the designed mathematical functions of the white-box network. Our results suggest a path to design white-box foundation models that are simultaneously highly performant and mathematically fully interpretable. Code is at \url{https://github.com/Ma-Lab-Berkeley/CRATE}.

View on arXivView PDF

Code Implementations(1)

MIT

Code for CRATE (Coding RAte reduction TransformEr).

1,27498PythonMay 29, 20232 years agoMIT
compressionsparsificationtransformer-architecturewhite-box-architecture

Similar Papers

Cite this paper

@article{yu2023emergence,
  title  = {Emergence of Segmentation with Minimalistic White-Box Transformers},
  author = {Yaodong Yu and Tianzhe Chu and Shengbang Tong and Ziyang Wu and Druv Pai and Sam Buchanan and Yi Ma},
  year   = {2023},
  eprint = {2308.16271},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.16271v1}
}

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

Discussion