Skip to main content
QUICK REVIEW

[Paper Review] PI3NN: Out-of-distribution-aware prediction intervals from three neural networks

Siyan Liu, Pei Zhang|arXiv (Cornell University)|Aug 5, 2021
Gaussian Processes and Bayesian InferenceComputer Science23 references7 citations
TL;DR

PI3NN is a novel method for constructing out-of-distribution-aware prediction intervals using three independently trained neural networks with standard mean squared error loss. It enables confidence-level-agnostic PI computation without retraining, avoids the crossing issue, and improves OOD detection via a simple initialization scheme, outperforming state-of-the-art methods in uncertainty calibration and robustness on benchmark and real-world datasets.

ABSTRACT

We propose a novel prediction interval (PI) method for uncertainty quantification, which addresses three major issues with the state-of-the-art PI methods. First, existing PI methods require retraining of neural networks (NNs) for every given confidence level and suffer from the crossing issue in calculating multiple PIs. Second, they usually rely on customized loss functions with extra sensitive hyperparameters for which fine tuning is required to achieve a well-calibrated PI. Third, they usually underestimate uncertainties of out-of-distribution (OOD) samples leading to over-confident PIs. Our PI3NN method calculates PIs from linear combinations of three NNs, each of which is independently trained using the standard mean squared error loss. The coefficients of the linear combinations are computed using root-finding algorithms to ensure tight PIs for a given confidence level. We theoretically prove that PI3NN can calculate PIs for a series of confidence levels without retraining NNs and it completely avoids the crossing issue. Additionally, PI3NN does not introduce any unusual hyperparameters resulting in a stable performance. Furthermore, we address OOD identification challenge by introducing an initialization scheme which provides reasonably larger PIs of the OOD samples than those of the in-distribution samples. Benchmark and real-world experiments show that our method outperforms several state-of-the-art approaches with respect to predictive uncertainty quality, robustness, and OOD samples identification.

Motivation & Objective

  • To address the limitations of existing prediction interval (PI) methods, including the need for retraining at each confidence level and poor handling of out-of-distribution (OOD) samples.
  • To eliminate the crossing issue in multiple PI estimation across different confidence levels.
  • To develop a PI method that does not require custom loss functions or sensitive hyperparameter tuning.
  • To enhance OOD detection by providing larger PIs for OOD samples through a novel initialization scheme.

Proposed method

  • PI3NN trains three separate neural networks using standard mean squared error (MSE) loss, without any specialized loss functions or hyperparameter tuning.
  • Prediction intervals are formed as linear combinations of the outputs from the three networks, with coefficients derived via root-finding algorithms to achieve the desired confidence level.
  • The method theoretically guarantees non-crossing PIs across different confidence levels by leveraging a family of models proven to satisfy the calibration condition.
  • A confidence score is computed based on the spread of the three network outputs, with larger spreads indicating higher uncertainty and potential OOD status.
  • An initialization scheme is introduced that promotes larger piecewise linear regions in OOD regions, increasing PI width for OOD samples.
  • The approach enables PI computation for multiple confidence levels without retraining, as the three networks are trained once and reused.

Experimental results

Research questions

  • RQ1Can a PI method be constructed without retraining for each confidence level, while avoiding the crossing issue in multiple PI estimation?
  • RQ2Can a PI method achieve well-calibrated uncertainty estimates without introducing complex loss functions or sensitive hyperparameters?
  • RQ3Can OOD samples be effectively identified through uncertainty quantification, with PIs naturally widening for such samples?
  • RQ4Does the proposed initialization scheme improve OOD detection by increasing PI width for out-of-distribution inputs?
  • RQ5How does PI3NN compare to state-of-the-art methods in terms of predictive uncertainty quality, robustness, and OOD identification on real-world and benchmark datasets?

Key findings

  • PI3NN successfully computes PIs for multiple confidence levels without retraining, as the three networks are trained once and reused across all levels.
  • The method completely avoids the crossing issue in PI estimation, as proven by theoretical analysis in Section 3.2.1.
  • On the Flight Delay dataset, PI3NN with OOD identification turned on achieved confidence scores of 0.24±0.05 for Rank 1 airports (OOD), significantly lower than the 0.72±0.32 score from PI3NN without OOD detection, indicating effective OOD detection.
  • PI3NN outperformed baselines such as QD, PIVEN, SQR, and DER in identifying data shifts from training (Rank 4) to larger airports (Ranks 1–3), with the latter methods failing to detect the shift.
  • The method demonstrated stable performance without requiring fine-tuning of loss hyperparameters, as it relies solely on standard MSE loss for training.
  • In experiments, PI3NN achieved better uncertainty calibration and robustness compared to state-of-the-art methods, particularly in distinguishing OOD samples through wider PIs.

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.