Skip to content

Source paper

LightRAG: Simple and Fast Retrieval-Augmented Generation

Zirui Guo, Lianghao Xia, Yanhua Yu and 2 more

Zirui Guo, Lianghao Xia, Yanhua Yu, Tu Ao, Chao Huang

arXiv 2410.05779 · 202426 upvotes on Hugging Face

Research ideas from this paper (3)

Generated by AI. The paper’s authors did not write these.

AI summary

The paper introduces LightRAG, a Retrieval-Augmented Generation system designed to overcome the limitations of flat vector retrieval and the computational costs of existing graph-based methods like GraphRAG. LightRAG employs a dual-level retrieval paradigm that combines graph structures with vector representations to capture both specific entity details (low-level) and broader conceptual themes (high-level), while supporting efficient incremental updates without rebuilding the entire index.

How it works (AI summary)

LightRAG utilizes a Large Language Model (LLM) to parse raw text into a Knowledge Graph containing entities and relationships, generating key-value pairs for profiling. For retrieval, it extracts low-level and high-level keywords from a user query, performs vector matching against the graph's entities and relationships, and retrieves connected subgraphs (including one-hop neighbors) to formulate a comprehensive context for answer generation.