Skip to main content
QUICK REVIEW

[Paper Review] Ruminating Reader: Reasoning with Gated Multi-Hop Attention

Yichen Gong, Samuel R. Bowman|arXiv (Cornell University)|Apr 24, 2017
Topic ModelingComputer Science27 references14 citations
TL;DR

Ruminating Reader improves machine reading comprehension by introducing a two-pass attention mechanism with gated fusion of representations from both passes, significantly outperforming BiDAF on SQuAD with an F1 score of 79.5 and EM of 70.6, matching or surpassing all published systems at the time.

ABSTRACT

To answer the question in machine comprehension (MC) task, the models need to establish the interaction between the question and the context. To tackle the problem that the single-pass model cannot reflect on and correct its answer, we present Ruminating Reader. Ruminating Reader adds a second pass of attention and a novel information fusion component to the Bi-Directional Attention Flow model (BiDAF). We propose novel layer structures that construct an query-aware context vector representation and fuse encoding representation with intermediate representation on top of BiDAF model. We show that a multi-hop attention mechanism can be applied to a bi-directional attention structure. In experiments on SQuAD, we find that the Reader outperforms the BiDAF baseline by a substantial margin, and matches or surpasses the performance of all other published systems.

Motivation & Objective

  • Address the limitation of single-pass models in machine comprehension, which cannot revise or reflect on candidate answers.
  • Improve answer accuracy by enabling the model to revisit context and question for deeper reasoning, emulating human ruminative reading behavior.
  • Introduce a novel gating mechanism to fuse representations from the first and second attention passes, enhancing information integration.
  • Reduce error rates caused by answer-question overlap by introducing an answer–question similarity loss.
  • Achieve state-of-the-art performance on the SQuAD benchmark through architectural enhancements to BiDAF.

Proposed method

  • Extend BiDAF with a second pass of bi-directional attention flow to enable multi-hop reasoning over context and question.
  • Introduce 'ruminate layers' that use learnable gates to fuse encoding representations (first pass) with intermediate representations (second pass).
  • Utilize a gated mechanism where LSTM layers in ruminate layers process the same input across timesteps, producing dynamic gate values that control information flow.
  • Apply a novel answer–question similarity loss to penalize predictions that overly overlap with the question, reducing a common error pattern.
  • Construct query-aware context representations through two distinct attention hops, with the first focusing on key query words and the second identifying candidate answer spans.
  • Use character-level embeddings with 1D CNNs and max pooling to generate word representations before attention mechanisms.

Experimental results

Research questions

  • RQ1Can a two-pass attention mechanism improve answer accuracy in machine comprehension compared to single-pass models?
  • RQ2How effective is gated fusion of first-pass and second-pass representations in enhancing reasoning capacity?
  • RQ3Does introducing a secondary reasoning pass reduce errors caused by superficial answer-question overlap?
  • RQ4Can the model achieve state-of-the-art performance on SQuAD through architectural enhancements to BiDAF?
  • RQ5How do different question types and answer lengths affect the performance of the ruminative reasoning mechanism?

Key findings

  • Ruminating Reader achieves an F1 score of 79.5 and an Exact Match (EM) score of 70.6 on the SQuAD hidden test set, representing a 2.2-point F1 and 2.9-point EM improvement over BiDAF.
  • The model outperforms BiDAF across all answer length categories, with the largest gains observed on longer answers (e.g., 5, 8, and 9 words).
  • On 'why' questions—typically the most challenging due to long, non-lexical answers—the model improves performance significantly over BiDAF, indicating enhanced reasoning on complex queries.
  • The model achieves a 70.6% success rate (perfect F1) on the development set, compared to 69.1% for jNet, while reducing failure cases from 14.9% to 13.5%.
  • Visualization shows that the gate mechanism in ruminate layers predominantly favors the original encoding representation, confirming its role in refining rather than replacing initial representations.
  • Ablation studies confirm that both the two-hop attention and the gated fusion components contribute substantially to performance gains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.