Disentanglement via Latent Quantization
Preprint
Abstract
In disentangled representation learning, a model is asked to tease apart a dataset's underlying sources of variation and represent them independently of one another. Since the model is provided with no ground truth information about these sources, inductive biases take a paramount role in enabling disentanglement. In this work, we construct an inductive bias towards encoding to and decoding from an organized latent space. Concretely, we do this by (i) quantizing the latent space into discrete code vectors with a separate learnable scalar codebook per dimension and (ii) applying strong model regularization via an unusually high weight decay. Intuitively, the latent space design forces the encoder to combinatorially construct codes from a small number of distinct scalar values, which in turn enables the decoder to assign a consistent meaning to each value. Regularization then serves to drive the model towards this parsimonious strategy. We demonstrate the broad applicability of this approach by adding it to both basic data-reconstructing (vanilla autoencoder) and latent-reconstructing (InfoGAN) generative models. For reliable evaluation, we also propose InfoMEC, a new set of metrics for disentanglement that is cohesively grounded in information theory and fixes well-established shortcomings in previous metrics. Together with regularization, latent quantization dramatically improves the modularity and explicitness of learned representations on a representative suite of benchmark datasets. In particular, our quantized-latent autoencoder (QLAE) consistently outperforms strong methods from prior work in these key disentanglement properties without compromising data reconstruction.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- AudioLM: A Language Modeling Approach to Audio GenerationIEEE/ACM Transactions on Audio, Speech, and Language Processing, 2023
- Measuring Disentanglement: A Review of MetricsIEEE Transactions on Neural Networks and Learning Systems, 2022
- Explanation-Based Human Debugging of NLP Models: A SurveyTransactions of the Association for Computational Linguistics, 2021
- Decomposing normal and abnormal features of medical images for content-based image retrieval of glioma imagingMedical Image Analysis, 2021
- A survey of safety and trustworthiness of deep neural networks: Verification, testing, adversarial attack and defence, and interpretabilityComputer Science Review, 2020
- Demystifying Fixed $k$ -Nearest Neighbor Information EstimatorsIEEE Transactions on Information Theory, 2018
- Matplotlib: A 2D Graphics EnvironmentComputing in Science & Engineering, 2007
- Independent component analysis: algorithms and applicationsNeural Networks, 2000
- Nonlinear independent component analysis: Existence and uniqueness resultsNeural Networks, 1999
- Independent component analysis, A new concept?Signal Processing, 1994