Instruction-Tuning Open-Weight Language Models for BPMN Model Generation
Not on the map. Why?
Abstract (arXiv)
Domain models are central to software engineering, as they enable a shared understanding, guide implementation, and support automated analyses and model-driven development. Yet, despite these benefits, practitioners often skip modeling because it is time-consuming and demands scarce expertise. We address this barrier by investigating whether open-weight large language models, adapted via instruction tuning, can generate high-quality BPMN process models directly from natural language descriptions in a cost-effective and privacy-preserving way. We introduce InstruBPM, a reproducible approach that prepares paired text-diagram data and instruction tunes an open source large language model with parameter-efficient fine-tuning and quantization for on-prem deployment. We evaluate the tuned model through complementary perspectives: (i) text/code similarity using BLEU, ROUGE-L, and METEOR, (ii) structural fidelity using Relative Graph Edit Distance, (iii) guidelines conformance using external tool checks, and (iv) a small expert review. Using a curated subset of a multi-domain BPMN dataset, we compare the tuned model with untuned open-weight baselines and strong proprietary models under consistent prompting regimes. Our compact tuned model outperforms all baselines across sequence and structural metrics while requiring substantially fewer resources; guideline analysis and expert feedback further indicate that the generated diagrams largely follow BPMN best practices and are useful starting points that reduce modeling effort. Overall, instruction tuning improves structural accuracy and robustness compared to untuned baselines and reduces reliance on heavy prompt scaffolding. We publicly share the trained models and scripts to support reproducibility and further research.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 26 of its 59 references that are in the map. First posted on arXiv 12 Dec 2025.
Builds on
26 of 59 references.
References · 26
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
- 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 656
14 more
- 2023Instruction Tuning for Large Language Models: A Surveycited by 623
- 2024Liger Kernel: Efficient Triton Kernels for LLM Trainingcited by 130
- 2024Meta-Prompting: Enhancing Language Models with Task-Agnostic Scaffoldingcited by 117
- 2024MatPlotAgent: Method and Evaluation for LLM-Based Agentic Scientific Data Visualizationcited by 102
- 2025Evolving Deeper LLM Thinkingcited by 58
- 2024Thinking LLMs: General Instruction Following with Thought Generationcited by 45
- 2025A Survey of Automatic Prompt Engineering: An Optimization Perspectivecited by 41
- 2023DiagrammerGPT: Generating Open-Domain, Open-Platform Diagrams via LLM Planningcited by 29
- 2023Enabling Intelligent Interactions between an Agent and an LLM: A Reinforcement Learning Approachcited by 28
- 2024Process Modeling With Large Language Modelscited by 26
- 2025Guidelines for Empirical Studies in Software Engineering involving Large Language Modelscited by 21
- 2024Evaluating Large Language Models on Business Process Modeling: Framework, Benchmark, and Self-Improvement Analysiscited by 13
- 2024Model Generation with LLMs: From Requirements to UML Sequence Diagramscited by 11
- 2024Enhancing Zero-shot Chain of Thought Prompting via Uncertainty-Guided Strategy Selectioncited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Towards Alignment-Centric Paradigm: A Survey of Instruction Tuning in Large Language Models
- 2024CodecLM: Aligning Language Models with Tailored Synthetic Data
- 2024Benchmarking Large Language Models on Controllable Generation under Diversified Instructions
- 2025BPMN Assistant: An LLM-Based Approach to Business Process Modeling
- 2026From Brute Force to Semantic Insight: Performance-Guided Data Transformation Design with LLMs
- 2025MAIN: Mutual Alignment Is Necessary for instruction tuning
- 2025PACIFIC: a framework for generating benchmarks to check Precise Automatically Checked Instruction Following In Code
- 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermism