Learning symmetries in datasets
Veronica Sanz
TL;DR
This work addresses how symmetries in data shape the latent representations learned by variational autoencoders (VAEs) and proposes a relevance measure to identify the most meaningful latent directions. By training VAEs on both simple symmetric datasets and physics-like data from electron-positron and proton-proton collisions, the authors show that symmetry constraints lead to latent-space compression and alignment with intrinsic degrees of freedom, consistent with momentum conservation and invariant mass constraints. A simple toy model demonstrates that, under idealized conditions, the latent space naturally aligns with symmetry directions, supporting the intuition that unsupervised generative models can reveal underlying data structure. The findings suggest a practical route to symmetry discovery without supervision and point toward symmetry-aware extensions of generative models for data-driven structure discovery in physics and beyond.
Abstract
We investigate how symmetries present in datasets affect the structure of the latent space learned by Variational Autoencoders (VAEs). By training VAEs on data originating from simple mechanical systems and particle collisions, we analyze the organization of the latent space through a relevance measure that identifies the most meaningful latent directions. We show that when symmetries or approximate symmetries are present, the VAE self-organizes its latent space, effectively compressing the data along a reduced number of latent variables. This behavior captures the intrinsic dimensionality determined by the symmetry constraints and reveals hidden relations among the features. Furthermore, we provide a theoretical analysis of a simple toy model, demonstrating how, under idealized conditions, the latent space aligns with the symmetry directions of the data manifold. We illustrate these findings with examples ranging from two-dimensional datasets with $O(2)$ symmetry to realistic datasets from electron-positron and proton-proton collisions. Our results highlight the potential of unsupervised generative models to expose underlying structures in data and offer a novel approach to symmetry discovery without explicit supervision.
