[Paper Review] NOMU: Neural Optimization-based Model Uncertainty
NOMU is a novel neural network architecture that estimates model uncertainty by jointly training a prediction head and a dedicated uncertainty head via a custom loss function, ensuring adherence to five key desiderata for reliable uncertainty quantification. It outperforms MC Dropout, Deep Ensembles, and Hyper-Deep Ensembles in both regression and noiseless Bayesian optimization, especially in low-data, low-noise settings where uncertainty calibration is critical.
We study methods for estimating model uncertainty for neural networks (NNs) in regression. To isolate the effect of model uncertainty, we focus on a noiseless setting with scarce training data. We introduce five important desiderata regarding model uncertainty that any method should satisfy. However, we find that established benchmarks often fail to reliably capture some of these desiderata, even those that are required by Bayesian theory. To address this, we introduce a new approach for capturing model uncertainty for NNs, which we call Neural Optimization-based Model Uncertainty (NOMU). The main idea of NOMU is to design a network architecture consisting of two connected sub-NNs, one for model prediction and one for model uncertainty, and to train it using a carefully-designed loss function. Importantly, our design enforces that NOMU satisfies our five desiderata. Due to its modular architecture, NOMU can provide model uncertainty for any given (previously trained) NN if given access to its training data. We evaluate NOMU in various regressions tasks and noiseless Bayesian optimization (BO) with costly evaluations. In regression, NOMU performs at least as well as state-of-the-art methods. In BO, NOMU even outperforms all considered benchmarks.
Motivation & Objective
- To address the lack of reliable model uncertainty estimation in neural networks under low-data, noiseless settings, where model uncertainty dominates.
- To identify and formalize five essential desiderata that model uncertainty bounds should satisfy, including proper behavior at training points and in extrapolation.
- To develop a method that systematically satisfies these desiderata, overcoming limitations of existing approaches like MC Dropout and ensemble methods.
- To create a scalable, modular solution that can be applied to any pre-trained neural network using its training data.
Proposed method
- NOMU uses a dual-head neural network architecture: one head for prediction and one for uncertainty estimation.
- The uncertainty head outputs a raw uncertainty score, which is transformed via a learnable readout map φ(z) = ℓ_max(1 − exp(−(max(0,z) + ℓ_min)/ℓ_max)) to ensure positivity and numerical stability.
- A custom loss function is designed to enforce the five desiderata, including uncertainty narrowing at observed data points and proper scaling in out-of-distribution regions.
- The method is end-to-end trainable and can be applied post-hoc to any pre-trained model using its training data.
- The readout map parameters ℓ_min and ℓ_max are either fixed for stability or learned via validation set optimization.
Experimental results
Research questions
- RQ1Do existing state-of-the-art methods for model uncertainty estimation reliably satisfy fundamental desiderata such as uncertainty narrowing at training points?
- RQ2Can a neural network architecture be designed to systematically enforce key properties of model uncertainty without relying on Bayesian posterior approximation?
- RQ3How does NOMU perform compared to MC Dropout, Deep Ensembles, and Hyper-Deep Ensembles in low-data, noiseless regression tasks?
- RQ4Does NOMU improve performance in Bayesian optimization with costly evaluations, where accurate uncertainty estimation is crucial?
Key findings
- NOMU consistently satisfies all five desiderata for model uncertainty, including proper uncertainty narrowing at training points and appropriate scaling in out-of-distribution regions.
- Unlike MC Dropout, NOMU's uncertainty bounds narrow at observed data points, avoiding the tubular bounds that degrade performance in active learning.
- In regression tasks with scarce, noiseless data, NOMU performs at least as well as state-of-the-art methods, with more reliable uncertainty calibration.
- In noiseless Bayesian optimization, NOMU significantly outperforms MC Dropout, Deep Ensembles, and Hyper-Deep Ensembles, demonstrating superior exploration efficiency.
- The modular design of NOMU allows it to be applied to any pre-trained neural network, enabling uncertainty estimation without retraining from scratch.
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.