Leveraging GPT-4o Efficiency for Detecting Rework Anomaly in Business Processes

Mohammad Derakhshan, Paolo Ceravolo, Fatemeh Mohammadi
2/10/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

This paper investigates the effectiveness of GPT-4o-2024-08-06, one of the Large Language Models (LLM) from OpenAI, in detecting business process anomalies, with a focus on rework anomalies. In our study, we developed a GPT-4o-based tool capable of transforming event logs into a structured format and identifying reworked activities within business event logs. The analysis was performed on a synthetic dataset designed to contain rework anomalies but free of loops. To evaluate the anomaly detection capabilities of GPT 4o-2024-08-06, we used three prompting techniques: zero-shot, one-shot, and few-shot. These techniques were tested on different anomaly distributions, namely normal, uniform, and exponential, to identify the most effective approach for each case. The results demonstrate the strong performance of GPT-4o-2024-08-06. On our dataset, the model achieved 96.14% accuracy with one-shot prompting for the normal distribution, 97.94% accuracy with few-shot prompting for the uniform distribution, and 74.21% accuracy with few-shot prompting for the exponential distribution. These results highlight the model's potential as a reliable tool for detecting rework anomalies in event logs and how anomaly distribution and prompting strategy influence the model's performance.

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{derakhshan2025leveraging,
  title  = {Leveraging GPT-4o Efficiency for Detecting Rework Anomaly in Business Processes},
  author = {Mohammad Derakhshan and Paolo Ceravolo and Fatemeh Mohammadi},
  year   = {2025},
  eprint = {2502.06918},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.06918v1}
}

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

Discussion