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

arXiv cs.LG / 4/2/2026

📰 NewsSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper targets predictive process monitoring (PPM), specifically next activity prediction, where dynamic environments and concept drift can cause catastrophic forgetting in conventional static training setups.
  • It introduces CNAPwP (Continual Next Activity Prediction with Prompts), adapting the DualPrompt continual learning approach to maintain accuracy and adaptability while mitigating forgetting.
  • The authors create or introduce datasets featuring recurring concept drifts and propose a task-specific forgetting metric that quantifies the accuracy gap between initial and later occurrences of the same task concept.
  • Experiments across three synthetic and two real-world datasets with recurrent drift setups show CNAPwP achieves state-of-the-art or competitive performance versus five baseline methods.
  • An open-source implementation plus datasets and results are released publicly, supporting reuse and further evaluation by the research community.

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.