Exploring Predictive Uncertainty and Calibration in NLP: A Study on the Impact of Method & Data Scarcity

Dennis Ulmer, Jes Frellsen, Christian Hardmeier
10/20/2022
cs.CLcs.AIcs.LG

Official code: Kaleidophon/nlp-low-resource-uncertainty (2 stars, Python, GPL-3.0, last commit 2022-11-04).

Abstract

We investigate the problem of determining the predictive confidence (or, conversely, uncertainty) of a neural classifier through the lens of low-resource languages. By training models on sub-sampled datasets in three different languages, we assess the quality of estimates from a wide array of approaches and their dependence on the amount of available data.

Show full abstract

We find that while approaches based on pre-trained models and ensembles achieve the best results overall, the quality of uncertainty estimates can surprisingly suffer with more data. We also perform a qualitative analysis of uncertainties on sequences, discovering that a model's total uncertainty seems to be influenced to a large degree by its data uncertainty, not model uncertainty. All model implementations are open-sourced in a software package.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
20PythonOct 26, 20214 years agoGPL-3.0

Similar Papers

Cite this paper

@article{ulmer2022exploring,
  title  = {Exploring Predictive Uncertainty and Calibration in NLP: A Study on the Impact of Method & Data Scarcity},
  author = {Dennis Ulmer and Jes Frellsen and Christian Hardmeier},
  year   = {2022},
  eprint = {2210.15452},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.15452}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.15452.svg)](https://codeofpaper.com/paper/2210.15452)

Discussion