[Paper Review] Hierarchical Question Answering for Long Documents
This paper proposes a coarse-to-fine question answering framework that improves efficiency and performance on long documents by first using a fast model to select relevant sentences and then applying a more accurate RNN to generate answers from those sentences. The method treats sentence selection as a latent variable trained via reinforcement learning using only the answer, achieving state-of-the-art results on long-document QA with 3.5x–6.7x speedup over baseline models.
We present a framework for question answering that can efficiently scale to longer documents while maintaining or even improving performance of state-of-the-art models. While most successful approaches for reading comprehension rely on recurrent neural networks (RNNs), running them over long documents is prohibitively slow because it is difficult to parallelize over sequences. Inspired by how people first skim the document, identify relevant parts, and carefully read these parts to produce an answer, we combine a coarse, fast model for selecting relevant sentences and a more expensive RNN for producing the answer from those sentences. We treat sentence selection as a latent variable trained jointly from the answer only using reinforcement learning. Experiments demonstrate the state of the art performance on a challenging subset of the Wikireading and on a new dataset, while speeding up the model by 3.5x-6.7x.
Motivation & Objective
- To address the inefficiency of RNN-based QA models when processing long documents due to sequential computation and lack of parallelization.
- To improve performance on long-document question answering where relevant information is sparse and not always explicitly stated.
- To develop a modular, hierarchical QA system that mimics human reading behavior by skimming then focusing on key sentences.
- To train sentence selection as a latent variable using only answer supervision, avoiding the need for annotated sentence-level labels.
Proposed method
- The model uses a two-stage architecture: a fast, coarse encoder selects relevant sentences from the document based on the question.
- A separate, slower RNN generates the final answer using only the selected sentences, enabling efficient computation regardless of document length.
- Sentence selection is modeled as a latent variable and trained jointly with answer generation using reinforcement learning, with rewards shaped by answer accuracy.
- The reinforcement learning objective optimizes for answer correctness without requiring gold sentence annotations, using only the final answer as supervision.
- The framework uses a bag-of-words (BoW) representation for sentence selection and a gated recurrent unit (GRU) for answer generation.
- The method is evaluated on Wikireading Long and a new dataset, WikiSuggest, with ablation studies on sentence selection sampling and model variants.
Experimental results
Research questions
- RQ1Can a coarse-to-fine QA framework improve performance on long documents while significantly reducing inference time?
- RQ2How effective is joint training of sentence selection and answer generation using only answer-level supervision?
- RQ3Does treating sentence selection as a latent variable via reinforcement learning outperform strong baselines on long-document QA?
- RQ4How does the model perform on natural, open-domain questions collected from search engines, compared to synthetic or curated datasets?
- RQ5What are the primary failure modes of the model, and how do they differ between curated and noisier, real-world QA datasets?
Key findings
- The model achieves state-of-the-art performance on the challenging Wikireading Long subset, outperforming prior methods despite not using gold sentence annotations.
- On the new WikiSuggest dataset, the model achieves comparable performance to strong baselines while being significantly faster, with 3.5x–6.7x speedup in document encoding.
- The model accesses four times more document tokens than baseline models that truncate documents, while maintaining high accuracy.
- Manual error analysis shows that the most common failure mode on Wikireading Long is lack of evidence in the document, followed by answer generation errors on long answers.
- On WikiSuggest, noisy question-answer pairs and spurious answer guessing were frequent issues, but the model still performed well, suggesting robustness to real-world noise.
- Sampling two relevant sentences during inference improved performance on Wikireading Long, indicating that multiple candidate sentences help in hard cases.
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.