Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Vision Transformer Visualization: What Neurons Tell and How Neurons Behave? (2210.07646v2)

Published 14 Oct 2022 in cs.CV and cs.LG

Abstract: Recently vision transformers (ViT) have been applied successfully for various tasks in computer vision. However, important questions such as why they work or how they behave still remain largely unknown. In this paper, we propose an effective visualization technique, to assist us in exposing the information carried in neurons and feature embeddings across the ViT's layers. Our approach departs from the computational process of ViTs with a focus on visualizing the local and global information in input images and the latent feature embeddings at multiple levels. Visualizations at the input and embeddings at level 0 reveal interesting findings such as providing support as to why ViTs are rather generally robust to image occlusions and patch shuffling; or unlike CNNs, level 0 embeddings already carry rich semantic details. Next, we develop a rigorous framework to perform effective visualizations across layers, exposing the effects of ViTs filters and grouping/clustering behaviors to object patches. Finally, we provide comprehensive experiments on real datasets to qualitatively and quantitatively demonstrate the merit of our proposed methods as well as our findings. https://github.com/byM1902/ViT_visualization

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Van-Anh Nguyen (8 papers)
  2. Khanh Pham Dinh (1 paper)
  3. Long Tung Vuong (3 papers)
  4. Thanh-Toan Do (92 papers)
  5. Quan Hung Tran (20 papers)
  6. Dinh Phung (147 papers)
  7. Trung Le (94 papers)
Citations (1)
Github Logo Streamline Icon: https://streamlinehq.com