IRAICLJun 15, 2025

SlimRAG: Retrieval without Graphs via Entity-Aware Context Selection

arXiv:2506.17288v12 citationsh-index: 2Has Code
Originality Highly original
AI Analysis

This addresses inefficiencies in retrieval-augmented generation for language model applications, offering a more efficient alternative to graph-based methods.

The paper tackles the problem of structural overhead and imprecise retrieval in graph-based RAG systems by introducing SlimRAG, a lightweight framework that uses entity-aware context selection without graphs, resulting in improved accuracy and reduced index size and retrieval compactness (e.g., RITU of 16.31 vs. 56+).

Retrieval-Augmented Generation (RAG) enhances language models by incorporating external knowledge at inference time. However, graph-based RAG systems often suffer from structural overhead and imprecise retrieval: they require costly pipelines for entity linking and relation extraction, yet frequently return subgraphs filled with loosely related or tangential content. This stems from a fundamental flaw -- semantic similarity does not imply semantic relevance. We introduce SlimRAG, a lightweight framework for retrieval without graphs. SlimRAG replaces structure-heavy components with a simple yet effective entity-aware mechanism. At indexing time, it constructs a compact entity-to-chunk table based on semantic embeddings. At query time, it identifies salient entities, retrieves and scores associated chunks, and assembles a concise, contextually relevant input -- without graph traversal or edge construction. To quantify retrieval efficiency, we propose Relative Index Token Utilization (RITU), a metric measuring the compactness of retrieved content. Experiments across multiple QA benchmarks show that SlimRAG outperforms strong flat and graph-based baselines in accuracy while reducing index size and RITU (e.g., 16.31 vs. 56+), highlighting the value of structure-free, entity-centric context selection. The code will be released soon. https://github.com/continue-ai-company/SlimRAG

Code Implementations1 repo
Foundations

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

Your Notes