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

从文本过程描述自动生成BPMN模型:一种多阶段大语言模型驱动的方法

Automated BPMN Model Generation from Textual Process Descriptions: A Multi-Stage LLM-Driven Approach

Fujitsu Research of America(富士通美国研究院);University of Maryland(马里兰大学)

Ion Matei, Maksym Zhenirovskyy, Praveen Kumar Menaka Sekar, Hon Yung Wong

AI总结:

本文提出一种多阶段大语言模型驱动的方法,通过多语言BPMN XML文件翻译、验证和修复生成可靠数据,从而自动生成可执行的BPMN 2.0模型,实现高相似度的重建。

摘要:

从非结构化自然语言描述自动重建BPMN模型仍具有挑战性,因为存在异构建模惯例、多语言源和缺乏可靠的真实数据。我们提出了一种可扩展的、多阶段的大语言模型驱动的流水线,自动化构建真实数据和模型重建。多语言BPMN XML文件被翻译成英语,通过SpiffWorkflow中的执行导向合规检查进行验证,并通过目标导向的大语言模型引导修正来生成一致的真实数据集。从这些验证过的模型中生成过程描述,并用于重建可执行的BPMN~2.0 XML图,而无需人工校准。我们引入了一个多维相似性框架,结合结构度量、类型分布对齐和基于嵌入的语义度量。在对750个公开BPMN图的实证研究中,该流水线生成了387个验证过的真实数据模型,并实现了平均重建相似度超过0.75,包括大约50个几乎完美的重建,仅在名称上略有差异。结果表明,大语言模型可以大规模生成结构上合规且语义上有意义的BPMN图。

英文摘要:

Automatically reconstructing BPMN models from unstructured natural-language descriptions remains challenging due to heterogeneous modeling conventions, multilingual sources, and the lack of reliable ground truth. We present a scalable, multi-stage LLM-driven pipeline that automates both ground-truth construction and model reconstruction. Multilingual BPMN XML files are translated into English, validated using execution-oriented compliance checks in SpiffWorkflow, and iteratively repaired through targeted LLM-guided corrections to produce a consistent ground-truth corpus. From these validated models, process descriptions are generated and used to reconstruct executable BPMN~2.0 XML diagrams without manual curation. We introduce a multi-dimensional similarity framework combining structural metrics, type-distribution alignment, and embedding-based semantic measures. In an empirical study of 750 public BPMN diagrams, the pipeline generated 387 validated ground-truth models and achieved average reconstruction similarity above 0.75, including approximately 50 near-perfect reconstructions differing only in minor naming variations. The results demonstrate that LLMs can generate structurally compliant and semantically meaningful BPMN diagrams at scale.

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

↑