Enhancing Machine Reading Comprehension With Position Information

Yajing Xu, Weijie Liu, Guang Chen, Boya Ren, Siman Zhang, Sheng Gao, Jun GuoIEEE Access 2019

Introduction

Machine Reading Comprehension (MRC) requires models to extract answers from extensive documents. While deep learning has advanced semantic understanding, models often struggle with the "noise" in long-form text. Humans naturally scan for "anchor" words and focus on the surrounding text. This paper, published in IEEE Access, introduces a "position-aware" attention mechanism that mimics this human strategy by weighting context words based on their proximity to question keywords.

Methodology

The proposed architecture integrates position information through several specialized layers, moving from raw text to a focused answer span.

Embedding and Encoding

The model utilizes GloVe word vectors and Char-CNN embeddings. These are combined and passed through a Highway Network to form the final embedding $e_i$, which is then processed through a BiLSTM to capture semantic context.

Detailed view of the Embedding module, combining GloVe and Char-CNN features.

Keyword Expansion and Positional Influence

To identify relevant "anchors," the system employs the Paraphrase Database (PPDB). This allows the model to recognize synonyms (e.g., "known as" for "nickname") when establishing positional starting points.

The core innovation is the Position-Aware Attention mechanism, which calculates influence scores using mathematical kernels. Among the tested kernels—Gaussian, Triangle, and Circle—the Gaussian kernel proved most effective due to its smooth decay, allowing the model to maintain a broader yet focused context window.

The overall architecture of the proposed model, highlighting the Position-aware Attention mechanism and the integration of question and context branches.

Integration and Prediction

Positional weights are integrated into the attention mechanism, biasing the model toward words near identified keywords. Finally, a Pointer Network predicts the start and end indices of the answer span.

Experimental Evaluation

The model was evaluated on the TriviaQA dataset, which contains over 95,000 question-answer pairs. TriviaQA is notably more challenging than SQuAD, featuring documents averaging nearly 3,000 words and requiring complex reasoning.

Key Results

The inclusion of position-aware attention yielded significant performance gains:

  • Ablation Study: Adding position-aware attention to the baseline improved the F1 score from 45.93 to 53.21. Incorporating PPDB keyword expansion further increased this to 53.61.
  • Comparative Performance: On the TriviaQA "Verified" Wikipedia set, the model achieved an F1 of 58.38, outperforming established models like BiDAF (50.71) and Smarnet (55.90).
  • Optimal Window: Experiments indicated that the Gaussian curve width ($\sigma$) is most effective between 25 and 35, suggesting a relevant context window of approximately 30 words.

Discussion and Future Work

The research demonstrates that physical proximity is a powerful prior for MRC. The Gaussian kernel's superiority stems from its lack of a hard cutoff, preserving visibility of slightly more distant but relevant information.

However, limitations remain. The current positional prior might hinder multi-sentence reasoning where answers require connecting distant document segments. Future work could explore learnable kernels that adapt based on question type and methods to reduce the computational overhead introduced by keyword expansion and kernel calculations.

Summary updated

BibTeX
@article{xu2019enhancing,
  author = {Yajing Xu and Weijie Liu and Guang Chen and Boya Ren and Siman Zhang and Sheng Gao and Jun Guo},
  title = {{Enhancing Machine Reading Comprehension With Position Information}},
  journal = {IEEE Access},
  year = {2019},
  doi = {10.1109/access.2019.2930407},
}
Figure