Understanding Matrix Function Normalizations in Covariance Pooling through the Lens of Riemannian Geometry

Ziheng Chen, Yue Song, Xiaojun Wu, Gaowen Liu, Nicu Sebe

Introduction: The Mystery of Matrix Power in GCP

In modern computer vision, Global Covariance Pooling (GCP) has emerged as a powerful technique that often outperforms standard average pooling. By capturing second-order statistics—how different features correlate with one another—GCP provides richer representations for Deep Neural Networks (DNNs). However, covariance matrices do not live in a standard, flat Euclidean space; they reside on a curved space known as the Symmetric Positive Definite (SPD) manifold.

To apply standard neural network classifiers to these matrices, researchers typically "normalize" them using matrix functions like the matrix logarithm or a matrix power (e.g., the square root). The matrix logarithm has a well-understood geometric justification: it maps the curved SPD manifold onto a flat "tangent space" where Euclidean classifiers operate naturally.

Conversely, the matrix power has remained a theoretical mystery. Despite lacking a solid geometric foundation to explain why a flat classifier should work on it, matrix power normalization often yields significantly better accuracy than the logarithm. This paper bridges the gap between empirical success and geometric theory, providing the first rigorous explanation for why matrix power normalizations work so well.

Methods & Theoretical Framework

The authors tackle this mystery through the lens of Riemannian Geometry. Their core investigation contrasts two different ways of interpreting GCP:

  1. Tangent Classifiers: This traditional view assumes that matrix normalization projects data to a flat space at a single point (the identity matrix), allowing classification to occur in this tangent space.
  2. Riemannian Classifiers: This novel perspective suggests that the network is implicitly performing classification directly on the curved manifold using SPD Multinomial Logistic Regression (MLR).

Through systematic mapping of Riemannian logarithmic maps across various metric families, the authors arrived at a core theoretical contribution (Theorem 2). They mathematically prove that applying a matrix power followed by a standard fully connected (linear) layer is equivalent to an SPD MLR under the Power-Euclidean Metric (PEM).

Overview of the theoretical framework unifying matrix logarithm and power under Riemannian classifiers.

This insight leads to a unified framework: both matrix logarithms and matrix powers are essentially Riemannian SPD classifiers in disguise, simply operating under different underlying metrics (Log-Euclidean vs. Power-Euclidean).

Key Insights: Refuting the Tangent Hypothesis

Previously, a prevailing hypothesis was that matrix power was merely a heuristic way to approximate the tangent space. The authors' theoretical and empirical work definitively refutes this.

The reason matrix power often outperforms the logarithm isn't because it is a better "flattener" of the manifold. Instead, it implicitly respects a different, more effective Riemannian metric. Standard Euclidean metrics suffer from a "swelling effect" on the manifold, while Log-Euclidean metrics can "over-stretch" small eigenvalues. The Power-Euclidean Metric (PEM) acts as a balanced alternative, providing a robust geometric structure for the classifier to learn class boundaries on the SPD manifold.

Empirical Results

The authors validated their theory using prominent image classification benchmarks, including ImageNet-1k and Fine-Grained Visual Categorization (FGVC) datasets like Caltech Birds, Stanford Cars, and FGVC Aircrafts.

The empirical results strongly support the theoretical claim that GCP's success stems from implicit Riemannian classification. To prove this, the authors compared their Riemannian-aligned approach (Pow-EMLR) against the tangent-space version (Pow-TMLR).

Top-5 accuracy curves on Aircrafts, Cars, and Birds datasets comparing Riemannian (Pow-EMLR) and Tangent (Pow-TMLR) classifiers.

Across all datasets, the "Riemannian" interpretation consistently outperformed the "Tangent" interpretation. For instance, on the Stanford Cars dataset, the Pow-EMLR approach achieved an impressive 80.43% Top-1 accuracy, compared to a mere 51.14% for the Pow-TMLR tangent-space approximation. These double-digit margins in fine-grained tasks confirm that the square root ($ heta = 0.5$) and other power normalizations are not just tricks, but structurally superior geometric operations.

Limitations and Future Work

While this paper provides a beautiful theoretical unification of matrix normalizations in GCP, practical hurdles remain. Full Riemannian MLRs involving complex metrics can be computationally expensive, especially for very large-scale datasets.

However, by proving why these matrix functions work, the authors open the door for future innovations. Researchers can now design even more effective GCP classifiers by exploring other SPD geometries and finding ways to simplify their Riemannian computations for seamless integration into standard deep learning pipelines.

Summary updated

BibTeX
@inproceedings{chen2025understanding,
  author = {Ziheng Chen and Yue Song and Xiaojun Wu and Gaowen Liu and Nicu Sebe},
  title = {{Understanding Matrix Function Normalizations in Covariance Pooling through the Lens of Riemannian Geometry}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=q1t0Lmvhty},
}
Figure