LLMs that Understand Processes: Instruction-tuning for Semantics-Aware Process Mining

Vira Pyrih, Adrian Rebmann, Han van der Aa
8/22/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Process mining is increasingly using textual information associated with events to tackle tasks such as anomaly detection and process discovery. Such semantics-aware process mining focuses on what behavior should be possible in a process (i.e., expectations), thus providing an important complement to traditional, frequency-based techniques that focus on recorded behavior (i.e., reality). Large Language Models (LLMs) provide a powerful means for tackling semantics-aware tasks. However, the best performance is so far achieved through task-specific fine-tuning, which is computationally intensive and results in models that can only handle one specific task. To overcome this lack of generalization, we use this paper to investigate the potential of instruction-tuning for semantics-aware process mining. The idea of instruction-tuning here is to expose an LLM to prompt-answer pairs for different tasks, e.g., anomaly detection and next-activity prediction, making it more familiar with process mining, thus allowing it to also perform better at unseen tasks, such as process discovery. Our findings demonstrate a varied impact of instruction-tuning: while performance considerably improved on process discovery and prediction tasks, it varies across models on anomaly detection tasks, highlighting that the selection of tasks for instruction-tuning is critical to achieving desired outcomes.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pyrih2025llms,
  title  = {LLMs that Understand Processes: Instruction-tuning for Semantics-Aware Process Mining},
  author = {Vira Pyrih and Adrian Rebmann and Han van der Aa},
  year   = {2025},
  eprint = {2508.16270},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.16270v1}
}

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/2508.16270.svg)](https://codeofpaper.com/paper/2508.16270)

Discussion