Skip to main content
QUICK REVIEW

[Paper Review] Riemannian approach to batch normalization

Minhyung Cho, Jaehyeong Lee|arXiv (Cornell University)|Sep 27, 2017
Domain Adaptation and Few-Shot LearningComputer Science20 references14 citations
TL;DR

This paper proposes a Riemannian optimization framework for Batch Normalization (BN) by modeling scale-invariant weight vectors as points on the Grassmann manifold š’¢(1,n), enabling geometry-aware gradient descent. The method improves training stability and performance across multiple architectures and datasets by eliminating gradient ambiguity due to weight scaling, outperforming standard SGD and Adam with BN by up to 1.5% error reduction on CIFAR-100 and SVHN.

ABSTRACT

Batch Normalization (BN) has proven to be an effective algorithm for deep neural network training by normalizing the input to each neuron and reducing the internal covariate shift. The space of weight vectors in the BN layer can be naturally interpreted as a Riemannian manifold, which is invariant to linear scaling of weights. Following the intrinsic geometry of this manifold provides a new learning rule that is more efficient and easier to analyze. We also propose intuitive and effective gradient clipping and regularization methods for the proposed algorithm by utilizing the geometry of the manifold. The resulting algorithm consistently outperforms the original BN on various types of network architectures and datasets.

Motivation & Objective

  • Address the instability and ambiguity in gradient updates caused by weight scaling in Batch Normalization (BN), which affects optimization convergence and sensitivity to weight decay.
  • Reformulate the space of BN weight vectors as a Riemannian manifold (specifically, the Grassmann manifold š’¢(1,n)) to enforce scale invariance intrinsically.
  • Develop Riemannian versions of SGD with momentum and Adam that respect the intrinsic geometry of the manifold, ensuring stable and efficient optimization.
  • Introduce a geometric gradient clipping method and a variational inference-based regularization technique tailored to the manifold structure.
  • Demonstrate consistent performance gains over standard BN training across diverse architectures and datasets, including VGG and Wide ResNet on CIFAR-10, CIFAR-100, and SVHN.

Proposed method

  • Model the space of BN weight vectors as the Grassmann manifold š’¢(1,n), where each point represents a direction in weight space, invariant to scalar scaling.
  • Define a Riemannian metric tensor on š’¢(1,n) that preserves the invariance of the BN transformation under weight scaling, enabling intrinsic gradient descent.
  • Derive Riemannian optimization algorithms—Riemannian SGD with momentum and Riemannian Adam—by adapting Euclidean update rules to the manifold using exponential maps and parallel transport.
  • Introduce a geometric gradient clipping method based on the manifold’s tangent space, which constrains gradient updates while preserving invariance.
  • Propose a regularization method using variational inference on the manifold, modeling weight vectors as random elements on š’¢(1,n) to improve generalization.
  • Implement the algorithm with minimal computational overhead: forward and backward passes remain unchanged, while only the weight update step is modified via Riemannian operations.

Experimental results

Research questions

  • RQ1How can the intrinsic geometry of scale-invariant weight vectors in Batch Normalization be leveraged to improve optimization stability?
  • RQ2Can Riemannian optimization on the Grassmann manifold š’¢(1,n) eliminate the ambiguity in gradient updates caused by weight scaling in BN?
  • RQ3Does a geometry-aware optimization method outperform standard SGD and Adam when applied to BN layers across diverse network architectures?
  • RQ4Can geometric gradient clipping and regularization on the manifold improve generalization and robustness to hyperparameters like weight decay?
  • RQ5To what extent does the proposed method reduce sensitivity to weight decay while maintaining or improving test accuracy?

Key findings

  • The proposed Riemannian optimization method (SGD-G and Adam-G) consistently outperforms standard SGD and Adam on BN layers across all evaluated datasets and architectures.
  • On CIFAR-100 with WRN-40-10, the Adam-G variant achieved a test error of 17.59%, surpassing the best reported result of 18.30% using standard BN and Adam.
  • On SVHN with WRN-22-8, the Adam-G method reduced error to 1.49%, outperforming the previous best of 1.54% reported for Wide ResNet.
  • The method eliminates the adverse interaction between weight decay and gradient scaling, resolving a known instability issue in BN training.
  • The computational cost increase is minimal—only 2.5–3.5Ɨ more expensive per update—making it practical for large-scale deep learning.
  • The framework is generalizable to other normalization techniques like weight normalization and normalization propagation, which also feature scale-invariant weights.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.