Towards a Mechanistic Explanation of Diffusion Model Generalization

Abstract

We propose a simple, training-free mechanism which explains the generalization behaviour of diffusion models. By comparing pre-trained diffusion models to their theoretically optimal empirical counterparts, we identify a shared local inductive bias across a variety of network architectures. From this observation, we hypothesize that network denoisers generalize through localized denoising operations, as these operations approximate the training objective well over much of the training distribution. To validate our hypothesis, we introduce novel denoising algorithms which aggregate local empirical denoisers to replicate network behaviour. Comparing these algorithms to network denoisers across forward and reverse diffusion processes, our approach exhibits consistent visual similarity to neural network outputs, with lower mean squared error than previously proposed methods.

Cite

Text

Niedoba et al. "Towards a Mechanistic Explanation of Diffusion Model Generalization." Proceedings of the 42nd International Conference on Machine Learning, 2025.

Markdown

[Niedoba et al. "Towards a Mechanistic Explanation of Diffusion Model Generalization." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/niedoba2025icml-mechanistic/)

BibTeX

@inproceedings{niedoba2025icml-mechanistic,
  title     = {{Towards a Mechanistic Explanation of Diffusion Model Generalization}},
  author    = {Niedoba, Matthew and Zwartsenberg, Berend and Murphy, Kevin Patrick and Wood, Frank},
  booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
  year      = {2025},
  pages     = {46389-46411},
  volume    = {267},
  url       = {https://mlanthology.org/icml/2025/niedoba2025icml-mechanistic/}
}