Unleashing Diffusion Transformers for Visual Correspondence by Modulating Massive Activations

Chao-Fan Gan, Yuan-Peng Tu, Xi Chen, Tie-Yuan Chen, Yuxi Li +2 more
5/1/2025
diffusion-flowtransformer-attention

No confident code implementation found for this paper.

Abstract

Pre-trained stable diffusion models (SD) have shown great advances in visual correspondence. In this paper, we investigate the capabilities of Diffusion Transformers (DiTs) for accurate dense correspondence.

Show full abstract

Distinct from SD, DiTs exhibit a critical phenomenon in which very few feature activations exhibit significantly larger values than others, known as \textit{massive activations}, leading to uninformative representations and significant performance degradation for DiTs. The massive activations consistently concentrate at very few fixed dimensions across all image patch tokens, holding little local information. We analyze these dimension-concentrated massive activations and uncover that their concentration is inherently linked to the Adaptive Layer Normalization (AdaLN) in DiTs. Building on these findings, we propose the \textbf{Di}ffusion \textbf{T}ransformer \textbf{F}eature (DiTF), a training-free AdaLN-based framework that extracts semantically discriminative features from DiTs. Specifically, DiTF leverages AdaLN to adaptively localize and normalize massive activations through channel-wise modulation. Furthermore, a channel discard strategy is introduced to mitigate the adverse effects of massive activations. Experimental results demonstrate that our DiTF outperforms both DINO and SD-based models and establishes a new state-of-the-art performance for DiTs in different visual correspondence tasks (\eg, with +9.4\% on Spair-71k and +4.4\% on AP-10K-C.S.).

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. Any repos shown below are weak matches — 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{gan2025unleashing,
  title  = {Unleashing Diffusion Transformers for Visual Correspondence by Modulating Massive Activations},
  author = {Chao-Fan Gan and Yuan-Peng Tu and Xi Chen and Tie-Yuan Chen and Yuxi Li and Mehrtash Harandi and Wei-Yao Lin},
  year   = {2025},
  eprint = {2505.18584},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.18584},
  url    = {https://doi.org/10.48550/arXiv.2505.18584},
  journal = {Neural Information Processing Systems}
}

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

Discussion