Faithful Heteroscedastic Regression with Neural Networks

Andrew Stirn, Hans-Hermann Wessels, Megan Schertzer, Laura Pereira, Neville E. Sanjana +1 more
12/18/2022
cs.LGstat.ML

Official code: astirn/faithful-heteroscedasticity (11 stars, Python, MIT, last commit 2023-02-08).

Abstract

Heteroscedastic regression models a Gaussian variable's mean and variance as a function of covariates. Parametric methods that employ neural networks for these parameter maps can capture complex relationships in the data.

Show full abstract

Yet, optimizing network parameters via log likelihood gradients can yield suboptimal mean and uncalibrated variance estimates. Current solutions side-step this optimization problem with surrogate objectives or Bayesian treatments. Instead, we make two simple modifications to optimization. Notably, their combination produces a heteroscedastic model with mean estimates that are provably as accurate as those from its homoscedastic counterpart (i.e.~fitting the mean under squared error loss). For a wide variety of network and task complexities, we find that mean estimates from existing heteroscedastic solutions can be significantly less accurate than those from an equivalently expressive mean-only model. Our approach provably retains the accuracy of an equally flexible mean-only model while also offering best-in-class variance calibration. Lastly, we show how to leverage our method to recover the underlying heteroscedastic noise variance.

View on arXivView PDF

Code Implementations(1)

MIT
113Python, TeXAug 16, 20223 years agoMIT

Similar Papers

Cite this paper

@article{stirn2022faithful,
  title  = {Faithful Heteroscedastic Regression with Neural Networks},
  author = {Andrew Stirn and Hans-Hermann Wessels and Megan Schertzer and Laura Pereira and Neville E. Sanjana and David A. Knowles},
  year   = {2022},
  eprint = {2212.09184},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.09184}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.09184.svg)](https://codeofpaper.com/paper/2212.09184)

Discussion