[Paper Review] Loss-Calibrated Approximate Inference in Bayesian Neural Networks
This paper proposes a loss-calibrated evidence lower bound for Bayesian neural networks that incorporates task-specific utility functions via Bayesian decision theory, improving prediction quality for asymmetric error costs. By optimizing a utility-dependent objective, the method achieves higher expected utility and better performance on high-stakes classes like pedestrians and cars in semantic segmentation, outperforming standard and weighted cross-entropy baselines.
Current approaches in approximate inference for Bayesian neural networks minimise the Kullback-Leibler divergence to approximate the true posterior over the weights. However, this approximation is without knowledge of the final application, and therefore cannot guarantee optimal predictions for a given task. To make more suitable task-specific approximations, we introduce a new loss-calibrated evidence lower bound for Bayesian neural networks in the context of supervised learning, informed by Bayesian decision theory. By introducing a lower bound that depends on a utility function, we ensure that our approximation achieves higher utility than traditional methods for applications that have asymmetric utility functions. Furthermore, in using dropout inference, we highlight that our new objective is identical to that of standard dropout neural networks, with an additional utility-dependent penalty term. We demonstrate our new loss-calibrated model with an illustrative medical example and a restricted model capacity experiment, and highlight failure modes of the comparable weighted cross entropy approach. Lastly, we demonstrate the scalability of our method to real world applications with per-pixel semantic segmentation on an autonomous driving data set.
Motivation & Objective
- To address the limitation of standard approximate inference in Bayesian neural networks, which ignores task-specific utility and may underperform on high-cost error classes.
- To develop a principled method that integrates Bayesian decision theory into approximate inference for BNNs, ensuring predictions maximize expected utility.
- To demonstrate that utility-aware training improves performance on critical classes in semantic segmentation without degrading overall accuracy.
- To show scalability of the method to real-world, large-scale applications such as per-pixel semantic segmentation on autonomous driving datasets.
Proposed method
- Proposes a new evidence lower bound (ELBO) that depends on a utility function, making the approximation task-specific rather than task-agnostic.
- Derives a loss-calibrated objective that optimizes for expected utility during training, rather than minimizing KL divergence to a posterior.
- Uses dropout inference to implement the method, showing the new objective is equivalent to standard dropout with an additional utility-dependent penalty term.
- Applies Bayesian decision theory to select optimal predictions by integrating over the predictive distribution weighted by utility.
- Employs a utility map to visualize expected gains per pixel, demonstrating sharper boundary detection for high-utility classes.
- Validates the method using both synthetic experiments and real-world semantic segmentation on the CamVid dataset with a SegNet-Basic architecture.
Experimental results
Research questions
- RQ1Can approximate inference in Bayesian neural networks be improved by incorporating task-specific utility functions rather than relying on generic divergence minimization?
- RQ2How does a utility-dependent ELBO affect performance on high-stakes classes such as pedestrians and cars in semantic segmentation?
- RQ3Does the proposed method outperform standard and weighted cross-entropy training in terms of expected utility and accuracy on critical classes?
- RQ4Can the loss-calibrated approach scale to real-world, large-scale deep learning applications like autonomous driving segmentation?
- RQ5What are the failure modes of utility-agnostic methods like weighted cross-entropy when faced with noisy labels or class imbalance?
Key findings
- The loss-calibrated BNN achieves a test expected utility of 0.685, significantly higher than the standard model (0.619) and weighted cross-entropy model (0.633).
- On high-utility classes like pedestrians and cars, the loss-calibrated model achieves an IOU of 0.13 and 0.39 respectively, outperforming the standard model (0.06 and 0.28) and weighted model (0.09 and 0.31).
- The model maintains competitive IOU on low-utility classes (e.g., road, pavement, trees), indicating no degradation on less critical classes.
- Utility maps show sharper, more accurate boundaries around high-utility objects like pedestrians, confirming improved localization.
- The method demonstrates scalability to real-world applications, achieving state-of-the-art performance on a per-pixel semantic segmentation task with a restricted model capacity.
- The approach avoids overfitting issues seen in weighted cross-entropy when labels are noisy, due to the clear separation between loss (noise model) and utility (consequence of error).
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.