arXiv:2609.15692cs.NESep 2026

Manuscript Offprint

arXiv:2609.15692

Complete Suffix Prediction for Recommendation via Latent Retrieval over Process Graphs

Sarra Madad, Myriam Maumy, Fr{é}d{é}ric Bertrand, Yoann Valero

Sarra MADAD

LIST3N Lab, AI Lab

University of Technology of Troyes (UTT), QAD

Paris, France

sarra.madad@qad.com

Frédéric BERTRAND

CEDRIC

Conservatoire national des arts et métiers (Cnam)

Paris, France

frederic.bertrand@lecnam.net

Myriam MAUMY-BERTRAND

Arènes (UMR CNRS 605)

Ecole des hautes études en santé publique (EHESP)

Rennes, France

myriam.maumy@ehesp.fr

Yoann VALERO

AI Lab

QAD

Strasbourg, France

yoann.valero@qad.com

Abstract—Complete suffix prediction is challenging in sequential decision settings, where the same prefix can remain compatible with several plausible suffixes. We propose a graph-based metric-learning framework that reformulates complete suffix prediction as latent retrieval over process graphs. Prefixes and suffixes are represented as directed attributed graphs and encoded by edge-conditioned graph neural networks, allowing event-level activities and transition-level durations to be modelled jointly. Prefix representations are projected into the latent suffix space through a predictor trained with a joint reconstruction and contrastive objective strengthened using process-aware hard negatives. To stabilise the learned retrieval geometry, spectral normalisation, and retrieval robustness, spectral normalisation is applied to enforce a Lipschitz constraint on both encoders and predictor. Experiments on two real-life process datasets demonstrate that the proposed framework achieves the best overall results across nearly all evaluated criteria. It improves semantic suffix accuracy measured by normalized Damerau-Levenshtein distance, yields strong retrieval quality through Recall@1, Recall@5, and MRR@5, and maintains temporal plausibility according to Mean Absolute Error. These results show that graph-based latent retrieval is an effective alternative to sequential suffix prediction for recommendation-oriented process monitoring under structural and KPI-related constraints.

Index Terms—Process recommendation, complete suffix prediction, graph neural networks, metric learning, latent retrieval, contrastive learning.

I. INTRODUCTION

Predicting long-term process trajectories under high uncertainty is a central challenge in prescriptive process monitoring [1]−[3][1]-[3]. Given an ongoing case prefix, the goal is not only to predict the next event, but to infer plausible complete future continuations that can support KPI-oriented decisions [4][4].

Predictive process monitoring has evolved from classical machine learning models based on hand-crafted prefix features [5]–[7] to sequential neural architectures such as RNNs, LSTMs, and transformers [8]–[12]. While these models improved next-activity and remaining-time prediction, prescriptive monitoring requires reasoning over complete future trajectories rather than local predictions [13], [14].

Existing complete suffix prediction methods suffer from two limitations. First, most approaches output a single deterministic future, either through autoregressive decoding or direct suffix prediction. This creates a single-output bottleneck: in stochastic processes, several distinct continuations may remain plausible from the same prefix [15]. Second, they must jointly optimise structural accuracy and temporal prediction, typically through parallel losses for activities and timestamps [9], [12]. These objectives only partially align leading to interference between semantic fidelity and temporal plausibility.

We address these limitations by reformulating complete suffix prediction as a graph-based metric-learning problem. Instead of decoding a single suffix, the proposed model learns a retrieval geometry in which a prefix embedding is projected close to several plausible complete suffixes. Prefixes and historical suffixes are encoded as directed attributed process graphs through edge-conditioned GNNs [16], so that event-level activity information and transition-level temporal information are represented jointly. The prefix embedding is then mapped into the suffix space and used as a query for nearest-neighbour KPI-aware retrieval [17]. Training combines latent reconstruction with a process-aware contrastive objective using hard negatives selected among behaviourally plausible suffixes [18]. To stabilise this retrieval geometry and reduce distortions between structural and temporal signals, we impose a Lipschitz constraint through spectral normalisation [19].

Experiments on a large-scale process dataset, with up to 688 396 candidate suffixes, show that the proposed framework retrieves accurate and actionable futures. It achieves a top-1 Damerau–Levenshtein distance of 0.0976, a Recall@1 of 0.5654 on complex minority trajectories, and a temporal MAE only 8 hours above the theoretical stochastic floor under a strict joint semantic-temporal criterion. The main contributions are:

  1. To formulate complete suffix prediction as graph-based latent retrieval, replacing single-suffix decoding with top-k retrieval of plausible complete continuations.

  2. To introduce a process-aware metric-learning objective that combines latent reconstruction with contrastive hard negatives selected from behaviourally similar but distinct suffixes.

  3. To integrate edge-conditioned process graph encoders with Lipschitz-oriented spectral normalisation, stabilising the suffix retrieval space under structural and temporal variations.

  4. To evaluate the resulting retrieval space through ranking, semantic, temporal, ablation, and KPI-aware recommendation criteria on large real-world process logs.

References (34)