[Paper Review] Practical Deep Heteroskedastic Regression
The paper proposes a post-hoc, linear variance head trained on a hold-out dataset to calibrate uncertainty in deep heteroskedastic regression, using intermediate latent representations, achieving competitive or superior uncertainty quantification while preserving mean accuracy, demonstrated on QM9 and OMol25 datasets.
Uncertainty quantification (UQ) in deep learning regression is of wide interest, as it supports critical applications including sequential decision making and risk-sensitive tasks. In heteroskedastic regression, where the uncertainty of the target depends on the input, a common approach is to train a neural network that parameterizes the mean and the variance of the predictive distribution. Still, training deep heteroskedastic regression models poses practical challenges in the trade-off between uncertainty quantification and mean prediction, such as optimization difficulties, representation collapse, and variance overfitting. In this work we identify previously undiscussed fallacies and propose a simple and efficient procedure that addresses these challenges jointly by post-hoc fitting a variance model across the intermediate layers of a pretrained network on a hold-out dataset. We demonstrate that our method achieves on-par or state-of-the-art uncertainty quantification on several molecular graph datasets, without compromising mean prediction accuracy and remaining cheap to use at prediction time.
Motivation & Objective
- Identify core challenges in training deep heteroskedastic regression models.
- Propose a practical post-hoc variance head fitted on hold-out data.
- Use intermediate latent representations to predict variance and enable ensembles.
- Demonstrate improved uncertainty quantification while maintaining mean prediction quality on molecular datasets.
Proposed method
- Train a mean predictor as usual and keep its parameters fixed.
- Attach a linear variance head that takes intermediate latent representations zl as inputs.
- Compute σ^2ϕ(x*) as a sum of linear projections on selected latent layers: σ^2ϕ(x*) = sp Σl∈Lσ Wl^T zl(x*).
- Fit the variance head on a hold-out dataset using the negative log-likelihood loss, decoupled from mean training.
- Optionally form a Gaussian mixture by averaging over multiple latent-representation-specific estimators: p(y*|x*) = (1/|Lσ|) Σl∈Lσ N(y*|μθ(x*), σl(x*)^2).
- Ensemble the variance estimators learned from individual representations to improve calibration and robustness.
Experimental results
Research questions
- RQ1Can a post-hoc, hold-out calibrated variance head provide competitive or superior uncertainty estimates compared to end-to-end mean-variance training?
- RQ2Does using intermediate latent representations improve variance prediction over using only the final latent representation?
- RQ3How does the choice of representations and ensembling affect calibration metrics and NLL on molecular property tasks?
- RQ4Is the method scalable to large pretrained models and datasets without impacting mean accuracy or prediction speed?
Key findings
- The post-hoc variance ensemble often matches or outperforms end-to-end mean-variance models in NLL while retaining mean MAE performance.
- Using earlier latent representations for variance prediction is generally more effective than using later ones; ensembles across representations yield best results.
- The method remains practical with minimal prediction-time overhead and no additional hyperparameters, leveraging hold-out data for calibration.
- The approach generalizes from QM9 to large-scale OMol25 pretrained models, achieving calibrated uncertainty estimates with substantial improvements in NLL over baselines.
- Calibration curves for the post-hoc ensemble align with oracle expectations, indicating reliable uncertainty ranks for active learning or Bayesian optimization.
- Ensembling variance predictors (Gaussian mixture) provides robustness to outliers and small hold-out sets, with a trade-off between calibration (ECE) and sharpness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.