acceptodds
Published as a conference paper at NeurIPS 2026

Heteroscedastic Variational Last Layers

James Harrison, John Willes, Mikkel Jordahn, Paul Brunzema, Jasper Snoek

Abstract

We present a simple, inexpensive, and effective method for heteroscedastic uncertainty quantification in neural networks. We build on Variational Bayesian Last Layers (VBLL), wherein deterministic training objectives are developed for variational inference of the network last layer. In particular, we (1) Introduce t-VBLL layers, which perform variational inference for the aleatoric noise covariance, and (2) Introduce Het-VBLL, a Bayesian last layer scheme to model heteroscedastic noise. These methods are based on novel, analytically tractable evidence lower bounds. We further discuss parameterization and initialization within these models. We show that these novel design elements enable effective uncertainty modeling at minimal additional cost, and substantially improve performance over similar methods such as VBLLs.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 4 reviews, above 17% of the others.
Reviewer_tKieOpenReview ↗
Rating
4
Clarity
1
Confidence
4
Originality
3
Quality
2
Significance
3
Read review
Summary

The authors build on Harrison et al. (2024) to develop a variational Bayes inference algorithm that fits a variational posterior for the last layer parameters’ homoskedastic (diagonal) variance and heteroskedastic (diagonal) variance that is linear to the penultimate activation ϕ(x)\phi(x). Authors apply the t-VBLL and Het-VBLL to regression, classification, and Bayesian optimization tasks, showing good performance.

Strengths and weaknesses

Strengths

  • Derives ELBO for directly fitting the variational posterior for homo- and heteroskedastic variance of last layer parameters.
  • Evaluated on various tasks spanning different domains, where Het-VBLL outperforms in the majority of cases.

Weaknesses

  • Writing can be substantially improved. -> Notation is not clearly defined (dimensions of regression, W,Σ,z,zi,Σi,M,…W, \Sigma, z, z_i, \Sigma_i, M, … need to be inferred, LSE not explicitly defined, etc), -> Some sentences are not complete or correct (line 528: the expectation of the second KL term, line 308 is not a correct sentence…) -> Many previous results are vaguely referred to, making this manuscript not self-contained and unclear which results are being used. - Please restate or clearly refer to the results that are being used from previous studies. (e.g. line 537: which result in Harrison et al 2024?; line 529: which identity in section 3?; equation 32: where is this equation from? “Main result from Knowles & Minka (2011)”?) -> Reference to the theoretical result is missing from the main text (4.3/prediction)
  • Mathematical derivations are handwavy or not described in detail ->Is Σ−1\Sigma^{-1} missing from eq. (24)’s second term? Is it trivial to go from Harrison et al 2024 Theorem 1 to eq. (24)? -> Conditions of applying Knowles & Minka (2011) to obtain (35)? Do you need assumptions that ϕ⊤Siϕ+1)Σi\phi^\top S_i\phi + 1)\Sigma_i is small enough?
  • Gains are often modest and performance is not consistent.
Questions
  • Not sure what to make of figure 3. How is “Aleatoric entropy” calculated? Do you see visual improvement of Het-VBLL against VBLL?
  • Het-/t-VBLL only outperforms VBLL and GP only in one of three BO datasets. Any interpretations on why?
  • Can you clarify the main text? Overall, the results are good and seem to be a good contribution, but the manuscript writing can be improved.
  • Is there a way to assess how far the last layer parameter is from diagonal variance?
  • What’s the consequence of arbitrarily choosing aia_i in Reduced Knowles-Minka without optimizing? Can you calculate the difference in the bound with fixed-point-based aia_i and your choice?
  • Seems like the computational resource is missing for the majority of experiments.
Limitations

Authors generally describe the limitations of the work, but it would be helpful to more clearly describe the actual compute time required, either by referring to the appendix or mentioning it in the main text.

Paper formatting concerns

None

Final justification

The authors clarified Figure 3's computations and acknowledged the notation and writing issues. Most of my remaining questions, including the mathematical points and the bound tightness analysis, were answered with a commitment to revise rather than with a result. My concerns about clarity and about the modest and inconsistent gains therefore stand. This does not change my overall assessment: the paper is technically sound and I am keeping my rating at borderline accept.

Reviewer_uKewOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
2
Read review
Summary

In this work, the authors introduce Heteroscedastic Variational Last Layers (Het-VBLL) and t-distribution Variational Bayesian Last Layers (t-VBLL). This work extends VBLL by either estimating the aleatoric noise covariance variationally, or modelling noise fully heteroscedastically with a variational distribution that is itself a VBLL. The authors show that the Het-VBLL successfully captures heteroscedasticity, and that both the Het-VBLL and the t-VBLL capture aleatoric uncertainty using toy examples, and then benchmark the methods on UCI datasets, QM9, CIFAR-10/100, semantic classification, and Bayesian Optimisation.

Strengths and weaknesses

The paper is well-written and clear. The introduced method is principled, and represents a natural and novel approach to extending VBLLs. A key weakness is that there isn't strong outperformance by the methods introduced in this work.

Questions

Even though the methods introduced seem reasonable, it appears as though in Figure 3, the epistemic and aleatoric uncertainties coincide. Are there any differences? What does it actually look like if you normalised the two and took a difference?

Do you have any datasets (possibly synthetic) where you have the ground truth aleatoric uncertainty beyond the toy model, and see if that is correctly reconstructed? For example, you could perform regression on a higher dimensional simulated dataset with known heteroscedasticity, and see if a) Het-VBBL outperforms all other methods, and b) if the aleatoric uncertainty is in the correct ballpark.

If this is true, then I am open to increase my evaluation of the significance and hence the overall score.

Limitations

yes

Paper formatting concerns

No concern

Final justification

The authors have addressed my comments and included a key experiment I suggested. This has validated their interpretation of the data, and thus I am raising my score.

Reviewer_Y3zeOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
2
Read review
Summary

The paper builds on the Variational Bayesian Last Layers (VBLL) framework and introduces a feature-dependent posterior over the last-layer parameters. Concretely, rather than a fixed posterior covariance, the authors parameterise a heteroscedastic, input-dependent posterior over the noise covariance, q(Σ | x), and exploit conjugacy so that the posterior over the weights factorises as q(W | Σ, x). Predictions are obtained by first mapping features through a noisy latent process, z = W·φ(x) + ε with ε ~ N(0, Σ(x)), and then applying the task head (e.g., y = softmax(z) for classification, or an identity mapping for regression). This lets a single last-layer module capture input-dependent (heteroscedastic) uncertainty while remaining cheap relative to full Bayesian treatment of the entire deep neural network.

The method is evaluated across a broad set of tasks: a two-moons toy problem and synthetic heteroscedastic-noise examples (compared against HMC and GP references), regression on UCI and the Motorcycle dataset, QM9 molecular property prediction, image classification on CIFAR-10/100 (WideResNet-28-10 backbone), semantic segmentation (MMSegmentation with a SegFormer backbone), OOD detection (SVHN, CIFAR-100), and a Bayesian-optimisation study comparing against GP, standard VBLL, D-GP, YJ-GP and VAR-NN baselines.

Strengths and weaknesses

Quality. The paper is technically sound and the modelling choice is principled: assuming a conjugate prior keeps the input-dependent posterior tractable, and the noisy-latent-process formulation z = W·φ(x) + ε is a clean way to inject heteroscedastic structure at the last layer. The empirical validation is unusually thorough in breadth — the toy and synthetic experiments convincingly show that the posterior coverage and predictive uncertainty track HMC/GP references closely, which is good evidence that the approximation behaves as intended.

The main weakness is on the significance of the empirical gains rather than their correctness. Across the larger-scale benchmarks, the reported improvements in calibration, accuracy and NLL are visible on only a handful of examples, and several headline comparisons (notably semantic segmentation, where the method is claimed to be superior to all baselines) differ only at the third decimal place. The OOD results (SVHN, CIFAR-100) show a similar pattern. In the Bayesian-optimisation study the method achieves the best value on only one of three problems across the outlier-probability range, and while its min-regret performance is competitive, it is not clearly better than standard VBLL. The most telling point is that the authors' own fixed-covariance variant (t-VBLL) — the natural ablation that removes the input-dependence — is frequently on par with, and sometimes better than, the heteroscedastic Het-VBLL. This directly undercuts the paper's central premise: if dropping Σ(x) often costs nothing (or even helps), it is hard to argue that the heteroscedastic extension, rather than incidental regularisation, is responsible for the reported behaviour. Taken together it is hard to tell whether the contribution is a broadly impactful improvement or a nice-to-have refinement that helps in specific, narrow regimes.

A second concern is cost. The added expressiveness of an input-dependent covariance presumably increases both compute and memory, yet the computational overhead is mentioned only in passing and memory cost is not discussed in detail. This matters because VBLL is already not memory-optimal due to the approximation it imposes on the last layer, so the marginal cost of the heteroscedastic extension is exactly the trade-off a practitioner needs in order to decide when the method is worth using.

Clarity. The paper is well presented and well organised; the progression from the VBLL background to the heteroscedastic extension and through the experiments is easy to follow.

Significance. Moderate. The idea is reasonable and the breadth of evaluation is commendable, but the marginal size of the gains on the realistic benchmarks makes the practical significance difficult to judge, and the absence of a clear cost/benefit analysis weakens the case for adoption.

Originality. Originality is limited. The central mechanism — amortising the posterior by mapping the input through a network to the parameters of q(· | x), and in particular making the covariance input-dependent, q(Σ | x) — is precisely the amortised-inference / encoder construction that has been standard in variational autoencoders since Kingma & Welling, where the encoder routinely emits a per-input mean and (co)variance. The contribution is therefore mainly the transfer of this well-established idea into the VBLL last-layer setting, rather than a substantively new inference or modelling approach. Combined with the unaddressed computational and memory-usage limitations of such approaches, the real benefit to the field is rather modest.

Questions
  1. Can you quantify the computational and (especially) memory overhead of the heteroscedastic posterior relative to standard VBLL — e.g., wall-clock per step and peak memory as a function of feature dimension / number of classes? A clear cost/benefit table would substantially help in judging where the method is worth using.
  2. For the segmentation and OOD results where improvements are at the third decimal place, are these differences statistically significant across seeds? Reporting means with confidence intervals / standard errors over multiple seeds would clarify whether the gains are real.
  3. In the Bayesian-optimisation experiments, can you characterise why the method wins on one of the three problems but is only comparable to VBLL on the others? Is there an identifiable property of the target landscape (e.g., genuinely heteroscedastic noise) that predicts when the heteroscedastic model helps?
  4. Your fixed-covariance variant (t-VBLL) is the natural control for isolating the benefit of input-dependence, yet across several experiments t-VBLL appears to be on par with — or even better than — the heteroscedastic Het-VBLL. Could you clarify in which concrete regimes the input-dependent Σ(x) is actually necessary, and what property of the data (genuine heteroscedasticity?) predicts when Het-VBLL outperforms t-VBLL? As it stands, the comparison makes it hard to conclude that the heteroscedastic extension is doing the work, as opposed to acting as additional regularisation.
Limitations

The limitations are only partially addressed. The increased computational cost is acknowledged in passing, but the memory overhead — arguably the more important practical concern given VBLL's existing memory footprint — is not discussed in detail. I would encourage the authors to include an explicit analysis of compute and memory trade-offs and to be upfront about the regimes in which the heteroscedastic extension does and does not provide a meaningful benefit. No negative societal-impact concerns are apparent for this work.

Paper formatting concerns

None

Final justification

The reviewers addressed my concerns to some degree and I have raised my score.

Reviewer_CVFBOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

In this paper, the authors improve the modeling of aleatoric uncertainty in the Variational Bayesian Last Layer (VBLL) approach by introducing methods for more expressive noise modeling. To model uncertainty effectively, the authors introduce two extensions utilizing novel, tractable evidence lower bounds: t-VBLL, which proposes a variational approach to noise inference that maintains a full variational posterior over the noise covariance, and Het-VBLL, which introduces a method for variational inference of heteroscedastic (input-dependent) noise. Evaluated across regression, image classification, and Bayesian optimization, both methods demonstrated competitive performance while drastically reducing calibration error and negative log-likelihood, showing superior robustness to noise and outliers.

Strengths and weaknesses

Strengths:

  • The paper is clearly written and well-structured, with intuitive explanations and consistent empirical validation.

  • The proposed VBLL extensions introduce minimal parameter overhead, with tt-VBLL and Het-VBLL adding a negligible number of parameters. This makes the approach highly efficient and viable for real-world deep learning deployments (in comparison to other popular approaches, such as ensembles).

  • The authors derive novel, analytically tractable evidence lower bounds (ELBOs) for both regression and classification.

  • Extensive evaluations across diverse benchmarks demonstrate the framework's strong capability to demonstrate robust performance when applied to with complex data and severe noise corruption.

Weaknesses:

  • Het-VBLL shows noticeable performance instability in certain regression tasks, such as the QM9 dataset. Without a hold-out calibration set, its expected calibration error degrades to 0.23 from 0.11 ECE, demonstrating that the unconstrained log-Normal noise parameterization can occasionally disrupt the model's predictive calibration.

  • The framework still relies on a strictly diagonal noise covariance assumption to preserve computational efficiency. This forces an assumption of completely independent noise priors across output dimensions , preventing the architecture from capturing complex, multi-dimensional aleatoric noise correlations.

  • While the methods scale well when evaluating frozen backbone features, end-to-end optimization reveals some issues. On the CIFAR-100 image benchmark, fine-tuning the network's underlying feature extractor alongside the heteroscedastic head actually degrades the final negative log-likelihood compared to standard fine-tuned VBLL baseline.

Questions
  • What causes Het-VBLL's expected calibration error to degrade to 0.23 on QM9 when a hold-out dataset is omitted?

  • Why does joint end-to-end fine-tuning on CIFAR-100 degrade Het-VBLL's negative log-likelihood compared to standard VBLL, and how can this be resolved?

  • What specific mathematical or computational bottlenecks prevent extending the current diagonal noise covariance assumption to a block-diagonal or low-rank structure?

  • (Appendix) Why does Het-VBLL require 20 hours of execution time on Lunar Lander compared to only 1.85 hours for a standard GP and 7.2 hours for t-VBLL?

Limitations

yes

Paper formatting concerns

N/A

Final justification

Authors' explanation of the calibration behavior addresses my main concern, and I appreciate the clear responses to the remaining points, though a few issues remain open. The clarifications don't change my overall assessment: this is a technically solid paper, and I am keeping my rating at borderline accept.

Comments on the paper

1 comment
Meta-review

This paper extends VBLL with noise covariance and an input-dependent heteroscedastic variant. The reviewers have a borderline opinion of the work, with the common criticism being that gains are modest and inconsistent. Y3ze observes that the fixed-covariance ablation often matches or beats Het-VBLL, calling into question the heteroscedastic extension. The authors should isolate when input-dependent noise actually helps (e.g., via ground-truth heteroscedastic experiments suggested by uKew), and provide the compute cost analysis requested by Y3ze and tKie.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.