ChatPaper.aiChatPaper

BPMN助手:一种基于大语言模型的业务流程建模方法

BPMN Assistant: An LLM-Based Approach to Business Process Modeling

September 29, 2025
作者: Josip Tomo Licardo, Nikola Tankovic, Darko Etinger
cs.AI

摘要

本文介绍了BPMN Assistant,这是一款利用大型语言模型(LLMs)实现基于自然语言的BPMN图创建与编辑的工具。为提升流程修改的准确性,我们引入了一种基于JSON的专用表示法,作为直接处理XML的结构化替代方案。流程生成质量通过图编辑距离(GED)和相对图编辑距离(RGED)进行评估,而编辑性能则采用二元成功指标进行衡量。结果显示,在生成任务中,JSON与XML的相似度评分相近,但JSON提供了更高的可靠性、更快的处理速度以及显著更高的编辑成功率。我们探讨了关键权衡、局限性及未来改进方向。该工具的实现代码可在https://github.com/jtlicardo/bpmn-assistant获取。
English
This paper presents BPMN Assistant, a tool that leverages Large Language Models (LLMs) for natural language-based creation and editing of BPMN diagrams. A specialized JSON-based representation is introduced as a structured alternative to the direct handling of XML to enhance the accuracy of process modifications. Process generation quality is evaluated using Graph Edit Distance (GED) and Relative Graph Edit Distance (RGED), while editing performance is evaluated with a binary success metric. Results show that JSON and XML achieve similar similarity scores in generation, but JSON offers greater reliability, faster processing, and significantly higher editing success rates. We discuss key trade-offs, limitations, and future improvements. The implementation is available at https://github.com/jtlicardo/bpmn-assistant.
PDF12September 30, 2025