Deep Neural Networks as Gaussian Processes. Lee, J., Bahri, Y., Novak, R., Schoenholz, S. S., Pennington, J., & Sohl-Dickstein, J.
Paper abstract bibtex It has long been known that a single-layer fully-connected neural network with an i.i.d. prior over its parameters is equivalent to a Gaussian process (GP), in the limit of infinite network width. This correspondence enables exact Bayesian inference for infinite width neural networks on regression tasks by means of evaluating the corresponding GP. Recently, kernel functions which mimic multi-layer random neural networks have been developed, but only outside of a Bayesian framework. As such, previous work has not identified that these kernels can be used as covariance functions for GPs and allow fully Bayesian prediction with a deep neural network. In this work, we derive the exact equivalence between infinitely wide deep networks and GPs. We further develop a computationally efficient pipeline to compute the covariance function for these GPs. We then use the resulting GPs to perform Bayesian inference for wide deep neural networks on MNIST and CIFAR-10. We observe that trained neural network accuracy approaches that of the corresponding GP with increasing layer width, and that the GP uncertainty is strongly correlated with trained network prediction error. We further find that test performance increases as finite-width trained networks are made wider and more similar to a GP, and thus that GP predictions typically outperform those of finite-width networks. Finally we connect the performance of these GPs to the recent theory of signal propagation in random neural networks.
@article{leeDeepNeuralNetworks2017,
archivePrefix = {arXiv},
eprinttype = {arxiv},
eprint = {1711.00165},
primaryClass = {cs, stat},
title = {Deep {{Neural Networks}} as {{Gaussian Processes}}},
url = {http://arxiv.org/abs/1711.00165},
abstract = {It has long been known that a single-layer fully-connected neural network with an i.i.d. prior over its parameters is equivalent to a Gaussian process (GP), in the limit of infinite network width. This correspondence enables exact Bayesian inference for infinite width neural networks on regression tasks by means of evaluating the corresponding GP. Recently, kernel functions which mimic multi-layer random neural networks have been developed, but only outside of a Bayesian framework. As such, previous work has not identified that these kernels can be used as covariance functions for GPs and allow fully Bayesian prediction with a deep neural network. In this work, we derive the exact equivalence between infinitely wide deep networks and GPs. We further develop a computationally efficient pipeline to compute the covariance function for these GPs. We then use the resulting GPs to perform Bayesian inference for wide deep neural networks on MNIST and CIFAR-10. We observe that trained neural network accuracy approaches that of the corresponding GP with increasing layer width, and that the GP uncertainty is strongly correlated with trained network prediction error. We further find that test performance increases as finite-width trained networks are made wider and more similar to a GP, and thus that GP predictions typically outperform those of finite-width networks. Finally we connect the performance of these GPs to the recent theory of signal propagation in random neural networks.},
urldate = {2019-04-04},
date = {2017-10-31},
keywords = {Statistics - Machine Learning,Computer Science - Machine Learning},
author = {Lee, Jaehoon and Bahri, Yasaman and Novak, Roman and Schoenholz, Samuel S. and Pennington, Jeffrey and Sohl-Dickstein, Jascha},
file = {/home/dimitri/Nextcloud/Zotero/storage/DE6S84PZ/Lee et al. - 2017 - Deep Neural Networks as Gaussian Processes.pdf;/home/dimitri/Nextcloud/Zotero/storage/RSNF5RDD/1711.html}
}
Downloads: 0
{"_id":"fExHPzufXf3qYuona","bibbaseid":"lee-bahri-novak-schoenholz-pennington-sohldickstein-deepneuralnetworksasgaussianprocesses","authorIDs":[],"author_short":["Lee, J.","Bahri, Y.","Novak, R.","Schoenholz, S. S.","Pennington, J.","Sohl-Dickstein, J."],"bibdata":{"bibtype":"article","type":"article","archiveprefix":"arXiv","eprinttype":"arxiv","eprint":"1711.00165","primaryclass":"cs, stat","title":"Deep Neural Networks as Gaussian Processes","url":"http://arxiv.org/abs/1711.00165","abstract":"It has long been known that a single-layer fully-connected neural network with an i.i.d. prior over its parameters is equivalent to a Gaussian process (GP), in the limit of infinite network width. This correspondence enables exact Bayesian inference for infinite width neural networks on regression tasks by means of evaluating the corresponding GP. Recently, kernel functions which mimic multi-layer random neural networks have been developed, but only outside of a Bayesian framework. As such, previous work has not identified that these kernels can be used as covariance functions for GPs and allow fully Bayesian prediction with a deep neural network. In this work, we derive the exact equivalence between infinitely wide deep networks and GPs. We further develop a computationally efficient pipeline to compute the covariance function for these GPs. We then use the resulting GPs to perform Bayesian inference for wide deep neural networks on MNIST and CIFAR-10. We observe that trained neural network accuracy approaches that of the corresponding GP with increasing layer width, and that the GP uncertainty is strongly correlated with trained network prediction error. We further find that test performance increases as finite-width trained networks are made wider and more similar to a GP, and thus that GP predictions typically outperform those of finite-width networks. Finally we connect the performance of these GPs to the recent theory of signal propagation in random neural networks.","urldate":"2019-04-04","date":"2017-10-31","keywords":"Statistics - Machine Learning,Computer Science - Machine Learning","author":[{"propositions":[],"lastnames":["Lee"],"firstnames":["Jaehoon"],"suffixes":[]},{"propositions":[],"lastnames":["Bahri"],"firstnames":["Yasaman"],"suffixes":[]},{"propositions":[],"lastnames":["Novak"],"firstnames":["Roman"],"suffixes":[]},{"propositions":[],"lastnames":["Schoenholz"],"firstnames":["Samuel","S."],"suffixes":[]},{"propositions":[],"lastnames":["Pennington"],"firstnames":["Jeffrey"],"suffixes":[]},{"propositions":[],"lastnames":["Sohl-Dickstein"],"firstnames":["Jascha"],"suffixes":[]}],"file":"/home/dimitri/Nextcloud/Zotero/storage/DE6S84PZ/Lee et al. - 2017 - Deep Neural Networks as Gaussian Processes.pdf;/home/dimitri/Nextcloud/Zotero/storage/RSNF5RDD/1711.html","bibtex":"@article{leeDeepNeuralNetworks2017,\n archivePrefix = {arXiv},\n eprinttype = {arxiv},\n eprint = {1711.00165},\n primaryClass = {cs, stat},\n title = {Deep {{Neural Networks}} as {{Gaussian Processes}}},\n url = {http://arxiv.org/abs/1711.00165},\n abstract = {It has long been known that a single-layer fully-connected neural network with an i.i.d. prior over its parameters is equivalent to a Gaussian process (GP), in the limit of infinite network width. This correspondence enables exact Bayesian inference for infinite width neural networks on regression tasks by means of evaluating the corresponding GP. Recently, kernel functions which mimic multi-layer random neural networks have been developed, but only outside of a Bayesian framework. As such, previous work has not identified that these kernels can be used as covariance functions for GPs and allow fully Bayesian prediction with a deep neural network. In this work, we derive the exact equivalence between infinitely wide deep networks and GPs. We further develop a computationally efficient pipeline to compute the covariance function for these GPs. We then use the resulting GPs to perform Bayesian inference for wide deep neural networks on MNIST and CIFAR-10. We observe that trained neural network accuracy approaches that of the corresponding GP with increasing layer width, and that the GP uncertainty is strongly correlated with trained network prediction error. We further find that test performance increases as finite-width trained networks are made wider and more similar to a GP, and thus that GP predictions typically outperform those of finite-width networks. Finally we connect the performance of these GPs to the recent theory of signal propagation in random neural networks.},\n urldate = {2019-04-04},\n date = {2017-10-31},\n keywords = {Statistics - Machine Learning,Computer Science - Machine Learning},\n author = {Lee, Jaehoon and Bahri, Yasaman and Novak, Roman and Schoenholz, Samuel S. and Pennington, Jeffrey and Sohl-Dickstein, Jascha},\n file = {/home/dimitri/Nextcloud/Zotero/storage/DE6S84PZ/Lee et al. - 2017 - Deep Neural Networks as Gaussian Processes.pdf;/home/dimitri/Nextcloud/Zotero/storage/RSNF5RDD/1711.html}\n}\n\n","author_short":["Lee, J.","Bahri, Y.","Novak, R.","Schoenholz, S. S.","Pennington, J.","Sohl-Dickstein, J."],"key":"leeDeepNeuralNetworks2017","id":"leeDeepNeuralNetworks2017","bibbaseid":"lee-bahri-novak-schoenholz-pennington-sohldickstein-deepneuralnetworksasgaussianprocesses","role":"author","urls":{"Paper":"http://arxiv.org/abs/1711.00165"},"keyword":["Statistics - Machine Learning","Computer Science - Machine Learning"],"downloads":0},"bibtype":"article","biburl":"https://raw.githubusercontent.com/dlozeve/newblog/master/bib/all.bib","creationDate":"2020-01-08T20:39:39.316Z","downloads":0,"keywords":["statistics - machine learning","computer science - machine learning"],"search_terms":["deep","neural","networks","gaussian","processes","lee","bahri","novak","schoenholz","pennington","sohl-dickstein"],"title":"Deep Neural Networks as Gaussian Processes","year":null,"dataSources":["3XqdvqRE7zuX4cm8m"]}