Selective Question Answering under Domain Shift

By Amita Kamath, Robin Jia, Percy Liang. 2020

272 citations recorded by the source corpus.

To avoid giving wrong answers, question answering (QA) models need to know when to abstain from answering. Moreover, users often ask questions that diverge from the model’s training data, making errors more likely and thus abstention more critical. In this work, we propose the setting of selective question answering under domain shift, in which a QA model is tested on a mixture of in-domain and out-of-domain data, and must answer (i.e., not abstain on) as many questions as possible while maintaining high accuracy. Abstention policies based solely on the model’s softmax probabilities fare poorly, since models are overconfident on out-of-domain inputs. Instead, we train a calibrator to identify inputs on which the QA model errs, and abstain when it predicts an error is likely. Crucially, the calibrator benefits from observing the model’s behavior on out-of-domain data, even if from a different domain than the test data. We combine this method with a SQuAD-trained QA model and evaluate on mixtures of SQuAD and five other QA datasets. Our method answers 56% of questions while maintaining 80% accuracy; in contrast, directly using the model’s probabilities only answers 48% at 80% accuracy.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Percy Liang
  2. Luke S. Zettlemoyer
  3. Mohit Bansal
  4. Jianfeng Gao
  5. Graham Neubig
  6. Caiming Xiong
  7. Yejin Choi
  8. Hannaneh Hajishirzi

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Trevor Darrell
  3. Dacheng Tao
  4. Jitendra Malik
  5. Xiaogang Wang
  6. Ming-Hsuan Yang
  7. Bernt Schiele
  8. Andrew Zisserman

In Natural Language Processing

  1. Percy Liang
  2. Luke S. Zettlemoyer
  3. Mohit Bansal
  4. Jason Aaron Edward Weston
  5. Graham Neubig
  6. Jianfeng Gao
  7. Yejin Choi
  8. Greg Durrett

Citations in the corpus