LightRAG: Simple and Fast Retrieval-Augmented Generation

  • 2025-04-28 18:36:27
  • Zirui Guo, Lianghao Xia, Yanhua Yu, Tu Ao, Chao Huang
  • 0

Abstract

Retrieval-Augmented Generation (RAG) systems enhance large language models(LLMs) by integrating external knowledge sources, enabling more accurate andcontextually relevant responses tailored to user needs. However, existing RAGsystems have significant limitations, including reliance on flat datarepresentations and inadequate contextual awareness, which can lead tofragmented answers that fail to capture complex inter-dependencies. To addressthese challenges, we propose LightRAG, which incorporates graph structures intotext indexing and retrieval processes. This innovative framework employs adual-level retrieval system that enhances comprehensive information retrievalfrom both low-level and high-level knowledge discovery. Additionally, theintegration of graph structures with vector representations facilitatesefficient retrieval of related entities and their relationships, significantlyimproving response times while maintaining contextual relevance. Thiscapability is further enhanced by an incremental update algorithm that ensuresthe timely integration of new data, allowing the system to remain effective andresponsive in rapidly changing data environments. Extensive experimentalvalidation demonstrates considerable improvements in retrieval accuracy andefficiency compared to existing approaches. We have made our LightRAGopen-source and available at the link: https://github.com/HKUDS/LightRAG

 

Quick Read (beta)

loading the full paper ...