Towards a Mechanistic Explanation of Diffusion Model Generalization

Matthew Niedoba, Berend Zwartsenberg, Kevin Murphy, Frank Wood
11/28/2024
cs.LGcs.AIcs.CV

No official code found. Best implementation: plai-group/pspc (2 stars, last commit 2025-06-07).

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.

View on arXivView PDF

Code Implementations(1)

plai-group/pspcCommunity64%

Implementation for "Towards a Mechanistic Explanation of Diffusion Model Generalization".

21PythonApr 11, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{niedoba2024towards,
  title  = {Towards a Mechanistic Explanation of Diffusion Model Generalization},
  author = {Matthew Niedoba and Berend Zwartsenberg and Kevin Murphy and Frank Wood},
  year   = {2024},
  eprint = {2411.19339},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.19339v3}
}

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

Discussion