arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.08820cs.AI
收藏

本体工程中生成能力问题的检索增强生成(RAG)方法

A RAG Approach for Generating Competency Questions in Ontology Engineering

Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)

Xueli Pan, Jacco van Ossenbruggen, Victor de Boer, Zhisheng Huang

AI总结:

针对本体工程中能力问题生成依赖专家、耗时费力的问题,提出基于检索增强生成(RAG)的方法,以领域科学论文为知识库自动生成CQs,实验表明该方法比零样本提示性能更优。

摘要:

能力问题(CQ)的制定是多种本体开发和评估方法的核心。传统上,设计这些能力问题的任务严重依赖领域专家和知识工程师的努力,这通常既耗时又费力。随着大型语言模型(LLMs)的出现,自动化和增强这一过程的可能性随之产生。与其他使用现有本体或知识图谱作为LLMs输入的类似工作不同,我们提出了一种检索增强生成(RAG)方法,该方法在给定一组被视为领域知识库的科学论文时,使用LLMs自动生成CQs。我们研究了其性能,具体而言,我们研究了不同数量的论文对RAG的影响以及LLM的不同温度设置。我们使用GPT-4在两个领域本体工程任务上进行了实验,并将结果与领域专家构建的真实CQs进行了比较。利用评估指标(精确率和一致性)对结果进行的实证评估表明,与零样本提示相比,向RAG添加相关领域知识可提高LLMs在为具体本体工程任务生成CQs时的性能。

英文摘要:

Competency question (CQ) formulation is central to several ontology development and evaluation methodologies. Traditionally, the task of crafting these competency questions heavily relies on the effort of domain experts and knowledge engineers which is often time-consuming and labor-intensive. With the emergence of Large Language Models (LLMs), there arises the possibility to automate and enhance this process. Unlike other similar works which use existing ontologies or knowledge graphs as input to LLMs, we present a retrieval-augmented generation (RAG) approach that uses LLMs for the automatic generation of CQs given a set of scientific papers considered to be a domain knowledge base. We investigate its performance and specifically, we study the impact of different number of papers to the RAG and different temperature setting of the LLM. We conduct experiments using GPT-4 on two domain ontology engineering tasks and compare results against ground-truth CQs constructed by domain experts. Empirical assessments on the results, utilizing evaluation metrics (precision and consistency), reveal that compared to zero-shot prompting, adding relevant domain knowledge to the RAG improves the performance of LLMs on generating CQs for concrete ontology engineering tasks.

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

↑