arXiv(opens in a new tab)cs.LGAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.28236

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

Sjoerd van Straten, Christine Jacob, Marwan Hassani

Sjoerd van Straten 1{}^{1}, Christine Jacob 1^{1}, and Marwan Hassani 1,2{}^{1,2}

1^{1} Department of Mathematics and Computer Science, Eindhoven University of Technology, The Netherlands

{h.a.j.v.straten, c.christine.jacob, m.hassani}@tue.nl

2^{2} Department of Mathematics and Computer Science, University of Wuppertal, Germany

Abstract. Predictive Process Monitoring (PPM) enables organizations to forecast future process behavior, such as the next activity and remaining time of ongoing cases. In practice, three conditions cause existing methods to degrade, namely data scarcity, high process entropy and distributional shift. While Foundation Models (FMs), especially Large Language Models (LLMs), offer a new paradigm through broad sequential reasoning, adapting them to multi-task PPM under these conditions remains an open challenge. Existing FM-based approaches either lack mechanisms for handling distributional shift or rely on direct regression heads that can be structurally misaligned with continuous time prediction tasks. This paper introduces D-TAIA (Domain-aware Training and Attention-based Inference Architecture), a framework for a joint next activity and remaining time prediction task via parameter-efficient fine-tuning of an FM backbone. Our approach combines domain-aware triplet loss (DATL) pre-training with FAISS-based nearest neighbor retrieval for remaining time prediction, and adopts the TAIA inference strategy to preserve pre-trained sequential reasoning during fine-tuning. Evaluated across four real-world event logs, D-TAIA consistently shows SOTA or competitive performance compared to a fine-tuned LLM and a recurrent neural network baseline. Ablation studies confirm that techniques from NLP and computer vision can be transferred effectively to PPM with only a 10M-parameter backbone, though component contributions vary by dataset entropy.

Keywords: Predictive Process Monitoring · Foundation Models · Parameter-Efficient Fine-Tuning

1 Introduction

Process Mining leverages event logs from business information systems to discover, monitor and optimize workflows [1]. Predictive Process Monitoring (PPM) predicts future attributes of ongoing process instances, primarily in the form of final outcome, next activity (NA) and remaining time (RT) prediction tasks [5]. Accurate multi-task prediction of both NA and RT enables organizations to allocate resources efficiently and intervene proactively in at-risk cases.

In practice, three conditions cause existing PPM methods to degrade. First, data scarcity arises when an event log lacks sufficient cases for a model to learn a reliable van Straten et al.

process representation. This problem is compounded by class imbalance across rare activities and cross-validation partitioning effects [17]. Second, high process entropy quantifies how difficult it is to predict the next activity given the observed prefix due to high trace variability. Formally, the conditional entropy H(ak+1∣πk)H(a_{k+1} \mid \pi_k) measures the spread of plausible continuations to next activities at location k+1k+1 from a given prefix πk\pi_k at location kk, where a high value makes prediction inherently harder [3]. Third, distributional shift arises when unseen process variants appear at inference time, violating the i.i.d. assumption that underlies standard supervised learning [14]. Each condition alone is addressed by at least one existing method, yet no approach handles all three simultaneously for a joint NA and RT prediction.

Foundation Models (FMs), especially Large Language Models (LLMs), offer a more flexible paradigm than classical deep learning models through broad sequential reasoning pre-trained on text corpora. Oyamada et al. [12] demonstrate that parameter-efficient fine-tuning (PEFT) with task-specific tokenization can adapt LLMs directly to process data for joint NA and RT prediction, bypassing the need for narrative-style formulation. However, their approach relies on a direct regression head for RT prediction, which inherits the weakness of autoregressive models trained as next-token classifiers for continuous numeric output. Furthermore, their framework includes no mechanism for handling data scarcity, high process entropy or unseen trace variants at inference time, which are challenges which PPM methods most frequently fail to address in practice.

This paper introduces D-TAIA (Domain-aware Training and Attention-based Inference Architecture), a framework for joint NA and RT prediction using parameter-efficient fine-tuning of FMs. D-TAIA combines an LLM backbone with LoRA [10] fine-tuning to minimize computational overhead. Domain-aware triplet loss (DATL) [8] pretraining with FAISS-based nearest neighbor retrieval [6] is used for improved numerical RT prediction, targeting data scarcity and high process entropy. The TAIA [11] inference strategy preserves pre-trained sequential reasoning during fine-tuning on small logs, addressing distributional shift architecturally.

The contributions of this paper are threefold. (i) we show that non-parametric time estimation via FAISS-based nearest neighbor retrieval addresses the regression weakness of autoregressive LLMs more than direct prediction, particularly on high-entropy logs; (ii) we combine DATL pre-training with attention-based inference for joint PPM under data scarcity and high process entropy; and (iii) we evaluate our proposed framework across four real-world event logs of varying complexity, showing that it matches or improves upon a fine-tuned LLM and recurrent neural network (RNN) baseline, with the clearest margins at short prefix lengths and on the highest entropy log.

The remainder of this paper is structured as follows. Section 2 covers preliminaries and formally introduces the problem definition. Section 3 explains the related work and defines the research gap. Section 4 describes our framework, while Section 5 outlines the experimental setup. Section 6 extensively analyzes the results, and Section 7 concludes with a discussion, limitations and avenues for future work.

References (22)