Disentangled representation learning through unsupervised symmetry group discovery

Barthélémy Dang-Nhu, Louis Annabi, Sylvain Argentieri

Introduction

In representation learning, a primary goal is for an AI to learn "disentangled" features. For example, if an object moves, only its "position" coordinate should change in the AI's internal map, while its "color" coordinate remains constant. A powerful theoretical framework for achieving this is Symmetry-Based Disentanglement, which posits that factors of variation (like position, rotation, or hue) correspond to mathematical "groups" of transformations.

Independent actions altering distinct object properties

However, a major bottleneck has persisted: most models require a human to explicitly define the structure of these symmetry groups beforehand (e.g., specifying which actions correspond to rotations versus translations). This paper introduces a method for embodied AI agents to autonomously discover the underlying mathematical structure of their world simply by interacting with it, removing the need for restrictive prior knowledge.

The Challenge of Autonomous Discovery

If an agent doesn't know which actions affect which properties, can it still learn a clean, disentangled map of its environment? Prior approaches to symmetry-based disentanglement required strong prior knowledge of the symmetry group's structure or made restrictive assumptions about subgroup properties. The authors tackle this by asking whether the true decomposition of the symmetry group is mathematically "identifiable" purely from transition data—observing how the environment changes in response to actions.

A Three-Step Methodology

To move from raw, unstructured interaction to a neatly disentangled latent space, the authors propose a three-step pipeline:

  1. Action-based VAE (A-VAE): The agent first learns a standard, "entangled" representation. By observing transitions $(x, g, x')$—an initial state, an action, and the resulting state—it learns to predict outcomes. At this stage, the internal variables are entangled; a single action might change many latent variables simultaneously.
  2. Unsupervised Symmetry Discovery: This is the core innovation. The authors mathematically prove that the true decomposition of the symmetry group is identifiable from transition data. They introduce a clustering algorithm that uses a custom group-theoretic pseudo-distance. It determines if two actions belong to the same physical factor by analyzing how they interact and commute within the learned A-VAE space.
  3. Group-Masked Action-based VAE (GMA-VAE): Once actions are clustered into subgroups (e.g., grouping all "movement" actions together), the model is retrained. It employs a masking mechanism to force specific blocks of the latent space to correspond exclusively to specific action clusters.
Visualization of the masking mechanism aligning latent blocks with action clusters

Key Insights and Results

The method was rigorously validated across diverse environments, including Colored Flatland (cyclic groups), COIL-100 (rotation/symmetric groups), 3DShapes, and MPI3D (Lie groups/continuous symmetries).

  • Zero Prior Knowledge: Unlike previous state-of-the-art methods (such as LSBD-VAE or SOBDRL), GMA-VAE does not need to be told the dimensionality of the subgroups or their mathematical type. It autonomously discovers whether a factor is a simple cycle or a complex permutation.
  • State-of-the-Art Performance: GMA-VAE consistently outperformed existing self-supervised methods across standard disentanglement metrics (Independence, DCI, Modularity). Remarkably, it achieved performance nearly identical to supervised models that were given the group structure for free.
  • Perfect Clustering: The action clustering algorithm reached 100% accuracy in recovering the ground-truth group decompositions across the tested environments.
  • Robust Generalization: Disentangled representations proved vastly superior for long-term prediction and Out-of-Distribution (OOD) generalization. In entangled models, small errors in one factor bleed into others, causing predictions to diverge. Disentangled models isolate these errors. For instance, if trained only on rotating the right-most object in a scene, the model could still accurately predict outcomes when other objects moved—a task where entangled models failed.

Limitations and Future Directions

While highly effective, the current framework has a few limitations. First, it relies on the "Pure Action" assumption, meaning each available action belongs to exactly one symmetry subgroup (e.g., an action changes color or position, but not both simultaneously). Real-world actions are often coupled.

Second, the method currently requires a two-stage training process (training an entangled VAE, clustering, then retraining). Developing an end-to-end version that discovers and disentangles simultaneously would be more efficient. Finally, while tested on robotic arm data, applying this autonomous discovery to high-dimensional, noisy real-world video remains an exciting next frontier.

Summary updated

BibTeX
@inproceedings{dangnhu2026disentangled,
  author = {Barthélémy Dang-Nhu and Louis Annabi and Sylvain ARGENTIERI},
  title = {{Disentangled representation learning through unsupervised symmetry group discovery}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=I6xjMoLY3j},
}
Figure