arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.05388cs.AI
收藏

使用大语言模型生成本体

Ontology Generation using Large Language Models

University of Bologna(博洛尼亚大学);ISTC-CNR(意大利国家研究委员会认知科学与技术研究所);Linköping University(林雪平大学)

Anna Sofia Lippolis, Mohammad Javad Saeedizade, Robin Keskisärkkä, Sara Zuppiroli, Miguel Ceriani, Aldo Gangemi, Eva Blomqvist, Andrea Giovanni Nuzzolese

AI总结:

本文提出 Memoryless CQbyCQ 和 Ontogenia 两种提示技术,利用大语言模型从用户故事和能力问题自动生成 OWL 本体,并通过多维评估证明其优于现有方法且显著超越新手建模能力。

摘要:

本体工程过程复杂、耗时且容易出错,即使对于经验丰富的本体工程师也是如此。在这项工作中,我们研究了大语言模型(LLMs)直接从使用用户故事和能力问题描述的本体需求中提供有效 OWL 本体草稿的潜力。我们的主要贡献是提出并评估了两种用于自动化本体开发的新提示技术:Memoryless CQbyCQ 和 Ontogenia。我们还强调了三个用于本体评估的结构性标准的重要性,同时结合专家定性评估,突出了进行多维评估以捕捉所生成本体的质量和可用性的必要性。我们的实验在一个包含十个本体、100 个不同能力问题和 29 个不同用户故事的基准数据集上进行,比较了三种大语言模型在使用这两种提示技术时的性能。结果表明,相对于当前大语言模型支持的本体工程的最先进水平,所提方法取得了改进。更具体地说,使用 Ontogenia 的 OpenAI o1-preview 模型生成了质量足以满足本体工程师需求的本体,在建模能力上显著优于新手本体工程师。然而,我们仍然注意到一些常见错误和结果质量的波动,这在使用大语言模型进行本体编写支持时是需要考虑的重要因素。我们讨论了这些局限性,并提出了未来研究的方向。

英文摘要:

The ontology engineering process is complex, time-consuming, and error-prone, even for experienced ontology engineers. In this work, we investigate the potential of Large Language Models (LLMs) to provide effective OWL ontology drafts directly from ontological requirements described using user stories and competency questions. Our main contribution is the presentation and evaluation of two new prompting techniques for automated ontology development: Memoryless CQbyCQ and Ontogenia. We also emphasize the importance of three structural criteria for ontology assessment, alongside expert qualitative evaluation, highlighting the need for a multi-dimensional evaluation in order to capture the quality and usability of the generated ontologies. Our experiments, conducted on a benchmark dataset of ten ontologies with 100 distinct CQs and 29 different user stories, compare the performance of three LLMs using the two prompting techniques. The results demonstrate improvements over the current state-of-the-art in LLM-supported ontology engineering. More specifically, the model OpenAI o1-preview with Ontogenia produces ontologies of sufficient quality to meet the requirements of ontology engineers, significantly outperforming novice ontology engineers in modelling ability. However, we still note some common mistakes and variability of result quality, which is important to take into account when using LLMs for ontology authoring support. We discuss these limitations and propose directions for future research.

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

↑