Enhancing Self-Consistency and Performance of Pre-Trained Language Models through Natural Language Inference
Mitchell, Eric, Noh, Joseph J., Li, Siyan, Armstrong, William S., Agarwal, Ananth, Liu, Patrick, Finn, Chelsea, Manning, Christopher D.
–arXiv.org Artificial Intelligence
While large pre-trained language models are powerful, their predictions often lack logical consistency across test inputs. For example, a state-of-the-art Macaw question-answering (QA) model answers 'Yes' to 'Is a sparrow a bird?' and 'Does a bird have feet?' but answers 'No' to 'Does a sparrow have feet?'. To address this failure mode, we propose a framework, Consistency Correction through Relation Detection, or ConCoRD, for boosting the consistency and accuracy of pre-trained NLP models using pre-trained natural language inference (NLI) models without fine-tuning or re-training. Given a batch of test inputs, ConCoRD samples several candidate outputs for each input and instantiates a factor graph that accounts for both the model's belief about the likelihood of each answer choice in isolation and the NLI model's beliefs about pair-wise answer choice compatibility. We show that a weighted MaxSAT solver can efficiently compute high-quality answer choices under this factor graph, improving over the raw model's predictions. Our experiments demonstrate that ConCoRD consistently boosts accuracy and consistency of off-the-shelf closed-book QA and VQA models using off-the-shelf NLI models, notably increasing accuracy of LXMERT on ConVQA by 5% absolute. See https://ericmitchell.ai/emnlp-2022-concord/ for code and data.
arXiv.org Artificial Intelligence
Nov-21-2022
- Country:
- Asia
- Afghanistan > Kabul Province
- Kabul (0.04)
- China > Hong Kong (0.04)
- Georgia > Tbilisi
- Tbilisi (0.04)
- Afghanistan > Kabul Province
- Europe
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Italy > Tuscany
- Florence (0.04)
- United Kingdom (0.04)
- Ireland > Leinster
- North America
- Dominican Republic (0.04)
- United States
- California > Santa Clara County
- Palo Alto (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.04)
- Pennsylvania (0.04)
- Texas (0.04)
- California > Santa Clara County
- Oceania > Australia
- Australian Capital Territory > Canberra (0.04)
- Victoria > Melbourne (0.04)
- Asia
- Genre:
- Research Report > New Finding (0.93)
- Technology: