Self-Attention Decomposition For Training Free Diffusion Editing

Tharun Anand, Mohammad Hassan Vali, Arno Solin, Green Rosh, BH Pawan Prasad
10/26/2025
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Diffusion models achieve remarkable fidelity in image synthesis, yet precise control over their outputs for targeted editing remains challenging. A key step toward controllability is to identify interpretable directions in the model's latent representations that correspond to semantic attributes. Existing approaches for finding interpretable directions typically rely on sampling large sets of images or training auxiliary networks, which limits efficiency. We propose an analytical method that derives semantic editing directions directly from the pretrained parameters of diffusion models, requiring neither additional data nor fine-tuning. Our insight is that self-attention weight matrices encode rich structural information about the data distribution learned during training. By computing the eigenvectors of these weight matrices, we obtain robust and interpretable editing directions. Experiments demonstrate that our method produces high-quality edits across multiple datasets while reducing editing time significantly by 60% over current benchmarks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{anand2025selfattention,
  title  = {Self-Attention Decomposition For Training Free Diffusion Editing},
  author = {Tharun Anand and Mohammad Hassan Vali and Arno Solin and Green Rosh and BH Pawan Prasad},
  year   = {2025},
  eprint = {2510.22650},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.22650v2}
}

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

Discussion