[Paper Review] ReasoNet: Learning to Stop Reading in Machine Comprehension
This paper proposes ReasoNet, a neural network architecture for machine comprehension that dynamically determines when to stop reading by learning a termination decision during multi-turn reasoning. Using deep reinforcement learning with an instance-dependent reward baseline, ReasoNet outperforms prior methods on SQuAD, CNN/Daily Mail, and a structured Graph Reachability dataset by adapting reasoning depth to question and document complexity.
Teaching a computer to read and answer general questions pertaining to a document is a challenging yet unsolved problem. In this paper, we describe a novel neural network architecture called the Reasoning Network (ReasoNet) for machine comprehension tasks. ReasoNets make use of multiple turns to effectively exploit and then reason over the relation among queries, documents, and answers. Different from previous approaches using a fixed number of turns during inference, ReasoNets introduce a termination state to relax this constraint on the reasoning depth. With the use of reinforcement learning, ReasoNets can dynamically determine whether to continue the comprehension process after digesting intermediate results, or to terminate reading when it concludes that existing information is adequate to produce an answer. ReasoNets have achieved exceptional performance in machine comprehension datasets, including unstructured CNN and Daily Mail datasets, the Stanford SQuAD dataset, and a structured Graph Reachability dataset.
Motivation & Objective
- To address the limitation of fixed-depth reasoning in existing machine comprehension models, which do not adapt to varying question or document complexity.
- To enable neural networks to mimic human-like reading behavior by learning when to terminate the comprehension process based on intermediate information.
- To develop a trainable mechanism for dynamic reasoning depth that avoids over-processing simple cases and under-processing complex ones.
- To overcome the challenge of training a discrete termination gate via reinforcement learning with an instance-dependent baseline.
- To achieve state-of-the-art performance on diverse machine comprehension benchmarks, including unstructured and structured datasets.
Proposed method
- ReasoNet employs a multi-turn reasoning mechanism where the model iteratively attends to different parts of the document and query, refining its understanding across turns.
- A termination gate at each reasoning step predicts whether to continue or stop, with the decision based on the current hidden state and intermediate reasoning.
- The model uses deep reinforcement learning to train the termination policy, with a reward signal based on answer accuracy and an instance-dependent baseline to reduce variance.
- The final answer is predicted from the hidden state at the termination step, and the model is trained end-to-end using policy gradient methods.
- The architecture integrates query, document, and intermediate reasoning states through gated recurrent units and attention mechanisms to model complex dependencies.
- The maximum number of reasoning steps is set as a hyperparameter, but the actual number used is determined dynamically by the termination gate.
Experimental results
Research questions
- RQ1Can a neural network learn to dynamically decide when to stop reading during machine comprehension, based on the complexity of the input?
- RQ2Does allowing variable reasoning depth through a learnable termination mechanism improve performance on diverse machine comprehension tasks?
- RQ3How does the use of an instance-dependent reward baseline affect training stability and convergence in models with discrete decision gates?
- RQ4To what extent does ReasoNet's dynamic reasoning depth correlate with the intrinsic difficulty of questions and documents?
- RQ5Can ReasoNet generalize to both unstructured (e.g., SQuAD, CNN/Daily Mail) and structured (e.g., graph reachability) comprehension tasks?
Key findings
- ReasoNet achieved state-of-the-art performance on the Stanford SQuAD dataset, ranking second on the public test set leaderboard at the time of submission.
- On the CNN/Daily Mail dataset, ReasoNet outperformed existing methods, demonstrating superior reasoning capability on unstructured news articles.
- In the structured Graph Reachability dataset, ReasoNet achieved 100% accuracy on the small graph set and 78.95% on the large graph set, showing strong generalization to formal reasoning tasks.
- The ReasoNet model converged significantly faster than the ReasoNet-Last baseline—20 epochs on small graphs vs. 40 epochs, and 40 vs. 70 on large graphs—indicating improved training efficiency.
- The distribution of termination steps was spread across multiple turns, with 16% and 35% of instances terminating at the final step in small and large graphs, respectively, showing adaptability to complexity.
- A strong correlation was observed between the number of BFS steps (path length) in the graph and the number of reasoning steps ReasoNet used, confirming that the model adapts its depth to problem difficulty.
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.