RELOOP: Recursive Retrieval with Multi-Hop Reasoner and Planners for Heterogeneous QA

Ruiyi Yang, Hao Xue, Imran Razzak, Hakim Hacid, Flora D. Salim

TL;DR

RELOOP is a novel framework that unifies heterogeneous data sources—free text, relational tables, and knowledge graphs—into a single, reversible "Hierarchical Sequence" (HSEQ) format. By pairing this unified representation with a multi-agent iterative retrieval policy that features an explicit "sufficiency" stopping signal, RELOOP achieves state-of-the-art multi-hop question-answering accuracy while drastically reducing token costs and latency.

What Problem Does This Paper Address?

Retrieval-Augmented Generation (RAG) has vastly improved the factuality of Large Language Models (LLMs). However, standard RAG pipelines remain brittle when faced with complex, multi-step questions that require gathering evidence from diverse data formats (e.g., reading a Wikipedia text passage, checking a financial table, and traversing a knowledge graph).

Current approaches suffer from three primary challenges:

  1. Coverage Gaps: Single-pass retrievers ("retrieve-then-generate") often fail to trace complete evidence chains across long or fragmented documents.
  2. Uncontrolled Iteration: Existing multi-agent or iterative RAG systems easily explode the search space, leading to branchy plans, excessive tool calls, high token costs, and unpredictable latency.
  3. Format Heterogeneity: Text, tables, and knowledge graphs (KGs) typically require entirely separate indices, retrievers, and prompt styles, preventing a single system from easily generalizing across formats.

Methods

RELOOP solves these issues by reframing retrieval as a guided, budget-aware iterative process over a unified data structure.

Figure 1: RELOOP overview. (i) HSEQ-A linearizes heterogeneous sources into HSEQ Sh with level tags, parent pointers, and standardized metadata; (ii) RELOOP-I iterates over a windowed stream of segments under budgets, guided by g, and queries Φ for sufficiency; (iii) κ compacts Mt into provenance-preserving evidence; (iv) RELOOP- H produces the final answer and optionally triggers a brief refinement if inconsistencies are detected.

The framework consists of three core components:

  • HSEQ-Adapter (HSEQ-A): This module linearizes text, tables, and KGs into a standardized, reversible sequence of typed segments. Each segment retains lightweight structural tags (such as parent/child pointers, offsets, or coordinates), ensuring that the original data can be faithfully reconstructed without loss of provenance.
  • RELOOP-Iterator (RELOOP-I): A learned selection policy (fine-tuned using Low-Rank Adaptation, or LoRA) that slides a window over the HSEQ stream. At each step, it selects promising segments and can perform structure-aware neighborhood expansions (e.g., fetching parent/child text blocks, adjacent table rows/columns, or connected KG entities). Crucially, it outputs a binary sufficiency signal ($s_t$) predicting whether the accumulated evidence is enough to answer the question.
  • RELOOP-Head (RELOOP-H): The coordinator module. It first analyzes the question to generate a concise guidance plan ($g$) that acts as a soft prior to steer the iterator. Once the iterator signals sufficiency, the Head module canonicalizes the collected evidence package and synthesizes the final answer. It also includes an optional verifier loop to trigger refinement if contradictions are detected.
Figure 2: RELOOP-I is trained from multi-source ques- tions. After guidance sets are prepared, LoRA is applied for finetuning.

Datasets

The authors evaluated RELOOP across four prominent benchmarks representing different data modalities:

  • HotpotQA: Multi-hop reasoning over text-only Wikipedia documents.
  • TAT-QA: Table-centric financial question answering paired with associated text paragraphs.
  • HybridQA: Wikipedia tables linked to textual passages, requiring cross-format grounding.
  • MetaQA (2-Hop & 3-Hop): Multi-hop reasoning over a Wikidata-style Knowledge Graph.
Table 1: Datasets used in our study (modality abbrevia- tions: T=Text, Tb=Table, KG=Knowledge Graph).

Key Insights and Ideas

  • Format-Agnostic Unification: By mapping text, tables, and graphs into the same LLM-native sequence format (HSEQ), a single trained policy can navigate across entirely different data types uniformly. No dataset-specific tool or index specialization is required.
  • The Power of "Just-Enough" Evidence: Instead of relying on heuristic termination or fixed loop counts, RELOOP-I explicitly trains a sufficiency head. This allows the system to halt early, concentrating compute only on the evidence actually inspected.
  • Soft Guidance vs. Rigid Planning: Rather than forcing the model into a strict execution graph, the Head Agent's guidance plan serves as a flexible prior. The iterator can dynamically override the plan if it uncovers stronger evidence paths during its windowed stream exploration.

Key Results

RELOOP consistently outperformed both LLM-only baselines and strong, format-specialized RAG baselines across all benchmarks.

Table 2: Overall QA performance on heterogeneous benchmarks. Shaded cells (N/A) indicate the method is not applicable to that benchmark; gray dashes (–) indicate metric not reported. The record results use Qwen3-4B- Instruct-2507 for HSEQ-I; and Falcon-H1-7B-Instruct for HSEQ-H
  • Accuracy Gains: RELOOP achieved top scores on HybridQA (66.4% Acc), TAT-QA (75.7% Acc), and MetaQA (95.9% on 2-hop, 93.4% on 3-hop).
  • Striking Efficiency: Compared to graph-centric iterative methods like Think on Graph (ToG), which often suffer from long expansion chains, RELOOP reduced latency by more than half. It maintained tight, budgeted loops averaging just 3 to 5 steps per query.
Table 3: Efficiency metrics on HotpotQA, MetaQA-2hop and MetaQA-3hop.

Limitations and Future Work

While RELOOP demonstrates robust universality, the authors point out a few areas for improvement:

  • Static Corpora Constraint: The current framework is designed for static datasets; future work will aim to extend RELOOP to multi-turn or streaming settings with dynamically changing corpora.
  • Sufficiency Hallucinations: Under highly noisy or adversarial evidence, the sufficiency judge can occasionally hallucinate adequacy, leading to premature termination. Mitigating this via more robust calibration remains an open direction.

Summary updated

BibTeX
@misc{yang2025reloop,
  author = {Ruiyi Yang and Hao Xue and Imran Razzak and Hakim Hacid and Flora D. Salim},
  title = {{RELOOP: Recursive Retrieval with Multi-Hop Reasoner and Planners for Heterogeneous QA}},
  year = {2025},
  eprint = {2510.20505},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.20505},
}
Figure