Abstract
Traditional Machine Reading Comprehension (MRC) models often treat answer choices as independent entities, scoring each in isolation. This approach ignores the inherent logical relationships—such as entailment and contradiction—that exist between different choices. This paper introduces a framework that explicitly models these inter-choice dependencies. By combining a question-answering system with a natural language inference (NLI) model and enforcing global consistency via Integer Linear Programming (ILP), the authors demonstrate significant performance improvements on complex reasoning datasets like MultiRC and SemEval-2018.
Introduction
In standard MRC tasks, models typically select the highest-scoring answer choice without considering how that choice relates to others. However, human reasoning is holistic: if one statement is true, its entailed statements must also be true, and its contradictions must be false. For instance, if choice A entails choice B, a model should not logically predict A as true while predicting B as false. The authors address this limitation by incorporating pragmatic inferences into the decision-making process, ensuring that the final predictions are logically consistent across all available choices.
Methods
The research explores two primary architectural strategies to integrate logical relations:
1. Three-Step Inference Pipeline
The first approach is a modular pipeline consisting of three components:
- QA System: A stand-alone TriAN-single model that provides initial confidence scores for each answer choice.
- NLI System: A modified decomposable attention model designed to identify relationships (Entailment, Contradiction, or Neutral) between pairs of choices.
- Inference (ILP): An Integer Linear Programming framework that acts as a logical referee. It optimizes the final labels by balancing the QA scores against the NLI-derived constraints (e.g., if $c_i$ is true and $c_i$ entails $c_j$, then $c_j$ must be true).
2. Joint Multitask Model
To improve representation learning, the authors developed a joint model where the QA and NLI tasks share underlying Bi-LSTM layers. This shared architecture encourages the model to learn features that are simultaneously useful for answering questions and determining inter-choice relationships.
Datasets and Evaluation
The models were evaluated on two benchmarks requiring sophisticated reasoning:
- MultiRC: A multi-sentence reading comprehension dataset where questions can have multiple correct answers, making it a perfect testbed for entailment and contradiction.
- SemEval-2018 Task 11: A commonsense reasoning task. Although each question has only one correct answer, the authors leveraged relations between answers to different questions associated with the same passage.
Results
The integration of logical relations led to measurable improvements over standalone baselines. On the MultiRC dataset, the "Exact Match" (EM0) score—which requires all choices for a question to be correctly classified—saw a notable increase.
Specifically, the EM0 score rose from 18.15% for the standalone QA system to 21.62% when using the QA + NLI pipeline with self-training (MultiRC-specific NLI). On the SemEval-2018 benchmark, the joint model achieved a test accuracy of 82.10%, surpassing both the standalone QA baseline (80.80%) and the original TriAN-single implementation (81.94%). Statistical analysis confirmed these gains were significant.
Discussion and Future Work
A key insight from this work is that logical consistency can compensate for uncertainty in the primary QA task. If a model is unsure about a difficult choice but certain about a related one, the NLI relation can guide the model toward the correct prediction.
However, the system's performance is currently bottlenecked by the NLI component. High lexical overlap between choices often leads to false entailment predictions, and negation (e.g., the word "not") frequently triggers incorrect contradiction labels. Future research could expand the scope of modeled relations to include causality or temporal ordering, further enriching the model's understanding of context.
Summary updated