A Universal Prompting Strategy for Extracting Process Model Information from Natural Language Text using Large Language Models

Julian Neuberger, Lars Ackermann, Han van der Aa, Stefan Jablonski
7/26/2024
cs.CLcs.AI

No official code found. Best implementation: JulianNeuberger/llm-process-generation (11 stars, last commit 2025-07-21).

Abstract

Over the past decade, extensive research efforts have been dedicated to the extraction of information from textual process descriptions. Despite the remarkable progress witnessed in natural language processing (NLP), information extraction within the Business Process Management domain remains predominantly reliant on rule-based systems and machine learning methodologies. Data scarcity has so far prevented the successful application of deep learning techniques. However, the rapid progress in generative large language models (LLMs) makes it possible to solve many NLP tasks with very high quality without the need for extensive data. Therefore, we systematically investigate the potential of LLMs for extracting information from textual process descriptions, targeting the detection of process elements such as activities and actors, and relations between them. Using a heuristic algorithm, we demonstrate the suitability of the extracted information for process model generation. Based on a novel prompting strategy, we show that LLMs are able to outperform state-of-the-art machine learning approaches with absolute performance improvements of up to 8\% $F_1$ score across three different datasets. We evaluate our prompting strategy on eight different LLMs, showing it is universally applicable, while also analyzing the impact of certain prompt parts on extraction quality. The number of example texts, the specificity of definitions, and the rigour of format instructions are identified as key for improving the accuracy of extracted information. Our code, prompts, and data are publicly available.

View on arXivView PDF

Code Implementations(1)

111PythonFeb 20, 20241 years ago

Similar Papers

Cite this paper

@article{neuberger2024universal,
  title  = {A Universal Prompting Strategy for Extracting Process Model Information from Natural Language Text using Large Language Models},
  author = {Julian Neuberger and Lars Ackermann and Han van der Aa and Stefan Jablonski},
  year   = {2024},
  eprint = {2407.18540},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.18540v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.18540.svg)](https://codeofpaper.com/paper/2407.18540)

Discussion