# Learning to Search in Long Documents Using Document Structure

arXiv: https://arxiv.org/abs/1806.03529 · HTML: https://mlsanity.com/paper/1806.03529/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 9 Jun 2018.

## Built on by (most cited first, 3 of 3)

- [Walking Down the Memory Maze: Beyond Context Limit through Interactive Reading](https://mlsanity.com/paper/2310.05029/) (2023)
- [Extracting Variable-Depth Logical Document Hierarchy from Long Documents: Method, Evaluation, and Application](https://mlsanity.com/paper/2105.09297/) (2021)
- [SPARK: Search Personalization via Agent-Driven Retrieval and Knowledge-sharing](https://mlsanity.com/paper/2512.24008/) (2025)

## Abstract (arXiv)

Reading comprehension models are based on recurrent neural networks that sequentially process the document tokens. As interest turns to answering more complex questions over longer documents, sequential reading of large portions of text becomes a substantial bottleneck. Inspired by how humans use document structure, we propose a novel framework for reading comprehension. We represent documents as trees, and model an agent that learns to interleave quick navigation through the document tree with more expensive answer extraction. To encourage exploration of the document tree, we propose a new algorithm, based on Deep Q-Network (DQN), which strategically samples tree nodes at training time. Empirically we find our algorithm improves question answering performance compared to DQN and a strong information-retrieval (IR) baseline, and that ensembling our model with the IR baseline results in further gains in performance.
