Uncertainty-aware Language Modeling for Selective Question Answering

Qi Yang, Shreya Ravikumar, Fynn Schmitt-Ulms, Satvik Lolla, Ege Demir +7 more
11/26/2023
cs.CLcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We present an automatic large language model (LLM) conversion approach that produces uncertainty-aware LLMs capable of estimating uncertainty with every prediction. Our approach is model- and data-agnostic, is computationally-efficient, and does not rely on external models or systems. We evaluate converted models on the selective question answering setting -- to answer as many questions as possible while maintaining a given accuracy, forgoing providing predictions when necessary. As part of our results, we test BERT and Llama 2 model variants on the SQuAD extractive QA task and the TruthfulQA generative QA task. We show that using the uncertainty estimates provided by our approach to selectively answer questions leads to significantly higher accuracy over directly using model probabilities.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2023uncertaintyaware,
  title  = {Uncertainty-aware Language Modeling for Selective Question Answering},
  author = {Qi Yang and Shreya Ravikumar and Fynn Schmitt-Ulms and Satvik Lolla and Ege Demir and Iaroslav Elistratov and Alex Lavaee and Sadhana Lolla and Elaheh Ahmadi and Daniela Rus and Alexander Amini and Alejandro Perez},
  year   = {2023},
  eprint = {2311.15451},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.15451v1}
}

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/2311.15451.svg)](https://codeofpaper.com/paper/2311.15451)

Discussion