The Tree of Diffusion Life: Evolutionary Embeddings to Understand the Generation Process of Diffusion Models
<|reference_start|>The Tree of Diffusion Life: Evolutionary Embeddings to Understand the Generation Process of Diffusion Models: Diffusion models generate high-quality samples by corrupting data with Gaussian noise and iteratively reconstructing it with deep learning, slowly transforming noisy images into refined outputs. Understanding this data evolution is important for interpretability but is complex due to its high-dimensional evolutionary nature. While traditional dimensionality reduction methods like t-distributed stochastic neighborhood embedding (t-SNE) aid in understanding high-dimensional spaces, they neglect evolutionary structure preservation. Hence, we propose Tree of Diffusion Life (TDL), a method to understand data evolution in the generative process of diffusion models. TDL samples a diffusion model's generative space via instances with varying prompts and employs image encoders to extract semantic meaning from these samples, projecting them to an intermediate space. It employs a novel evolutionary embedding algorithm that explicitly encodes the iterations while preserving the high-dimensional relations, facilitating the visualization of data evolution. This embedding leverages three metrics: a standard t-SNE loss to group semantically similar elements, a displacement loss to group elements from the same iteration step, and an instance alignment loss to align elements of the same instance across iterations. We present rectilinear and radial layouts to represent iterations, enabling comprehensive exploration. We assess various feature extractors and highlight TDL's potential with prominent diffusion models like GLIDE and Stable Diffusion with different prompt sets. TDL simplifies understanding data evolution within diffusion models, offering valuable insights into their functioning.<|reference_end|>
@article{prasad2024the,
    title={The Tree of Diffusion Life: Evolutionary Embeddings to Understand the
  Generation Process of Diffusion Models},
    author={Vidya Prasad, Hans van Gorp, Christina Humer, Anna Vilanova, Nicola
  Pezzotti},
    journal={arXiv preprint arXiv:2406.17462},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.17462},
    primaryClass={cs.CV cs.AI}
}