arXiv Machine Learning

Feature Evolution and Migration during Vision Transformer Training

arXiv:2608. 20134v1 Announce Type: cross Abstract: We present a novel view on feature evolution in Vision Transformers (ViTs) by visualizing the training process over two dimensions -- network depth (layer) and training time (epochs).

arXiv Computer Vision
Oct 23

Interpreting vision transformers via residual replacement model

The paper investigates how vision transformers (ViTs) represent and process visual information by conducting a systematic analysis of 6.6K features across all layers using sparse autoencoders. It introduces the residual replacement model, which substitutes ViT computations with interpretable features in the residual stream, revealing a progression from low-level patterns to high-level semantics and specialized encoding of curves and spatial positions. This model provides a scalable, faithful, and parsimonious circuit that simplifies ViT computations, enabling intuitive understanding of ViT mechanisms and demonstrating its usefulness for debiasing spurious correlations.

By Jinyeong Kim, Junhyeok Kim, Yumin Shim, Joohyeok Kim, Sunyoung Jung, Seong Jae Hwang
arXiv Machine Learning
Oct 9

Dissecting Representation Structure in Vision Transformers: A Rigorous Architectural Study

The paper presents a detailed study of feature representations in Vision Transformers (ViTs), revealing that feature collapse at initialization causes redundancy and proposing a reduction scheme to address it. It demonstrates that entropy and minimum eigenvalue metrics reliably predict generalization, and that token‑space features and linear submodule outputs are particularly informative. The authors develop a proxy that improves ranking of ViT architectures by 18‑48% over previous baselines, enabling the selection of models with higher accuracy at comparable or lower computational cost.

By Kim-Cuc Nguyen, Ngai-Man Cheung
arXiv AI
Oct 12

Understanding Transformer-based Vision Models through Inversion

The paper revisits feature inversion via inverse networks, proposing a modular variant that is computationally efficient and can produce more semantically coherent image reconstructions. It applies this method to large‑scale transformer‑based vision models—Detection Transformer, Vision Transformer, Swin Transformer, and Data‑Efficient Image Transformer—examining reconstructions across network depth. The analysis highlights gradual representational changes in Detection and Vision Transformers, systematic differences in preserving contextual shape and fine‑grained details, and varying robustness to color perturbations, while also demonstrating the framework’s broader applicability to other transformer architectures.

By Jan Rathjens, Shirin Reyhanian, David Kappel, Laurenz Wiskott
arXiv Computer Vision
Nov 5

From Activation to Intervention: Interpreting Sparse Visual Features through Reconstruction

The paper introduces Reconstructive SAE Intervention (RecSAEI), a method that uses sparse autoencoders (SAEs) to interpret visual features by actively reconstructing images along decoder directions. By intervening on representations and observing the resulting visual output, RecSAEI provides clear evidence of each feature’s semantic meaning, resolving ambiguities that arise when multiple features activate in the same image regions. Experiments across various datasets and vision encoders show that this approach disambiguates feature meanings and reveals compositional relationships between elementary visual patterns and higher‑level semantics.

By Jianyang Gu, Jacob Beattie, Mridul Khurana, Julia Chae, Xi Xiao, Cheng Zhang, Anuj Karpatne, Wei-Lun Chao, Sara Beery, Tanya Berger-Wolf
arXiv AI
Oct 2

Geometric Similarity in VLM Low-Level Vision Representations

The paper introduces GeoSim, a four‑level framework for analyzing how vision‑language models (VLMs) represent low‑level vision tasks. It evaluates hidden‑layer representations across 24 tasks and two VLM paradigms—autoregressive models and diffusion transformers—using global similarity, local geometry, sparse feature decomposition, and topological verification. The study uncovers the organizing principles of low‑level visual representations and highlights their limitations in cross‑task and cross‑model agreement, offering an interpretability lens for assessing latent transferability and diagnosing model‑specific issues.

By Shao-Jun Xia, Huixin Zhang, Zhen Lei, Anlan Sun, Yuner Zhang, Xiaoyang Chen
arXiv Computer Vision
Sep 18

A Smaller Transformer in Your Transformer

The paper introduces Transformer-Within-Transformer (TWT), a post‑hoc technique that merges contiguous redundant layers in Vision Transformers into a single surrogate layer. By doing so, TWT cuts both parameter count and inference compute while maintaining competitive performance on natural image tasks with only half the depth. In histopathology applications, TWT not only matches but sometimes surpasses the baseline model’s performance.

By Dhananjay Tomar, Marius Aasan, Andreas Kleppe, Ad\'in Ram\'irez Rivera