Discovering Symmetry Groups with Flow Matching

Yuxuan Chen, Jung Yeon Park, Floor Eijkelboom, Jianke Yang, Jan-Willem van de Meent, Lawson L.s. Wong, Robin Walters

TL;DR

This paper introduces LieFlow, a novel framework that treats symmetry discovery as a distribution learning problem directly on Lie groups. By learning a distribution over a large hypothesis group, LieFlow can automatically identify underlying continuous and discrete symmetries in data, outperforming existing methods, especially for discrete symmetries.

What Problem Does This Paper Address?

Discovering symmetries in data is crucial for both understanding physical systems and improving machine learning models (e.g., through equivariant networks). However, automatically identifying these symmetries is a significant challenge. Existing methods often require prior knowledge of the symmetry group's structure (like a fixed Lie algebra basis) or are limited to specific types of symmetries (e.g., only continuous or only finite groups). This paper addresses the need for a unified, flexible, and automatic approach to discover both continuous and discrete symmetries from data without strong prior assumptions.

Methods

The core of LieFlow is reframing symmetry discovery as a distribution learning problem on Lie groups using flow matching. Instead of trying to find symmetry generators, LieFlow learns a probability distribution over a large hypothesis group ($G$). The support of this learned distribution then reveals the true underlying symmetry subgroup ($H \subseteq G$).

Key aspects of the method include:

  • Flow Matching on Lie Groups: Standard flow matching operates in data space. LieFlow adapts this by performing flow matching directly on the Lie group manifold. This involves learning a vector field that transforms samples from a prior distribution on the group to a distribution concentrated on the true symmetry subgroup.
  • Group Action and Interpolation: The method uses the group action to define interpolation paths. Given a data point $x_1$ and a sampled transformation $g$, it creates a path from $g x_1$ to $x_1$ by applying transformations from the hypothesis group.
  • Lie Algebra Target: The learned vector field is defined in the Lie algebra, which simplifies the learning objective and allows for efficient computation.
  • "Last-Minute Mode Convergence" Mitigation: For discrete symmetries, the learning signal can be weak until the very end of the flow. The authors propose a novel "power time schedule" to focus more learning effort on these critical late stages, improving discovery of complex discrete symmetries.

Datasets

The paper evaluates LieFlow on a variety of datasets:

  • Synthetic 2D and 3D Point Clouds: Generated from canonical objects (e.g., a 2D arrow, a 3D irregular tetrahedron) with known discrete symmetries ($C_4$, $Tet$, $Oct$, $Ico$) and continuous symmetries ($SO(2)$, $SO(3)$).
  • ModelNet10: A benchmark dataset of 3D object shapes, used to test symmetry discovery on real-world objects with various symmetries.
  • MI-Motion Dataset: A real-world dataset of 3D human motion capture data, used to infer symmetries without prior knowledge of the target group.

Key Insights and Ideas

  • Symmetry Discovery as Distribution Learning: The core insight is that instead of explicitly searching for symmetry generators, one can learn a distribution over a larger group, and its concentrated support will reveal the true symmetry subgroup. This shifts the problem from direct estimation to distribution modeling.
  • Unified Framework for Continuous and Discrete Symmetries: LieFlow's approach naturally handles both types of symmetries within a single framework, a significant advantage over prior methods that often specialize.
  • The Challenge of Discrete Symmetries: Discovering discrete symmetries is particularly difficult due to a "last-minute mode convergence" phenomenon where the learning signal is weak until the very end of the flow process. This highlights the need for specialized training techniques.
  • Hypothesis Group Choice Matters: The choice of the hypothesis group $G$ acts as an inductive bias. A tighter group (closer to the true symmetry $H$) leads to better performance, as expected.

Key Results

  • Accurate Discovery: LieFlow accurately discovers both continuous and discrete symmetries across synthetic, ModelNet10, and MI-Motion datasets.
  • Outperforms Baselines: LieFlow significantly outperforms state-of-the-art baselines, particularly LieGAN, in identifying discrete symmetries. For example, on synthetic 2D data, LieFlow achieves a Wasserstein-1 distance of 0.054 (90.0% relative improvement) compared to LieGAN's 1.073 (-97.9% relative improvement) for $GL(2, R)^+ \to C_4$.
  • Robustness: The method demonstrates robustness to noisy observations and partial symmetries.
  • Efficient Training: LieFlow shows faster training times compared to LieGAN on the ModelNet10 dataset (18 seconds per epoch vs. 50 seconds per epoch on a GeForce RTX 4090 GPU).

Limitations and Future Work

  • Hypothesis Group Choice: LieFlow requires selecting a hypothesis group $G$. While a tighter group improves performance, overly broad or high-dimensional groups can increase sampling and optimization difficulty. Scaling to such groups is a future direction.
  • Continuous Stabilizers: The current framework assumes trivial infinitesimal stabilizers for unique Lie algebra coordinates. Continuous stabilizers can lead to ambiguities, requiring further investigation or auxiliary supervision.
  • Numerical Stability: The reliance on exponential and logarithm maps can lead to numerical issues for more general groups, especially near cut loci.
  • Algebraic Representation: LieFlow learns a distribution over transformations, not an explicit algebraic representation of the discovered group. Future work could focus on extracting infinitesimal generators or other algebraic structures.
  • Downstream Applications: Exploring the utility of discovered symmetries in downstream equivariant models is a promising avenue.

Summary updated

BibTeX
@inproceedings{chen2026discovering,
  author = {Yuxuan Chen and Jung Yeon Park and Floor Eijkelboom and Jianke Yang and Jan-Willem van de Meent and Lawson L.S. Wong and Robin Walters},
  title = {{Discovering Symmetry Groups with Flow Matching}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=4FSkKnTnvI},
}
Figure