Skip navigation
Introducing ConceptAttention, an approach to interpreting diffusion transformer models!
0:00 / 0:30

Introducing ConceptAttention, an approach to interpreting diffusion transformer models!

Alec Helbling

@alec_helbling12K followers

Visit on X
475 likesDownloadOriginal post

36,711 views

Introducing ConceptAttention, an approach to interpreting diffusion transformer models! Write a prompt, choose some concepts, generate an image, and get high-quality heatmaps of text concepts. Our method outperforms existing methods like cross attention. Link to demo 👇

11 Comments

Comments from the original post on X (Twitter)

  • Alec Helbling's profile picture

    @alec_helbling

    We have a live interactive demo hosted on Huggingface Spaces:

    8 likes

  • Alec Helbling's profile picture

    @alec_helbling

    Check out the code here:

    6 likes

  • Alec Helbling's profile picture

    @alec_helbling

    We repurpose the parameters of multi-modal DiT models (i.e. Flux) without training to create rich contextualized embeddings of text concepts. This allows us to create high quality saliency maps. We wrote a paper about our method:

    10 likes

  • Rainmaker's profile picture

    @RainmakerTrade

    Join me as I put several Machine Learning models head-to-head to see which one can beat the market and deliver strong returns. In this free Substack post I share several models that deliver better returns with much lower drawdown compared to Buy-and-Hold approach.

    51 likes

  • Rishi's profile picture

    @anxious599

    Very Nice Idea, Explainable AI as a field is not that much explored so nice to see good work in that domain

    2 likes

  • Rishi's profile picture

    @anxious599

    Will this work for not non Diffusion based models ?

    1 like

  • Minh Nhat Nguyen's profile picture

    @menhguin

    i am ... going to see how well this works for video

    1 like

  •  007's profile picture

    @007_eth_

    Cool

    1 like

  • Julien Blanchon 🇺🇦's profile picture

    @JulienBlanchon

    Curious about what your intuition about the entanglement between dog and cat features ?

  • Alec Helbling's profile picture

    @alec_helbling

    Absolutely. Our observations have been that this approach works very well for discerning distinct features (like dog and background) but struggles with examples like you show where you have two very similar concepts. There is clearly some more complex mechanism that allows the model to differentiate between these concepts that unfortunately our approach alone is not able to discern. It is worth noting this limitation is also at play in cross attention mechanisms, and poor object attribute assignment is a known limitation of current diffusion models.

    2 likes

  • Latent Spacer's profile picture

    @LatentSpacer

    I learned a lot from the paper, great work 👏