Abstract
Disentangled representation learning aims to encode data into latent factors that correspond to independent physical attributes. While "strict" disentanglement (one dimension per factor) is often too restrictive, "weak" disentanglement (partitions per factor) typically suffers from a "supervision tax" where labeling requirements scale with data complexity. This paper introduces a modular representation framework that partitions the latent space into dedicated modules with adaptive priors. By decoupling supervision from factor combinations, the proposed method achieves state-of-the-art performance on standard benchmarks while maintaining a constant, low supervision requirement even as dataset complexity increases.
Introduction
In representation learning, the goal of disentanglement is to create an encoding where distinct components of the latent vector $z$ correspond to specific physical factors of the data, such as shape, scale, or rotation. Traditional strict disentanglement assumes a one-to-one mapping between latent dimensions and factors. However, this is often insufficient for complex real-world data. Weak disentanglement offers a more flexible alternative by allowing a region or partition of the latent space to represent a single factor.
Despite its flexibility, weak disentanglement has historically faced a significant challenge: the "supervision tax." As the number of possible combinations of factors in a dataset grows, the amount of manual annotation required to train these models typically explodes. This paper addresses this bottleneck by proposing a modular approach that keeps the required number of supervised labels constant, regardless of the data's generative complexity.
Methodology
The proposed framework consists of two primary components: a Modular AutoEncoder (M-AE) and a Relational Learner (ReL).
Modular AutoEncoder (M-AE)
The latent space $z$ is explicitly partitioned into $G$ modules, where $G$ corresponds to the number of generative factors. Unlike standard VAEs that use a simple Gaussian prior, the M-AE employs adaptive priors—specifically, a Mixture of Normal distributions for each module. The parameters of these distributions are estimated using a small, fixed-size subset of annotated data. To ensure the encoder utilizes these partitions correctly, a discriminator network matches the encoder's output to these adaptive priors in an adversarial setup.
Relational Learner (ReL)
The ReL is a sub-network designed to perform controlled manipulations within the latent space. For instance, given an encoding of an object, the ReL learns to modify only the "position" module to move the object while keeping "shape" and "rotation" modules invariant. This architectural constraint forces the model to respect the boundaries between different factors.
Experiments and Results
The model was evaluated on the dSprites and Shapes3D benchmarks. To test scalability, the authors created versions of these datasets with increasing complexity (v2 through v5), where the number of factor combinations grows significantly.
Decoupling Supervision from Complexity
A key finding is the model's ability to maintain high performance with minimal supervision. By partitioning the latent space, the model only needs enough labels to characterize each individual factor's distribution, rather than every possible combination.
As shown in Table 1, the modular approach maintains a constant supervision requirement ($\tau = 1000$) even as the total combinations in Shapes3D jump from 40 to 12,000. In contrast, previous methods saw their accuracy plummet or required exponentially more labels as complexity scaled.
Disentanglement Performance
Beyond label efficiency, the model achieved state-of-the-art scores across standard metrics including DCI, MIG, and SAP. The improvement in the Separated Attribute Probability (SAP) score is particularly noteworthy, as it is a rigorous metric for assessing how well individual latent dimensions (or modules) capture specific attributes without leakage.
Discussion and Conclusion
The modular approach demonstrates that weak disentanglement can be both expressive and efficient. By enforcing architectural modularity and using adaptive priors, the "supervision tax" is effectively eliminated.
A current limitation is the framework's focus on discrete or binned generative factors. While it handles rotation (a continuous factor) via binning, future work aims to enhance the expressivity of modular representations to natively support continuous factors. This would extend the method's applicability to more complex, high-resolution real-world imagery and video data.
Summary updated