Retrieval-augmented generation based doctor recommendation system using knowledge graph
| bracu.degree.level | Postgraduate | |
| bracu.type.group | Student Works | |
| datacite.rights | Open Access | |
| dc.contributor.advisor | Talukder, Ashis | |
| dc.contributor.author | Afrose, Sadia | |
| dc.contributor.department | Department of Computer Science and Engineering | |
| dc.date.accessioned | 2025-01-23T04:42:17Z | |
| dc.date.available | 2025-01-23T04:42:17Z | |
| dc.date.copyright | ©2024 | |
| dc.date.issued | 2024-08 | |
| dc.description | Cataloged from the PDF version of the thesis. | |
| dc.description | Includes bibliographical references (pages 47-59). | |
| dc.description | This thesis is submitted in partial fulfillment of the requirements for the degree of Master of Science in Computer Science and Engineering, 2024. | en_US |
| dc.description.abstract | Finding suitable healthcare professionals and the growing demand for efficient healthcare access is challenging and advanced language modeling techniques to provide tailored medical advice. Reviewing the existing research on doctor recommendation systems, it became apparent that while previous authors developed functional models, their datasets are likely outdated and no longer reflective of current healthcare trends. These models would require complete retraining with a new or updated dataset to ensure their relevance and accuracy. In contrast, our approach takes advantage of the ability to update the existing database with additional, current information without the need for retraining the model from scratch. By simply integrating the updated data, we can maintain the integrity and functionality of the previous system, making our method both time-efficient and resource-conserving. This approach eliminates the need for redundant work, allowing us to leverage the previous model while ensuring the data remains current and applicable. The proposed Doctor Recommendation System leveraging a Knowledge Graph built with Neo4j and enhanced by a Retrieval-Augmented Generation (RAG) model using the LangChain framework. The system aims to provide up-to-date, personalized and accurate doctor recommendations by integrating structured and unstructured data sources. The Neo4j Knowledge Graph captures comprehensive relationships between doctors, specialties, disease, symptoms and medical conditions, offering a robust data foundation. The LangChain framework, incorporating a large language model (LLM), enhances the recommendation process by generating context-aware suggestions based on patient queries and historical data. The Doctor’s Specialty Recommendation dataset has been used on three chains which are RetrievalQAChain, GraphCypherQAChain, RetrievalQAWithSourcesChain and also similarity search is used. However, based on the correctness, distance, context accuracy and CoT context accuracy, graphCypherQAChain performed well. Moreover, ROUGE-1, ROUGE-2, ROUGE-3, ROUGE-L and BLEU are used to determine the performance for all the chains as well as compared with GPT-4. Based on these evaluation metrics, graphCypherQAChain attained a high performance level with 86% for ROUGE-1, 82% for ROUGE-2, 77% for ROUGE-3, 86% for ROUGE-L and 46% for BLEU using GPT-3.5-turbo whereas GPT-4 performed 78%, 60%, 48%, 78% and 40% respectively. | en_US |
| dc.description.degree | Master of Science in Computer Science and Engineering | |
| dc.description.statementofresponsibility | Sadia Afrose | |
| dc.format.extent | 59 pages | |
| dc.identifier.other | ID 21266004 | |
| dc.identifier.uri | http://hdl.handle.net/10361/25267 | |
| dc.language.iso | en | en_US |
| dc.publisher | BRAC University | en_US |
| dc.rights | BRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. | |
| dc.subject | Doctor recommendation system | en_US |
| dc.subject | Knowledge graph | en_US |
| dc.subject | Large language model | en_US |
| dc.subject | Retrieval-augmented generation | en_US |
| dc.subject.lcsh | Natural language processing (Computer science). | |
| dc.subject.lcsh | Machine learning. | |
| dc.subject.lcsh | Database management. | |
| dc.title | Retrieval-augmented generation based doctor recommendation system using knowledge graph | en_US |
| dc.type | Thesis | en_US |