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

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

Abstract

Retrieval-augmented generation (RAG) remains brittle on multi-step questions and heterogeneous evidence sources, trading accuracy against latency and token/tool budgets. This paper introduces RELOOP, a structure-aware framework using Hierarchical Sequence (HSEQ) that (i) linearizes documents, tables, and knowledge graphs into a reversible hierarchical sequence with lightweight structural tags, and (ii) performs structure-aware iteration to collect just-enough evidence before answer synthesis. A Head Agent provides guidance that leads retrieval, while an Iteration Agent selects and expands HSeq via structure-respecting actions (e.g., parent/child hops, table row/column neighbors, KG relations). Finally, the head agent composes canonicalized evidence to generate the final answer. Experiments on HotpotQA (text), HybridQA/TAT-QA (table+text), and MetaQA (KG) show consistent EM/F1 gains over strong single-pass, multi-hop, and agentic RAG baselines with high efficiency.

Introduction

Retrieval-Augmented Generation (RAG) has become the standard for grounding Large Language Models (LLMs) in factual data. However, standard pipelines struggle with complex, multi-step questions over messy, real-world data. The authors identify three main bottlenecks: the high cost of multi-agent systems, the lack of a reliable "stop" signal for iterative retrieval, and the difficulty of handling heterogeneous data (text, tables, and Knowledge Graphs) within a unified architecture. RELOOP addresses these challenges by introducing a format-agnostic unification and a budget-aware iterative retrieval process.

Methodology: The RELOOP Framework

RELOOP is a multi-agent framework built around three core components designed to streamline retrieval across diverse data modalities.

The overall architecture of the RELOOP framework, illustrating HSEQ construction, guidance generation, and the iterative retrieval loop.

Hierarchical Sequence (HSEQ) Adapter

Instead of building separate pipelines for different data types, RELOOP linearizes text, tables, and KGs into a unified format called HSEQ. This format uses lightweight structural tags (like parent/child pointers or row/column coordinates) so the system understands the layout of the data without needing specialized parsers. Crucially, this process is reversible, preserving exact provenance for every piece of retrieved evidence.

RELOOP-Head (Planner & Synthesizer)

Before retrieval begins, the Head Agent analyzes the question and generates a short guidance plan (a soft prior on what to look for and when to stop). After retrieval, this same module synthesizes the final answer from the canonicalized evidence, ensuring consistency and auditability.

RELOOP-Iterator (The Worker)

The Iteration Agent is a fine-tuned, lightweight LLM policy that iteratively selects segments from a windowed stream of HSEQ data. It can expand its search structurally—for example, pulling a whole table row if a specific cell looks promising. Most importantly, it predicts sufficiency at each step; if it has enough evidence to answer the question, it stops the loop, saving time and compute.

Experimental Results

The authors evaluated RELOOP on benchmarks stressing different data modalities: HotpotQA (text), HybridQA & TAT-QA (table+text), and MetaQA (KG).

Main performance results comparing RELOOP against LLM-only and RAG-based baselines across multiple benchmarks.

Accuracy and Efficiency

RELOOP consistently outperformed both LLM-only approaches and strong, modality-specific RAG baselines. On TAT-QA, RELOOP achieved 75.7% Accuracy and 83.5 F1, topping the leaderboard. Beyond accuracy, RELOOP significantly slashes latency compared to other multi-hop methods. On HotpotQA, RELOOP required an average of only 4 steps (~6.2s latency), whereas the graph-centric baseline (Think on Graph) required ~13 steps and ~22.7s.

Key Insights

  • Format-Agnostic Unification: Flattening heterogeneous data into HSEQ allows a single retrieval policy to navigate text, tables, and KGs without per-dataset specialization.
  • Sufficiency as Budget Control: Giving an iterative agent an explicit, trained "sufficiency" signal prevents the infinite loops that plague many agentic systems.
  • Soft Guidance: Providing the iterator with a rough plan based on initial question analysis dramatically improves its ability to find the right path compared to blind searching.
  • Provenance and Auditability: Because HSEQ is reversible, every piece of evidence used in the final answer can be traced back to its exact source, improving reliability.

Conclusion

RELOOP demonstrates that structural awareness and guided iteration can overcome the brittleness of traditional RAG systems. By unifying heterogeneous data and implementing budget-aware retrieval, it achieves state-of-the-art performance with high efficiency. Future work will focus on extending RELOOP to multi-turn conversational settings and dynamic corpora.

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