{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,12]],"date-time":"2025-10-12T02:35:16Z","timestamp":1760236516076,"version":"build-2065373602"},"reference-count":39,"publisher":"MDPI AG","issue":"12","license":[{"start":{"date-parts":[[2021,12,3]],"date-time":"2021-12-03T00:00:00Z","timestamp":1638489600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Entropy"],"abstract":"<jats:p>We developed Variational Laplace for Bayesian neural networks (BNNs), which exploits a local approximation of the curvature of the likelihood to estimate the ELBO without the need for stochastic sampling of the neural-network weights. The Variational Laplace objective is simple to evaluate, as it is the log-likelihood plus weight-decay, plus a squared-gradient regularizer. Variational Laplace gave better test performance and expected calibration errors than maximum a posteriori inference and standard sampling-based variational inference, despite using the same variational approximate posterior. Finally, we emphasize the care needed in benchmarking standard VI, as there is a risk of stopping before the variance parameters have converged. We show that early-stopping can be avoided by increasing the learning rate for the variance parameters.<\/jats:p>","DOI":"10.3390\/e23121629","type":"journal-article","created":{"date-parts":[[2021,12,5]],"date-time":"2021-12-05T21:01:45Z","timestamp":1638738105000},"page":"1629","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Gradient Regularization as Approximate Variational Inference"],"prefix":"10.3390","volume":"23","author":[{"given":"Ali","family":"Unlu","sequence":"first","affiliation":[{"name":"Department of Infomatics, University of Sussex, Brighton BN1 9QJ, UK"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Laurence","family":"Aitchison","sequence":"additional","affiliation":[{"name":"Department of Computer Science, University of Bristol, Bristol BS8 1UB, UK"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2021,12,3]]},"reference":[{"key":"ref_1","unstructured":"Bojarski, M., Del Testa, D., Dworakowski, D., Firner, B., Flepp, B., Goyal, P., Jackel, L.D., Monfort, M., Muller, U., and Zhang, J. (2016). End to end learning for self-driving cars. arXiv."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"47","DOI":"10.2478\/v10136-012-0031-x","article-title":"Artificial neural networks in medical diagnosis","volume":"11","author":"Amato","year":"2013","journal-title":"J. Appl. Biomed."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"McAllister, R., Gal, Y., Kendall, A., Van Der Wilk, M., Shah, A., Cipolla, R., and Weller, A. (2017, January 19\u201325). Concrete problems for autonomous vehicle safety: Advantages of bayesian deep learning. Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, Melbourne, Australia.","DOI":"10.24963\/ijcai.2017\/661"},{"key":"ref_4","unstructured":"Welling, M., and Teh, Y.W. (July, January 28). Bayesian learning via stochastic gradient Langevin dynamics. Proceedings of the 28th International Conference on Machine Learning (ICML-11), Bellevue, WA, USA."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Azevedo-Filho, A., and Shachter, R.D. (1994). Laplace\u2019s Method Approximations for Probabilistic Inference in Belief Networks with Continuous Variables. Uncertainty Proceedings 1994, Elsevier.","DOI":"10.1016\/B978-1-55860-332-5.50009-2"},{"key":"ref_6","unstructured":"MacKay, D.J. (2003). Information Theory, Inference and Learning Algorithms, Cambridge University Press."},{"key":"ref_7","unstructured":"Ritter, H., Botev, A., and Barber, D. (May, January 30). A scalable laplace approximation for neural networks. Proceedings of the 6th International Conference on Learning Representations (ICLR 2018), Vancouver, BC, Canada."},{"key":"ref_8","unstructured":"Blundell, C., Cornebise, J., Kavukcuoglu, K., and Wierstra, D. (2015). Weight uncertainty in neural networks. arXiv."},{"key":"ref_9","unstructured":"Ober, S.W., and Aitchison, L. (2020). Global inducing point variational posteriors for Bayesian neural networks and deep Gaussian processes. arXiv."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Wainwright, M.J., and Jordan, M.I. (2008). Graphical Models, Exponential Families, and Variational Inference, Now Publishers Inc.","DOI":"10.1561\/9781601981851"},{"key":"ref_11","unstructured":"Neyshabur, B., Bhojanapalli, S., McAllester, D., and Srebro, N. (2017). Exploring generalization in deep learning. Advances in Neural Information Processing Systems, Curran Associates, Inc."},{"key":"ref_12","unstructured":"Barrett, D.G., and Dherin, B. (2020). Implicit Gradient Regularization. arXiv."},{"key":"ref_13","unstructured":"Geiping, J., Goldblum, M., Pope, P.E., Moeller, M., and Goldstein, T. (2021). Stochastic training is not necessary for generalization. arXiv."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Hinton, G.E., and Van Camp, D. (1993, January 26\u201328). Keeping the neural networks simple by minimizing the description length of the weights. Proceedings of the Sixth Annual Conference on Computational Learning Theory, Santa Cruz, CA, USA.","DOI":"10.1145\/168304.168306"},{"key":"ref_15","unstructured":"Huang, C.W., Tan, S., Lacoste, A., and Courville, A.C. (2018). Improving explorability in variational inference with annealed variational objectives. Advances in Neural Information Processing Systems, Curran Associates, Inc."},{"key":"ref_16","unstructured":"Wenzel, F., Roth, K., Veeling, B.S., Swiatkowski, J., Tran, L., Mandt, S., Snoek, J., Salimans, T., Jenatton, R., and Nowozin, S. (2020). How Good is the Bayes Posterior in Deep Neural Networks Really?. arXiv."},{"key":"ref_17","unstructured":"Aitchison, L. (2020). A statistical theory of cold posteriors in deep neural networks. arXiv."},{"key":"ref_18","unstructured":"Kingma, D.P., and Welling, M. (2013). Auto-encoding variational bayes. arXiv."},{"key":"ref_19","unstructured":"Rezende, D.J., Mohamed, S., and Wierstra, D. (2014). Stochastic backpropagation and approximate inference in deep generative models. arXiv."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"220","DOI":"10.1016\/j.neuroimage.2006.08.035","article-title":"Variational free energy and the Laplace approximation","volume":"34","author":"Friston","year":"2007","journal-title":"NeuroImage"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"2089","DOI":"10.1016\/j.physd.2009.08.002","article-title":"Variational Bayesian identification and prediction of stochastic nonlinear dynamic causal models","volume":"238","author":"Daunizeau","year":"2009","journal-title":"Phys. D Nonlinear Phenom."},{"key":"ref_22","unstructured":"Daunizeau, J. (2017). The Variational Laplace approach to approximate Bayesian inference. arXiv."},{"key":"ref_23","unstructured":"Wu, A., Nowozin, S., Meeds, E., Turner, R.E., Hern\u00e1ndez-Lobato, J.M., and Gaunt, A.L. (2018). Deterministic variational inference for robust bayesian neural networks. arXiv."},{"key":"ref_24","unstructured":"Hau\u00dfmann, M., Hamprecht, F.A., and Kandemir, M. (2019, January 22\u201325). Sampling-free variational inference of bayesian neural networks by variance backpropagation. Proceedings of the 35th Uncertainty in Artificial Intelligence Conference, Tel Aviv, Israel."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"448","DOI":"10.1162\/neco.1992.4.3.448","article-title":"A practical Bayesian framework for backpropagation networks","volume":"4","author":"MacKay","year":"1992","journal-title":"Neural Comput."},{"key":"ref_26","unstructured":"Smith, S.L., Dherin, B., Barrett, D.G., and De, S. (2021). On the Origin of Implicit Regularization in Stochastic Gradient Descent. arXiv."},{"key":"ref_27","unstructured":"Kunstner, F., Hennig, P., and Balles, L. (2019). Limitations of the empirical Fisher approximation for natural gradient descent. Advances in Neural Information Processing Systems, Curran Associates, Inc."},{"key":"ref_28","unstructured":"Khan, M.E., Immer, A., Abedi, E., and Korzepa, M. (2019). Approximate inference turns deep networks into gaussian processes. arXiv."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"1270","DOI":"10.1111\/mice.12663","article-title":"Broad Bayesian learning (BBL) for nonparametric probabilistic modeling with optimized architecture configuration","volume":"36","author":"Kuok","year":"2021","journal-title":"Comput.-Aided Civ. Infrastruct. Eng."},{"key":"ref_30","unstructured":"Yao, J., Pan, W., Ghosh, S., and Doshi-Velez, F. (2019). Quality of uncertainty quantification for Bayesian neural network inference. arXiv."},{"key":"ref_31","unstructured":"Guo, C., Pleiss, G., Sun, Y., and Weinberger, K.Q. (2017, January 6\u201311). On calibration of modern neural networks. Proceedings of the 34th International Conference on Machine Learning (ICML 2017), Sydney, NSW, Australia."},{"key":"ref_32","unstructured":"Krizhevsky, A., and Hinton, G. (2009). Learning Multiple Layers of Features from Tiny Images, University of Toronto."},{"key":"ref_33","unstructured":"Netzer, Y., Wang, T., Coates, A., Bissacco, A., Wu, B., and Ng, A.Y. (2011, January 16\u201317). Reading digits in natural images with unsupervised feature learning. Proceedings of the NIPS 2011 Workshop on Deep Learning and Unsupervised Feature Learning, Granada, Spain."},{"key":"ref_34","unstructured":"Xiao, H., Rasul, K., and Vollgraf, R. (2017). Fashion-mnist: A novel image dataset for benchmarking machine learning algorithms. arXiv."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 11\u201314). Identity mappings in deep residual networks. Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands.","DOI":"10.1007\/978-3-319-46493-0_38"},{"key":"ref_36","unstructured":"Naeini, M.P., Cooper, G., and Hauskrecht, M. (2015, January 25\u201330). Obtaining well calibrated probabilities using bayesian binning. Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence, Austin, TX, USA."},{"key":"ref_37","unstructured":"Chrabaszcz, P., Loshchilov, I., and Hutter, F. (2017). A Downsampled Variant of ImageNet as an Alternative to the CIFAR datasets. arXiv."},{"key":"ref_38","unstructured":"Kingma, D.P., and Ba, J. (2014). Adam: A method for stochastic optimization. arXiv."},{"key":"ref_39","first-page":"4873","article-title":"Stochastic gradient descent as approximate bayesian inference","volume":"18","author":"Mandt","year":"2017","journal-title":"J. Mach. Learn. Res."}],"container-title":["Entropy"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1099-4300\/23\/12\/1629\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T07:39:10Z","timestamp":1760168350000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1099-4300\/23\/12\/1629"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,12,3]]},"references-count":39,"journal-issue":{"issue":"12","published-online":{"date-parts":[[2021,12]]}},"alternative-id":["e23121629"],"URL":"https:\/\/doi.org\/10.3390\/e23121629","relation":{},"ISSN":["1099-4300"],"issn-type":[{"type":"electronic","value":"1099-4300"}],"subject":[],"published":{"date-parts":[[2021,12,3]]}}}