arXiv:2609.07031cs.LGSep 2026

Manuscript Offprint

arXiv:2609.07031

Efficient Learning and Symmetry Discovery under Exact Invariances

Ashkan Soleymani, Behrooz Tahmasebi, Patrick Jaillet, Stefanie Jegelka

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Learning with group invariances is central to many scientific and geometric learning problems, yet its computational foundations remain poorly understood. Even for classical supervised regression settings, it has been unclear whether one can efficiently compute a regression function that is exactly invariant to a given group action. Recent work (Soleymani et al., 2025b) showed that exact invariance can be enforced in polynomial time when the underlying group is finite and known, but left open the cases of infinite groups and unknown symmetries. In this paper, we resolve both challenges. First, we present the first polynomial-time algorithm for learning with exact group invariances that applies uniformly to finite and infinite groups. The runtime is polynomial in the data dimension and sample size, and independent of the group, while achieving strong generalization guarantees. This provides a computational explanation for the empirical success of invariant and equivariant methods in geometric machine learning and partially answers a recent open question in the literature (Díaz et al., 2025). Second, we study learning in the symmetry discovery setting, where the invariance group is unknown. Focusing on the subgroup lattice of a finite group, we show that exact symmetries can be identified from data and exploited for learning in polynomial time. For regression over finite-dimensional feature spaces, our algorithm provably recovers the underlying symmetry, matches the minimax-optimal sample complexity of the known-symmetry setting, and runs in time polynomial in the data dimension and sample size. Our analysis relies on tools from random Cayley graphs and expander theory, which may be of independent interest.

Keywords: group invariances, symmetry, learning, computational statistics

†These authors contributed equally to this work. ‡MIT Laboratory for Information and Decision Systems (LIDS). Emails: {ashkanso,jaillet}@mit.edu §Harvard John A. Paulson School of Engineering and Applied Sciences, Harvard University, Cambridge, MA 02138, USA. Email: behrooz.tahmasebi@seas.harvard.edu ¶Technical University of Munich (CIT, MCML, MDSI) and MIT Computer Science and Artificial Intelligence Laboratory (CSAIL). Email: stefanie.jegelka@tum.de

Contents

1 Introduction 2
1.1 Our Contributions 2
2 Related Work 4
3 Problem Statement 6
4 Main Results 8
4.1 Learning with Exact Invariances in Polynomial Time 8
4.2 Sobolev Rates and Computational-Statistical Trade-offs 11
4.3 Symmetry Discovery for Learning with Exact Invariances 11
5 Conclusion 13
A Preliminaries on Groups and Manifolds 19
B Proofs 22
B.1 Proof of Proposition 4.1 22
B.2 Proof of Theorem 4.2 25
B.3 Proof of Theorem 4.4 27

References (83)