Supervising Model Attention with Human Explanations for Robust Natural Language Inference

Joe Stacey, Yonatan Belinkov, Marek Rei
4/16/2021
cs.CLcs.LG

Official code: joestacey/NLI_with_a_human_touch (6 stars, Python, last commit 2022-03-17).

Abstract

Natural Language Inference (NLI) models are known to learn from biases and artefacts within their training data, impacting how well they generalise to other unseen datasets. Existing de-biasing approaches focus on preventing the models from learning these biases, which can result in restrictive models and lower performance.

Show full abstract

We instead investigate teaching the model how a human would approach the NLI task, in order to learn features that will generalise better to previously unseen examples. Using natural language explanations, we supervise the model's attention weights to encourage more attention to be paid to the words present in the explanations, significantly improving model performance. Our experiments show that the in-distribution improvements of this method are also accompanied by out-of-distribution improvements, with the supervised models learning from features that generalise better to other NLI datasets. Analysis of the model indicates that human explanations encourage increased attention on the important words, with more attention paid to words in the premise and less attention paid to punctuation and stop-words.

View on arXivView PDF

Code Implementations(1)

61Python, ShellDec 6, 20214 years ago

Similar Papers

Cite this paper

@article{stacey2021supervising,
  title  = {Supervising Model Attention with Human Explanations for Robust Natural Language Inference},
  author = {Joe Stacey and Yonatan Belinkov and Marek Rei},
  year   = {2021},
  eprint = {2104.08142},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.08142}
}

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

Discussion