[Paper Review] Iterative Hierarchical Attention for Answering Complex Questions over Long Documents
This paper proposes DocHopper, a novel iterative hierarchical attention model that answers complex, multi-hop questions over long, structured documents by updating queries in continuous embedding space rather than by concatenating text. It achieves state-of-the-art performance on four benchmark datasets—QASPER, HybridQA, ShARC, and HotpotQA—outperforming baselines by 3–5% while being 3–10× faster at inference due to pre-computed document representations.
We propose a new model, DocHopper, that iteratively attends to different parts of long, hierarchically structured documents to answer complex questions. Similar to multi-hop question-answering (QA) systems, at each step, DocHopper uses a query $q$ to attend to information from a document, combines this ``retrieved'' information with $q$ to produce the next query. However, in contrast to most previous multi-hop QA systems, DocHopper is able to ``retrieve'' either short passages or long sections of the document, thus emulating a multi-step process of ``navigating'' through a long document to answer a question. To enable this novel behavior, DocHopper does not combine document information with $q$ by concatenating text to the text of $q$, but by combining a compact neural representation of $q$ with a compact neural representation of a hierarchical part of the document, which can potentially be quite large. We experiment with DocHopper on four different QA tasks that require reading long and complex documents to answer multi-hop questions, and show that DocHopper achieves state-of-the-art results on three of the datasets. Additionally, DocHopper is efficient at inference time, being 3--10 times faster than the baselines.
Motivation & Objective
- To address the challenge of answering complex, multi-hop questions over long, hierarchically structured documents such as research papers, legal texts, or policy documents.
- To improve upon existing multi-hop QA models that rely on text concatenation for query refinement, which is inefficient and fails to capture structural relationships.
- To enable efficient and effective navigation through document sections by combining hierarchical attention with iterative query updates in continuous vector space.
- To achieve high performance on long-document QA tasks without additional pretraining, leveraging existing pretrained models like ETC.
Proposed method
- DocHopper uses a hierarchical transformer encoder (based on ETC) to generate compact neural representations of document sections at multiple levels—paragraphs and higher-level sections.
- At each iteration, the model performs hierarchical attention to attend to relevant parts of the document, selecting either short passages or broader sections based on the current query embedding.
- Instead of concatenating retrieved text to the question, DocHopper updates the query vector in the embedding space by combining it with the neural representation of the attended document part.
- The model maintains a cumulative context vector by linearly combining attended embeddings across all steps using learnable attention weights, which are computed via a query-based attention mechanism.
- Final predictions are made using a classifier head applied to the aggregated context vector, with end-to-end differentiability maintained throughout the process.
- Document representations are pre-computed, enabling fast inference—3–10× faster than baselines—without reprocessing the document for each example.
Experimental results
Research questions
- RQ1Can iterative hierarchical attention with continuous query updates improve performance on complex, multi-hop QA over long, structured documents compared to text concatenation-based methods?
- RQ2How effective is the use of hierarchical document representations (paragraphs and sections) in capturing structural context for complex question answering?
- RQ3Does updating queries in embedding space rather than via token concatenation lead to better generalization and faster inference in long-document QA?
- RQ4Can a model built on top of a pretrained ETC-style encoder achieve state-of-the-art results on diverse long-document QA benchmarks without additional pretraining?
- RQ5How does the model’s performance and efficiency compare to retrieval-and-read pipelines and sequential chunked reading baselines?
Key findings
- DocHopper achieves state-of-the-art performance on three of the four evaluated datasets—QASPER, HybridQA, and ShARC—outperforming baselines by 3–5% in accuracy.
- On the HotpotQA dataset, DocHopper achieves competitive results, demonstrating strong generalization across diverse long-document QA tasks.
- The model runs 3–10 times faster than baseline models at inference time due to pre-computed document representations, significantly reducing computational cost.
- The ablation study confirms that the hierarchical attention mechanism and embedding-space query updates are key to performance, with significant gains in evidence retrieval accuracy.
- The model maintains high confidence in predictions without overfitting to irrelevant chunks, as seen in the sequential reading baseline, which often misclassifies non-relevant content as positive.
- All experiments were conducted on a single GPU, and the model achieves SOTA results without additional pretraining, highlighting its efficiency and practical deployability.
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.