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

使用大型语言模型从自然语言文本中提取过程模型信息的通用提示策略

A Universal Prompting Strategy for Extracting Process Model Information from Natural Language Text using Large Language Models

University of Bayreuth(拜罗伊特大学);University of Vienna(维也纳大学)

Julian Neuberger, Lars Ackermann, Han van der Aa, Stefan Jablonski

AI总结:

本文提出一种通用提示策略,利用大型语言模型从文本过程描述中提取过程元素及其关系,在三个数据集上F1分数绝对提升最高达8%,超越现有机器学习方法。

摘要:

在过去十年中,大量研究致力于从文本过程描述中提取信息。尽管自然语言处理(NLP)取得了显著进展,但业务流程管理领域的信息提取仍然主要依赖于基于规则的系统和机器学习方法。数据稀缺迄今阻碍了深度学习技术的成功应用。然而,生成式大型语言模型(LLMs)的快速发展使得无需大量数据即可高质量解决许多NLP任务成为可能。因此,我们系统地研究了LLMs从文本过程描述中提取信息的潜力,目标是检测活动和参与者等过程元素及其之间的关系。使用启发式算法,我们证明了提取的信息适合用于过程模型生成。基于一种新颖的提示策略,我们表明LLMs能够超越最先进的机器学习方法,在三个不同数据集上绝对性能提升高达8%的F1分数。我们在八个不同的LLMs上评估了我们的提示策略,表明其具有普遍适用性,同时分析了提示的某些部分对提取质量的影响。示例文本的数量、定义的具体性以及格式指令的严谨性被确定为提高提取信息准确性的关键。我们的代码、提示和数据是公开可用的。

英文摘要:

Over the past decade, extensive research efforts have been dedicated to the extraction of information from textual process descriptions. Despite the remarkable progress witnessed in natural language processing (NLP), information extraction within the Business Process Management domain remains predominantly reliant on rule-based systems and machine learning methodologies. Data scarcity has so far prevented the successful application of deep learning techniques. However, the rapid progress in generative large language models (LLMs) makes it possible to solve many NLP tasks with very high quality without the need for extensive data. Therefore, we systematically investigate the potential of LLMs for extracting information from textual process descriptions, targeting the detection of process elements such as activities and actors, and relations between them. Using a heuristic algorithm, we demonstrate the suitability of the extracted information for process model generation. Based on a novel prompting strategy, we show that LLMs are able to outperform state-of-the-art machine learning approaches with absolute performance improvements of up to 8\% $F_1$ score across three different datasets. We evaluate our prompting strategy on eight different LLMs, showing it is universally applicable, while also analyzing the impact of certain prompt parts on extraction quality. The number of example texts, the specificity of definitions, and the rigour of format instructions are identified as key for improving the accuracy of extracted information. Our code, prompts, and data are publicly available.

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

↑