ConceptAttention: Diffusion Transformers Learn Highly Interpretable Features

Alec Helbling, Tuna Han Salih Meral, Ben Hoover, Pinar Yanardag, Duen Horng Chau
2/6/2025
cs.CVcs.LG

No official code found. Best implementation: helblazer811/ConceptAttention (458 stars, last commit 2026-01-16).

Abstract

Do the rich representations of multi-modal diffusion transformers (DiTs) exhibit unique properties that enhance their interpretability? We introduce ConceptAttention, a novel method that leverages the expressive power of DiT attention layers to generate high-quality saliency maps that precisely locate textual concepts within images. Without requiring additional training, ConceptAttention repurposes the parameters of DiT attention layers to produce highly contextualized concept embeddings, contributing the major discovery that performing linear projections in the output space of DiT attention layers yields significantly sharper saliency maps compared to commonly used cross-attention maps. ConceptAttention even achieves state-of-the-art performance on zero-shot image segmentation benchmarks, outperforming 15 other zero-shot interpretability methods on the ImageNet-Segmentation dataset. ConceptAttention works for popular image models and even seamlessly generalizes to video generation. Our work contributes the first evidence that the representations of multi-modal DiTs are highly transferable to vision tasks like segmentation.

View on arXivView PDF

Code Implementations(1)

ConceptAttention: A method for interpreting multi-modal diffusion transformers.

45830CSS, HTMLJan 30, 20259 months ago

Similar Papers

Cite this paper

@article{helbling2025conceptattention,
  title  = {ConceptAttention: Diffusion Transformers Learn Highly Interpretable Features},
  author = {Alec Helbling and Tuna Han Salih Meral and Ben Hoover and Pinar Yanardag and Duen Horng Chau},
  year   = {2025},
  eprint = {2502.04320},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.04320v2},
  journal = {ICML 2025 2025}
}

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

Discussion