Abstract This paper provides a rigorous geometric foundation for Kronecker-Factored Approximate Curvature (K-FAC), a prominent second-order optimization method in deep learning. By utilizing the language of differential geometry and affine algebra, the authors demonstrate that K-FAC is not merely a heuristic approximation of the natural gradient but the exact natural gradient under a specifically defined Riemannian metric. This coordinate-free construction allows for a unified proof of K-FAC's global invariance to affine transformations across Multi-Layer Perceptrons (MLPs), Convolutional Neural Networks (CNNs), and Recurrent Neural Networks (RNNs).
Introduction
The performance of Stochastic Gradient Descent (SGD), the workhorse of deep learning, is notoriously sensitive to model parameterization. Simple changes, such as scaling inputs or shifting activation functions, can drastically alter optimization dynamics. Natural Gradient Descent (NGD) offers a theoretical remedy by treating optimization as a trajectory on a manifold of probability distributions, ensuring invariance to reparameterization. However, the computational cost of inverting the Fisher Information Matrix (FIM) makes NGD impractical for large-scale models.
Kronecker-Factored Approximate Curvature (K-FAC) emerged as a scalable alternative, approximating the FIM to enable efficient second-order updates. While empirically successful and known to possess certain invariance properties, K-FAC lacked a deep theoretical justification. This work addresses this gap by constructing K-FAC through a coordinate-free geometric lens.
Methodology: A Coordinate-Free Approach
The authors move away from traditional neural network definitions based on matrix-vector operations. Instead, they define networks as sequences of affine maps between abstract affine spaces. This shift necessitates a new notation that distinguishes between coordinate-independent geometric objects and their coordinate-dependent representations.
The construction relies on two primary components:
- The Independence Metric ($g_{ind}$): A Riemannian metric defined by assuming statistical independence between activations and pre-activation derivatives.
- The K-FAC Metric: An additive metric on the full weight space formed by combining these layer-wise independence metrics.
By defining the optimization problem in this abstract space, the authors prove that the natural gradient under the K-FAC metric, when projected into a specific coordinate system, exactly recovers the standard K-FAC update rule.
Key Theoretical Insights
The coordinate-free framework yields several profound insights:
- Exactness of K-FAC: K-FAC is shown to be the exact natural gradient for a specific choice of geometry (the K-FAC metric), rather than just an approximation of the Fisher metric.
- Global Invariance: Unlike standard NGD, which is only locally invariant to smooth reparameterizations, K-FAC's reliance on the affine structure of layers grants it global invariance to affine transformations (e.g., centering or whitening of activations).
- Architectural Universality: The geometric construction is shown to be consistent across MLPs, CNNs, and RNNs. This suggests that K-FAC's effectiveness is a fundamental consequence of the structural design of deep neural networks.
Results and Implications
The paper's contributions are formalized through several key theorems. Theorem 3.10 establishes the K-FAC metric as a valid, non-degenerate Riemannian metric. Subsequent theorems (4.2, 4.4, 5.2, and 5.4) extend the invariance proofs to convolutional and recurrent architectures, confirming that weight sharing and spatial structures do not compromise the geometric properties of the algorithm.
These results provide a mathematical guarantee: the optimization path of K-FAC remains identical regardless of common architectural "tricks" like activation whitening or centering, provided the transformations are affine.
Limitations and Future Directions
While providing a strong theoretical base, the work notes certain limitations:
- Affine Restriction: The proven invariance is limited to affine transformations. While broad, it does not encompass all possible smooth reparameterizations.
- Numerical Damping: Practical implementations of K-FAC require damping for numerical stability, which technically breaks the perfect theoretical invariance.
- Smoothness Assumptions: The theory currently assumes smooth activation functions. Extending these proofs to non-smooth functions like ReLU remains a subject for future research.
Summary updated