On LLM-Assisted Generation of Smart Contracts from Business Processes
Fabian Stiehle, Hans Weytjens, and Ingo Weber

TL;DR
This paper explores the use of large language models for generating smart contract code from business process descriptions, introducing an automated evaluation framework and empirical analysis of LLM capabilities.
Contribution
It presents a novel benchmarking framework and empirical data assessing LLM performance in generating reliable smart contract code from process models.
Findings
LLMs often fail to reliably enforce process flow and data conditions.
Performance varies significantly across different LLM types and sizes.
Current LLMs are not yet suitable for fully autonomous smart contract generation.
Abstract
Large language models (LLMs) have changed the reality of how software is produced. Within the wider software engineering community, among many other purposes, they are explored for code generation use cases from different types of input. In this work, we present an exploratory study to investigate the use of LLMs for generating smart contract code from business process descriptions, an idea that has emerged in recent literature to overcome the limitations of traditional rule-based code generation approaches. However, current LLM-based work evaluates generated code on small samples, relying on manual inspection, or testing whether code compiles but ignoring correct execution. With this work, we introduce an automated evaluation framework and provide empirical data from larger data sets of process models. We test LLMs of different types and sizes in their capabilities of achieving…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security
