Code for graph neural retrieval for LLM reasoning research paper
Top 81.1% on sourcepulse
GNN-RAG integrates Graph Neural Networks (GNNs) with Retrieval-Augmented Generation (RAG) to enhance Large Language Model (LLM) reasoning over knowledge graphs. It targets researchers and developers working on knowledge-based question answering and LLM reasoning, offering improved accuracy and explainability by grounding LLM responses in structured knowledge.
How It Works
The system employs GNNs to retrieve relevant entities and relations from a knowledge graph, which are then used as context for an LLM. This approach leverages the structural information within knowledge graphs to provide more precise and contextually relevant answers than traditional RAG methods, enabling more robust reasoning.
Quick Start & Requirements
pip install -r requirements.txt
(within gnn
and llm
directories respectively).llm/results/gnn
.results/
directory.Highlighted Details
Maintenance & Community
This project is maintained by cmavro. No specific community channels or roadmap details are provided in the README.
Licensing & Compatibility
The README does not specify a license. Users should verify licensing for commercial use or integration into closed-source projects.
Limitations & Caveats
The project's licensing is not specified, which may pose a barrier to commercial adoption. The README implies that GNN training might be complex, suggesting users may prefer to rely on precomputed results.
1 year ago
1 week