Skip to main content
QUICK REVIEW

[Paper Review] Query-Reduction Networks for Question Answering

Minjoon Seo, Sewon Min|arXiv (Cornell University)|Jun 14, 2016
Topic ModelingComputer Science19 references56 citations
TL;DR

This paper introduces Query-Reduction Networks (QRN), a novel RNN variant that improves multi-hop question answering by iteratively refining the query using context sentences as sequential triggers. By decoupling candidate hidden states from previous hidden states, QRN enables parallelization over time, reducing training and inference time by an order of magnitude while achieving state-of-the-art performance on bAbI QA, dialog tasks, and real-world goal-oriented dialog datasets.

ABSTRACT

In this paper, we study the problem of question answering when reasoning over multiple facts is required. We propose Query-Reduction Network (QRN), a variant of Recurrent Neural Network (RNN) that effectively handles both short-term (local) and long-term (global) sequential dependencies to reason over multiple facts. QRN considers the context sentences as a sequence of state-changing triggers, and reduces the original query to a more informed query as it observes each trigger (context sentence) through time. Our experiments show that QRN produces the state-of-the-art results in bAbI QA and dialog tasks, and in a real goal-oriented dialog dataset. In addition, QRN formulation allows parallelization on RNN's time axis, saving an order of magnitude in time complexity for training and inference.

Motivation & Objective

  • To address the challenge of multi-hop reasoning in question answering, where answers require integrating multiple facts from a context sequence.
  • To overcome the long-term dependency limitations of standard RNNs, which suffer from vanishing gradients and unstable memory over long sequences.
  • To design a model that effectively captures both local (sequential) and global (long-range) dependencies in context without relying on external memory or attention mechanisms.
  • To enable efficient training and inference by introducing parallelization over the time axis, breaking the sequential dependency of standard RNNs.
  • To improve interpretability by generating intermediate, semantically meaningful query representations during reasoning.

Proposed method

  • QRN models context sentences as state-changing triggers that progressively refine the original question into a more informed query through a recurrent update process.
  • The candidate hidden state $\tilde{\mathbf{h}}_t$ at each time step is computed independently of the previous hidden state $\mathbf{h}_{t-1}$, decoupling the update from the hidden state evolution.
  • A reduce function $\rho$ transforms the current query and context sentence into a new, more focused query, enabling progressive reasoning over multiple facts.
  • The model uses update and reset gates to control how much of the current context and query are retained, with the ability to suppress outdated information (e.g., 'Sandra no longer has the apple').
  • Parallelization is achieved by computing all candidate queries $\tilde{\mathbf{h}}_t$ simultaneously across time steps, eliminating sequential dependency during forward and backward passes.
  • A decoder is applied to intermediate query representations to generate interpretable natural language interpretations, such as 'Where is Sandra?'

Experimental results

Research questions

  • RQ1Can a simplified RNN variant effectively model long-term dependencies in multi-hop question answering without relying on external memory or attention mechanisms?
  • RQ2To what extent can parallelization over the time axis be achieved in a recurrent architecture while preserving sequential reasoning capability?
  • RQ3How well can QRN perform on multi-hop reasoning tasks such as bAbI QA and interactive dialog compared to existing attention-based and memory-augmented models?
  • RQ4Can intermediate query representations in QRN be meaningfully interpreted as logical steps in reasoning, enhancing model transparency?
  • RQ5Does the decoupling of candidate hidden states from previous hidden states mitigate the vanishing gradient problem in RNNs?

Key findings

  • QRN achieves state-of-the-art performance on the bAbI QA dataset, outperforming previous models in multi-hop reasoning tasks.
  • On the dialog task, QRN achieves the best results among end-to-end models, demonstrating strong generalization to interactive, multi-turn dialogues.
  • QRN with parallelization reduces training and inference time by 6.2 times compared to standard RNN-based QRN, significantly improving efficiency.
  • The model successfully learns to suppress outdated information, such as recognizing that 'Sandra no longer has the apple', through low reset gate values at relevant time steps.
  • Intermediate query representations are semantically interpretable, with the model generating natural language queries like 'Where is Sandra?' that reflect logical reasoning steps.
  • Visualization of update and reset gates confirms that QRN focuses on relevant facts—such as who has the apple or the user's preferences—while ignoring irrelevant context like 'I don’t care'.

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.