Logic-Guided Data Augmentation and Regularization for Consistent Question Answering

Akari Asai, Hannaneh Hajishirzi
4/21/2020
cs.CL

Official code: AkariAsai/logic_guided_qa (71 stars, Python, MIT, last commit 2024-07-25).

Abstract

Many natural language questions require qualitative, quantitative or logical comparisons between two entities or events. This paper addresses the problem of improving the accuracy and consistency of responses to comparison questions by integrating logic rules and neural models.

Show full abstract

Our method leverages logical and linguistic knowledge to augment labeled training data and then uses a consistency-based regularizer to train the model. Improving the global consistency of predictions, our approach achieves large improvements over previous methods in a variety of question answering (QA) tasks including multiple-choice qualitative reasoning, cause-effect reasoning, and extractive machine reading comprehension. In particular, our method significantly improves the performance of RoBERTa-based models by 1-5% across datasets. We advance the state of the art by around 5-8% on WIQA and QuaRel and reduce consistency violations by 58% on HotpotQA. We further demonstrate that our approach can learn effectively from limited data.

View on arXivView PDF

Code Implementations(1)

MIT

The official implementation of ACL 2020, "Logic-Guided Data Augmentation and Regularization for Consistent Question Answering".

718Python, ShellApr 27, 20202 years agoMIT
data-augmentation-strategiesmachine-reading-comprehensionquestion-answering

Similar Papers

Cite this paper

@article{asai2020logicguided,
  title  = {Logic-Guided Data Augmentation and Regularization for Consistent Question Answering},
  author = {Akari Asai and Hannaneh Hajishirzi},
  year   = {2020},
  eprint = {2004.10157},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.10157}
}

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

Discussion