Skip to main content
QUICK REVIEW

[Paper Review] Just Tell Me: Prompt Engineering in Business Process Management

Kiran Busch, Alexander Rochlitzer|arXiv (Cornell University)|Apr 14, 2023
Business Process Modeling and AnalysisBusiness, Management and Accounting6 citations
TL;DR

This paper advocates for prompt engineering as a viable alternative to fine-tuning in business process management (BPM), enabling zero-shot or few-shot deployment of large language models (LMs) without task-specific data. It proposes a research agenda identifying key challenges—prompt design, model selection, output processing, and evaluation—while demonstrating that prompt engineering can effectively support BPM tasks like process extraction and model completion with minimal data and no model fine-tuning.

ABSTRACT

GPT-3 and several other language models (LMs) can effectively address various natural language processing (NLP) tasks, including machine translation and text summarization. Recently, they have also been successfully employed in the business process management (BPM) domain, e.g., for predictive process monitoring and process extraction from text. This, however, typically requires fine-tuning the employed LM, which, among others, necessitates large amounts of suitable training data. A possible solution to this problem is the use of prompt engineering, which leverages pre-trained LMs without fine-tuning them. Recognizing this, we argue that prompt engineering can help bring the capabilities of LMs to BPM research. We use this position paper to develop a research agenda for the use of prompt engineering for BPM research by identifying the associated potentials and challenges.

Motivation & Objective

  • Address the challenge of limited labeled data in BPM by promoting prompt engineering as an alternative to fine-tuning large language models.
  • Identify key research challenges in applying prompt engineering to BPM tasks, including prompt design, model selection, and output processing.
  • Reduce dependency on large, task-specific datasets and specialized fine-tuning by leveraging in-context learning with pre-trained LMs.
  • Establish a foundation for systematic evaluation and design of prompt templates tailored to BPM-specific representations like process models and event logs.
  • Foster innovation in BPM by enabling rapid prototyping and deployment of NLP-based solutions using off-the-shelf language models.

Proposed method

  • Use natural language prompts at inference time to specify downstream BPM tasks without modifying the pre-trained language model.
  • Employ zero-shot or few-shot prompting, where prompts include task instructions and optionally a few demonstrations.
  • Integrate process representations (e.g., event logs, process models) into prompts using structured separators like commas or 'then' to maintain context.
  • Apply in-context learning to enable LMs to generalize from few examples or task descriptions alone, leveraging their pre-trained knowledge.
  • Design prompt templates that incorporate relevant BPM-specific context, such as process entity definitions or modeling constraints.
  • Implement post-processing steps to convert LMs’ free-form outputs into structured BPM artifacts like process models or activity sequences.

Experimental results

Research questions

  • RQ1How can prompt engineering be effectively applied to BPM tasks such as process extraction and model completion without fine-tuning?
  • RQ2What are the key challenges in designing effective prompts for BPM tasks, especially given token length constraints and the need for domain-specific context?
  • RQ3How transferable are prompts across different pre-trained language models, and how does model size affect prompt performance in BPM applications?
  • RQ4What systematic evaluation frameworks are needed to compare and optimize prompt templates for BPM tasks?
  • RQ5How can post-processing steps be designed to reliably convert LMs’ natural language outputs into valid BPM artifacts?

Key findings

  • Prompt engineering enables effective deployment of large language models in BPM tasks without requiring fine-tuning or large labeled datasets.
  • Pre-trained language models can perform BPM tasks such as process extraction and model completion through carefully designed prompts, even in zero-shot settings.
  • The performance of prompts is highly sensitive to prompt design, with small variations significantly affecting output quality and task accuracy.
  • Transferability of prompts across different LMs is limited, especially when model sizes differ, indicating the need for model-specific prompt engineering.
  • Post-processing is essential to convert LMs’ free-text outputs into structured BPM representations, and this step requires domain-specific logic and validation.
  • Systematic evaluation of prompt templates is critical due to the high sensitivity of LMs to prompt wording, and guidelines for BPM-specific prompt design are needed.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.