Skip to search boxSkip to navigationSkip to main content

Patch Explorer: Interpreting Diffusion Models through Interaction

  • ,
  • Jaden Fiotto-Kaufman
    ,
  • Rohit Gandikota
    ,
  • David Bau
Research Output:
Contribution to conference - NOT published in proceeding or journal
Paper
Peer-review

Open access

Publication Information

Output type

Research Output:
Contribution to conference - NOT published in proceeding or journal
Paper
Peer-review

Original language

English

Publication milestones

  • Published - 2025

Publication status

Published - 2025

Abstract

We introduce Patch Explorer, an interactive interface for visualizing and manipulating the patches as they are processed by cross-attention heads. Built on interventions via NNsight, our interface lets users inspect and manipulate individual attention heads over layers and timesteps. Interaction via the interface reveals that attention heads independently capture semantics, like a unicorn’s horn, in diffusion models. Next to offering a way to analyze its behavior, users can also intervene with Patch Explorer to edit semantic associations within diffusion models, like adding a unicorn horn to a horse. Our interface also helps understand the role of a diffusion timestep through precise interventions. By providing a visualization tool with interactivity based on attention heads, we aim to shed light on their role in generative processes.

Access to documents

Final published version
License:Unspecified

Related Event

Title

CVPR 2025 - 1st Workshop on Mechanistic Interpretability in Computer Vision

Event type

Conference

Date

12/06/2020

Location

NashvilleTNUnited States