Riemannian Batch Normalization: A Gyro Approach

Ziheng Chen, Xiao-Jun Wu, Bernhard Schölkopf, Nicu SebearXiv 2025 · DOI

Abstract

Batch Normalization (BN) is a cornerstone of modern deep learning, yet its standard Euclidean formulation fails when data resides on curved Riemannian manifolds. We introduce GyroBN, a unified framework that leverages the algebraic structure of gyrogroups to correctly center and scale data across diverse geometries, including spheres, hyperbolic spaces, and the Grassmannian. By introducing pseudo-reductive gyrogroups, we provide rigorous theoretical control over sample statistics and demonstrate significant improvements in training stability and performance across multiple non-Euclidean benchmarks.

Introduction

In high-impact fields such as medical imaging, robotics, and graph analysis, data often lives on curved surfaces known as Riemannian manifolds rather than flat Euclidean planes. While Riemannian Neural Networks have been developed to process such data, they lack a robust equivalent to Batch Normalization. Standard BN relies on subtraction and division—operations not naturally defined on manifolds. Previous attempts at Riemannian BN were either restricted to specific geometries (e.g., SPD matrices) or lacked theoretical guarantees for proper centering and scaling, leading to unstable training and poor generalization.

Methods: The Gyrogroup Framework

GyroBN addresses these challenges by turning to Gyrogroups, a mathematical framework that generalizes vector space addition to curved spaces. The framework redefines core BN operations using gyro-algebra:

  1. Centering: Employs gyrosubtraction ($\ominus \mu \oplus x_i$) to shift the batch mean to the manifold's origin.
  2. Scaling: Uses scalar gyromultiplication to adjust the data's dispersion.
  3. Biasing: Applies a learnable shift via gyroaddition.
Visualization of GyroBN centering and scaling data points on a Riemannian manifold.

Theoretical Contributions

A key innovation is the introduction of pseudo-reductive gyrogroups. This theoretical relaxation allows GyroBN to apply to complex geometries like the Grassmannian, which were previously incompatible with standard gyrogroup theory. Furthermore, the authors prove that left gyroaddition is essential for ensuring that centering and biasing preserve the geometric isometries of the data.

Comparison of GyroBN with existing Riemannian normalization methods across different geometries.

Computational Efficiency

For common geometries like the hyperboloid and sphere, GyroBN utilizes closed-form expressions. This avoids the computationally expensive iterative Riemannian maps (Log and Exp maps) required by prior methods. Additionally, while calculating the Fréchet mean is typically iterative, the authors found that 1 or 2 iterations are sufficient for effective normalization, providing a high-performance trade-off.

Experimental Results

The framework was validated across seven geometries and several benchmark tasks:

  • Skeleton-based Action Recognition (Grassmannian): Evaluated on HDM05, NTU60, and NTU120 datasets.
  • Graph Link Prediction (Constant Curvature): Tested on Cora, Disease, Airport, and Pubmed.
  • Action Recognition (Correlation Manifolds): Tested on Radar, HDM05, and FPHA.

Key Findings: * Performance: GyroBN consistently outperformed vanilla backbones and prior Riemannian BN methods, achieving a +2.92% accuracy boost on the HDM05 dataset. * Speed: The closed-form radius gyroaddition is 2x to 3x faster than standard Riemannian implementations. * Stability: GyroBN significantly reduces the condition numbers of weight matrices and network Jacobians, smoothing the optimization landscape and mitigating gradient issues.

Conclusion and Future Work

GyroBN provides a principled, "plug-and-play" algorithm for normalizing data on Riemannian manifolds. While it covers a wide array of geometries, future work may explore even more general algebraic structures for manifolds that do not admit gyro-structures. Additionally, scaling GyroBN to massive, transformer-like Riemannian architectures remains a promising frontier for non-Euclidean deep learning.

Summary updated

BibTeX
@misc{chen2025riemannian,
  author = {Ziheng Chen and Xiao-Jun Wu and Bernhard Schölkopf and Nicu Sebe},
  title = {{Riemannian Batch Normalization: A Gyro Approach}},
  year = {2025},
  eprint = {2509.07115},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.07115},
}
Figure