IEEE Open Journal of the Computer Society (Jan 2025)

What Time Is It? Finding Which Temporal Features is More Useful for Next Activity Prediction

  • Lerina Aversano,
  • Martina Iammarino,
  • Antonella Madau,
  • Giuseppe Pirlo,
  • Gianfranco Semeraro

DOI
https://doi.org/10.1109/OJCS.2024.3519815
Journal volume & issue
Vol. 6
pp. 261 – 271

Abstract

Read online

Process Mining merges data science and process science that allows for the analysis of recorded process data by capturing activities within event-logs. It finds more and more applications for the optimization of the production and administrative processes of private companies and public administrations. This field consists of several areas: process discovery, compliance monitoring, process improvement, and predictive process monitoring. Considering predictive process monitoring, the subarea of next activity prediction helps to obtain a prediction about the next activity performed using control flow data, event data with no attributes other than the timestamp, activity label, and case identifier. A popular approach in this subarea is to use sub-sequences of events, called prefixes and extracted with a sliding window, to predict the next activity. In the literature, several features are added to increase performance. Specifically, this article addresses the problem of predicting the next activity in predictive process monitoring, focusing on the usefulness of temporal features. While past research has explored a variety of features to improve prediction accuracy, the contribution of temporal information remains unclear. In this article it is proposed a comparative analysis of temporal features, such as differences in timestamp, time of day, and day of week, extracted for each event in a prefix. Using both k-fold cross-validation for robust benchmarking and a 75/25 split to simulate real scenarios in which new process events are predicted based on past data, it is shown that timestamp differences within the same prefix consistently outperform other temporal features. Our results are further validated by Shapley's value analysis, highlighting the importance of timestamp differences in improving the accuracy of next activity prediction.

Keywords