HIRO: Hierarchical Information Retrieval Optimization

Krish Goel, Mahek Chandak
6/14/2024
cs.CLcs.AIcs.IR

No official code found. Best implementation: krishgoel/hiro (5 stars, MIT, last commit 2024-08-20).

Abstract

Retrieval-Augmented Generation (RAG) has revolutionized natural language processing by dynamically integrating external knowledge into Large Language Models (LLMs), addressing their limitation of static training datasets. Recent implementations of RAG leverage hierarchical data structures, which organize documents at various levels of summarization and information density. This complexity, however, can cause LLMs to "choke" on information overload, necessitating more sophisticated querying mechanisms. In this context, we introduce Hierarchical Information Retrieval Optimization (HIRO), a novel querying approach that employs a Depth-First Search (DFS)-based recursive similarity score calculation and branch pruning. This method uniquely minimizes the context delivered to the LLM without informational loss, effectively managing the challenge of excessive data. HIRO's refined approach is validated by a 10.85% improvement in performance on the NarrativeQA dataset.

View on arXivView PDF

Code Implementations(1)

krishgoel/hiroCommunity100%
MIT

The official implementation of HIRO: Hierarchical Information Retrieval Optimization on RAPTOR

52Python, Jupyter NotebookJun 17, 20242 years agoMIT
hierarchical-queryinginformation-retrievalrag

Similar Papers

Cite this paper

@article{goel2024hiro,
  title  = {HIRO: Hierarchical Information Retrieval Optimization},
  author = {Krish Goel and Mahek Chandak},
  year   = {2024},
  eprint = {2406.09979},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.09979v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.09979.svg)](https://codeofpaper.com/paper/2406.09979)

Discussion