[Paper Review] Lost in Latent Space: Disentangled Models and the Challenge of Combinatorial Generalisation
This paper investigates why highly disentangled generative models fail at combinatorial generalization—generalizing to unseen combinations of factors—despite strong disentanglement. It finds that failure stems primarily from encoder misgeneralization, where novel factor combinations are not mapped to correct latent space regions, and that success only occurs when excluded factors are independent or when test conditions are too weak to challenge the model.
Recent research has shown that generative models with highly disentangled representations fail to generalise to unseen combination of generative factor values. These findings contradict earlier research which showed improved performance in out-of-training distribution settings when compared to entangled representations. Additionally, it is not clear if the reported failures are due to (a) encoders failing to map novel combinations to the proper regions of the latent space or (b) novel combinations being mapped correctly but the decoder/downstream process is unable to render the correct output for the unseen combinations. We investigate these alternatives by testing several models on a range of datasets and training settings. We find that (i) when models fail, their encoders also fail to map unseen combinations to correct regions of the latent space and (ii) when models succeed, it is either because the test conditions do not exclude enough examples, or because excluded generative factors determine independent parts of the output image. Based on these results, we argue that to generalise properly, models not only need to capture factors of variation, but also understand how to invert the generative process that was used to generate the data.
Motivation & Objective
- To resolve the contradiction between prior claims of disentangled models improving generalization and recent findings of their failure on combinatorial generalization tasks.
- To determine whether failures in combinatorial generalization stem from encoder errors (incorrect latent mapping) or decoder errors (incorrect generation from correct latent codes).
- To evaluate whether high disentanglement alone is sufficient for robust generalization to unseen combinations of generative factors.
- To assess whether success in generalization is due to genuinely compositional understanding or due to weak test conditions that do not sufficiently exclude novel combinations.
Proposed method
- Systematically tested multiple disentangled models (e.g., VAEs, SBD, β-VAE) across diverse datasets (dSprites, 3DShapes, MPI3D, Circles, Simple) under controlled training and test conditions.
- Used Hinton matrices to quantify disentanglement by measuring regression coefficients between latent variables and generative factors.
- Visualized latent space distributions for training and test examples to detect drift, variance increase, or misalignment between expected and actual encoded representations.
- Defined two types of generalization conditions: recombination-to-element (only one combination excluded) and recombination-to-range (all combinations of a subset excluded), to assess model robustness.
- Compared models under identical architectures and training regimes to isolate the impact of disentanglement and data distribution shifts.
- Analyzed both encoder and decoder behavior by tracking latent representations of unseen factor combinations and comparing them to expected target regions in latent space.
Experimental results
Research questions
- RQ1Do disentangled models fail at combinatorial generalization due to encoder misgeneralization or decoder failure?
- RQ2Does high disentanglement in the latent space guarantee improved generalization to unseen combinations of generative factors?
- RQ3Under what conditions do models succeed in generalizing to novel combinations, and what structural or distributional factors enable this?
- RQ4Is the success of prior models in generalization tasks due to genuinely compositional reasoning or due to weak test conditions that fail to exclude enough combinations?
- RQ5To what extent does the independence of generative factors influence the model's ability to generalize to unseen combinations?
Key findings
- When models fail at combinatorial generalization, their encoders also fail to map unseen combinations to the correct regions of the latent space, indicating that the root cause is encoder misgeneralization.
- Models succeed in generalization only when the excluded generative factors correspond to independent parts of the output image, suggesting that structural independence enables better generalization.
- In cases where test conditions do not sufficiently exclude novel combinations (e.g., recombination-to-element), models may appear to generalize successfully, but this does not reflect true compositional understanding.
- Even highly disentangled models show significant latent space drift and increased variance in test representations when faced with unseen factor combinations, particularly in complex datasets like dSprites and 3DShapes.
- On datasets like MPI3D and 3DShapes, models with high disentanglement still fail to generalize when the excluded combinations are not independent, and latent representations drift toward training data clusters.
- Visualizations of latent space show that successful generalization correlates with well-separated, structured latent representations for both training and test data, while failures are marked by overlapping, unstructured, or drifting distributions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.