Exploring Diffusion Time-steps for Unsupervised Representation Learning
Zhongqi Yue, Jiankun Wang, Qianru Sun, Lei Ji, Eric I-Chao Chang, Hanwang Zhang
TL;DR
This work addresses unsupervised disentangled representation learning by linking diffusion time-steps to attributes. It introduces DiTi, which freezes a pre-trained Denoising Diffusion Probabilistic Model and augments it with a trainable encoder that maps images to a modular feature vector partitioned across time-steps, enabling each time-step to recover cumulatively lost attributes. Theoretical analysis ties attribute loss to diffusion-time-step–dependent overlap between noisy distributions and motivates using time-step–specific features, which yields improved attribute classification and faithful counterfactual generation on CelebA, FFHQ, and Bedroom, outperforming Diff-AE and PDAE baselines. The approach provides a scalable, principled pathway to disentanglement in diffusion-based generative frameworks and suggests future directions such as text-conditioned disentanglement and faster optimization.
Abstract
Representation learning is all about discovering the hidden modular attributes that generate the data faithfully. We explore the potential of Denoising Diffusion Probabilistic Model (DM) in unsupervised learning of the modular attributes. We build a theoretical framework that connects the diffusion time-steps and the hidden attributes, which serves as an effective inductive bias for unsupervised learning. Specifically, the forward diffusion process incrementally adds Gaussian noise to samples at each time-step, which essentially collapses different samples into similar ones by losing attributes, e.g., fine-grained attributes such as texture are lost with less noise added (i.e., early time-steps), while coarse-grained ones such as shape are lost by adding more noise (i.e., late time-steps). To disentangle the modular attributes, at each time-step t, we learn a t-specific feature to compensate for the newly lost attribute, and the set of all 1,...,t-specific features, corresponding to the cumulative set of lost attributes, are trained to make up for the reconstruction error of a pre-trained DM at time-step t. On CelebA, FFHQ, and Bedroom datasets, the learned feature significantly improves attribute classification and enables faithful counterfactual generation, e.g., interpolating only one specified attribute between two images, validating the disentanglement quality. Codes are in https://github.com/yue-zhongqi/diti.
