[Paper Review] Document Modeling with Graph Attention Networks for Multi-grained Machine Reading Comprehension
This paper proposes a graph attention network (GAT)-based framework that jointly models documents at four granularities—tokens, sentences, paragraphs, and documents—using BERT and GATs to improve multi-grained machine reading comprehension on the Natural Questions dataset. By jointly training for long (paragraph-level) and short (entity-level) answer prediction, the model captures cross-granularity dependencies, achieving state-of-the-art performance on both metrics at the time of submission.
Natural Questions is a new challenging machine reading comprehension benchmark with two-grained answers, which are a long answer (typically a paragraph) and a short answer (one or more entities inside the long answer). Despite the effectiveness of existing methods on this benchmark, they treat these two sub-tasks individually during training while ignoring their dependencies. To address this issue, we present a novel multi-grained machine reading comprehension framework that focuses on modeling documents at their hierarchical nature, which are different levels of granularity: documents, paragraphs, sentences, and tokens. We utilize graph attention networks to obtain different levels of representations so that they can be learned simultaneously. The long and short answers can be extracted from paragraph-level representation and token-level representation, respectively. In this way, we can model the dependencies between the two-grained answers to provide evidence for each other. We jointly train the two sub-tasks, and our experiments show that our approach significantly outperforms previous systems at both long and short answer criteria.
Motivation & Objective
- To address the limitation of existing models that treat long and short answer extraction as independent tasks, ignoring their mutual dependencies.
- To model documents at multiple granularities—tokens, sentences, paragraphs, and documents—using a graph-based hierarchical representation.
- To improve performance on the Natural Questions benchmark by jointly training long and short answer sub-tasks using shared multi-granular representations.
- To demonstrate that modeling dependencies between two-grained answers enhances overall MRC accuracy.
Proposed method
- The model uses BERT to encode question and document fragments into contextualized embeddings.
- A heterogeneous graph is constructed with nodes representing tokens, sentences, paragraphs, and documents, and edges encoding structural and semantic relations between them.
- Graph attention networks (GATs) are applied to propagate and aggregate representations across the graph, capturing hierarchical dependencies across granularities.
- The model jointly optimizes for long answer prediction (from paragraph-level representations) and short answer prediction (from token-level start/end spans).
- A graph integration layer combines multi-granular representations, enabling cross-level information flow and joint optimization.
- During inference, a pipeline strategy is used: first select long answers, then extract short answers from the selected long answers.
Experimental results
Research questions
- RQ1Can joint training of long and short answer prediction improve performance on multi-grained MRC benchmarks?
- RQ2How does modeling documents at multiple granularities (tokens, sentences, paragraphs, documents) enhance answer extraction?
- RQ3What is the contribution of graph attention mechanisms in capturing hierarchical dependencies across document levels?
- RQ4How do different components of the graph encoder (e.g., relational embeddings, self-attention, integration layers) affect model performance?
Key findings
- The proposed model achieves state-of-the-art performance on both long and short answer evaluation criteria on the Natural Questions benchmark at the time of submission (June 25, 2019).
- Joint training of long and short answer tasks improves performance compared to training them independently, with a 5.0% drop in long answer F1 and 0.9% drop in short answer F1 when either sub-task is removed.
- Removing the entire graph module leads to a 5.0% decrease in long answer F1 and 0.9% in short answer F1, demonstrating the importance of multi-granular graph representations.
- Ablation studies show that each component of the graph encoder—relational embeddings, graph integration layer, and self-attention—contributes meaningfully to performance, with removals causing 0.5% to 0.8% performance drops.
- The model surpasses single human performance on the development set for both long and short answer criteria.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.