Enhancing Scientific Literature Chatbots with Retrieval-Augmented Generation: A Performance Evaluation of Vector and Graph-Based Systems
Organizations: Pest Management Regulatory Agency (PMRA), Health Canada, Ottawa, ON, Canada · Faculty of Engineering, University of Ottawa, Ottawa, ON, Canada · Oral Health Branch (OHB), Health Canada, Ottawa, ON, Canada
Abstract
This paper investigates the enhancement of scientific literature chatbots through retrieval-augmented generation (RAG), with a focus on evaluating vector- and graph-based retrieval systems. The proposed chatbot leverages both structured (graph) and unstructured (vector) databases to access scientific articles and gray literature, enabling efficient triage of sources according to research objectives. To systematically assess performance, we examine two use-case scenarios: retrieval from a single uploaded document and retrieval from a large-scale corpus. Benchmark test sets were generated using a GPT model, with selected outputs annotated for evaluation. The comparative analysis emphasizes retrieval accuracy and response relevance, providing insight into the strengths and limitations of each approach. The findings demonstrate the potential of hybrid RAG systems to improve accessibility to scientific knowledge and to support evidence-based decision making.
Figures & tables
| Test Dataset | Is the Context related to the Question? | Does the Answer fully answer the Question? |
| Single-Paper Test | 94.2% | 92% |
| Multi-Paper Test | 81.6% | 85% |
| RAG on Single Paper | RAG on Database | |||||||
| Methods/Metrics | Cosine Similarity | Faithfulness | Cosine Similarity | Faithfulness | ||||
| Mean | SD. | Mean | SD. | Mean | SD. | Mean | SD. | |
| VectorRAG | 0.670 | 0.189 | 0.841 | 0.137 | 0.651 | 0.188 | 0.830 | 0.133 |
| GraphRAG | 0.654 | 0.184 | 0.785 | 0.153 | 0.633 | 0.174 | 0.761 | 0.149 |
| Hybrid RAG | 0.687 | 0.187 | 0.845 | 0.119 | 0.662 | 0.196 | 0.834 | 0.121 |
RAG Evaluation
Retrieval-augmented generation (RAG) evaluation measures how well systems retrieve, use, and cite evidence while balancing reliability, cost, and speed.
See all 353 papers