cs.CLOct 1, 2026

A Matryoshka Hierarchical RAG for Efficient Multi-Hop Question Answering

Authors: Gianluca Bonifazi, Christopher Buratti, Michele Marchetti, Federica Parlapiano, Giulia Quaglieri, Davide Traini, Domenico Ursino, Luca Virgili

Organizations: Polytechnic University of Marche, Ancona, Italy · University of Modena and Reggio Emilia, Modena, Italy

Abstract

Retrieval-Augmented Generation (RAG) systems for multi-hop Question Answering (QA) must balance retrieval quality with computational cost. This cost is incurred during indexing time, through the use of expensive Knowledge Graphs (KGs) or Large Language Models (LLMs) to generate summaries, or during querying, through iterative LLM-driven retrieval. To reduce it while maintaining retrieval quality, we present MatRAG, a hierarchical framework that combines RAG systems with Matryoshka Representation Learning (MRL). MatRAG addresses both kinds of cost by aligning the semantic hierarchy of a clustering structure with the nested structure of MRL. Specifically, it organizes the corpus of documents into a Directed Acyclic Graph (DAG) of clusters with progressively coarser granularity. Each level is indexed by a lower Matryoshka dimension. MatRAG pairs an iterative, top-down traversal of the DAG with an entity-driven mechanism that controls the hop budget and re-ranks candidates. We evaluated MatRAG on three standard multi-hop QA benchmarks against seven representative baselines. MatRAG outperforms its strongest competitors in terms of retrieval quality; furthermore, it reduces indexing costs by avoiding KG construction and LLM-based summarization, and lowers query-time costs through dimension-aware similarity.

Figures & tables

Explore similar work

CardsList
  1. MEGRAG: Multi-Granular Evidence Graphs for Answer-Aware Multi-Hop RAG

    Aug 3, 2026Weidong Bao, Yingying Sun, Jun Yang +7Multi-Hop Reasoning

  2. IndexRAG: Index-Time Reasoning for Multi-Hop Retrieval-Augmented Generation

    Mar 17, 2026Zhenghua Bao, Yi ShiMulti-Hop ReasoningQuestion-Answering Benchmarks

  3. ConRAG: Consensus-Driven Multi-View Retrieval for Multi-Hop Question Answering

    May 27, 2026Yikai Zhu, Kunfeng Chen, Qihuang Zhong +2Multi-Hop ReasoningQuestion