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

一种从自然语言描述生成能力本体的方法

Toward a Method to Generate Capability Ontologies from Natural Language Descriptions

Ruhr University(鲁尔大学);Chair of Automation(自动化研究所)

Luis Miguel Vieira da Silva, Aljosha Köcher, Felix Gehlhoff, Alexander Fay

AI总结:

本文提出利用大型语言模型和少样本提示,从自然语言描述自动生成并验证能力本体,显著减少人工建模工作量。

摘要:

为了实现灵活且适应性强的系统,能力本体越来越多地被用于以机器可解释的方式描述功能。然而,对此类复杂本体描述进行建模仍然是一项手动且容易出错的任务,需要大量的工作和本体专业知识。本贡献提出了一种创新方法,利用大型语言模型(LLMs)来自动化能力本体建模,这些模型已被证明非常适合此类任务。我们的方法只需要对某一能力进行自然语言描述,然后使用少样本提示技术将该描述自动插入到预定义的提示中。在提示大型语言模型之后,生成的能力本体会通过与大型语言模型的循环中的多个步骤自动验证,以检查能力本体的整体正确性。首先执行语法检查,然后进行矛盾检查,最后检查幻觉和缺失的本体元素。我们的方法极大地减少了手动工作,因为只需要初始的自然语言描述以及最终的人工审查和可能的修正,从而简化了能力本体生成过程。

英文摘要:

To achieve a flexible and adaptable system, capability ontologies are increasingly leveraged to describe functions in a machine-interpretable way. However, modeling such complex ontological descriptions is still a manual and error-prone task that requires a significant amount of effort and ontology expertise. This contribution presents an innovative method to automate capability ontology modeling using Large Language Models (LLMs), which have proven to be well suited for such tasks. Our approach requires only a natural language description of a capability, which is then automatically inserted into a predefined prompt using a few-shot prompting technique. After prompting an LLM, the resulting capability ontology is automatically verified through various steps in a loop with the LLM to check the overall correctness of the capability ontology. First, a syntax check is performed, then a check for contradictions, and finally a check for hallucinations and missing ontology elements. Our method greatly reduces manual effort, as only the initial natural language description and a final human review and possible correction are necessary, thereby streamlining the capability ontology generation process.

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

↑