RAGU: A Multi-Step GraphRAG Engine with a Compact Domain-Adapted LLM
Summary
RAGU is an open-source, modular GraphRAG engine designed to improve knowledge graph construction and retrieval-augmented generation by addressing the limitations of single-pass extraction. It employs a multi-step process involving two-stage typed entity and relation extraction, DBSCAN-backed deduplication, LLM summarization, and Leiden community detection. A core innovation is Meno-Lite-0.1, a compact 7B model optimized for language skills, which significantly outperforms Qwen2.5-32B on knowledge-graph construction (+12.5% relative harmonic mean) and matches its performance on English GraphRAG tasks. On GraphRAG-Bench (Medical), RAGU achieves superior context completeness with evidence recall up to 0.84 (vs. ≤0.76 for others) and surpasses HippoRAG2 on synthesis tasks. RAGU is installable via `pip install graph_ragu`, runs on a single GPU, and is released under the MIT license, with source code and the Meno-Lite-0.1 model publicly available.
Key takeaway
For Machine Learning Engineers or AI Scientists building robust GraphRAG systems, RAGU offers a compelling alternative to traditional single-pass extraction methods. Its multi-step approach and compact Meno-Lite-0.1 model deliver superior knowledge graph construction and retrieval performance, particularly on complex tasks. You should consider integrating RAGU's modular engine to enhance the accuracy and efficiency of your knowledge-intensive LLM applications, leveraging its single-GPU deployment capability.
Key insights
RAGU improves GraphRAG by separating knowledge extraction from consolidation using a multi-step process and a compact, domain-adapted LLM.
Principles
- Language skill growth is weakly tied to LLM size.
- Multi-stage extraction enhances knowledge graph quality.
- Deduplication and summarization refine extracted entities.
Method
RAGU's method involves two-stage typed extraction, DBSCAN-backed deduplication, LLM summarization, and Leiden community detection to build robust knowledge graphs for GraphRAG.
In practice
- Use Meno-Lite-0.1 for efficient KG extraction.
- Implement multi-step GraphRAG for accuracy.
- Deploy RAGU on a single GPU for GraphRAG.
Topics
- GraphRAG
- Knowledge Graph Construction
- Large Language Models
- Meno-Lite-0.1
- Information Extraction
- Deduplication
- Community Detection
Code references
Best for: AI Engineer, AI Architect, Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.