cs.LGApr 1, 2026

Chameleons do not Forget: Prompt-Based Online Continual Learning for Next Activity Prediction

Authors: Marwan Hassani, Tamara Verbeek, Sjoerd van Straten

Organizations: Department of Mathematics and Computer Science, Eindhoven University of Technology, The Netherlands

Abstract

Predictive process monitoring (PPM) focuses on predicting future process trajectories, including next activity predictions. This is crucial in dynamic environments where processes change or face uncertainty. However, current frameworks often assume a static environment, overlooking dynamic characteristics and concept drifts. This results in catastrophic forgetting, where training while focusing merely on new data distribution negatively impacts the performance on previously learned data distributions. Continual learning addresses, among others, the challenges related to mitigating catastrophic forgetting. This paper proposes a novel approach called Continual Next Activity Prediction with Prompts (CNAPwP), which adapts the DualPrompt algorithm for next activity prediction to improve accuracy and adaptability while mitigating catastrophic forgetting. We introduce new datasets with recurring concept drifts, alongside a task-specific forgetting metric that measures the prediction accuracy gap between initial occurrence and subsequent task occurrences. Extensive testing on three synthetic and two real-world datasets representing several setups of recurrent drifts shows that CNAPwP achieves SOTA or competitive results compared to five baselines, demonstrating its potential applicability in real-world scenarios. An open-source implementation of our method, together with the datasets and results, is available at: https://github.com/SvStraten/CNAPwP.

Figures & tables

Explore similar work

CardsList
  1. Efficient Online Continual Foundation Model Fine-Tuning for Predictive Process Monitoring

    Aug 28, 2026Sjoerd van Straten, Marwan HassaniPredictive Process MonitoringProcess Mining

  2. D-TAIA: Domain-Aware LLM Adaptation for Multi-Task Predictive Process Monitoring

    Aug 28, 2026Sjoerd van Straten, Christine Jacob, Marwan HassaniPredictive Process MonitoringDomain Adaptation