Inside the Visual Mind: Neuroscience-Motivated Concept Circuits for Interpreting and Steering Vision Transformers

Tang Li, Yanlin Chen, Mengmeng Ma, Xi Peng
6/4/2026
5 citations
cs.CVcs.AIcs.LG
transformer-attention

Official code: deep-real/ViSAE (10 stars, Python, last commit 2026-05-31).

Abstract

Despite high accuracy, Vision Transformer (ViT) predictions can be driven by spurious cues, raising the need to understand their inner workings before safe deployment. Sparse autoencoders (SAEs) provide a promising lens for decomposing model representations into human-interpretable concepts, yet adapting SAE-based interpretation to ViTs remains challenging due to limited control over concept coverage and subjective, non-scalable feature interpretation.

Show full abstract

To fill the gaps, motivated by neuroscience-inspired principles, we propose ViSAE, a mechanistic interpretability toolbox for understanding ViT inner workings through concept circuits. ViSAE consists of three components: (1) A probing suite with 64K images and a 16K visually grounded concept vocabulary, improving concept coverage efficiency by 20x over ImageNet and interpretation accuracy by 28.7% over existing concept sets. (2) Top-down concept reading and Bottom-up circuit tracing algorithms that automatically recover ViT inner workings via concept circuits. (3) Applications for auditing and steering ViT behavior. Through concept editing, ViSAE improves the worst-group accuracy on WaterBirds by 48.2%, outperforming existing methods by 23.8%. Our data and code: https://github.com/deep-real/ViSAE.

View on arXivView PDF

Code Implementations(1)

deep-real/ViSAEOfficial100%
100Python, Jupyter NotebookMay 27, 20266 months ago

Similar Papers

Cite this paper

@article{li2026inside,
  title  = {Inside the Visual Mind: Neuroscience-Motivated Concept Circuits for Interpreting and Steering Vision Transformers},
  author = {Tang Li and Yanlin Chen and Mengmeng Ma and Xi Peng},
  year   = {2026},
  eprint = {2606.06664},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.06664v1}
}

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

Discussion