Skip to main content
QUICK REVIEW

[Paper Review] Benchmarking the Neural Linear Model for Regression

Sebastian W. Ober, Carl Edward Rasmussen|arXiv (Cornell University)|Dec 18, 2019
Gaussian Processes and Bayesian InferenceComputer Science23 references12 citations
TL;DR

This paper benchmarks the neural linear model (NLM) for regression across UCI and UCI 'gap' datasets, evaluating four training variants: MAP, regularized, and Bayesian noise with maximum likelihood or Bayesian optimization. The key finding is that slice sampling for hyperparameters improves performance—especially in log likelihood—though effects vary by model, with regularized and BN(BO)-2 NL models potentially harmed by it.

ABSTRACT

The neural linear model is a simple adaptive Bayesian linear regression method that has recently been used in a number of problems ranging from Bayesian optimization to reinforcement learning. Despite its apparent successes in these settings, to the best of our knowledge there has been no systematic exploration of its capabilities on simple regression tasks. In this work we characterize these on the UCI datasets, a popular benchmark for Bayesian regression models, as well as on the recently introduced UCI "gap" datasets, which are better tests of out-of-distribution uncertainty. We demonstrate that the neural linear model is a simple method that shows generally good performance on these tasks, but at the cost of requiring good hyperparameter tuning.

Motivation & Objective

  • To systematically evaluate the neural linear model (NLM) on standard regression benchmarks (UCI datasets) and out-of-distribution uncertainty tests (UCI gap datasets).
  • To investigate the impact of different training strategies—MAP, regularized, and Bayesian noise—on NLM performance.
  • To assess the role of slice sampling for hyperparameters (noise and prior variances) in improving uncertainty calibration and predictive performance.
  • To compare the NLM's performance against standard baselines in terms of log likelihood and RMSE, particularly under distributional shift.
  • To determine whether hyperparameter tuning via Bayesian optimization is essential for optimal NLM performance.

Proposed method

  • Train a neural network to extract features from inputs, then apply exact Bayesian linear regression on the final layer's activations.
  • Use maximum a posteriori (MAP) estimation to train the network, followed by slice sampling to marginalize over noise and prior variances.
  • Implement a regularized NLM that jointly optimizes the marginal likelihood over network weights and hyperparameters to improve uncertainty calibration.
  • Introduce a Bayesian noise NLM with a normal-inverse-gamma prior on weights and noise variance, enabling joint optimization of all hyperparameters.
  • Apply Bayesian optimization to tune hyperparameters in models where they are not jointly optimized (e.g., BN(BO)-NL).
  • Use slice sampling to marginalize non-weight hyperparameters across all models, ensuring robust uncertainty estimates.

Experimental results

Research questions

  • RQ1How does the neural linear model perform on standard UCI regression datasets compared to baseline methods?
  • RQ2Does the neural linear model generalize well to out-of-distribution data, as tested on the UCI 'gap' datasets?
  • RQ3What is the impact of slice sampling for hyperparameters on predictive performance and uncertainty calibration?
  • RQ4Which training strategy (MAP, regularized, or Bayesian noise) yields the most robust and well-calibrated predictions?
  • RQ5Is hyperparameter tuning via Bayesian optimization necessary for optimal NLM performance, or do joint optimization methods suffice?

Key findings

  • The neural linear model achieves generally strong performance on standard UCI regression datasets, particularly when combined with slice sampling and proper hyperparameter tuning.
  • Slice sampling significantly improves log likelihood in most models, especially for MAP-2 NL and BN(ML)-2 NL, with improvements observed across multiple datasets.
  • The regularized NLM and BN(BO)-2 NL models show potential performance degradation when slice sampling is applied, suggesting it may be detrimental for these variants.
  • On the UCI 'gap' datasets, slice sampling improves performance in terms of log likelihood for most models, though the effect on RMSE is often not statistically significant.
  • The BN(BO)-2 NL model exhibits a slight worsening in uncertainty calibration in the gap region when slice sampling is used, indicating potential overconfidence.
  • Overall, slice sampling does not degrade performance in most cases and is beneficial for key models like MAP-2 NL, but its impact is model-dependent and not universally advantageous.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.