Detecting Extrapolation with Local Ensembles

10/21/2019
by   David Madras, et al.
0

We present local ensembles, a method for detecting extrapolation at test time in a pre-trained model. We focus on underdetermination as a key component of extrapolation: we aim to detect when many possible predictions are consistent with the training data and model class. Our method uses local second-order information to approximate the variance of predictions across an ensemble of models from the same class. We compute this approximation by estimating the norm of the component of a test point's gradient that aligns with the low-curvature directions of the Hessian, and provide a tractable method for estimating this quantity. Experimentally, we show that our method is capable of detecting when a pre-trained model is extrapolating on test data, with applications to out-of-distribution detection, detecting spurious correlates, and active learning.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/24/2021

Sketching Curvature for Efficient Out-of-Distribution Detection for Deep Neural Networks

In order to safely deploy Deep Neural Networks (DNNs) within the percept...
research
06/24/2022

Out of distribution robustness with pre-trained Bayesian neural networks

We develop ShiftMatch, a new training-data-dependent likelihood for out ...
research
04/18/2022

UMass PCL at SemEval-2022 Task 4: Pre-trained Language Model Ensembles for Detecting Patronizing and Condescending Language

Patronizing and condescending language (PCL) is everywhere, but rarely i...
research
07/17/2023

An Empirical Investigation of Pre-trained Model Selection for Out-of-Distribution Generalization and Calibration

In the realm of out-of-distribution generalization tasks, finetuning has...
research
06/22/2021

Test-time Collective Prediction

An increasingly common setting in machine learning involves multiple par...
research
08/13/2023

Generating observation guided ensembles for data assimilation with denoising diffusion probabilistic model

This paper presents an ensemble data assimilation method using the pseud...
research
11/16/2021

Selective Ensembles for Consistent Predictions

Recent work has shown that models trained to the same objective, and whi...

Please sign up or login with your details

Forgot password? Click here to reset