G-TRACER: Expected Sharpness Optimization
Abstract: We propose a new regularization scheme for the optimization of deep learning architectures, G-TRACER ("Geometric TRACE Ratio"), which promotes generalization by seeking flat minima, and has a sound theoretical basis as an approximation to a natural-gradient descent based optimization of a generalized Bayes objective. By augmenting the loss function with a TRACER, curvature-regularized optimizers (eg SGD-TRACER and Adam-TRACER) are simple to implement as modifications to existing optimizers and don't require extensive tuning. We show that the method converges to a neighborhood (depending on the regularization strength) of a local minimum of the unregularized objective, and demonstrate competitive performance on a number of benchmark computer vision and NLP datasets, with a particular focus on challenging low signal-to-noise ratio problems.
- On the convergence of sgd with biased gradients, 2021.
- S. Amari. Natural gradient works efficiently in learning. Neural Computation, 10(2):251–276, 1998.
- T. W. Anderson. An introduction to multivariate statistical analysis. Wiley Series in Probability and Statistics, 2003.
- A general framework for updating belief distributions. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 78(5):1103–1130, feb 2016. doi: 10.1111/rssb.12158. URL https://doi.org/10.1111%2Frssb.12158.
- Optimization methods for large-scale machine learning. 2016. doi: 10.48550/ARXIV.1606.04838. URL https://arxiv.org/abs/1606.04838.
- Backpack: Packing more into backprop, 2020.
- Sharp minima can generalize for deep nets. CoRR, abs/1703.04933, 2017. URL http://arxiv.org/abs/1703.04933.
- Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research, 12(61):2121–2159, 2011. URL http://jmlr.org/papers/v12/duchi11a.html.
- Computing nonvacuous generalization bounds for deep (stochastic) neural networks with many more parameters than training data. 2017. doi: 10.48550/ARXIV.1703.11008. URL https://arxiv.org/abs/1703.11008.
- Sharpness-aware minimization for efficiently improving generalization. CoRR, abs/2010.01412, 2020. URL https://arxiv.org/abs/2010.01412.
- Geoffrey E. Hinton and Drew van Camp. Keeping the neural networks simple by minimizing the description length of the weights. In Proceedings of the Sixth Annual Conference on Computational Learning Theory, COLT ’93, pp. 5–13, New York, NY, USA, 1993. Association for Computing Machinery. ISBN 0897916115. doi: 10.1145/168304.168306. URL https://doi.org/10.1145/168304.168306.
- Flat Minima. Neural Computation, 9(1):1–42, 01 1997. ISSN 0899-7667. doi: 10.1162/neco.1997.9.1.1. URL https://doi.org/10.1162/neco.1997.9.1.1.
- Understanding generalization through visualizations. CoRR, abs/1906.03291, 2019. URL http://arxiv.org/abs/1906.03291.
- Categorical reparameterization with Gumbel-Softmax, 2016. URL https://arxiv.org/abs/1611.01144.
- The Bayesian learning rule, 2021. URL https://arxiv.org/abs/2107.04562.
- Fast and scalable Bayesian deep learning by weight-perturbation in adam. 2018. doi: 10.48550/ARXIV.1806.04854. URL https://arxiv.org/abs/1806.04854.
- Fisher SAM: Information geometry and sharpness aware minimisation. 2022. doi: 10.48550/ARXIV.2206.04920. URL https://arxiv.org/abs/2206.04920.
- Adam: A method for stochastic optimization, 2014. URL https://arxiv.org/abs/1412.6980.
- Limitations of the empirical fisher approximation. CoRR, abs/1905.12558, 2019. URL http://arxiv.org/abs/1905.12558.
- (not) bounding the true error. In T. Dietterich, S. Becker, and Z. Ghahramani (eds.), Advances in Neural Information Processing Systems, volume 14. MIT Press, 2001. URL https://proceedings.neurips.cc/paper/2001/file/98c7242894844ecd6ec94af67ac8247d-Paper.pdf.
- James Martens. New insights and perspectives on the natural gradient method. Journal of Machine Learning Research, 21(146):1–76, 2020. URL http://jmlr.org/papers/v21/17-678.html.
- David A. McAllester. Some PAC-Bayesian theorems. 1999. URL https://doi.org/10.1023/A:1007618624809.
- Empirical analysis of the Hessian of over-parameterized neural networks. CoRR, abs/1706.04454, 2017. URL http://arxiv.org/abs/1706.04454.
- Implicit regularization of SGD via thermophoresis. In Advances in Neural Information Processing Systems, Machine Learning for Physical Sciences Workshop, 2020.
- Bayesian deep learning and a probabilistic perspective of generalization. CoRR, abs/2002.08791, 2020. URL https://arxiv.org/abs/2002.08791.
- ADAHESSIAN: an adaptive second order optimizer for machine learning. CoRR, abs/2006.00719, 2020. URL https://arxiv.org/abs/2006.00719.
- Noisy natural gradient as variational inference. CoRR, abs/1712.02390, 2017. URL http://arxiv.org/abs/1712.02390.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.