Re-Thinking Process Mining in the AI-Based Agents Era
Alessandro Berti, Mayssa Maatallah, Urszula Jessen, Michal Sroka, Sonia Ayachi Ghannouchi
TL;DR
PM-on-LLMs face limitations in complex reasoning for multi-step PM tasks. The authors introduce AI-Based Agents Workflows ($AgWf$) to decompose tasks and fuse deterministic tools with AI-based reasoning, formalized as $AgWf=(F, T, \textrm{tools}, \textrm{selector}, \textrm{prec}, t_1, t_f)$. They implement this idea via the CrewAI framework and illustrate running examples such as fairness and root-cause analyses, along with a taxonomy of AI-based tasks (prompt optimizers, ensembles, routers, evaluators, and output improvers). The work highlights a practical path to higher-quality PM pipelines in the AI-augmented era by leveraging modular tooling and targeted LLM capabilities, while outlining future directions for automatic orchestration and richer tool-support ecosystems.
Abstract
Large Language Models (LLMs) have emerged as powerful conversational interfaces, and their application in process mining (PM) tasks has shown promising results. However, state-of-the-art LLMs struggle with complex scenarios that demand advanced reasoning capabilities. In the literature, two primary approaches have been proposed for implementing PM using LLMs: providing textual insights based on a textual abstraction of the process mining artifact, and generating code executable on the original artifact. This paper proposes utilizing the AI-Based Agents Workflow (AgWf) paradigm to enhance the effectiveness of PM on LLMs. This approach allows for: i) the decomposition of complex tasks into simpler workflows, and ii) the integration of deterministic tools with the domain knowledge of LLMs. We examine various implementations of AgWf and the types of AI-based tasks involved. Additionally, we discuss the CrewAI implementation framework and present examples related to process mining.
