Skip to main content
QUICK REVIEW

[Paper Review] It's better to say "I can't answer" than answering incorrectly: Towards Safety critical NLP systems

Neeraj Varshney, Swaroop Mishra|arXiv (Cornell University)|Aug 21, 2020
Topic ModelingComputer Science25 references5 citations
TL;DR

This paper proposes a calibration method that predicts the probability of a model's correctness rather than treating correctness as a binary label, improving reliability in safety-critical NLP. On MNLI and OOD benchmarks, it increases AUC by up to 10.22% and enables abstention on 2.6% more out-of-distribution examples at 99% in-domain accuracy.

ABSTRACT

In order to make AI systems more reliable and their adoption in safety critical applications possible, it is essential to impart the capability to abstain from when their prediction is likely to be incorrect and seek human intervention. Recently proposed selective answering techniques model calibration as a binary classification task. We argue that, not all incorrectly answered questions are incorrect to the same extent and the same is true for correctly answered questions. Hence, treating all correct predictions equally and all incorrect predictions equally constraints calibration. In this work, we propose a methodology that incorporates the degree of correctness, shifting away from classification labels as it directly tries to predict the probability of model's prediction being correct. We show the efficacy of the proposed method on existing Natural Language Inference (NLI) datasets by training on SNLI and evaluating on MNLI mismatched and matched datasets. Our approach improves area under the curve (AUC) of risk-coverage plot by 10.22\% and 8.06\% over maxProb with respect to the maximum possible improvement on MNLI mismatched and matched set respectively. In order to evaluate our method on Out of Distribution (OOD) datasets, we propose a novel setup involving questions with a variety of reasoning skills. Our setup includes a test set for each of the five reasoning skills: numerical, logical, qualitative, abductive and commonsense. We select confidence threshold for each of the approaches where the in-domain accuracy (SNLI) is 99\%. Our results show that, the proposed method outperforms existing approaches by abstaining on 2.6\% more OOD questions at respective confidence thresholds.

Motivation & Objective

  • To improve reliability of NLP systems in safety-critical applications by enabling models to abstain when predictions are likely incorrect.
  • To address the limitation of existing selective answering methods that treat all correct and incorrect predictions equally.
  • To model the degree of correctness rather than using binary classification for calibration.
  • To evaluate performance on diverse reasoning skills in out-of-distribution settings.
  • To achieve higher coverage of correct predictions while minimizing incorrect predictions through improved confidence calibration.

Proposed method

  • The method shifts from binary classification of correctness to predicting the probability that a model's prediction is correct.
  • It uses a regression-style approach to estimate the likelihood of correctness, capturing nuances in prediction quality.
  • The model is trained on SNLI and evaluated on MNLI matched and mismatched sets to assess calibration performance.
  • A novel OOD evaluation setup is introduced with five reasoning skill categories: numerical, logical, qualitative, abductive, and commonsense reasoning.
  • Confidence thresholds are selected to maintain 99% in-domain accuracy on SNLI, enabling fair comparison across methods.
  • The approach uses risk-coverage plots to evaluate trade-offs between abstention and correctness.

Experimental results

Research questions

  • RQ1Can modeling the degree of correctness improve calibration beyond binary classification in NLP?
  • RQ2How does the proposed method perform on out-of-distribution examples with diverse reasoning skills?
  • RQ3Can the method achieve higher AUC on risk-coverage plots compared to maxProb baseline?
  • RQ4To what extent can the method increase abstention on OOD data while preserving in-domain accuracy?
  • RQ5Does the method generalize across different reasoning types in out-of-distribution settings?

Key findings

  • The proposed method improves AUC on risk-coverage plots by 10.22% over maxProb on the MNLI mismatched set.
  • It achieves an 8.06% improvement on the MNLI matched set, relative to the maximum possible improvement.
  • The method enables abstention on 2.6% more OOD examples than existing approaches at a 99% in-domain accuracy threshold.
  • The approach demonstrates consistent performance gains across all five reasoning skill categories in the OOD evaluation setup.
  • The results confirm that modeling correctness as a continuous probability improves calibration and safety in NLP systems.
  • The method outperforms maxProb in both in-domain and out-of-domain settings, indicating broader reliability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.