English

Equivariance by Contrast: Identifiable Equivariant Embeddings from Unlabeled Finite Group Actions

Machine Learning 2025-10-27 v1 Machine Learning

Abstract

We propose Equivariance by Contrast (EbC) to learn equivariant embeddings from observation pairs (y,gy)(\mathbf{y}, g \cdot \mathbf{y}), where gg is drawn from a finite group acting on the data. Our method jointly learns a latent space and a group representation in which group actions correspond to invertible linear maps -- without relying on group-specific inductive biases. We validate our approach on the infinite dSprites dataset with structured transformations defined by the finite group G:=(Rm×Zn×Zn)G:= (R_m \times \mathbb{Z}_n \times \mathbb{Z}_n), combining discrete rotations and periodic translations. The resulting embeddings exhibit high-fidelity equivariance, with group operations faithfully reproduced in latent space. On synthetic data, we further validate the approach on the non-abelian orthogonal group O(n)O(n) and the general linear group GL(n)GL(n). We also provide a theoretical proof for identifiability. While broad evaluation across diverse group types on real-world data remains future work, our results constitute the first successful demonstration of general-purpose encoder-only equivariant learning from group action observations alone, including non-trivial non-abelian groups and a product group motivated by modeling affine equivariances in computer vision.

Keywords

Cite

@article{arxiv.2510.21706,
  title  = {Equivariance by Contrast: Identifiable Equivariant Embeddings from Unlabeled Finite Group Actions},
  author = {Tobias Schmidt and Steffen Schneider and Matthias Bethge},
  journal= {arXiv preprint arXiv:2510.21706},
  year   = {2025}
}

Comments

Accepted at NeurIPS 2025. The last two authors contributed equally. Code is available at https://github.com/dynamical-inference/ebc