Gyrogroup Batch Normalization

Ziheng Chen, Yue Song, Xiaojun Wu, Nicu SebeICLR 2025

TL;DR

GyroBN is a unified framework for Batch Normalization (BN) on Riemannian manifolds that admit "gyro structures," such as hyperbolic and Grassmannian spaces. By relaxing traditional group requirements to a new structure called pseudo-reductive gyrogroups, the authors provide a principled way to control sample statistics (mean and variance) across diverse non-Euclidean geometries. This leads to more stable training and superior performance in manifold-valued neural networks.

What Problem Does This Paper Address?

Standard Batch Normalization is a cornerstone of Euclidean Deep Learning, but it doesn't "just work" when your data lives on a manifold. In fields like computer vision or medical imaging, data often exists in non-Euclidean spaces—like Symmetric Positive Definite (SPD) matrices, spheres, or Grassmannians—where "adding" or "averaging" points requires specialized Riemannian geometry.

Existing Riemannian Batch Normalization (RBN) methods suffer from two main issues:

  1. Lack of Generality: Most are "one-off" solutions designed for a single geometry (e.g., only for SPD manifolds).
  2. Statistical Failure: Many current RBN methods fail to actually normalize the sample statistics (mean and variance) in a mathematically rigorous way, leading to unstable training.

The challenge is that many of these manifolds do not form a "Lie Group" (a space with a smooth group structure), which is the usual requirement for defining centering and scaling operations.

Comparison of GyroBN with existing Riemannian Batch Normalization methods

Methods

The authors leverage gyrogroup theory. Think of a gyrogroup as a generalization of a group where the standard rule of associativity ($a + (b + c) = (a + b) + c$) is replaced by gyroassociativity. In these spaces, adding elements involves a "gyration"—essentially a mathematical rotation that accounts for the curvature of the space.

Key Innovations:

  • Pseudo-reductive Gyrogroups: The authors found that the standard definition of a gyrogroup was still too restrictive for some spaces (like the Grassmannian). They proposed a relaxed structure called a "pseudo-reductive gyrogroup" and proved it still supports the necessary operations for BN.
  • The GyroBN Framework: They redefine the core BN operations using gyro-logic:
  • Centering: Uses gyro-subtraction to move the batch mean to the identity element.
  • Scaling: Uses a gyro-scalar product to rescale the dispersion (variance).
  • Biasing: Uses gyro-addition to apply learnable shift parameters.
  • Theoretical Guarantees: They identify two minimal requirements—pseudo-reduction and gyroisometric gyrations—that ensure the framework can strictly control sample statistics.
Visualizing GyroBN on the Grassmannian and Poincaré Ball

Datasets

The authors evaluated GyroBN across two distinct types of non-Euclidean networks:

  • Grassmannian Networks: Tested on skeleton-based action recognition using the HDM05, NTU60, and NTU120 datasets.
  • Hyperbolic Networks: Tested on link prediction tasks using graph datasets: Cora, Disease, Airport, and Pubmed.

Key Insights and Ideas

  • A Unified Theory: One of the most elegant parts of the paper is showing that previous, seemingly unrelated RBN methods (like LieBN or AIM-based SPDBN) are actually just special cases of the GyroBN framework.
  • The "Rotation" is the Secret: In curved spaces, you can't just shift data; you have to rotate it correctly as you move it. GyroBN handles this automatically through the "gyration" operator, which ensures that the "shape" of the data distribution is preserved during normalization.
  • Grassmannian Breakthrough: This work presents the first-ever implementation of Batch Normalization for the Grassmannian manifold with theoretical statistical control.
  • Efficiency over Complexity: Interestingly, gyro-operations are often computationally cheaper than standard Riemannian operations (like parallel transport), which frequently require expensive Singular Value Decompositions (SVD).

Key Results

  • Performance Boost: On the NTU120 action recognition task, GyroBN improved the accuracy of the "GyroGr" backbone by 1.71%, significantly outperforming other manifold-based normalization techniques which actually degraded performance on that dataset.
  • Stability in Hyperbolic Space: In hyperbolic link prediction (Disease dataset), GyroBN achieved an AUC of 81.2%, compared to 75.1% for the base network and 76.6% for the previous state-of-the-art hyperbolic RBN.
  • Faster Convergence: Hyperbolic networks with GyroBN converged in roughly 150 epochs, whereas those without it (or using older RBNs) required over 400 epochs.
  • Computational Efficiency: On the NTU120 dataset, GyroBN was nearly 4x faster per epoch than "ManifoldNorm," proving that rigorous math doesn't have to be slow.

Limitations and Future Work

  • Gyro-Dependency: The framework only works on manifolds that admit a gyro structure. While this covers the most popular manifolds in ML (SPD, Hyperbolic, Grassmannian, Spherical), some exotic geometries remain "untouched."
  • Cut Locus Issues: On the Grassmannian, the required logarithmic maps aren't defined globally due to the "cut locus" (points that are too far apart). The authors assume data stays within a safe range, but a more robust handling of the cut locus could be a future improvement.
  • Future Directions: The authors plan to extend this work to even more complex "gyro spaces" and explore its application in deep generative models living on manifolds.

Summary updated

BibTeX
@inproceedings{chen2025gyrogroup,
  author = {Ziheng Chen and Yue Song and Xiaojun Wu and Nicu Sebe},
  title = {{Gyrogroup Batch Normalization}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=d1NWq4PjJW},
}
Figure