TL;DR
This paper introduces iDISK2.0-RAG, a novel system that combines a comprehensive dietary supplement knowledge graph with retrieval-augmented generation (RAG) and large language models (LLMs) to provide accurate and reliable information. It significantly outperforms standalone LLMs in answering complex questions about dietary supplements, addressing the critical issue of misinformation in this domain.
What Problem Does This Paper Address?
Dietary supplements (DSs) are widely used, but their regulation is less stringent than pharmaceuticals, leading to challenges with misinformation, safety, and efficacy. Consumers and healthcare providers need accurate, evidence-based information to make informed decisions. While LLMs are powerful for general knowledge, they often "hallucinate" or generate inaccurate information, especially in specialized domains like dietary supplements. Existing knowledge bases, while valuable, can become outdated and may not be easily accessible or interpretable for complex queries. This paper aims to bridge this gap by creating a system that leverages both structured knowledge and the generative power of LLMs for reliable DS information retrieval.
Methods
The core of this work is the development of the iDISK2.0-RAG system. This system builds upon the iDISK2.0 knowledge graph, which is an updated and refined version of the original iDISK. iDISK2.0 integrates data from four major sources: the Natural Medicines Comprehensive Database (NMCD), the Memorial Sloan Kettering Cancer Center (MSKCC) database, the Dietary Supplement Label Database (DSLD), and the Licensed Natural Health Products Database (LNHPD). Advanced data cleaning and standardization techniques were employed to reduce noise and ensure data quality.
The Retrieval-Augmented Generation (RAG) component is key. When a user asks a question, the system first uses an LLM (GPT-4.0) to identify relevant entities within the query. These entities are then embedded into vectors. The system then queries the iDISK2.0 knowledge graph to retrieve contextually relevant subgraphs (structured data). Finally, another LLM integrates the user's original query with the retrieved structured data to generate a comprehensive and accurate natural language response. This two-phase approach (retrieval followed by generation) is designed to mitigate LLM hallucinations by grounding responses in factual knowledge.
A user-friendly web portal was also developed, utilizing Django for the backend and HTML5/CSS/JavaScript for the frontend, providing an intuitive interface for users to interact with the iDISK2.0-RAG system.
Datasets
The study utilized the following datasets for building and evaluating iDISK2.0:
- Natural Medicines Comprehensive Database (NMCD)
- Memorial Sloan Kettering Cancer Center (MSKCC) database
- Dietary Supplement Label Database (DSLD)
- Licensed Natural Health Products Database (LNHPD)
For evaluation, questions were derived from the MSKCC website, specifically focusing on:
- True-or-false questions regarding the effectiveness of DSs and diseases.
- Multiple-choice questions (MCQs) regarding DSs and diseases, and DS-drug interactions.
A benchmark of 1000 true-or-false questions and 1000 MCQs was created for each category to evaluate the system's performance.
Key Insights and Ideas
- The Synergy of Structured Data and LLMs: The paper strongly demonstrates that combining a well-structured, domain-specific knowledge graph with the generative capabilities of LLMs is crucial for achieving high accuracy in specialized information retrieval tasks. Standalone LLMs, while versatile, are prone to errors in domains requiring precise, evidence-based answers.
- RAG as a Hallucination Mitigation Strategy: The RAG approach effectively grounds LLM responses in factual data retrieved from iDISK2.0, significantly reducing the likelihood of generating incorrect or fabricated information. This is particularly important in healthcare contexts where accuracy is paramount.
- The Importance of Data Curation and Standardization: The significant effort in cleaning and standardizing data from multiple sources for iDISK2.0 highlights how critical data quality is for building reliable knowledge bases. Addressing inconsistencies and noise is a non-trivial but essential step.
- Domain-Specific Accuracy is Achievable: The high accuracy achieved by iDISK2.0-RAG on DS-specific questions suggests that tailored RAG systems can outperform general-purpose LLMs in specialized domains, setting a new standard for information retrieval in these areas.
Key Results
The iDISK2.0-RAG system demonstrated superior performance compared to standalone LLMs:
- Accuracy:
- True-or-false questions on DS effectiveness: 99% (990/1000) for iDISK2.0-RAG vs. 62% (618/1000) for GPT-4.0.
- Multiple-choice questions on DS-drug interactions: 95% (948/1000) for iDISK2.0-RAG vs. 52% (517/1000) for GPT-4.0.
- Similar high accuracies were reported for DSs and diseases.
- iDISK2.0 Content: The updated knowledge base contains 174,317 entities across 7 categories, including 8091 dietary supplement ingredients and 163,806 dietary supplement products, linked by 6 types of relationships.
- User Interface: The developed web portal provides a user-friendly interface for efficient interaction and access to accurate, evidence-based responses.
Limitations and Future Work
- Limitations:
- The current evaluation primarily used controlled true-or-false and multiple-choice questions. Real-world, open-ended queries may require more nuanced handling.
- Some errors and noise persist due to imprecise expressions in source databases and challenges in mapping entities to UMLS CUIs (e.g., the "Blood pressure-lowering drugs" mapping issue).
- Relationships between entities are not directly embedded, relying on a fixed set of relationship types.
- Future Work:
- Extend the framework to broader biomedical domains beyond dietary supplements.
- Improve evaluation with real-world, open-ended queries.
- Develop a more comprehensive biomedical knowledge graph by integrating diverse data sources like biomedical literature, social media data, and electronic health records.
- Explore knowledge graph embedding techniques to offer predictions for knowledge not explicitly present.
- Establish a pipeline for annual updates to maintain the knowledge base.
- Adapt embedding strategies to align with evolving LLMs.
- Investigate mechanisms for LLMs to defer to RAG outputs when evidence is more compelling.
- Implement advanced entity extraction techniques using LLMs and batch-checking for quality control.
Summary updated