Unsupervised Evaluation for Question Answering with Transformers
Muttenthaler, Lukas, Augenstein, Isabelle, Bjerva, Johannes
–arXiv.org Artificial Intelligence
It is challenging to automatically evaluate the answer of a QA model at inference time. Although many models provide confidence scores, and simple heuristics can go a long way towards indicating answer correctness, such measures are heavily dataset-dependent and are unlikely to generalize. In this work, we begin by investigating the hidden representations of questions, answers, and contexts in transformer-based QA architectures. We observe a consistent pattern in the answer representations, which we show can be used to automatically evaluate whether or not a predicted answer span is correct. Our method does not require any labeled data and outperforms strong heuristic baselines, across 2 datasets and 7 domains. We are able to predict whether or not a model's answer is correct with 91.37% accuracy on SQuAD, and 80.7% accuracy on SubjQA. We expect that this method will have broad applications, e.g., in the semi-automatic development of QA datasets
arXiv.org Artificial Intelligence
Oct-7-2020
- Country:
- Oceania > Australia
- North America
- United States
- Texas (0.04)
- Pennsylvania > Philadelphia County
- Philadelphia (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- California > San Diego County
- San Diego (0.04)
- Canada > Quebec
- Montreal (0.04)
- United States
- Europe
- Germany > Saxony
- Leipzig (0.04)
- Denmark
- North Jutland > Aalborg (0.04)
- Capital Region > Copenhagen (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Germany > Saxony
- Genre:
- Research Report (0.83)
- Technology: