In representation learning, a primary goal is to "disentangle" the underlying factors of variation in data—for example, separating an object's shape from its color or orientation. While many metrics exist to measure this (such as Beta-VAE or Factor-VAE scores), they often assume these factors are independent scalar values.
However, many real-world properties are better described by symmetries and group theory. For instance, rotating an object is a transformation that belongs to the group $SO(2)$. In 2018, researchers proposed the "Linear Symmetry-Based Disentanglement" (LSBD) framework to formalize this concept. Yet, until now, there was no direct way to measure if a model actually achieved it. Researchers were essentially "flying blind," relying on proxy tasks like downstream classification to guess if their representations were truly disentangled.
This paper introduces $D_{LSBD}$, the first mathematically rigorous metric to quantify Linear Symmetry-Based Disentanglement. By formalizing how well a model’s latent space reflects real-world transformations, the authors also derive LSBD-VAE, a semi-supervised model that learns these structured representations with remarkably little labeled data.
Methods: Measuring and Learning Disentanglement
The authors tackle the challenge of symmetry-based disentanglement with a two-pronged approach:
1. The $D_{LSBD}$ Metric
The core idea behind the new metric is equivariance. If a representation is perfectly disentangled according to a group (like rotation), then rotating an input image should result in a predictable, linear shift in the latent space.
The metric measures "dispersion": if you take various transformed versions of an image and apply the inverse transformation to their latent encodings, they should all collapse back to the exact same base point. The more these points spread out (disperse) after the inverse transformation is applied, the worse the disentanglement.
2. LSBD-VAE
The authors turn this metric into a training objective. They utilize a Diffusion Variational Autoencoder ($\Delta$VAE), which allows the latent space to exist on specific geometric shapes (manifolds) like a circle ($S^1$). They add a semi-supervised loss term that directly penalizes the "dispersion" of small batches of data where the transformation between images is known (e.g., "this second image is the first one rotated by 15 degrees").
Datasets
The authors evaluated their work on five datasets featuring cyclic symmetries ($SO(2)$):
- Synthetic: Square (2D translations), Arrow (hue shifts + in-plane rotations), and Airplane (hue shifts + out-of-plane rotations).
- Real-world/Complex: ModelNet40 (3D airplane models) and COIL-100 (various objects on a turntable).
Unlike traditional disentanglement benchmarks, these datasets focus on transformations that are inherently cyclic and multi-dimensional, rather than simple independent sliders.
Key Insights
- Traditional VAEs Fail at LSBD: Popular unsupervised models like $\beta$-VAE or FactorVAE consistently fail to learn LSBD representations. They might separate factors, but they fail to capture the linear, symmetric structure of the transformations.
- The "1D Trap": Many existing metrics reward models for squeezing a factor into a single latent dimension. However, the authors point out that you cannot continuously represent a cyclic factor (like rotation) in 1D without "tearing" it. LSBD requires at least 2D (a plane) to represent a circle properly.
- Minimal Supervision is Potent: You don't need a fully labeled dataset. The authors show that labeling as few as 12.5% to 37.5% of the data pairs is enough for LSBD-VAE to achieve near-perfect disentanglement.
- LSBD is a "Super-Property": Interestingly, representations that score well on $D_{LSBD}$ also tend to score very high on traditional metrics like DCI (Disentanglement, Completeness, and Informativeness), but the reverse is not true.
Key Results
- Metric Validation: $D_{LSBD}$ successfully distinguished between models that merely "look" disentangled and those that actually follow the mathematical definition of LSBD.
- Performance: LSBD-VAE achieved $D_{LSBD}$ scores near 0.0 (optimal) on synthetic datasets, while traditional VAEs hovered between 0.6 and 1.9.
- Robustness: On complex datasets like COIL-100, LSBD-VAE maintained high performance ($D_{LSBD} \approx 0.11$) compared to the best traditional baseline ($cc$-VAE at $\approx 0.40$).
- Qualitative Success: Latent space interpolations showed that LSBD-VAE creates smooth, "circular" transitions between object orientations, whereas traditional models often create "jumpy" or unrealistic transitions.
Limitations and Future Work
The primary limitation of this approach is that prior knowledge of the group structure is required. To use LSBD-VAE, you must know beforehand that your data contains specific symmetries (e.g., $SO(2)$).
The authors suggest that future work should focus on expanding the metric for more complex groups like $SO(3)$ (3D rotations), developing methods to automatically discover symmetry groups in datasets without human intervention, and proving that these mathematically "pure" representations lead to better performance in downstream tasks like reinforcement learning or robotics.
Summary updated