Equivariant Representation Learning via Class-Pose Decomposition

Giovanni Luca Marchetti, Gustaf Tegnér, Anastasiia Varava, Danica Kragic

Abstract

We introduce a general method for learning representations that are equivariant to symmetries of data. Our central idea is to decompose the latent space into an invariant factor and the symmetry group itself. The components semantically correspond to intrinsic data classes and poses respectively. The learner is trained on a loss encouraging equivariance based on supervision from relative symmetry information. The approach is motivated by theoretical results from group theory and guarantees representations that are lossless, interpretable and disentangled. We provide an empirical investigation via experiments involving datasets with a variety of symmetries. Results show that our representations capture the geometry of data and outperform other equivariant representation learning frameworks.

Introduction

A fundamental goal in representation learning is to capture the "essence" of data—the intrinsic properties that remain constant despite extrinsic variations. For an intelligent agent, recognizing a chair regardless of its orientation or position is crucial. However, standard representation learning often fails to disentangle these "class" properties from "pose" variations without extensive supervision. While equivariant models exist, they are frequently limited to specific data types or symmetries and often result in "black box" latent spaces that fail to preserve geometric structure, leading to cumulative errors in predictive tasks.

Methodology: Class-Pose Decomposition

The core innovation of this work is the Class-Pose Decomposition. The latent space $Z$ is explicitly structured as a product of two semantically distinct components:

  1. The Invariant Factor ($\mathcal{E}$): Represents the "class" or "identity" of the data (e.g., the shape of an object).
  2. The Symmetry Group ($G$): Represents the "pose" or "state" (e.g., rotation, translation).
Figure 1: An illustration of the equivariant representation decomposing intrinsic class and pose of data.

Technical Implementation

The model is trained using triples $(x, g, y)$, where $y$ is the result of applying a symmetry $g$ to data point $x$. An Equivariance Loss encourages the encoder to map these relationships such that data-space transformations correspond exactly to group multiplication in the latent space. To prevent latent collapse, Contrastive Learning (InfoNCE) is applied to the invariant component $\mathcal{E}$, ensuring distinct intrinsic classes remain separated. For complex, non-Euclidean symmetry groups like $SO(3)$, the authors utilize the exponential map from Lie theory to map neural network outputs onto the appropriate geometric manifolds.

Theoretical Foundations

The framework is grounded in group theory, specifically the concept of orbits. An orbit is the set of all points reachable by applying symmetries to a single starting point; the authors demonstrate that these orbits perfectly represent intrinsic classes. Furthermore, they prove that if the symmetry action is "free"—meaning every unique transformation produces a unique change in data—the resulting representation is mathematically guaranteed to be an isomorphism, ensuring no information loss. This design inherently leads to disentanglement, as different factors of variation are naturally separated by the group structure.

Empirical Evaluation

The framework was evaluated across five datasets with diverse symmetries, including 2D sprites (translation/scaling), 3D shapes (color shifts), and 3D chairs ($SO(3)$ rotations).

Figure 2: A symmetry transformation $g \in G$ applied to a scene in the Apartments dataset.

In the Apartments task, which involves first-person views from a mobile robot, the model effectively performed self-supervised simultaneous localization and mapping (SLAM). The latent space emerged as an isometric copy of the environment's actual floor plan.

Key Results

  • Long-term Stability: On the Multi-Sprites dataset, the proposed method maintained a 93% hit-rate after 20 sequential transformations, vastly outperforming the MDP Homomorphism (MDPH) baseline, which dropped to 11%. The group-theoretic structure prevents the "drift" typical of unstructured latent spaces.
  • Interpretability: The explicit decomposition ensures that the latent space is not a black box but a structured geometric representation.

Limitations and Future Work

The primary limitation is the requirement that the symmetry group $G$ be known a priori. Additionally, features not modeled by the symmetry group (e.g., texture changes) may be incorrectly treated as new orbits. Future research will focus on learning the group structure itself from data while maintaining the framework's interpretability and theoretical guarantees.

This paper was presented at AISTATS 2023.

Summary updated

BibTeX
@inproceedings{marchetti2023equivariant,
  author = {Giovanni Luca Marchetti and Gustaf Tegnér and Anastasiia Varava and Danica Kragic},
  title = {{Equivariant Representation Learning via Class-Pose Decomposition}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=iEpuTVqXr1},
}
Figure