arXiv:2610.17269cs.LGOct 2026

Manuscript Offprint

arXiv:2610.17269

Measuring Learned Equivariance: An Information Theoretic Approach

Claire Schlesinger, Wolfgang Gatterbauer, Robin Walters

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

ABSTRACT

Learning symmetries through data augmentation offers an alternative to architectural equivariance, but does not guarantee that a network respects those symmetries. Measuring learned equivariance is especially difficult for intermediate representations, whose group actions are not specified. In a finite discrete setting, we show that equivariance requires representations of original and transformed inputs to determine one another exactly, yielding a test based on normalized mutual information (NMI). For high-dimensional activations, we use centered kernel alignment (CKA) as a scalable test, with an exact guarantee for orthogonal feature transformations. Across architectures and tasks, augmentation usually increases transformation consistency, showing that learned equivariance can be probed directly from representations without recovering the hidden transformation rules that relate them.

1 INTRODUCTION

Equivariance is a powerful inductive bias in fields such as biology, materials science, and image processing, letting networks produce equivalent outputs despite non-canonical inputs. However, recent work shows that at equal computational cost, non-equivariant networks can outperform structurally equivariant ones when they instead learn equivariance from a variety of transformed inputs (Abramson et al., 2024; Chai Discovery, 2024; Wohlwend et al., 2024). Such networks tend toward equivariance during training but are not constrained to it, so they may not be perfectly equivariant. Gruver et al. (2023) and Moskalev et al. (2023) found that models may have generalization error related to unlearned equivariance for inputs further from the training distribution. A practical measure of this error is therefore needed to check whether such models generalize correctly across inputs.

Prior work quantifying learned equivariance in model outputs and latent features assumes the group action on input, hidden, and output features is known and specified a priori (Gruver et al., 2023). This limits these metrics, since in practice the group action may be unknown (especially on the latent space) so checking for equivariance requires testing different candidate actions.

We address this with an information-theoretic approach. Maximal normalized mutual information between a layer's representations of an input and its transformed copy implies a deterministic, invertible map between them, as equivariance requires, without knowing what that map is. Because mutual information cannot be estimated reliably for continuous activations, we use centered kernel alignment (CKA) (Kornblith et al., 2019) as a proxy, and show that it is an exact test when the feature transformation is orthogonal.

Our contributions are:

• We show how learned equivariance can be tested without specifying how hidden features should transform: exact equivariance requires NMI to be maximal between original and transformed representations.

• We introduce CKA as a scalable geometric test for high-dimensional activations (comparing their pairwise similarity structure), show that exact equivariance yields maximal

Figure

Figure 1: Comparison of equivariance error between 1–CKA and the local equivariance error (LEE) using the assumptions of Gruver et al. (2023). Each model is an exactly equivariant model made with ESCNN (Weiler & Cesa, 2019) and equivariance error is computed at every half a degree in the range [0, 359.5]. CKA is able to properly detect the zeros at the right intervals where the LEE is unable to detect equivariance for any model, even the SO(2).

CKA under orthogonal feature transformations, and characterize where it departs from the information-theoretic criterion.

• Across architectures, tasks, and symmetry groups, we show that data augmentation generally increases learned equivariance in standard networks, and identify where existing equivariance measures succeed or fail.

References (36)