Manuscript Offprint
arXiv:2610.17424On Making -Invariant Networks Optimal
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
On Making SE(2)-Invariant Networks Optimal
Tomas Karella
CAI-3: Information Sciences
Los Alamos National Laboratory
Alice Elisabeth Anastasia Allen
Machine Learning in Molecular Dynamics
Max Planck Institute for Polymer Research
Nicholas Lubbers
CAI-3: Information Sciences
Los Alamos National Laboratory
Emily Shinkle
CAI-3: Information Sciences
Los Alamos National Laboratory
Pieter Swart
T-5: Applied Mathematics and Plasma Physics
Los Alamos National Laboratory
Roxana Bujack
CAI-3: Information Sciences
Los Alamos National Laboratory
Abstract
Respecting a-priori known symmetries of underlying data is a key principle in designing efficient neural architectures. Convolutional neural networks are a canonical example, encoding translation equivariance. Extending this inductive bias to richer symmetry groups such as SE(2) in the most effective way possible is an ongoing architectural and computational challenge. Building on classical invariant theory, we derive invariant feature maps that are provably optimal: minimal and information-preserving with respect to the symmetry group. Our construction is designed to integrate seamlessly into standard architectures, requiring no modification to nonlinearities or normalization layers. As a concrete implementation, we introduce a plug-and-play module for convolutional neural networks that enforces SE(2) invariance, capturing both translations and rotations within standard architectures. The resulting models are both efficient and expressive. Experiments show competitive or improved accuracy compared to state-of-the-art equivariant methods at significantly lower computational cost. Finally, we provide a theoretical and empirical analysis of the relationship between equivariance and invariance, offering insight into their roles in controlling robustness and flexibility.
Convolutional neural networks (CNNs) [1] remain a fundamental building block in computer vision, largely due to their strong inductive biases [2]. In particular, translation equivariance enables consistent responses to spatial shifts and has proven crucial in data-limited regimes [3]. More generally, incorporating symmetry priors into neural architectures has emerged as a principled strategy for improving sample efficiency and robustness, especially in scientific and engineering applications where underlying symmetries are well understood [3, 4]. This has motivated a growing body of work extending equivariance beyond translations to other groups, such as rotations and reflections, to capture richer geometric structure in underlying data [5–15].
Many approaches to rotation equivariance construct feature spaces that transform according to irreducible representations of the underlying symmetry group [11, 14–17]. While this provides a principled framework, it introduces significant computational and architectural overhead. In particular, operations on such structured features often scale quadratically with the number of basis functions used to parameterize the feature space [11, 15, 16], leading to increased complexity. Furthermore, standard deep learning components, such as convolutions, nonlinearities, and normalization layers,
*Corresponding author: karella@lanl.gov
Preprint.
cannot be applied directly and must be redesigned to operate on these structured feature spaces. This complicates implementation and limits compatibility with existing architectures. Consequently, there remains a need for approaches that retain the benefits of symmetry-aware representations while enabling efficient [12, 18] and plug-and-play integration into standard neural network pipelines [19].
An alternative framework for handling symmetry comes from classical pattern recognition [20–22]. In this approach, invariance is achieved by constructing features that are invariant to the transformation group [20], avoiding the need for structured intermediate descriptors and instead operating directly in the invariant space. Early work [23] highlighted that invariance alone is not sufficient: features must remain discriminative, i.e., preserve the ability to distinguish patterns up to the group action, avoid redundancy, and remain computationally tractable. Further, Flusser constructed invariant features that are both independent and discriminative on subsets of the input space where the group acts freely (e.g., under conditions such as ) [24, 25]. More recent work generalizes this result by constructing discriminative invariant maps on broader subsets of the input space [26].
Our contribution is fourfold. First, we derive an optimal invariant map grounded in classical invariant theory and prove that it is both discriminative—preserving all information up to the group action—and minimal. Second, we translate this theory directly to an efficient implementation as a plug-and-play module yielding SE(2)-invariant CNNs requiring no modification to standard components and yielding models that are both computationally efficient and expressive. Third, we show that these models achieve competitive or improved performance compared to equivariant approaches at lower computational cost on a variety of image datasets. Fourth, we provide a theoretical and empirical analysis of the relationship between equivariance and invariance, offering insight in balancing robustness and flexibility.
1.1 Complex Moments and Irreducible Representations of SO(2)
In pattern recognition, the goal is to distinguish between patterns based on observed data, where pattern is a function defined on compact support . When symmetries are present, they can be modeled by a group acting on , which defines how patterns behave under transformation. Two fundamental behaviors arise.
A function is equivariant if it transforms consistently with the group action. Typically, the action of is realized through representations, so that each is associated with a matrix acting on the corresponding space. The group actions on the input and output spaces may be given by different representations, and equivariance is expressed as
and invariant if it remains unchanged under the group action, i.e. .
To construct informative features of patterns, it is common to project signals onto a set of basis functions with well-defined transformation properties. In the context of group symmetries, such bases are often chosen to align with irreducible representations [27] of the underlying group, as formalized by results such as the Peter-Weyl Theorem [28] for compact groups. Classically, these projections are referred to as moments [20].
Let be a pattern with compact support, and let be a basis function. The moment of associated with is defined as
Moments are defined with respect to a chosen family of basis functions. For rotational symmetries, widely used basis functions—such as complex or Zernike polynomials [20], or equivariant steerable bases [15–17]—share a common structure: they decompose into radial and angular components, differing in the radial term. We therefore consider a general family of basis functions of the form
where are polar coordinates, is a radial function, denotes the angular frequency, and indexes the radial component. Since transforms according to an irreducible representation of , each basis function induces a moment with a well-defined type, also called spin, weight, character, or eigenvalue, given by . For notational simplicity, we write . When the radial index is fixed or irrelevant, we simply write . Formally, for a rotation by angle , a moment of type satisfies
Rotation invariants [20] can be constructed by combining moments in such a way that their transformation phases cancel. In particular, consider a product of moments
then is invariant under rotation . Indeed, using (4) and (5) and rotation , we have
1.2 Flusser Basis as a Minimal and Discriminative Invariant Map
Equation 5 allows for an infinite number of invariants that emerge as a combinatorial explosion. Early approaches, such as Hu's[29] moment invariants, proposed specific targeted subsets of such combinations, but these were proven redundant and did not capture all relevant information. This limitation was addressed by Flusser [25], who proposed a systematic construction of non-redundant invariant representations, known as the Flusser basis. The key idea is to normalize moments of arbitrary type k by a reference moment of type 1, thereby canceling the rotational phase. This yields the invariant map
where is a non-zero reference moment of type 1 and control the maximum angular and radial frequencies. This construction yields a non-redundant set of invariants and is discriminative up to rotation. It can be interpreted as a canonical phase normalization of moments. Our formulation generalizes classical constructions: complex moments [24] are typically indexed as with type , which corresponds to our notation up to the choice of radial functions.
The resulting Flusser basis has dimension (cf. Appendix I), indicating that it captures all degrees of freedom of the signal up to the group action. Here, denotes the manifold induced by the moments.
To formalize properties of optimal bases in our setting, we revisit and adapt the notions of minimality and discriminability from classical pattern recognition [23]. Let denote a map of invariant features, with components . In the context of deep learning, where networks can approximate arbitrary functions [31], invariant maps should be non-redundant, i.e., minimal, meaning that the features do not admit functional dependencies.
An invariant map is discriminative if, for all ,
An invariant map is called minimal if it is discriminative and no proper subcollection is discriminative, i.e.,
Equivalently, no component can be removed without losing discriminability. Functional independence is sufficient for minimality [24], while discriminability for patterns with follows from completeness and the solution of the inverse problem [25].
In cases where , the flexible invariant basis [30] can be employed; see Appendix A for details.
2 Building SE(2)-Invariant Networks with Moment Invariants
Having established the invariant theory, we now introduce our method. We construct SE(2)-invariant CNNs using optimal bases derived from moment invariants. We consider a setting in which SE(2) acts only on the spatial domain, while feature values remain invariant. In contrast to classical approaches, where invariants are computed from a single pattern (e.g., at the center of mass), we evaluate invariants at every spatial location of the input feature space . Accordingly, each layer of the network is required to satisfy the equivariance constraint on the spatial domain, while the output feature values themselves remain invariant under rotations ( ):
where denote translation and rotation, and is the action of on the input signal.
Many standard operations used in deep CNNs already satisfy Eq. (9) (up to discretizations errors), including point-wise nonlinearities and normalization layers, as they act independently at each pixel. In the context of CNNs, standard convolutional layers are not equivariant under rotations and therefore must be redesigned to preserve the desired transformation behavior under SE(2).
2.1 Moment Layer: Projection to a basis
The proposed moment projection layer can be viewed as a form of steerable convolution [16]. In steerable CNNs [11, 15–17], equivariance is enforced by constraining convolutional kernels to transform according to group representations. Our construction follows the same principle: we project the input onto a moment basis at each spatial location. This maps local signals into a moment space whose components transform according to their type. Concretely, each moment satisfies
so that the feature map forms a steerable field transforming under the direct sum of irreducible representations, that is, the combined representation is given by .
Steerable feature fields provide a principled way to achieve equivariance and have been studied in prior work through specialized architectures that preserve the transformation law in Eq. (10) [27]. In these approaches, all layers must be adapted accordingly, and convolutional layers explicitly model interactions between all input and output types. As implemented in frameworks such as escnn [15, 16], steerable convolutions incur a computational scaling of due to these type-to-type interactions.
In contrast, our construction avoids explicit type-to-type interactions by directly projecting all features back into type 0, the invariant type. Each block consists of (i) a moment projection layer and (ii) an invariant layer that combines them into a complete and non-redundant set of invariant features over the quotient space . Our block scales linearly with the number of moments.
Implementation. The moment projection is implemented as a convolution, computing moments at each spatial location. The kernels form a separable basis in polar coordinates (Eq. (3)), with angular frequency and radial components . In practice, can be fixed or learned; following prior work [11, 15, 16], we use a B-spline parameterization. Similar to prior symmetry-aware architectures [15, 32], we also employ larger CNN kernels than in standard CNNs to mitigate discretizations error. Additional details on radial parameterizations and kernel sizes are provided in Appendix D. For stability, moment features are normalized using a shared layer normalization across types, similarly to Equiformer [12]. We observe that performance is not sensitive to the specific normalization choice.
2.2 Optimal Bases: Preserving All Information from Moments
A natural approach to constructing invariant features is to directly apply classical moment invariants, such as the Flusser basis defined in Eq. (6), which combine moments into type-0 quantities. In our setting, these constructions are applied locally at each spatial location. Concretely, one can define pointwise invariants of the form
Figure 1: Overview of the proposed invariant convolutional architecture. (a) The overall network architecture obtained by stacking the proposed blocks. (b) The invariant convolution block, combining a moment layer and an invariant layer within a residual structure. (c) Illustration of the invariant layer, showing how moment responses are combined to produce rotation-invariant features.

(a) Architecture

(b) Block

(c) Mom/Inv Layer
which cancels the phase and yields a type-0 quantity. For simplicity, we omit the explicit dependence on and when it is clear from context, and write and instead of and .
Such formulations involve several complexities that need to be addressed for a practical implementation. First, they involve high-order polynomial combinations of moments, resulting in rapidly growing magnitudes and numerical instabilities. They also require explicit manipulation of complex-valued quantities, leading to inefficiency. Our concrete construction handles these difficulties.
Optimal Bases. We leverage the transformation law in Eq. (4) in two ways. (i) The magnitudes are rotation-invariant and therefore provide type-0 features directly. (ii) Since the phase of each moment changes linearly with its type, relative phases can be normalized using a nonzero reference moment , analogous to classical invariant constructions in Eq. (6). The resulting phase differences can be represented via cosine or sine functions. Together, these features capture the invariant degrees of freedom and are sufficient to reconstruct classical moment invariants (Appendix B). We define the invariant feature basis as
where the magnitude terms provide rotation-invariant amplitudes and encodes rotation-invariant relative phase between moments.
To make the phase construction explicit, we express moments in polar form as . As mentioned, direct constructions such as in Eq. (11) introduce powers of magnitudes, leading to value explosion in deep layers. Although magnitude information is already captured, the phase alone cannot be used directly, as phases of low-magnitude moments are unstable: the phase becomes undefined as the magnitude approaches zero. We therefore construct a single real-valued invariant per pair by taking the real part of the phase-aligned interaction and modulating it by a magnitude-dependent function:
This suppresses unstable phase contributions near zero-magnitude patterns while preventing large polynomial scaling with the magnitude of the pattern.
2.3 Plug-and-Play Invariant Moment Layer
The overall architecture of the CNN block is depicted in Fig. 1. The moment projection is followed by an invariant layer that maps moment features to type-0 representations according to Eq. (13),
This follows from complex multiplication in polar form, , and de Moivre's formula [33], . We retain only the real part.

Benchmarks
rotMNIST
Astronomy
Galaxy Zoo
Material Science
NFFA-Europe

Remote Sensing
RESICS45
Medical
Colo. Histology
Textures
DTD
Figure 2: Benchmarks across multiple domains.

Training data fraction (log scale)
Figure 3: Sample efficiency on NFFA. Test accuracy vs. training data fraction. Our model (300k) compared with ResNet18 (11M, aug rot).
combining moment magnitudes and relative phase differences with respect to a reference moment illustrated by Fig. 1(c). Together, these components form an invariant convolutional (Mom/Inv) layer that can be integrated into standard CNN architectures.
The output invariant features can be aggregated in a variety of ways. In our implementation, we follow the design illustrated in Fig. 1(b), using a convolution followed by normalization and a nonlinearity in a manner similar to MBConv blocks [34]. The proposed blocks can be stacked to form standard CNN architectures; in particular, we adopt a stage-wise design, where multiple blocks are grouped into stages operating at decreasing spatial resolutions and increasing channel dimensions, as illustrated in Fig. 1(a).
We compared the Mom/Inv layer design with alternative invariant maps, including Flusser and the flexible basis (Appendix A). While these approaches are theoretically equivalent in terms of discriminability, the proposed basis proved more numerically stable and computationally efficient in practice. Additional nonlinearities after the invariant projection did not yield consistent improvements, indicating that the construction already provides sufficient nonlinearity, similar to tensor product interactions in equivariant networks such as e3nn [14]. We also considered normalization before or after the invariant layer; as both performed similarly, we apply it only after moment projection.
3 Experiments
We evaluate our method on benchmarks where rotational symmetries are intrinsic to the data, including satellite imagery, histology, material science, and textures (Fig. 2). In these domains, object orientation is arbitrary or physically irrelevant, providing a natural setting to assess whether rotational invariance improves generalization and data efficiency, particularly in low-data and capacity-constrained regimes. To further study this setting, we construct a material science benchmark based on SEM microscopy images, representing a distinct modality with limited data.
Metrics. In addition to classification accuracy, we measure the rotation consistency index (RCI) by measuring the agreement between predictions for rotated versions of the same input. Given logits for an upright input and its rotated counterpart, we compute the distance:
Lower RCI indicates greater consistency under rotation. We found this metric to be particularly informative when comparing invariant and equivariant models. We also considered Lie derivative equivariance metrics [35], but found them less sensitive for comparing models within the class of equivariant architectures.
Datasets. We evaluate our model on a diverse set of datasets covering classical handwritten digits, remote sensing, textures, and scientific imaging. Specifically, we consider MNIST-Rot-Test [32], RotMNIST [36], RESISC45 [37], EuroSAT [38], DTD [39], Lost Oil Wells [40], Galaxy Zoo [41–43], and Colorectal Histology [44].
Table 1: Quantitative comparison between our Mom/Inv CNN and -CNNs. Results are reported as mean standard deviation over multiple runs. For DTD, we report top-five accuracy, denoted by *.
| Dataset | Dataset | Ours | E2-CNNs | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Reso. | Cls | Size | Acc | Prm. | RCI | Acc | Prm. | RCI | |
| 28 | 10 | 50k | 119k | 0.01 | 362k | 0.89 | |||
| 28 | 10 | 12/50k | 119k | 0.01 | 362k | 0.64 | |||
| RESISC45 | 256 | 45 | 31.5k | 230k | 1.66 | 365k | 5.13 | ||
| EuroSATrgb | 64 | 10 | 27k | 149k | 0.71 | 363k | 1.60 | ||
| DTD* | ≤640 | 47 | 5k | 336k | 0.01 | 469k | 1.97 | ||
| NFFA | 224 | 10 | 25k | 248k | 0.01 | 363k | 1.23 | ||
| Galaxy Zoo | 424 | 8 | 100/31k | 227k | 0.27 | 363k | 0.82 | ||
| Col. Hist. | 150 | 8 | 5k | 228k | 0.59 | 363k | 1.16 | ||
NFFA. In addition, we construct a dataset based on NFFA-Europe [45], designed to reflect a realistic scientific imaging scenario where data is both scarce and structurally constrained. We manually curate labels and process the images (resizing and cropping to ), resulting in a dataset with a small number of samples and high intra-class variability. This setting is particularly suitable for evaluating SE(2)-invariant architectures in the low-data regime. To further examine this behavior, we analyze performance as a function of the available training data (Fig. 3), highlighting improvements in sample efficiency. Further details are provided in Appendix F.
Baselines. We compare against -CNNs with continuous SO(2) equivariance implemented via the e2cnn framework, a widely used and general implementation of steerable convolutional networks. Additional baselines, including H-Nets [11], standard non-equivariant CNNs [46], and transformer-based models [47] are reported in Appendix G.
3.1 Quantitative results
Across all benchmarks, our approach achieves competitive or better accuracy compared to a baseline while using substantially fewer parameters, as shown in Table 1. In particular, we observe consistent gains on standard rotation benchmarks, as well as on more complex datasets including RESISC45 and EuroSAT. Notably, these improvements are obtained with models that are typically two to three times smaller than their equivariant counterparts.
In addition to higher accuracy, our method yields significantly lower RCI values across all datasets, indicating stronger consistency under rotations. This difference is especially pronounced on benchmarks with explicit rotations, where our invariant representations reduce RCI by an order of magnitude, demonstrating a dramatic improvement in the invariance of the classification function. Even in cases where accuracy is comparable or slightly lower (e.g., Galaxy Zoo), our method maintains substantially lower RCI and reduced parameter count. We attribute this to the invariant construction in Eq. (13), which suppresses unstable phase variations by encoding relative phase differences. We also observe that larger convolutional kernels improve rotational consistency in our method, however, applying larger kernels in e2cnn reduced accuracy while further increasing computational cost and parameter count. Collectively, these results show that structured equivariant feature fields are not necessary complexities for invariant classification.
3.2 Ablation Studies
We conduct ablation studies to evaluate key design choices in the proposed invariant moment architecture, including invariant basis selection (ours vs. Flusser), handling of degenerate reference moments (Appendix A), radial function parameterizations (Appendix D), and the addition of an equivariant (type-1) branch (Appendix C). We also report a speed comparison and analyze sample efficiency on the NFFA benchmark, highlighting performance in the low-data regime.
Table 2: Comparison of invariant representations. Using magnitude and phase-interaction components yields consistently better performance than using real and imaginary parts directly.
| Dataset | Flusser | Ours |
|---|---|---|
| MnistRotTest | 99.27 ± .05 | 99.42 ± .07 |
| RotMnist | 98.77 ± .03 | 99.08 ± .04 |
| RESISC45 | 83.33 ± .21 | 85.77 ± .47 |
| EuroSAT | 93.77 ± .36 | 95.29 ± .40 |

Figure 4: Layer Forward Pass Time
Sample Efficiency. We evaluate sample efficiency by training models with various fractions of data from our NFFA benchmark. As shown in Fig. 3, our model consistently outperforms a ResNet18 baseline trained with standard rotation and flip augmentations, particularly in the low-data regime. The performance gap is most pronounced at smaller data fractions (e.g., and ), where our approach achieves higher accuracy. As the amount of data increases, the gap narrows.
Notably, these results are obtained with a substantially smaller model: our network has approximately 300k parameters, compared to 11M for ResNet18. This further shows how incorporating group theoretical constructions into ML models can improve sample efficiency.
Speed Comparison. We compare the forward-pass runtime of our invariant moment layer against -CNNs as a function of the maximum moment type. Results are shown in Fig. 4. We measure equivalent building blocks: in steerable CNNs (e.g., e2cnn), this corresponds to two successive equivariant convolutional layers, whereas our construction uses a moment-invariant block of the form Mom/Inv Mom/Inv. Our method achieves lower runtime; this behavior is consistent with the theoretical complexity. In steerable CNNs, convolutional layers require interactions between all input and output types, resulting in complexity. In contrast, our construction avoids explicit type-to-type interactions by projecting directly to invariant (type-0) features, leading to linear scaling in the number of moments. The empirical results closely follow this trend, with speedups reaching up to for higher moment orders. A minimal implementation of the invariant construction is provided in Appendix H. For example, on the NFFA benchmark with maximum type , the full model requires 227 seconds per epoch on a single A100 GPU using e2cnn, compared to 98 seconds for our method.
Invariant Construction. We analyze the effect of different invariant constructions. As shown in Table 2, representations based on moment magnitudes combined with relative phase interactions (Eq. (13)) consistently outperform those based on real and imaginary components of Flusser basis (6). In practice, we found that the Flusser-based representation requires additional normalization (e.g., a function applied to the magnitudes) to prevent numerical instabilities due to large magnitude values.
4 Conclusion and Limitations
We introduced an invariant architecture for constructing efficient SE(2)-invariant networks. To connect classical invariant theory with modern deep learning, we derived a minimal and discriminative invariant map that preserves all information up to the SE(2) group action while avoiding redundant features. We translated this construction into a plug-and-play CNN module that projects moments directly into invariant type-0 features, enabling seamless integration with standard CNN layers such as pointwise nonlinearities, normalization layers, and convolutions.
Empirically, the proposed models achieve competitive or improved accuracy across a range of rotation-symmetric benchmarks while using substantially fewer parameters and with lower runtime than steerable equivariant baselines. These gains are particularly evident in settings involving low data and scientific imaging, where symmetry priors improve sample efficiency. Overall, the results indicate that invariant maps can provide an effective and computationally efficient alternative to fully equivariant features. Notably, performance remains strong despite enforcing local invariance, indicating that relative orientation can still be inferred from invariant features computed over the continuous spatial domain (Appendix C).
Despite these advantages, the approach is most beneficial for tasks with strong rotational symmetry, where orientation is a nuisance variable. In high-data regimes, similar robustness can often be achieved through data augmentation and increased model capacity. As the theory assumes continuous transformations, invariance is only approximate in discretized implementations. Finally, our invariant map relies on non-zero moment responses; features may become unreliable when moment magnitudes are very small. In Appendix A, we discuss solutions to this issue and show that such cases are rare in practice and can be mitigated by computations over the continuous spatial domain.
Future work may explore adaptive selection of moment types, extensions to broader transformation groups, and applications that combine invariant and equivariant representations. In particular, extending the approach to three-dimensional settings, for example by projecting 3D features through 2D as explored in prior work [18], is a promising direction.
5 Related Work
Moment Invariants and Classical Pattern Recognition. The construction of invariant features has a long history in pattern recognition. Hu introduced one of the first sets of rotation-invariant moments, demonstrating their effectiveness for shape recognition [29]. Complementary to moment-based invariants, steerable filters provided an early framework for handling rotations by expressing filter by linear combinations of a fixed set of basis filters [48]. This idea introduced a classical form of rotation-equivariant feature extraction and later became an important concept to steerable convolutional architectures. Many early hand-designed invariant sets were redundant or incomplete. Flusser and collaborators formalized the notion of invariant feature systems that are both functionally independent and complete, meaning they can generate any invariant [24, 25]. Wood already pointed out that invariant representations should not only remove nuisance redundancy but also retain discriminative information. Subsequent work further explored completeness and independence [20], as well as extensions to more general settings, including tensor fields and flexible invariant bases that avoid degenerate cases [26, 30].
Equivariant Convolutional Networks. A large body of work extends CNNs to encode symmetries beyond translations by enforcing equivariance to transformation groups. Group equivariant CNNs generalize convolutions to discrete and compact groups [5]. Subsequent work extended these ideas to continuous groups, including planar rotations and Euclidean groups, using steerable filters and tools from representation theory. For instance, harmonic networks achieve rotation equivariance by constraining filters to a circular harmonics basis [11]. More general frameworks such as steerable CNNs formalize this approach by constructing feature spaces that transform according to irreducible representations of the underlying group, often referred to as steerable fields [15–17, 49]. Libraries such as e2cnn [15] and escnn [16] provide practical implementations of these methods. These models typically introduce additional computational and architectural complexity compared to standard CNNs, and are most commonly applied in 2D settings [50–54].
Beyond SE(2) equivariant CNNs, related work has also explored equivariance in higher-dimensional domains and non-convolutional architectures, including 3D steerable CNNs, tensor field networks, SE(3)-equivariant transformers, and equivariant graph/attention models for point clouds, molecular systems, and physical simulation [6, 8–10, 13, 14, 17, 55–57].
Invariant Features in Deep Learning. An alternative to equivariance is to construct invariant representations directly. Early methods achieved invariance by pooling over transformed inputs, as in TI-Pooling [58], by learning canonicalizing transformations, as in scattering transforms [59]. Other architectures introduced orientation-aware or rotation-equivariant feature extraction within CNNs, including Oriented Response Networks [60] and Rotation Equivariant Vector Field Networks [61]. Recent work has revisited invariance within standard CNNs through analytically defined Bessel kernels [62] and rotation-invariant coordinate convolutions [63]. However, these methods typically rely on pooling, weight sharing, learned canonicalization, or specific filter parameterizations, and do not explicitly construct complete and non-redundant invariant feature spaces in the classical sense.
Acknowledgemetns We thank Kei Davis for feedback on the manuscript. This work is published under LANL LA-UR-26-23375. We gratefully acknowledge the support of the U.S. Department of Energy through the LANL Laboratory Directed Research Development Program under project number 20250145ER.
References
[1] Yann LeCun, Bernhard Boser, John S Denker, Donnie Henderson, Richard E Howard, Wayne Hubbard, and Lawrence D Jackel. Backpropagation applied to handwritten zip code recognition. Neural computation, 1(4):541–551, 1989.
[2] Simon J.D. Prince. Understanding Deep Learning. The MIT Press, 2023. URL http://udlbook.com.
[3] Michael M Bronstein, Joan Bruna, Taco Cohen, and Petar Veličković. Geometric deep learning: Grids, groups, graphs, geodesics, and gauges. arXiv preprint arXiv:2104.13478, 2021.
[4] Johann Brehmer, Sönke Behrends, Pim De Haan, and Taco Cohen. Does equivariance matter at scale? Transactions on Machine Learning Research, 2025. ISSN 2835-8856. URL https://openreview.net/forum?id=wilNute8Tn.
[5] Taco Cohen and Max Welling. Group equivariant convolutional networks. In Maria Florina Balcan and Kilian Q. Weinberger, editors, Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pages 2990–2999, New York, New York, USA, 20–22 Jun 2016. PMLR. URL https://proceedings.mlr.press/v48/cohenc16.html.
[6] Risi Kondor, Zhen Lin, and Shubhendu Trivedi. Clebsch–gordan nets: a fully fourier space spherical convolutional neural network. Advances in Neural Information Processing Systems, 31, 2018.
[7] Daniel Worrall and Max Welling. Deep scale-spaces: Equivariance over scale. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. URL https://proceedings.neurips.cc/paper_files/paper/2019/file/f04cd7399b2b0128970efb6d20b5c551-Paper.pdf.
[8] Fabian Fuchs, Daniel Worrall, Volker Fischer, and Max Welling. Se (3)-transformers: 3d roto-translation equivariant attention networks. Advances in neural information processing systems, 33:1970–1981, 2020.
[9] Johannes Brandstetter, Rob Hesselink, Elise van der Pol, Erik J Bekkers, and Max Welling. Geometric and physical quantities improve e(3) equivariant message passing. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=_xwr8g0BeV1.
[10] Albert Musaelian, Simon Batzner, Anders Johansson, Lixin Sun, Cameron J Owen, Mordechai Kornbluth, and Boris Kozinsky. Learning local equivariant representations for large-scale atomistic dynamics. Nature Communications, 14(1):579, 2023.
[11] Daniel E Worrall, Stephan J Garbin, Daniyar Turmukhambetov, and Gabriel J Brostow. Harmonic networks: Deep translation and rotation equivariance. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 5028–5037, 2017.
[12] Yi-Lun Liao, Alexander J. Hoffman, Sabrina C. Shen, Alexandre Duval, Sam Walton Norwood, and Tess Smidt. Equiformerv3: Scaling efficient, expressive, and general se(3)-equivariant graph attention transformers. arXiv preprint arXiv:2604.09130, 2026.
[13] Yi-Lun Liao, Brandon Wood, Abhishek Das*, and Tess Smidt*. EquiformerV2: Improved Equivariant Transformer for Scaling to Higher-Degree Representations. In International Conference on Learning Representations (ICLR), 2024. URL https://openreview.net/forum?id=mCOBKZmrzD.
[14] Yi-Lun Liao and Tess Smidt. Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs. In International Conference on Learning Representations (ICLR), 2023. URL https://openreview.net/forum?id=KwmPfARgOTD.
[15] Maurice Weiler and Gabriele Cesa. General E(2)-Equivariant Steerable CNNs. In Conference on Neural Information Processing Systems (NeurIPS), 2019. URL https://arxiv.org/abs/1911.08251.
[16] Gabriele Cesa, Leon Lang, and Maurice Weiler. A program to build E(N)-equivariant steerable CNNs. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=WE4qe9xlnQw.
[17] Maurice Weiler, Mario Geiger, Max Welling, Wouter Boomsma, and Taco Cohen. 3d steerable cnns: Learning rotationally equivariant features in volumetric data. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018. URL https://proceedings.neurips.cc/paper_files/paper/2018/file/488e4104520c6aab692863cc1dba45af-Paper.pdf.
[18] Saro Passaro and C Lawrence Zitnick. Reducing SO(3) Convolutions to SO(2) for Efficient Equivariant GNNs. In International Conference on Machine Learning (ICML), 2023.
[19] Sékou-Oumar Kaba, Arnab Kumar Mondal, Yan Zhang, Yoshua Bengio, and Siamak Ravan-bakhsh. Equivariance with learned canonicalization functions. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett, editors, Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 15546–15566. PMLR, 23–29 Jul 2023. URL https://proceedings.mlr.press/v202/kaba23a.html.
[20] Jan Flusser, Barbara Zitova, and Tomas Suk. Moments and moment invariants in pattern recognition. John Wiley & Sons, 2009.
[21] William K Pratt. Introduction to digital image processing. CRC press, 2013.
[22] Rafael C Gonzalez. Digital image processing. Pearson/Prentice Hall, NY, 2009.
[23] Jeffrey Wood. Invariant pattern recognition: A review. Pattern Recognition, 29(1):1–17, 1996. ISSN 0031-3203. doi: https://doi.org/10.1016/0031-3203(95)00069-0. URL https://www.sciencedirect.com/science/article/pii/0031320395000690.
[24] Jan Flusser. On the independence of rotation moment invariants. Pattern Recognition, 33(9):1405–1410, 2000. ISSN 0031-3203. doi: https://doi.org/10.1016/S0031-3203(99)00127-2. URL https://www.sciencedirect.com/science/article/pii/S0031320399001272.
[25] Jan Flusser. On the inverse problem of rotation moment invariants. Pattern Recognition, 35(12):3015–3017, 2002. ISSN 0031-3203. doi: https://doi.org/10.1016/S0031-3203(02)00093-6. URL https://www.sciencedirect.com/science/article/pii/S0031320302000936.
[26] Roxana Bujack, Xinhua Zhang, Tomáš Suk, and David Rogers. Systematic generation of moment invariant bases for 2d and 3d tensor fields. Pattern Recognition, 123:108313, 2022. ISSN 0031-3203. doi: https://doi.org/10.1016/j.patcog.2021.108313. URL https://www.sciencedirect.com/science/article/pii/S0031320321004933.
[27] Maurice Weiler, Patrick Forré, Erik Verlinde, and Max Welling. Equivariant and Coordinate Independent Convolutional Networks. 2023. URL https://maurice-weiler.gitlab.io/cnn_book/EquivariantAndCoordinateIndependentCNNs.pdf.
[28] F. Peter and H. Weyl. Die vollständigkeit der primitiven darstellungen einer geschlossenen kontinuierlichen gruppe. Mathematische Annalen, 97(1):737–755, Dec 1927. ISSN 1432-1807. doi: 10.1007/BF01447892. URL https://doi.org/10.1007/BF01447892.
[29] Ming-Kuei Hu. Visual pattern recognition by moment invariants. IRE Transactions on Information Theory, 8(2):179–187, 1962. doi: 10.1109/TIT.1962.1057692.
[30] Roxana Bujack and Jan Flusser. Flexible moment invariant bases for 2D scalar and vector fields. Proceedings of International Conference in Central Europe on Computer Graphics, Visualization and Computer Vision (WSCG), 590, 2017.
[31] Kurt Hornik, Maxwell Stinchcombe, and Halbert White. Multilayer feedforward networks are universal approximators. Neural networks, 2(5):359–366, 1989.
[32] Tomáš Karella, Filip Šroubek, Jan Blažek, Jan Flusser, and Václav Košík. H-next: The next step towards roto-translation invariant networks. In 34th British Machine Vision Conference 2023, BMVC 2023, Aberdeen, UK, November 20-24, 2023. BMVA, 2023. URL https://papers.bmvc2023.org/0578.pdf.
[33] Abraham De Moivre. III. Equationum quarundam potestatis tertiae, quintae, septimae, nonae, & superiorum, ad infinitum usque pergendo, in terminis finitis, ad instar regularum pro cubicis quae vocantur cardani, resolutio analytica. Philosophical Transactions, 25(309):2368–2371, 03 1707. ISSN 0260-7085. doi: 10.1098/rstl.1706.0037. URL https://doi.org/10.1098/rstl.1706.0037.
[34] Mingxing Tan and Quoc Le. Efficientnetv2: Smaller models and faster training. In International conference on machine learning, pages 10096–10106. PMLR, 2021.
[35] Nate Gruver, Marc Anton Finzi, Micah Goldblum, and Andrew Gordon Wilson. The lie derivative for measuring learned equivariance. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=JL7Va5Vy15J.
[36] Hugo Larochelle, Dumitru Erhan, Aaron Courville, James Bergstra, and Yoshua Bengio. An empirical evaluation of deep architectures on problems with many factors of variation. In ICML, 2007. URL https://www.cs.toronto.edu/~larocheh/publications/deep-nets-icml-07.pdf.
[37] Gong Cheng, Junwei Han, and Xiaoqiang Lu. Remote sensing image scene classification: Benchmark and state of the art. Proceedings of the IEEE, 2017. URL https://huggingface.co/datasets/timm/resisc45.
[38] Patrick Helber, Benjamin Bischke, Andreas Dengel, and Damian Borth. Eurosat: A novel dataset for land use and land cover classification. IEEE J-STARS, 2019. URL https://huggingface.co/datasets/timm/eurosat-rgb.
[39] Mircea Cimpoi, Subhransu Maji, Iasonas Kokkinos, and Andrea Vedaldi. Describing textures in the wild. CVPR, 2014. URL https://www.robots.ox.ac.uk/~vgg/data/dtd/.
[40] Anastasiia Kim, Teeratorn Kadeethum, Christine Downs, Hari S Viswanathan, and Daniel O'Malley. Aerial imagery dataset of lost oil wells. Scientific Data, 11(1):1005, September 2024. URL https://www.nature.com/articles/s41597-024-03820-0.
[41] Galaxy zoo dataset, 2024. URL https://huggingface.co/datasets/mrJordi0/galaxy-zoo-dataset.
[42] Joshua Yao-Yu Lin, Song-Mao Liao, Hung-Jin Huang, Wei-Ting Kuo, and Olivia Hsuan-Min Ou. Galaxy morphological classification with efficient vision transformer, 2021. URL https://arxiv.org/abs/2110.01024.
[43] Mike Walmsley, Chris Lintott, Tobias Géron, Sandor Kruk, Coleman Krawczyk, Kyle W. Willett, Steven Bamford, Hugh Dickinson, Lucy Fortson, Yarin Gal, William Keel, Karen L. Masters, Vihang Mehta, Brooke D. Simmons, Rebecca Smethurst, Elisabeth M L Baeten, and Christine Macmillan. Galaxy zoo decals: Detailed visual morphology measurements from volunteers and deep learning for 314,000 galaxies. Monthly Notices of the Royal Astronomical Society, 509(3):3966–3988, 2022. doi: 10.1093/mnras/stab2093. URL https://doi.org/10.1093/mnras/stab2093.
[44] Colorectal histology dataset, 2024. URL https://huggingface.co/datasets/dpdl-benchmark/colorectal_histology.
[45] Rossella Aversa, Mohammad Hadi Modarres, Stefano Cozzini, and Regina Ciancio. Nffaeurope - 100% sem dataset, October 2018. URL https://doi.org/10.23728/b2share.80df8606fcdb4b2bae1656f0dc6db8ba.
[46] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.
[47] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=YicbFdNTTy.
[48] William T. Freeman and Edward H. Adelson. The design and use of steerable filters. IEEE Trans. Pattern Anal. Mach. Intell., 13:891–906, 1991. URL https://api.semanticscholar.org/CorpusID:29187618.
[49] Maurice Weiler, Fred A Hamprecht, and Martin Storath. Learning steerable filters for rotation equivariant cnns. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 849–858, 2018.
[50] Erik J Bekkers, Maxime W Lafarge, Mitko Veta, Koen AJ Eppenhof, Josien PW Pluim, and Remco Duits. Roto-translation covariant convolutional networks for medical image analysis. In International conference on medical image computing and computer-assisted intervention, pages 440–448. Springer, 2018.
[51] Jiaming Han, Jian Ding, Nan Xue, and Gui-Song Xia. Redet: A rotation-equivariant detector for aerial object detection. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 2786–2795, 2021.
[52] Sneh Pandya, Purvik Patel, Jonathan Blazek, et al. E(2) equivariant neural networks for robust galaxy morphology classification. arXiv preprint arXiv:2311.01500, 2023.
[53] Arnab Kumar Mondal, Siba Smarak Panigrahi, Oumar Kaba, Sai Rajeswar Mudumba, and Siamak Ravanbakhsh. Equivariant adaptation of large pretrained models. Advances in Neural Information Processing Systems, 36:50293–50309, 2023.
[54] Emanuele Santellani, Christian Sormann, Mattia Rossi, Andreas Kuhn, and Friedrich Fraundorfer. S-trek: Sequential translation and rotation equivariant keypoints for local feature extraction. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 9728–9737, 2023.
[55] Nathaniel Thomas, Tess Smidt, Steven Kearnes, Lusann Yang, Li Li, Kai Kohlhoff, and Patrick Riley. Tensor field networks: Rotation-and translation-equivariant neural networks for 3d point clouds. arXiv preprint arXiv:1802.08219, 2018.
[56] Erik J Bekkers, Sharvaree Vadgama, Rob Hesselink, Putri A Van der Linden, and David W. Romero. Fast, expressive mathrm{SE}(n) $equivariant networks through weight-sharing in position-orientation space. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=dPHLbUqGbr.
[57] Alice E. A. Allen, Emily Shinkle, Roxana Bujack, and Nicholas Lubbers. Optimal invariant sets for atomistic machine learning. npj Computational Materials, 12(1):75, Jan 2026. ISSN 2057-3960. doi: 10.1038/s41524-025-01948-0. URL https://doi.org/10.1038/s41524-025-01948-0.
[58] Dmitry Laptev, Nikolay Savinov, Joachim M. Buhmann, and Marc Pollefeys. Ti-pooling: Transformation-invariant pooling for feature learning in convolutional neural networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2016.
[59] Stéphane Mallat. Group invariant scattering. Communications on Pure and Applied Mathematics, 65(10):1331–1398, 2012.
[60] Yanzhao Zhou, Qixiang Ye, Qiang Qiu, and Jianbin Jiao. Oriented response networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017.
[61] Diego Marcos, Michele Volpi, Nikos Komodakis, and Devis Tuia. Rotation equivariant vector field networks. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Oct 2017.
[62] Valentin Delchevalerie, Adrien Bibal, Benoît Frénay, and Alexandre Mayer. Achieving rotational invariance with bessel-convolutional neural networks. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P.S. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems, volume 34, pages 28772–28783. Curran Associates, Inc., 2021. URL https://proceedings.neurips.cc/paper_files/paper/2021/file/f18224a1adfb7b3dbff668c9b655a35a-Paper.pdf.
[63] Hanlin Mo and Guoying Zhao. Ric-cnn: Rotation-invariant coordinate convolutional neural network. Pattern Recognition, 146:109994, 2024. ISSN 0031-3203. doi: https://doi.org/10.1016/j.patcog.2023.109994. URL https://www.sciencedirect.com/science/article/pii/S0031320323006921.
[64] Sergey N. Pozdnyakov, Michael J. Willatt, Albert P. Bartók, Christoph Ortner, Gábor Csányi, and Michele Ceriotti. Incompleteness of atomic structure representations. Phys. Rev. Lett., 125:166001, Oct 2020. doi: 10.1103/PhysRevLett.125.166001. URL https://link.aps.org/doi/10.1103/PhysRevLett.125.166001.
[65] Roxana Bujack, Emily Shinkle, Alice Allen, Tomas Suk, and Nicholas Lubbers. Flexible moment-invariant bases from irreducible tensors, 2025. URL https://arxiv.org/abs/2503.21939. arXiv:2503.21939 [cs.CV], https://arxiv.org/abs/2503.21939.
[66] Chaitanya K Joshi, Cristian Bodnar, Simon V Mathis, Taco Cohen, and Pietro Lio. On the expressive power of geometric graph neural networks. In International conference on machine learning, pages 15330–15355. PMLR, 2023.
[67] Godfrey Harold Hardy and Edward Maitland Wright. An introduction to the theory of numbers. Oxford university press, 1979.
[68] David Romero, Erik Bekkers, Jakub Tomczak, and Mark Hoogendoorn. Attentive group equivariant convolutional networks. In International Conference on Machine Learning, pages 8188–8199. PMLR, 2020.
[69] Gudrun Schwarzer. Development of face processing: The effect of face inversion. Child development, 71(2):391–401, 2000.
[70] John M Lee. Smooth manifolds. In Introduction to smooth manifolds, pages 1–29. Springer, 2003.
A Flexible Bases
Flexibility was first formalized by Bujack et al. [30], who observed that the Flusser basis (Eq. (6)) cannot distinguish patterns for which all type-1 moments vanish. This occurs, for example but not exclusively, for n-fold symmetric patterns. For example, in the four-particle configuration in Fig. 5, rotations affect only the phase of , while the reference moment remains zero. Since the Flusser basis uses as a fixed phase reference, the resulting invariants become degenerate for such patterns. Similar phenomena arise in three-dimensional settings, including atomic structure representations [64, 65] and geometric graph neural networks [66], where distinct configurations may become indistinguishable under insufficiently expressive invariant/equivariant features.
Rotating 4-fold with fixed 3-fold


Figure 5: Flexible benchmark and its invariant representation. Left: data generation from rotated three-fold and four-fold structures, with labels determined by their minimal distance. Right: projection into Flusser complex moments, showing the structured embedding induced by invariant features. Inspired by graph neural network benchmarks [66].
This motivates the flexible basis [30]. Rather than fixing as the reference moment, the flexible construction selects a nonzero moment as the phase reference. This keeps the representation informative when lower-order moments vanish. If the degeneracy structure is unknown, one can consider each nonzero moment as a possible reference, yielding a larger flexible invariant set at the cost of a quadratic increase in moment combinations. The flexible basis by Bujack et al. [30] has two shortcomings. The first is that it requires a-priori knowledge about the input pattern. The second is that it requires keeping multiple frames in case of rotationally symmetric patterns. In the next section, we will show that we can overcome both.
A.1 Synthetic flexibility benchmark
We test this effect in a pixel-based synthetic classification task. Each sample contains a three-fold and a four-fold structure on circles of different radii. The binary label is determined by their minimal distance, split at the median to obtain a balanced dataset. The point configurations are projected onto a regular grid and smoothed with a Gaussian kernel to reduce interpolation artifacts from discretization and rotation.
We evaluate a simple convolutional model in which a single Mon/Inv-layer filter spans the full spatial resolution of the image under valid convolution, producing a feature map that is passed to an MLP classifier. With the non-flexible Flusser basis (Eq. (6)) and non-flexible optimal basis (Eq. (13)), the model achieves only chance-level accuracy, approximately 50%. In contrast, applying the flexible construction to the optimal basis increases accuracy to approximately 99%.
Interestingly, adding padding allows the non-flexible bases to recover performance comparable to the flexible bases. Padding introduces boundary context that can break the perfect symmetry seen by the valid convolution, thereby compensating for the degenerate reference moment. Thus, padding acts as an architectural shortcut: it restores empirical performance without resolving the underlying limitation of the non-flexible basis.
A.2 Implications for Dense Invariant CNNs
In our CNNs, replacing the optimal basis with its flexible variant did not lead to measurable improvements in classification accuracy. To understand this, we measured how often candidate reference moments vanish across channels and spatial locations. Table 3 reports the fraction of near-zero moments for several datasets.
The observed frequencies are extremely small across all datasets and moment orders. This suggests that, in dense pixel or feature-map representations, exact moment degeneracies are rare. Unlike sparse point or graph representations, where highly symmetric configurations can make reference moments vanish exactly, spatially extended convolutional features and image discretization tend to break such degeneracies.
Together with the synthetic benchmark in Fig. 5, these results suggest that flexibility primarily matters in settings with sparse or highly symmetric inputs, where a chosen reference moment may vanish while alternative moments remain available. In contrast, such degeneracies occur only rarely in the dense feature representations produced by our CNNs (tested before and after training). This differs from settings such as geometric graph neural networks [66], where sparsity persists throughout the network and indistinguishable configurations arise more frequently.
| Dataset | |||||
|---|---|---|---|---|---|
| Histology | 8.7e-5 | 2.7e-4 | 2.1e-4 | 7.1e-5 | 5.1e-5 |
| MNIST | 1.4e-6 | 1.4e-6 | 1.4e-6 | 1.4e-6 | 1.4e-6 |
| Satellite | 1.8e-5 | 2.2e-4 | 4.9e-4 | 2.3e-6 | 1.4e-6 |
Table 3: Conditional probability that another moment is nonzero given that the reference moment is zero, measured across channels and spatial locations. Larger values indicate cases where flexible reference selection could avoid degeneracies caused by a vanishing reference moment. The consistently small probabilities indicate that situations where an alternative reference moment could be used are exceedingly rare in these CNN feature representations.
B Optimal Invariant Descriptors
In this appendix, we show how to derive an optimal map of descriptors, by which we mean that they are discriminative and minimal, i.e., the descriptor is able to distinguish any two inputs that differ by something other than a rotation, and that removing any element breaks that property [23].
After some notation, we will first introduce the Bézout map, which can discriminate a known input from every other pattern. Then, we describe the minimal discriminative map. We prove that it achieves general discriminability without a-priori knowledge by deriving any Bézout map from its descriptors. We also prove invariance and minimality for both O(2) and SO(2).
Note that discriminability refers to a set of admissible input patterns. Generally, we consider patterns only up to a maximal finite order. Flusser's basis can discriminate any pattern that has a non-zero moment of type one. The Bézout map is more powerful. It can discriminate any pattern as long as we know it a-priori. The flexible map is the most powerful one. It can discriminate any patterns without prior knowledge.
B.1 From Complex to Fourier Moments
Complex moments are typically used with two indices [24]. To make notation more concise and generalize to moments with other radial parts, such as Zernike moments, in this section we split angular from radial parts.
Let , and write . Assume the following moments exist. The complex moments are
In polar coordinates,
Thus under rotation the moment transforms with type
and
Hence we reduce to Fourier moments
For real-valued f,
Under rotation , the moments transform via
Under reflection , the moments transform via
B.2 Bézout Map
In this section, we show that a basis of descriptors can be chosen if the input is known a-priori. For a given set of input moments, we derive a map that discriminates it from any other set of moments using Bézout's identity [67].
Let
be the set of Fourier moments of a real-valued function
up to order . In case all moments are zero, we define all descriptors to be zero as well. From now on, we assume at least one moment is non-zero.
Let
be the set of indices with non-zero moments, and let
be their greatest common divisor. Then all non-zero moment indices are multiples of d,
If zero moments are present, we set their Bézout coefficients to zero, i.e., . By Bézout's identity there exist integers such that
This yields a rotational normalizer of type d,
To simplify the inverse problem, we normalize to unit magnitude:
(30) where the square root denotes the positive one.
The Bézout map is then defined as
For each k, we define
Since for all non-zero moments, we have , and thus
This expression is well-defined since .
B.2.1 Invariance
Theorem 1. The Bézout map is invariant to rotations.
Proof. We know from (21) that under rotations
Hence
☐
The Bézout map is not invariant to reflections. It follows from (22) that the imaginary part of each descriptor changes sign upon reflection while its real part remains unchanged. Therefore, the Bézout map can be easily adapted to be invariant to rotations and reflections by replacing each complex descriptor by its magnitude and real part
A more flexible/robust choice, though, is to use the magnitude of the moments and the real part. If a pattern with a different support is used than the one for which the Bézout map was created, its normalizer can vanish , which causes every element of the Bézout map to vanish, except the trivial ones with , because they are all products of . Instead, using
keeps all the magnitudes usable, maintaining half the information.
B.2.2 Discriminability
Theorem 2. The Bézout map is discriminative.
Proof. The full Fourier transform is injective on the function class considered. Since we only use moments up to order , it suffices here to prove discriminability of the truncated moment vectors up to the rotation action.
We solve the inverse problem analogously to Flusser [25] by working in the canonical gauge, i.e., in the chosen standard position where . Then, we immediately know that and the reconstruction of the moments becomes trivial
18
☐
B.2.3 Minimality
The Bézout Map is not in general independent or minimal. Assume that there exists an index such that , then we can replace the complex with only its norm .
We construct in the canonical gauge. There the normalized Bézout normalizer satisfies , which leads to and
Using (29) and , we can first compute
Then since , we can isolate
An analogous result can be derived for . In both cases, the map
is minimally discriminative.
B.2.4 Relation to Flusser's Basis
If , we have and can directly choose , , ..., , which leads to ,
and
This is exactly the Flusser basis [24] up to normalization.
Analogously to Sec. B.2.1, we can make Flusser's basis
invariant to rotations and reflections by
and more flexible and robust via
For a pattern with a , all nontrivial elements of Flusser's basis vanish because they contain powers of . We use the flexible one, which maintains all magnitude information.
Note that this variant is not fully discriminative. However, among descriptors that retain only one phase descriptor per order, it is optimal in the sense that it preserves all available magnitude information while keeping the descriptor cardinality fixed. In the next part, we will see how full discriminability can be achieved by adding more descriptors.
“latex
B.3 The Minimal Discriminative Map
The previous subsection assumed that we know the input pattern. In a general machine learning model, this assumption does not hold. In this subsection, we derive a minimal discriminative set for arbitrary, a-priori unknown input patterns. We will show that there is no basis, because all discriminative descriptor sets are algebraically dependent. Still, there is an optimal map of descriptors, as it is the smallest that can discriminate any two inputs.
We construct the minimal flexible set in the following way. Let
be the set of Fourier moments of an arbitrary real-valued function
up to a given order .
The minimal flexible set consists of magnitudes and all pairwise combinations
of the form
with
If , we define . We need to prove invariance, discriminability, and minimality.
B.3.1 Invariance
Theorem 3. The minimal discriminative map is invariant under rotations.
Proof. We show that every element of is invariant under planar rotations . First, the magnitudes are invariant because of
Then, for any two moments with , the mixed terms satisfy
Thus each is rotation invariant, and consequently the entire map is invariant under planar rotations.
Φ is not invariant to reflections. It follows from (22) that the imaginary part of each mixed term changes sign upon reflection while its real part remains unchanged. Therefore, Φ can be easily adapted to be invariant to rotations and reflections by replacing each complex descriptor by its magnitude and real part
B.3.2 Discriminability
Theorem 4. The minimal discriminative map is discriminative.
Proof. We show that any Bézout invariant can be constructed from the flexible set . Then, discriminability of follows from the discriminability of the Bézout map.
First, we derive all with , which are not part of , from
if and zero otherwise.
Then since all magnitudes are part of , we know which moments are non-zero and part of the support (25), so we know the type (26) and Bézout coefficients (28). For , we obtain
Since all magnitudes are part of , we can derive
Together, we obtain
Thus every Bézout invariant can be constructed from . For , both and vanish. Hence is discriminative.
B.3.3 Minimality
Theorem 5. The minimal discriminative map is minimal.
Proof. We will show that removing any element causes two sets of moments that differ by something other than a rotation to be indistinguishable.
Removing a magnitude leads to the moment sets , others zero becoming indistinguishable from , others zero because except for , all elements of are zero for both.
Fix an admissible pair and consider . We exhibit the two different moment sets. For set 1
others zero, and for set 2
others zero.
Clearly, all magnitudes agree. For any remaining descriptor , if , then at least one involved moment is zero in both moment sets, hence both descriptors are zero. Thus all descriptors in coincide, while separates the two moment sets.
We show by contradiction that the moments are not related by rotation . Assume a rotation exists. Then for some ,
From the j-moment,
hence
and therefore
Using the k-moment, we require
Substituting gives
Equality of exponentials implies
Dividing by and multiplying by j yields
i.e.,
Write
Then
Dividing by gives
This is impossible because the left-hand side is even while the right-hand side is odd. Hence no such rotation exists.
Thus every descriptor is necessary, and is minimally discriminative.
B.3.4 Dependence
The set is minimal with respect to discriminability, but not independent. Indeed,
C Equivariant Structure
Recent work on equivariant neural networks has emphasized the importance of preserving relative orientation information across features [27, 68]. In particular, Romero et al. argue that fully invariant local representations may discard geometric relationships required for object composition [68]. Fig. 6 illustrates this phenomenon: although the local facial components are identical, disrupting their relative orientations and spatial arrangement destroys the perception of a coherent face.
Motivated by these observations, we investigated whether explicitly retaining equivariant information alongside invariant features improves performance in our setting. In addition to the invariant basis introduced in Eq. (13), we considered variants that preserve a subset of equivariant moment information, such as: (i) retaining the reference moment , which encodes local orientation information, (ii) projecting moment features jointly into type-0 (invariant) and type-1 (equivariant) representations.
Empirically, we did not observe consistent improvements from including explicit equivariant branches. Across the evaluated benchmarks, models based solely on invariant features achieved comparable
Using e2cnn layers for dealing with type-1 features.

Figure 6: Relative pose relationships are essential for object composition. All panels contain the same local facial components, but only the outer panels preserve a coherent global face configuration. The inner panels disrupt the relative positions, orientations, and scales of the parts, illustrating that independent invariance of local elements can discard information needed to recognize the object as a face. Taken from Romero et al. [68, Fig. 1], based on Schwarzer [69].
Table 4: Comparison between invariant and equivariant variants on RotMNIST. Adding an explicit equivariant branch does not improve performance over the invariant architecture.
| Architecture | Accuracy | # Params |
|---|---|---|
| E2CNN | 98.82 ± .01 | 362 K |
| Mom/Inv CNNs | 99.00 ± .03 | 362 K |
| Equivariant Branch | 98.82 ± .06 | 363 K |
or better performance than architectures augmented with equivariant components. This behavior is consistent with the quantitative results in the main text, where the proposed invariant models perform competitively with fully equivariant baselines despite operating entirely in the invariant feature space.
One possible explanation is that, although each local feature is individually invariant, relative orientation information can still be inferred implicitly from spatial arrangements across the continuous feature maps. Thus, global geometric structure may remain accessible without explicitly propagating equivariant feature fields through the network.
To further examine this question, we evaluated a variant of the architecture that augments the invariant branch with an additional type-1 equivariant branch. Results on RotMNIST are summarized in Table 4. The proposed invariant architecture achieves the highest accuracy while maintaining essentially the same parameter count. Adding an explicit equivariant branch did not improve performance and produced results comparable to the equivariant baseline.
D Radial Basis Design
The proposed moment layer depends on the choice of radial basis functions used in the separable kernel construction of Eq. (3). We therefore investigate the sensitivity of the architecture to different radial discretizations and parameterizations.
We first study the effect of the number of radial rings used to discretize the radial component. Results are reported in Table 6. Performance remains stable across a broad range of ring counts, with a slight optimum observed around four rings. Next, we compare three radial basis parameterizations: B-splines, monomials used in classical pattern recognition [20], and orthogonal Legendre polynomials. The results are summarized in Table 5.
E Filter Size Trade-off
We further analyze the influence of filter size on rotational generalization. Results are shown in Fig. 7, where we evaluate validation accuracy on both upright and rotated inputs without data augmentation.
As the filter size increases, performance on upright numerals remains consistently high, while accuracy on rotated samples improves substantially. This suggests that larger receptive fields better
Table 5: Comparison of different radial basis parameterizations. Performance remains consistent across variants and simplified radial constructions.
| Variant | Test Accuracy | Val Accuracy |
|---|---|---|
| Monomials | 98.82 | 99.25 |
| Legendre polynomials | 98.80 | 98.97 |
| B-splines | 99.07 | 99.74 |
Table 6: Effect of the number of radial rings. Performance is stable across a range of values, with a slight optimum at 4 rings.
| Ring Count | Test Accuracy | Train Accuracy | Val Accuracy |
|---|---|---|---|
| 4 | 99.15 | 99.93 | 99.87 |
| 7 | 99.15 | 99.98 | 99.89 |
| 3 | 99.13 | 99.89 | 99.80 |
| 6 | 99.13 | 99.96 | 99.89 |
| 5 | 99.09 | 99.95 | 99.83 |
| 8 | 99.02 | 99.77 | 99.22 |
capture rotational structure by integrating information over a wider spatial neighborhood. In contrast, smaller filters are more sensitive to local orientation changes and therefore generalize less effectively to unseen rotations.
These results highlight a trade-off between local precision and rotational robustness. While very small filters may better preserve fine-grained local structure, larger filters provide improved stability under rotations with only minimal impact on standard upright performance.
F NFFA-Europe
To evaluate the proposed invariant architecture in a realistic scientific-image setting, we use the NFFA-Europe SEM dataset [45], “a large-scale collection of scanning electron microscopy (SEM) images acquired at CNR-IOM (Trieste, Italy) within the NFFA-Europe project. The dataset contains approximately 25k grayscale SEM images organized into 10 semantic categories, including biological samples, nanowires, MEMS structures, patterned materials, and other nanoscale structures. Classification labels were validated by groups of nanoscientists through the online annotation platform http://sem-classifier.nffa.eu, and only images with strong annotation agreement were retained in the final dataset.” [45]

Figure 7: Effect of filter size on validation performance without data augmentation. The left y-axis shows validation accuracy on upright digits, while the right y-axis shows validation accuracy on digits rotated by . Larger filters preserve very high upright accuracy while substantially improving performance on rotated inputs, illustrating the trade-off between local precision and rotational robustness. Error bars indicate one standard deviation across runs.
Number of Images Per Class

Figure 8: Distribution of SEM images across classes in the NFFA-Europe dataset. The dataset exhibits significant class imbalance, with some categories containing substantially fewer samples than others. This makes the benchmark particularly relevant for evaluating symmetry-aware architectures in low-data regimes.
The dataset therefore provides a challenging benchmark for representation learning with a limited number of samples and substantial intra-class variability. Images are resized and center-cropped to a fixed spatial resolution before training. The dataset is particularly well-suited for studying rotational invariance. Object orientation in SEM imaging is typically arbitrary and does not carry semantic meaning, while many classes exhibit strong rotational or texture-like symmetries. At the same time, the dataset remains relatively small compared to standard natural-image benchmarks and exhibits substantial class imbalance, making it a suitable testbed for evaluating sample efficiency and inductive biases.
Fig. 8 shows the distribution of images across categories. While some classes contain several thousand samples, others are comparatively scarce, highlighting the importance of architectures that can generalize effectively in low-data regimes.
G Additional Quantitative Study
In addition to -CNNs, we compare against several widely used equivariant, non-equivariant architectures, including Harmonic Networks (H-Nets) [11], ResNets [46], and Vision Transformers [47]. These baselines were selected because they represent complementary approaches to incorporating inductive biases while remaining the closest standard architectures to our setting. To ensure a fair comparison, all models were evaluated in compact, low-parameter regimes comparable to our architecture size. For H-Nets, increasing model scale did not yield measurable accuracy improvements, and we therefore report results using a smaller configuration. In addition, scaling to larger benchmarks was computationally challenging, with runtimes often exceeding those of our method by a factor of 5–20; consequently, we omit these experiments from the main comparison table. Overall, the comparisons highlight that our invariant moment architecture achieves strong performance while maintaining substantially lower parameter counts than equivariant and standard non-equivariant alternatives.
H Minimal Implementation
We provide a minimal implementation of the invariant feature construction used in our experiments to facilitate reproducibility. The code illustrates how invariant features are computed from moments, abstracted from framework-specific details. For the moment projection, one can directly use existing implementations of complex moments or steerable convolutions (e.g., escnn [15, 16]).
Table 7: Quantitative comparison of our CNN to others. Entries are given in the format Acc. ± Std.Dev.(Param.Count)
| Dataset | Ours | E2-CNNs | ResNet | H-Nets | ViT |
|---|---|---|---|---|---|
| MNIST_RotTest | 99.42±.07 (119k) | 97.20±.14 (362k) | 46.28±.26 (373k) | 99.05±.03 (33k) | 42.08±.64 (853k) |
| rotMNIST | 99.08±.04 (119k) | 98.82±.01 (362k) | 98.55±.01 (373k) | 98.74±.03 (33k) | 88.72±.99 (853k) |
| RESISC45 | 85.77±.47 (230k) | 84.02±.27 (365k) | 84.32±.11 (377k) | 53.06±.02 (37k) | 63.18±.55 (928k) |
| EuroSAT_rgb | 95.29±.40 (149k) | 93.90±.34 (363k) | 79.50±.31 (377k) | 86.28±1.13 (45k) | 76.74±.46 (924k) |
| DTD* | 67.14±.27 (336k) | 67.18±.81 (469k) | 56.66±.23 (377k) | 38.24±.87 (36k) | 37.95±.45 (928k) |
| NFFA | 87.02±.87 (227k) | 87.32±.30 (363k) | 85.08±.79 (11M) | - | 74.20±.63 (875k) |
| Galaxy Zoo | 83.30±.03 (227k) | 84.39±.08 (363k) | 82.01±.07 (373k) | - | 77.86±.12 (924k) |
| Col. Hist. | 92.30±.40 (228k) | 91.58±.41 (363k) | 91.36±.58 (377k) | 88.39±.20 (90k) | 85.83±.08 (915k) |
@torch.compile def construction_of_invariants(nt: torch.Tensor, nt_types: Torch.Tensor, eps: float = 1e-7): """ nt: Non-trivial moments (type>=1) of shape [Ba, Ch, #Types, 2 (Real/Imag), H, W] nt_types: Types of nt [#Types]
The first of nt is expected to be the reference type-1 [:, :, 0, ...] """ mag = torch.linalg.vector_norm(nt, dim=-3) safe_mag = magclamp(min=eps)
real, imag = nt.unbind(dim=-3) # NOTE: Torch atan2 is not gradient safe. angle = atan2(imag / safe_mag, real / safe_mag, eps)
n_angle = angle[:, :, 0:1] * -nt_types[:, None, None] n_mag = mag[:, :, 0:1] nt_mag = mag[:, :, 1:] nt_angle = angle[:, :, 1:]
scaled_mag = magnitude_fn(n_mag, nt_mag) angular_inv = scaled_mag * torch.cos(nt_angle + n_angle) return torch.cat([mag, angular_inv], dim=2)
I Dimension of Quotient
Flusser's construction Eq. (6) of invariant features assumes , which removes rotational ambiguity. Under this condition, the group action is free on the corresponding subset of the moment space. As a consequence, the invariant representation can be interpreted as a parametrization of the quotient space whose dimension is given by according to the Quotient Manifold Theorem.
Theorem (Quotient Manifold Theorem). Suppose is a Lie group acting smoothly, freely, and properly on a smooth manifold . Then the orbit space is a topological manifold of dimension equal to , and has a unique smooth structure with the property that the quotient map is a smooth submersion. [70]
J Experimental Settings
Dataset-specific training hyperparameters, including resolutions, batch sizes, learning rates, and preprocessing steps, are summarized in Table 9. Shared architectural hyperparameters for both our Mom/Inv models and ESCNN baselines are provided in Table 8.
| Parameter | Optimal | ESCNN |
|---|---|---|
| Stem kernel size | 15 | 7 |
| Stage kernels | [11, 11, 11] | [5, 5, 5] |
| Stage depths / blocks | [1, 2, 2] | [1, 2, 2] |
| Classifier hidden size | 64 | 64 |
| Dropout | 0.2 | – |
| Maximum type | 3 (4 for DTD) | 3 (4 for DTD) |
| Block type | Mom/Inv Block | GatedBlock |
| Pooling | AveragePool | PointwiseMaxPool |
Table 8: Shared architecture hyperparameters.
Table 9: Dataset-specific training hyperparameters.
| Dataset | Resolution | Batch | Optimal LR | ESCNN LR | Preprocess |
|---|---|---|---|---|---|
| RotMNIST | 16 / 32 | Upscaled to 64 | |||
| MNIST-rot-test | 64 | – | |||
| DTD | 16 | Circular Mask | |||
| EuroSAT | 32 | – | |||
| Galaxy Zoo | 64 | Circular Mask | |||
| RESISC45 | 8 | – | |||
| NFFA | 64 | Grayscale, Aug. Flips |
K Computational Resources
All experiments were conducted using a single GPU due to the compact size of the proposed models. Training was performed on NVIDIA A100 GPUs on a shared compute cluster, as well as NVIDIA RTX 5090 GPUs for local experimentation and development. All models were implemented in PyTorch.