TLDR: A new open-source framework uses an AI agent to dynamically combine knowledge graph and vector database searches for scientific literature review. This ‘agentic hybrid RAG’ system, powered by Llama-3.3-70B-versatile and Mistral-7B-Instruct-v0.3, adapts its retrieval strategy to each query, improving accuracy and reducing hallucinations. Evaluated against synthetic benchmarks, it shows substantial gains in context recall and precision over traditional methods, offering a more efficient and reliable way to navigate vast scientific publications.
The world of scientific research is constantly expanding, with new papers being published at an incredible rate. This rapid growth makes it challenging for researchers to keep up with the latest findings, often leading to information overload and time-consuming manual reviews. To address this, a new open-source framework has been developed that uses artificial intelligence to make scientific literature review more efficient and accurate.
This innovative framework, detailed in a recent paper, introduces an “agentic hybrid RAG” system. RAG, or Retrieval-Augmented Generation, is a technique that enhances large language models (LLMs) by allowing them to access and use external knowledge. Instead of relying solely on their pre-trained knowledge, RAG systems can retrieve relevant documents or information and then generate responses based on that retrieved context, significantly reducing the risk of generating incorrect or fabricated information (hallucinations).
What makes this new framework unique is its “hybrid” and “agentic” nature. Traditional RAG systems often use a single, fixed method for retrieving information. However, scientific queries can be complex and require different approaches. This framework combines two powerful retrieval methods: GraphRAG and VectorRAG. GraphRAG is excellent for understanding relationships and structured data, like citation networks or author collaborations, stored in a knowledge graph. VectorRAG, on the other hand, excels at semantic searches within the full text of documents, finding information based on meaning rather than just keywords.
The “agentic” part refers to an intelligent AI agent that dynamically decides which retrieval method—GraphRAG or VectorRAG—is best suited for a given research query. This dynamic selection allows the system to adapt to the researcher’s specific needs on the fly, ensuring that the most relevant information is retrieved. For instance, if a query is about co-authorship patterns, the agent might use GraphRAG. If it’s about a specific concept discussed within the text of many papers, VectorRAG would be chosen.
The system is built using several open-source components. It collects bibliometric data from sources like PubMed, ArXiv, and Google Scholar APIs. This data is then organized into a Neo4j knowledge graph for structured relationships and a FAISS vector store for embedding full-text PDFs. The core AI agent, powered by the Llama-3.3-70B-versatile model, orchestrates the retrieval process. Once the context is retrieved, the Mistral-7B-Instruct-v0.3 model generates the final response.
To further enhance its performance, the framework incorporates “instruction tuning” and “Direct Preference Optimization (DPO)”. Instruction tuning refines the language model’s ability to follow specific instructions for domain-specific tasks, while DPO explicitly teaches the model to prefer answers that are well-grounded in the retrieved context. This helps in producing more accurate and trustworthy responses.
The effectiveness of this agentic system was rigorously evaluated using synthetic benchmarks designed to mimic real-world research scenarios. The results showed significant improvements over a non-agentic baseline. For example, the fine-tuned agentic model achieved a 0.63 gain in Vector Store Context Recall and a 0.56 gain in overall Context Precision. These gains highlight the system’s improved ability to retrieve, reason over, and integrate information from diverse sources, leading to more accurate and robust literature exploration.
Also Read:
- Unlocking Research Insights with AI-Powered Literature Synthesis
- Retrieval-Augmented Generation: A Comprehensive Review of Its Landscape
This open-source framework offers a scalable foundation for autonomous scientific knowledge discovery, making the process of literature review more automated, efficient, and context-aware. Researchers can explore the code and contribute to its development via its GitHub repository.


