Optimizing Question Semantic Space for Dynamic Retrieval-Augmented Multi-hop Question Answering

Linhao Ye, Lang Yu, Zhikai Lei, Qin Chen, Jie Zhou, Liang He

Abstract

Retrieval-Augmented Generation (RAG) has become a cornerstone for enhancing Large Language Models (LLMs) with external knowledge. However, multi-hop question answering (QA)—which requires synthesizing information across multiple documents—remains a significant challenge. Traditional RAG systems often struggle with semantic mismatching and the complex dependencies between sub-questions. This paper presents Q-DREAM (Optimizing Question Semantic Space for Dynamic REtrieval-Augmented Multi-hop Question Answering), a framework designed to optimize the semantic search space. By decomposing questions and utilizing specialized, cluster-based retrieval modules, Q-DREAM achieves state-of-the-art accuracy while providing a six-fold increase in processing speed compared to existing iterative retrieval methods.

Introduction

While RAG allows LLMs to access factual data beyond their training sets, multi-hop QA tasks expose two critical weaknesses in standard retrieval architectures. First, semantic mismatching occurs because standard vector search algorithms prioritize textual similarity over informational helpfulness. A passage may be semantically close to a query without containing the necessary answer. Second, interdependent sub-questions create a "bridge" problem: the second step of a multi-hop query often cannot be formulated until the first step is resolved.

Q-DREAM addresses these hurdles by dynamically aligning the question's intent with the specific semantic space of relevant passages, ensuring that the retrieval process is both context-aware and efficient.

The Q-DREAM Framework

Q-DREAM operates through a specialized three-module pipeline designed to handle the decomposition, dependency resolution, and retrieval of complex queries.

1. Question Decomposition Module (QDM)

The QDM breaks down a complex multi-hop question into fine-grained, manageable sub-questions. This initial step ensures that the system can tackle each component of a complex query individually rather than attempting a single, broad search that might return irrelevant results.

2. Subquestion Dependency Optimizer Module (SDOM)

In multi-hop scenarios, sub-questions are rarely independent. For example, in the query "Who is the child of the director of the film Mukhyamantri?", the second hop depends entirely on the output of the first. The SDOM acts as a bridge, reconstructing subsequent sub-questions into complete, searchable sentences once the preceding information is retrieved. This ensures that the retrieval engine always has a clear, unambiguous target.

3. Dynamic Passage Retrieval Module (DPRM)

The DPRM represents the core innovation of the framework. Rather than searching a single, global vector space, Q-DREAM clusters sub-questions by topic. It then employs dynamic LoRA (Low-Rank Adaptation) blocks—specialized mini-models—to map these questions to the specific semantic space where helpful passages reside. This alignment allows the model to learn latent matching patterns (e.g., how film credits are typically structured in a database), moving beyond simple keyword or embedding similarity to find truly helpful information.

Experimental Evaluation

The researchers evaluated Q-DREAM against high-performance baselines, including IRCoT, SURE, and one-shot ChatGPT, across three major benchmarks:

  • 2WikiMulti-hopQA (2WikiMQA): Used for primary in-domain training and testing.
  • HotpotQA: Used to evaluate out-of-domain generalization.
  • IIRC (Information Integration Retrieval Challenge): Used for additional out-of-domain testing.

Key Insights and Results

Superior Accuracy and Generalization

On the 2WikiMQA dataset, Q-DREAM (using ChatGPT as a backbone) achieved an Exact Match (EM) score of 48.6 and an F1 score of 62.1, significantly outperforming IRCoT (41.9 EM / 55.2 F1). Notably, the model maintained high performance on HotpotQA and IIRC despite being trained only on 2WikiMQA, suggesting that the learned "matching patterns" are robust and universal across different data structures.

Efficiency and Speed

One of the most significant advantages of Q-DREAM is its efficiency. By utilizing smaller, fine-tuned modules (based on Mistral-7B) for decomposition and retrieval, it avoids the expensive "retrieval-reasoning" loops required by iterative methods. Q-DREAM is approximately 6x faster than IRCoT, processing samples in roughly 4 seconds compared to IRCoT’s 25 seconds.

The Small Model Edge

The study demonstrated that a well-architected retrieval system can compensate for raw model scale. Q-DREAM using a Llama2-7B backbone outperformed the SURE framework even when the latter utilized the much larger ChatGPT backbone. This highlights the importance of optimizing the semantic space rather than relying solely on the reasoning power of the LLM.

Conclusion and Future Work

Q-DREAM demonstrates that the key to solving multi-hop QA lies not just in better reasoning, but in more precise retrieval alignment. By recognizing that similarity does not always equal helpfulness, the framework provides a faster, more accurate path for RAG systems.

While the current framework excels at fact retrieval, future research will explore its application in complex logical or mathematical reasoning. Additionally, the authors plan to extend Q-DREAM to multilingual and multimodal settings to determine if these semantic alignment benefits translate across different data types and languages.

Summary updated

BibTeX
@inproceedings{ye2025optimizing,
  author = {Linhao Ye and Lang Yu and Zhikai Lei and Qin Chen and Jie Zhou and Liang He},
  title = {{Optimizing Question Semantic Space for Dynamic Retrieval-Augmented Multi-hop Question Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure