Detecting Extrapolation with Local Ensembles

Abstract

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.

Cite

Text

Madras et al. "Detecting Extrapolation with Local Ensembles." International Conference on Learning Representations, 2020.

Markdown

[Madras et al. "Detecting Extrapolation with Local Ensembles." International Conference on Learning Representations, 2020.](https://mlanthology.org/iclr/2020/madras2020iclr-detecting/)

BibTeX

@inproceedings{madras2020iclr-detecting,
  title     = {{Detecting Extrapolation with Local Ensembles}},
  author    = {Madras, David and Atwood, James and D'Amour, Alex},
  booktitle = {International Conference on Learning Representations},
  year      = {2020},
  url       = {https://mlanthology.org/iclr/2020/madras2020iclr-detecting/}
}