Unsupervised Disentanglement of Content and Style via Variance-Invariance Constraints
Yuxuan Wu, Ziyu Wang, Bhiksha Raj, Gus Xia
TL;DR
V3 introduces a domain-general, unsupervised method for disentangling content and style via variance-versus-invariance priors applied to a vector-quantized autoencoder. It defines variability statistics and four hinge-based regularizers to enforce distinct within- and across-sample patterns for content and style, achieving robust cross-domain disentanglement across audio, image, and video datasets. The approach yields not only stronger content-style separation than unsupervised baselines but also superior few-shot OOD generalization and interpretable, near one-to-one symbolic mappings in the content codebook. These results suggest practical benefits for controllable generation, style transfer, and symbolic reasoning, with potential applicability to more complex, unsegmented data in the future.
Abstract
We contribute an unsupervised method that effectively learns disentangled content and style representations from sequences of observations. Unlike most disentanglement algorithms that rely on domain-specific labels or knowledge, our method is based on the insight of domain-general statistical differences between content and style -- content varies more among different fragments within a sample but maintains an invariant vocabulary across data samples, whereas style remains relatively invariant within a sample but exhibits more significant variation across different samples. We integrate such inductive bias into an encoder-decoder architecture and name our method after V3 (variance-versus-invariance). Experimental results show that V3 generalizes across multiple domains and modalities, successfully learning disentangled content and style representations, such as pitch and timbre from music audio, digit and color from images of hand-written digits, and action and character appearance from simple animations. V3 demonstrates strong disentanglement performance compared to existing unsupervised methods, along with superior out-of-distribution generalization under few-shot adaptation compared to supervised counterparts. Lastly, symbolic-level interpretability emerges in the learned content codebook, forging a near one-to-one alignment between machine representation and human knowledge.
