arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.18992cs.IR
收藏

OntologyRAG:利用本体知识图谱和大型语言模型的检索增强生成(RAG)实现更优更快的生物医学代码映射

OntologyRAG: Better and Faster Biomedical Code Mapping with Retrieval-Augmented Generation (RAG) Leveraging Ontology Knowledge Graphs and Large Language Models

Hui Feng, Yuntzu Yin, Emiliano Reynares, Jay Nanavati

AI总结:

提出OntologyRAG,一种利用本体知识图谱增强检索增强生成的方法,无需重训语言模型,通过生成带理由和映射邻近性评估的可解释结果,帮助编码专家更优更快地完成生物医学代码映射。

摘要:

生物医学本体全面定义了生物医学实体的概念和关系,对于领域特定信息表示的结构化和形式化至关重要。生物医学代码映射旨在识别不同本体中概念之间的相似性或等价性。获得高质量的映射通常依赖于使用本体领域微调的语言模型(LMs)自动生成未精炼的映射,随后由具有广泛领域专业知识和熟悉本体模式的编码专家进行手动选择或修正。语言模型通常提供未精炼的代码映射建议,作为候选列表,不附带推理或支持证据,因此编码专家仍需对照本体来源验证每个建议的候选,以挑选最佳匹配。由于本体来源会定期更新以纳入新的研究发现,这也是一项重复性任务。因此,定期重新训练语言模型和手动精炼的需求使得代码映射耗时且劳动密集。在这项工作中,我们创建了OntologyRAG,一种本体增强的检索增强生成(RAG)方法,利用本体知识图谱的归纳偏置进行大型语言模型(LLMs)中的上下文学习(ICL)。我们的解决方案将LLMs锚定到带有本体间未精炼映射的知识图谱上,并通过生成一组可解释的结果来处理问题,这些结果包括带有映射邻近性评估的预测理由。我们的解决方案不需要重新训练语言模型,因为所有本体更新都可以通过标准流程更新知识图谱来反映。在自建金标准数据集上的评估结果显示,使用我们的方法有望使编码专家实现更优更快的代码映射。代码可在https://github.com/iqvianlp/ontologyRAG获取。

英文摘要:

Biomedical ontologies, which comprehensively define concepts and relations for biomedical entities, are crucial for structuring and formalizing domain-specific information representations. Biomedical code mapping identifies similarity or equivalence between concepts from different ontologies. Obtaining high-quality mapping usually relies on automatic generation of unrefined mapping with ontology domain fine-tuned language models (LMs), followed by manual selections or corrections by coding experts who have extensive domain expertise and familiarity with ontology schemas. The LMs usually provide unrefined code mapping suggestions as a list of candidates without reasoning or supporting evidence, hence coding experts still need to verify each suggested candidate against ontology sources to pick the best matches. This is also a recurring task as ontology sources are updated regularly to incorporate new research findings. Consequently, the need of regular LM retraining and manual refinement make code mapping time-consuming and labour intensive. In this work, we created OntologyRAG, an ontology-enhanced retrieval-augmented generation (RAG) method that leverages the inductive biases from ontological knowledge graphs for in-context-learning (ICL) in large language models (LLMs). Our solution grounds LLMs to knowledge graphs with unrefined mappings between ontologies and processes questions by generating an interpretable set of results that include prediction rational with mapping proximity assessment. Our solution doesn't require re-training LMs, as all ontology updates could be reflected by updating the knowledge graphs with a standard process. Evaluation results on a self-curated gold dataset show promises of using our method to enable coding experts to achieve better and faster code mapping. The code is available at https://github.com/iqvianlp/ontologyRAG.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑