Self-Supervised Detection of Perfect and Partial Input-Dependent Symmetries
Alonso Urbano, David W. Romero
TL;DR
This work tackles the problem that fixed group symmetries can misalign with real data, causing overly constrained models. It introduces a self-supervised framework that learns input-dependent symmetry distributions by constraining an Invariant-Equivariant Autoencoder (IE-AE) and training a symmetry-boundary predictor, with the symmetry boundary denoted by $\theta_x$ and the boundary predictor $\\Theta = \\omega \\circ \\phi$. Key contributions include (i) per-input symmetry detection without labels, (ii) a constraint that collapses canonical representations to the center of symmetry $c_{[x]}$ via $\\psi(c_{[x]}) = e$, (iii) the ability to detect out-of-distribution symmetries and to standardize data by removing symmetries, and (iv) generality to distributions such as Gaussian and cyclic. The framework supports both continuous and discrete symmetry families and enables symmetry standardization, which improves downstream performance for non-equivariant models and enables effective OOD symmetry detection with practical applicability.
Abstract
Group equivariance can overly constrain models if the symmetries in the group differ from those observed in data. While common methods address this by determining the appropriate level of symmetry at the dataset level, they are limited to supervised settings and ignore scenarios in which multiple levels of symmetry co-exist in the same dataset. In this paper, we propose a method able to detect the level of symmetry of each input without the need for labels. Our framework is general enough to accommodate different families of both continuous and discrete symmetry distributions, such as arbitrary unimodal, symmetric distributions and discrete groups. We validate the effectiveness of our approach on synthetic datasets with different per-class levels of symmetries, and demonstrate practical applications such as the detection of out-of-distribution symmetries. Our code is publicly available at https://github.com/aurban0/ssl-sym.
