Catastrophic Fisher Explosion: Early Phase Fisher Matrix Impacts Generalization

Stanislaw Jastrzebski, Devansh Arpit, Oliver Åstrand, Giancarlo Kerg, Huan Wang, Caiming Xiong, Richard Socher, Kyunghyun Cho, Krzysztof J. Geras

Abstract

The early phase of training a deep neural network has a dramatic effect on the local curvature of the loss function. For instance, using a small learning rate does not guarantee stable optimization because the optimization trajectory has a tendency to steer towards regions of the loss surface with increasing local curvature. We ask whether this tendency is connected to the widely observed phenomenon that the choice of the learning rate strongly influences generalization. We first show that stochastic gradient descent (SGD) implicitly penalizes the trace of the Fisher Information Matrix (FIM), a measure of the local curvature, from the start of training. We argue it is an implicit regularizer in SGD by showing that explicitly penalizing the trace of the FIM can significantly improve generalization. We highlight that poor final generalization coincides with the trace of the FIM attaining a large value early in training, to which we refer as catastrophic Fisher explosion. Finally, to gain insight into the regularization effect of penalizing the trace of the FIM, we show that it limits memorization by reducing the learning speed of examples with noisy labels more than that of the examples with clean labels.

Introduction

In deep learning, a well-known "folk theorem" suggests that using a moderately large learning rate (LR) early in training often leads to better generalization than a small one. This observation is counter-intuitive to classical optimization theory, where smaller steps are generally considered safer and more stable. This paper investigates the underlying cause of this phenomenon, focusing on the early phase of training—the first few epochs—where the optimization trajectory's behavior dictates the model's final performance.

The Phenomenon: Catastrophic Fisher Explosion

The researchers identify a critical event termed Catastrophic Fisher Explosion. This refers to a sharp spike in the local curvature of the loss surface early in training. Using the Fisher Information Matrix (FIM) as a proxy for local curvature, specifically its trace ($Tr(F)$), the authors demonstrate that if a model drifts into a region of high curvature early on, it often becomes trapped in a sharp minimum that generalizes poorly.

Figure 2: Validation accuracy and the trace of the Fisher Information Matrix (Tr(F)) over training epochs for different learning rates. A smaller learning rate (blue) leads to a massive early spike in curvature (the explosion) and lower final accuracy.

As shown in Figure 2, a high value of $Tr(F)$ within the first few epochs is a strong predictor of poor final test accuracy. Stochastic Gradient Descent (SGD) with a large learning rate naturally acts as an implicit regularizer, pushing the model away from these high-curvature regions. When the learning rate is too small, this implicit pressure vanishes, allowing the Fisher Explosion to occur.

The Solution: Explicit Fisher Penalty

To test if penalizing curvature directly can mimic the benefits of a large learning rate, the authors introduce the Fisher Penalty (FP). This approach augments the loss function to penalize the squared norm of the gradient calculated using sampled labels from the model's own predictive distribution:

$$\mathcal{L}_{total} = \mathcal{L}_{ce} + \alpha \left\| \frac{1}{B} \sum_{i=1}^{B} g(x_i, \hat{y}_i) \right\|^2$$

This method is computationally efficient and steers the optimization toward flatter minima without requiring the full Hessian matrix.

Key Results and Insights

Predictive Power of Curvature

The study confirms a direct negative correlation between the early-phase Fisher trace and final test accuracy. Models that maintain a low $Tr(F)$ early in training are significantly more likely to converge to robust, flat minima.

Figure 4: Test accuracy vs. the trace of the Fisher Information Matrix for CIFAR-10. Higher early curvature (Tr(F)) consistently correlates with lower final test accuracy.

Robustness and Memorization

The Fisher Penalty disproportionately slows down the learning of "noisy" examples (incorrectly labeled data) compared to "clean" examples. By penalizing curvature, the model is forced to focus on the commonalities in the data rather than memorizing individual outliers. For instance, on CIFAR-100 with 50% label noise, the Fisher Penalty improved VGG-11 accuracy from 30.05% to 51.33%, significantly outperforming other regularizers like Mixup.

Conclusion

Catastrophic Fisher Explosion provides a compelling explanation for why early training dynamics are so critical for deep learning success. By understanding and explicitly controlling the trace of the Fisher Information Matrix, researchers can recover generalization performance even in sub-optimal learning rate regimes and improve model robustness against noisy data. Future work remains to explore these dynamics in non-vision tasks like NLP and to further refine the computational efficiency of curvature-based regularization.

Summary updated

BibTeX
@inproceedings{jastrzebski2021catastrophic,
  author = {Stanislaw Jastrzebski and Devansh Arpit and Oliver Åstrand and Giancarlo Kerg and Huan Wang and Caiming Xiong and Richard Socher and Kyunghyun Cho and Krzysztof J. Geras},
  title = {{Catastrophic Fisher Explosion: Early Phase Fisher Matrix Impacts Generalization}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=BuWwLZPIFz9},
}
Figure