TL;DR
This paper introduces the Knowledge Aided Reader (KAR), a novel Machine Reading Comprehension (MRC) model that explicitly incorporates general knowledge, specifically inter-word semantic connections extracted from WordNet. KAR demonstrates comparable performance to state-of-the-art models while exhibiting significantly improved robustness to noisy data and a reduced reliance on massive training datasets.
What Problem Does This Paper Address?
Current Machine Reading Comprehension (MRC) models, despite achieving human-level performance on benchmarks like SQuAD, suffer from two key limitations compared to human readers: a voracious appetite for training data and a fragility when faced with noisy or misleading information. The authors argue that this gap stems from MRC models primarily relying on the information within a given passage-question pair, whereas humans leverage a vast amount of general knowledge. This general knowledge, particularly the semantic relationships between words (e.g., synonyms, hyponyms), is crucial for understanding context and making robust inferences. The paper aims to bridge this gap by explicitly integrating such general knowledge into MRC models.
Methods
The paper proposes a two-pronged approach:
- Data Enrichment Method: This method uses WordNet to extract "inter-word semantic connections" from passage-question pairs. These connections are defined as "semantic relation chains," which are sequences of semantic relations linking words. The extent of these connections is controlled by a hyper-parameter
k, representing the maximum number of hops in a relation chain. A wordw1is considered semantically connected tow2if their "extended synsets" (synsets reachable withinkhops) have an overlap. This process is designed to be controllable and understandable. - Knowledge Aided Reader (KAR) Model: This is an end-to-end MRC model that explicitly uses the extracted general knowledge to enhance its attention mechanisms. KAR builds upon a standard MRC architecture with several layers:
- Lexicon Embedding Layer: Combines word and character embeddings.
- Context Embedding Layer: Uses BiLSTMs to capture contextual information.
- Coarse Memory Layer: Employs "knowledge aided mutual attention" to fuse question context into passage context.
- Refined Memory Layer: Uses "knowledge aided self attention" to further refine passage representations.
The key innovation lies in the "knowledge aided" attention mechanisms. Instead of just considering all other words, these mechanisms use the pre-extracted semantic connections to focus on relevant words, making the attention process more precise and controllable. For instance, in knowledge-aided mutual attention, the similarity calculation between passage and question words is enhanced by considering semantic connections. Similarly, in knowledge-aided self-attention, a word's representation is fused with representations of semantically related words, not just all other words.
Datasets
- SQuAD 1.1: Used as the primary dataset for training and evaluating the model's performance. It contains over 100,000 passage-question pairs.
- AddSent and AddOneSent: Adversarial datasets derived from SQuAD, designed to evaluate the models' robustness to noisy or misleading sentences. These are crucial for demonstrating KAR's advantage in handling imperfect inputs.
Key Insights and Ideas
- General Knowledge is Key: The paper strongly advocates that human-like reading comprehension requires more than just processing text; it necessitates leveraging external, general knowledge.
- Explicit vs. Implicit Knowledge Integration: The authors argue for an explicit way of using general knowledge (where its influence is traceable and controllable) over implicit methods (like encoding knowledge into vectors), which are harder to understand and control.
- Semantic Relation Chains as a Powerful Signal: Using WordNet to build semantic relation chains provides a structured way to represent inter-word connections, which proves highly beneficial for MRC tasks.
- Attention Mechanisms Benefit from Knowledge: The core idea is that attention mechanisms, which are central to modern MRC models, become more effective and targeted when guided by explicit semantic knowledge. This allows the model to "focus" on the right pieces of information.
- Robustness Through Knowledge: The integration of general knowledge makes the model less susceptible to noise because it can rely on underlying semantic relationships even when surface-level text is misleading.
Key Results
- Comparable Performance: KAR achieves performance comparable to state-of-the-art MRC models on the standard SQuAD 1.1 development and test sets. For example, on the development set, KAR achieved an EM of 76.7 and an F1 of 84.9.
- Superior Robustness to Noise: KAR significantly outperforms other models on the adversarial datasets (AddSent and AddOneSent). On AddSent, KAR achieved an F1 of 60.1, compared to the next best at 58.5, and on AddOneSent, KAR achieved 72.3, significantly higher than the next best at 67.0.
- Reduced Data Hunger: When trained on only 20-80% of the training data, KAR significantly outperforms state-of-the-art models and remains reasonably robust to noise. This is visualized in Figure 2, 3, and 4, showing KAR maintaining higher F1 scores across different data proportions.
- Effective Knowledge Extraction: The paper shows that increasing the
khyper-parameter for data enrichment initially improves performance, peaking atk=3(average of 2.21 inter-word semantic connections per word), suggesting an optimal level of knowledge integration.
Limitations and Future Work
- Scope of General Knowledge: The current work focuses solely on inter-word semantic connections from WordNet. The authors suggest using larger knowledge bases like ConceptNet and Freebase to improve the quality and scope of general knowledge.
- Controllability of Noise: While KAR is more robust to noise, the paper acknowledges that some extracted semantic connections can be distracting. The knowledge-aided attention mechanisms help mitigate this, but further research could explore more sophisticated ways to filter or weigh these connections.
- Hyper-parameter Tuning: The
khyper-parameter for data enrichment is set through cross-validation. Future work could explore more automated or adaptive methods for determining the optimal level of knowledge integration.
Summary updated