Generating Structured BPMN Models from Smart Contracts Using LLMs
Linlin Chen
Central University of Finance and Economics
阅读操作
确认中在文库中上传 PDF 后可生成中文音频讲解。
摘要与影响
The increasing complexity and widespread deployment of smart contracts (SCs) on blockchain platforms have heightened the need for interpretable and verifiable representations. While smart contracts encode critical business logic, their low-level implementations remain difficult for auditors and regulators to interpret. To bridge this semantic gap, we propose a structure-aware instruction-tuning framework that translates Solidity functions into Business Process Model and Notation (BPMN) diagrams using large language models (LLMs). Our approach constructs a high-quality dataset of 15K Solidity-BPMN pairs through embedding-based clustering, prompt engineering, and multi-template augmentation. We fine-tune DeepSeek-Coder using LoRA for efficient domain adaptation, enabling the model to generate syntactically valid and semantically faithful BPMN structures. Experimental results show that our fine-tuned model outperforms GPT-4o, Gemini, and baseline LLMs in both structural precision and semantic fidelity. This work lays the groundwork for structure-level explainability of smart contracts and supports future research in code-to-process modeling and blockchain compliance analysis.
逐年被引趋势
暂无年度引用数据
关键指标
同类平均 = 1
同领域 · 同年份 · 同类型
Google Scholar 与 OpenAlex 的被引统计范围不同,数值存在差异属正常。
AI 辅助阅读
依据:摘要
可就本文提问;依据不足时会说明。
学术脉络
学科主题
计算机 / AIBlockchain Technology Applications and Security
Business Process Modeling and Analysis · Explainable Artificial Intelligence (XAI)
参考文献 17
此处列出前 3 条