A General Framework for Robust G-Invariance in G-Equivariant Networks

Sophia Sanborn, Nina Miolane · DOI

Introduction: The Challenge of Invariance

In computer vision, achieving invariance to transformations like rotations or reflections is a fundamental goal. A handwritten "5" should be recognized as a "5" regardless of its orientation. Group-equivariant neural networks ($G$-CNNs) are designed to handle these symmetries mathematically. However, the final step in these networks typically involves a "pooling" operation to achieve global invariance.

Standard methods, such as Max $G$-Pooling, are often "lossy." They are incomplete invariants, meaning they can discard vital structural information. This "excessive invariance" creates blind spots, making models vulnerable to adversarial attacks where specific noise can trick a network into seeing features that aren't truly present.

The $G$-Triple-Correlation ($G$-TC) Layer

To address these limitations, this research introduces the $G$-triple-correlation ($G$-TC) layer. Unlike standard pooling, the $G$-TC layer provides complete invariance—it removes only the variation caused by the group action while preserving all other structural information about the signal.

Comparison between standard Max G-Pooling (incomplete) and the proposed G-Triple-Correlation (complete).

Mathematical Foundation and Efficiency

The core of this layer is the triple correlation, a tool from signal processing that integrates a signal multiplied by two independently transformed copies of itself. In group theory terms, a complete invariant can perfectly distinguish between different orbits (the set of all possible versions of a signal under group actions). While standard pooling often lumps different orbits together if they share a maximum value, $G$-TC separates them.

To make this computationally feasible, the authors leverage the bispectrum, the spectral dual of the triple correlation. This reduces the complexity from quadratic ($|G|^2$) to potentially linear ($|G|+1$) for certain groups. The framework is general and can be applied to any discretized group using its Cayley table.

Experimental Evaluation

The $G$-TC layer was evaluated on benchmarks modified to test robust group invariance:

  • $G$-MNIST: Handwritten digits with random 2D rotations ($SO(2)$) and reflections ($O(2)$).
  • $G$-ModelNet10: 3D objects (e.g., chairs, bottles) in a voxelized grid with random 3D rotations ($SO(3)$) and reflections ($O(3)$).
Visualization of the G-MNIST and G-ModelNet10 datasets under different group transformations.

Key Results

Models utilizing the $G$-TC layer consistently outperformed those using Max $G$-Pooling. On the $O_h$-ModelNet10 dataset (full octahedral symmetry), classification accuracy improved from 71.73% to 75.22%.

Beyond accuracy, the $G$-TC layer significantly enhances adversarial robustness. In "metamer" experiments, researchers optimized random noise to match the internal representation of a target digit. In Max-Pooling models, this resulted in unrecognizable noise. In $G$-TC models, the optimized images actually resembled the target digits (up to a rotation), demonstrating that the network captures the actual object structure rather than just isolated peak values.

Discussion and Future Work

The $G$-TC layer finds a mathematical "sweet spot" by being the lowest-degree polynomial that is both invariant and complete. However, some challenges remain:

  • Dimensionality: The $G$-TC layer increases feature map dimensionality, requiring careful parameter management in subsequent layers.
  • Complexity in 3D: While the bispectrum trick is effective, reducing complexity for non-commutative groups like 3D rotations is an area of ongoing research.
  • Scalability: The current implementation is optimized for discretized groups; extending this to continuous groups efficiently is a key goal for future work.

By preserving signal structure through complete invariance, the $G$-TC layer offers a more robust and informative alternative to standard pooling in equivariant architectures.

Summary updated

BibTeX
@inproceedings{sanborn2023general,
  author = {Sophia Sanborn and Nina Miolane},
  title = {{A General Framework for Robust G-Invariance in G-Equivariant Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=llP6lmMiXE},
}
Figure