Learning to Order Sub-questions for Complex Question Answering

Yunan Zhang, Xiang Cheng, Yufeng Zhang, Zihan Wang, Zhengqi Fang, Xiaoyan Wang, Zhenya Huang, Chengxiang ZhaiarXiv 2019

Abstract

Answering complex questions often requires decomposing them into simpler sub-questions. However, the order in which these sub-questions are addressed significantly impacts the search space and the likelihood of error accumulation. This paper proposes a Reinforcement Learning (RL) framework that dynamically learns the optimal sequence for solving sub-questions. By balancing the risk of error against the utility of information gained, the model strategically narrows the search space, leading to improved accuracy across multiple complex question-answering benchmarks.

Introduction

Real-world questions are often complex, involving multiple interconnected entities and relations. For example, consider the query: "Which city is the filming location of the book written by J.K. Rowling and held the Olympics?" The standard approach in Natural Language Processing (NLP) is to decompose such queries into a computation tree of simpler sub-questions.

However, existing systems generally answer these sub-questions in an arbitrary order, provided basic dependencies are met. This approach is highly inefficient. If a system first attempts to answer "Which cities held the Olympics?", the search space explodes due to the high number of valid candidates. Conversely, starting with "Which book was written by J.K. Rowling?" yields a highly specific answer (Harry Potter), which drastically narrows the search space for subsequent steps. This research addresses the missing optimization layer: learning to strategically order sub-questions to avoid search space explosions and prevent error accumulation.

Methodology

The authors frame sub-question ordering as a Markov Decision Process (MDP) solved via Reinforcement Learning. The core strategy mimics human problem-solving: prioritize the most answerable (low-risk) components and use the resulting information to guide more difficult (high-risk) segments.

System architecture for complex question answering with an integrated sub-question ordering module.

Technical Components

  • State Representation: Sub-questions are mapped to sub-graphs in a Knowledge Graph (KG). The model utilizes ConvE for node embeddings and multi-head self-attention to facilitate information sharing across sub-graphs, providing the agent with global context for local decision-making.
  • Action Space: At each step, the agent selects a triple (entity, relation, next entity) to expand a current sub-graph, effectively choosing the next sub-question to progress.
  • Risk-Utility Reward: The reward function employs an expected value-variance criterion. Utility measures how much a sub-question prunes the search space for others, while Risk is quantified by the variance of expected rewards and penalties for entering error states.
  • Policy Network: An LSTM tracks search history, and the policy is optimized using the REINFORCE algorithm with an additive control variate baseline.

Key Results

The proposed RL ordering model consistently outperformed baselines that rely on random or purely dependency-based ordering across several datasets, including the Countries dataset (Hits@1 of 0.551 vs. 0.495) and the WC-C dataset (Hits@1 of 0.566 vs. 0.439).

Comparison of average error rates between the proposed model and the baseline across reasoning steps.

As shown in the error analysis, the model significantly reduces the error rate in the initial steps by prioritizing low-risk sub-questions. While the error rate increases in later steps—partly due to the tight coupling of the ordering and answering modules—the overall precision is markedly improved. On the Complex Web Questions benchmark, integrating this ordering logic into an existing pipeline yielded a ~2% improvement in precision@1.

Discussion and Future Work

The research demonstrates that sub-question order fundamentally dictates search space efficiency. By successfully answering high-utility sub-questions first, the model acts as a filter, preventing the system from exploring irrelevant branches of the Knowledge Graph.

Future work aims to decouple the ordering and answering modules to further reduce late-stage errors. Additionally, the authors suggest extending this framework beyond structured Knowledge Graphs to incorporate complex text extraction and applying the RL ordering mechanism to tasks like semantic parsing and multi-hop machine reading comprehension.

Summary updated

BibTeX
@misc{zhang2019learning,
  author = {Yunan Zhang and Xiang Cheng and Yufeng Zhang and Zihan Wang and Zhengqi Fang and Xiaoyan Wang and Zhenya Huang and Chengxiang Zhai},
  title = {{Learning to Order Sub-questions for Complex Question Answering}},
  year = {2019},
  eprint = {1911.04065},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.04065},
}
Figure