Automatic Discovery of Visual Circuits

Achyuta Rajaram, Neil Chowdhury, Antonio Torralba, Jacob Andreas, Sarah Schwettmann
4/22/2024
cs.CVcs.AI

No official code found. Best implementation: multimodal-interpretability/visual-circuits (5 stars, MIT, last commit 2024-04-22).

Abstract

To date, most discoveries of network subcomponents that implement human-interpretable computations in deep vision models have involved close study of single units and large amounts of human labor. We explore scalable methods for extracting the subgraph of a vision model's computational graph that underlies recognition of a specific visual concept. We introduce a new method for identifying these subgraphs: specifying a visual concept using a few examples, and then tracing the interdependence of neuron activations across layers, or their functional connectivity. We find that our approach extracts circuits that causally affect model output, and that editing these circuits can defend large pretrained models from adversarial attacks.

View on arXivView PDF

Code Implementations(1)

MIT

Code and data for the NeurIPS ATTRIB 2023 paper: Automatic Discovery of Visual Circuits

50Mar 13, 20242 years agoMIT

Similar Papers

Cite this paper

@article{rajaram2024automatic,
  title  = {Automatic Discovery of Visual Circuits},
  author = {Achyuta Rajaram and Neil Chowdhury and Antonio Torralba and Jacob Andreas and Sarah Schwettmann},
  year   = {2024},
  eprint = {2404.14349},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.14349v1}
}

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

Discussion