IRAIMay 8

LARAG: Link-Aware Retrieval Strategy for RAG Systems in Hyperlinked Technical Documentation

arXiv:2605.0751740.8
AI Analysis

For developers of RAG systems handling structured technical manuals, LARAG offers a lightweight method to leverage existing hyperlinks for more efficient and accurate retrieval.

LARAG improves RAG systems for hyperlinked technical documentation by using hyperlink structure as metadata, achieving higher BERTScore F1 with fewer retrieved chunks and generated tokens compared to a baseline RAG.

Retrieval-Augmented Generation (RAG) enhances the factual grounding of Large Language Models by conditioning their outputs on external documents. However, standard embedding-based retrievers treat naturally structured corpora, such as technical manuals, as flat collections of passages, thereby overlooking the hyperlink topology that users rely on when navigating such content. We introduce LARAG (Link-Aware RAG): a lightweight, link-aware retrieval strategy that leverages the author-defined hyperlink structure already present in HTML documentation, encoding hyperlink relations as metadata in the chunk representations and exploiting them to perform a form of graph-like retrieval of locally relevant content. In a benchmark of twenty expert-designed queries over Rulex Platform technical documentation and four prompting strategies, LARAG consistently improves answer quality, achieving the highest BERTScore F1, while retrieving fewer chunks and generating fewer tokens than a baseline RAG architecture used for comparison. These results show that directly leveraging the existing hyperlink topology of technical documentation, even without explicit graph construction or inference, enables an implicit form of graph-like retrieval that yields a more faithful and efficient RAG pipeline, providing better grounding at lower cost.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes