SOTAVerified

The Art of Abstention: Selective Prediction and Error Regularization for Natural Language Processing

2021-08-01ACL 2021Code Available0· sign in to hype

Ji Xin, Raphael Tang, YaoLiang Yu, Jimmy Lin

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

In selective prediction, a classifier is allowed to abstain from making predictions on low-confidence examples. Though this setting is interesting and important, selective prediction has rarely been examined in natural language processing (NLP) tasks. To fill this void in the literature, we study in this paper selective prediction for NLP, comparing different models and confidence estimators. We further propose a simple error regularization trick that improves confidence estimation without substantially increasing the computation budget. We show that recent pre-trained transformer models simultaneously improve both model accuracy and confidence estimation effectiveness. We also find that our proposed regularization improves confidence estimation and can be applied to other relevant scenarios, such as using classifier cascades for accuracy--efficiency trade-offs. Source code for this paper can be found at https://github.com/castorini/transformers-selective.

Tasks

Reproductions