CVLGOct 15, 2023

Unsupervised Discovery of Interpretable Directions in h-space of Pre-trained Diffusion Models

arXiv:2310.09912v310 citationsh-index: 11
Originality Incremental advance
AI Analysis

This work addresses the need for interpretable manipulation in diffusion models, which is incremental as it adapts an existing GAN technique to diffusion models.

The authors tackled the problem of identifying interpretable directions in the h-space of pre-trained diffusion models, proposing the first unsupervised learning-based method that discovers disentangled and interpretable directions, with extensive experiments demonstrating its effectiveness.

We propose the first unsupervised and learning-based method to identify interpretable directions in h-space of pre-trained diffusion models. Our method is derived from an existing technique that operates on the GAN latent space. Specifically, we employ a shift control module that works on h-space of pre-trained diffusion models to manipulate a sample into a shifted version of itself, followed by a reconstructor to reproduce both the type and the strength of the manipulation. By jointly optimizing them, the model will spontaneously discover disentangled and interpretable directions. To prevent the discovery of meaningless and destructive directions, we employ a discriminator to maintain the fidelity of shifted sample. Due to the iterative generative process of diffusion models, our training requires a substantial amount of GPU VRAM to store numerous intermediate tensors for back-propagating gradient. To address this issue, we propose a general VRAM-efficient training algorithm based on gradient checkpointing technique to back-propagate any gradient through the whole generative process, with acceptable occupancy of VRAM and sacrifice of training efficiency. Compared with existing related works on diffusion models, our method inherently identifies global and scalable directions, without necessitating any other complicated procedures. Extensive experiments on various datasets demonstrate the effectiveness of our method.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes