Capturing Global Structural Information in Long Document Question Answering with Compressive Graph Selector Network

Yuxiang Nie, Heyan Huang, Wei Wei, Xian-Ling Mao

Abstract

Long Document Question Answering (LDQA) requires reasoning over texts that can exceed 20,000 tokens, a scale that challenges standard Transformer-based models limited by fixed context windows. We present the Compressive Graph Selector Network (CGSN), a "Select-then-Read" framework that utilizes a hierarchical graph structure and iterative memory to capture global document context. By explicitly modeling local and global dependencies, CGSN identifies relevant evidence more accurately than flat-sequence models. Evaluation on the Qasper and HotpotQA-Doc benchmarks demonstrates that CGSN significantly improves evidence selection and final answer generation, achieving an Evidence F1 of 53.98 on the Qasper dataset.

Introduction

Most modern NLP models are constrained by short context windows; standard Transformers like BERT are capped at 512 tokens, and even long-context variants typically top out around 4,000 tokens. However, real-world documents—such as scientific papers or legal contracts—frequently exceed 20,000 tokens. When a question requires reasoning across such massive documents, current models often miss the "global structure," failing to relate distant sections like a methodology to a conclusion pages later.

To address this, we propose CGSN, a model designed to read iteratively while maintaining a structured, global map of the entire document. This approach moves beyond treating text as a flat sequence, instead focusing on the relationships between hierarchical units like paragraphs and segments.

Methodology

CGSN operates within a Select-then-Read framework. Rather than feeding an entire 20,000-token document into a single model, CGSN identifies the most relevant paragraphs (evidence) first, which are then passed to a standard answer generator.

The CGSN architecture featuring Local and Global Graph Networks with an Evidence Memory module.

The architecture consists of three primary modules:

  1. Local Graph Network: This module captures short-term dependencies by building a hierarchical graph (Tokens → Sentences → Paragraphs → Segment) as it processes document segments.
  2. Global Graph Network: Serving as the model's "brain," this network receives compressed information from local graphs. It uses graph attention to link nodes across the entire document, performing long-range reasoning and writing information back to local nodes to refine evidence selection.
  3. Evidence Memory Network: To ensure diversity and prevent redundant selections, this module caches previous results. A gating mechanism helps the model focus on new information at each step.

Experimental Evaluation

The model was evaluated on two challenging benchmarks: Qasper (scientific papers) and HotpotQA-Doc (multi-hop questions over full Wikipedia articles).

Performance comparison on the Qasper dataset across various models and metrics.

Key Results

  • Evidence Selection: On the Qasper dataset, CGSN achieved an Evidence F1 score of 53.98, significantly outperforming the standard LED baseline (29.20) and specialized models like ETC (51.17).
  • Answer Quality: Improved evidence selection led to a final Answer F1 of 39.44 on Qasper, compared to 33.12 for the baseline.
  • Multi-hop Reasoning: On HotpotQA-Doc, the model reached an Evidence F1 of 92.02, demonstrating high effectiveness in large search spaces.
  • Ablation Insights: Removing the Global Graph module resulted in a significant performance drop, confirming that global structural information is critical for long-document understanding.

Conclusion

CGSN demonstrates that for LDQA, modeling document structure is more effective than raw sequence processing. By perfecting the selection phase through iterative compression and graph-based reasoning, CGSN enables standard generators to perform significantly better. While the iterative nature of the model introduces higher time costs compared to fully parallelized Transformers, the gains in accuracy and global awareness provide a robust path forward for processing massive, complex documents.

Summary updated

BibTeX
@inproceedings{nie2022capturing,
  author = {Yuxiang Nie and Heyan Huang and Wei Wei and Xian-Ling Mao},
  title = {{Capturing Global Structural Information in Long Document Question Answering with Compressive Graph Selector Network}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.336},
}
Figure