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.