atlas

Research map / Large language models / AI and society

SNAP: Semantic Stories for Next Activity Prediction

AAAI 2025 · Large language models › AI and society · approach: AI for health and public decisions · 6 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SNAP, which uses an LLM to build a story template from selected event-log features, converts each trace prefix into a semantic story, and fine-tunes BERT, DeBERTa, or GPT-3 to predict the next activity.

Problem

Next activity prediction in business process management ignores much of the semantic content (free text, utterances, named attributes) in process event logs, which current sequence-only models cannot exploit.

Approach

Transform each prefix trace into a coherent narrative ("semantic story") generated from a LLM-produced template over XGBoost-selected features plus temporal features, and fine-tune a language foundation model as a classifier on these stories.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use semantic stories instead of a list of feature values (ablation)SNAP-B · BPI13cp, BPI13in, Env Permit, Sepsis, and Nasaaccuracy and weighted F1-score: BPI13cp: 0.616 -> 0.679 accuracy, 0.614 -> 0.670 F1; BPI13in: 0.733 -> 0.758 accuracy, 0.731 -> 0.754 F1; Env Permit: 0.Helped
use semantic stories instead of a list of feature values (ablation)SNAP-B · MIPaccuracy and weighted F1-score: 0.426 -> 0.424 accuracy; 0.421 -> 0.421 F1No clear effect
use named rather than numbered activities (ablation)SNAP-B · MIPaccuracy and weighted F1-score: 0.401 -> 0.424 accuracy; 0.395 -> 0.421 F1Helped
use named rather than numbered activities (ablation)SNAP-B · BPI13cp and Env Permitaccuracy: BPI13cp: 0.670 -> 0.679; Env Permit: 0.877 -> 0.880Helped
use named rather than numbered activities (ablation)SNAP-B · BPI13in, Sepsis, and Nasaaccuracy: BPI13in: 0.758 -> 0.758; Sepsis: 0.648 -> 0.649; Nasa: 0.896 -> 0.896No clear effect
include user utterances (ablation)SNAP on MIP · MIPaccuracy: 0.373 -> 0.437Helped
include user utterances (ablation)SNAP on MIP · MIPweighted F1-score: 0.358 -> 0.428Helped
use SNAP semantic stories and fine-tuned language models rather than the strongest reported baselineSNAP · BPI13cp, Env Permit, Sepsis, and MIPaccuracy: BPI13cp: 0.675 -> 0.696; Env Permit: 0.877 -> 0.890; Sepsis: 0.642 -> 0.655; MIP: 0.390 -> 0.459Helped

Surprising findings

Limitations

Experimental setup

Datasets: BPI13cp BPI13in Env Permit Sepsis Nasa MIP

Benchmarks: BPI13cp BPI13in Env Permit Sepsis Nasa MIP

Metrics: accuracy weighted F1-score

Baselines: Camargo et al. (2019) Evermann et al. Hinnka et al. Khan et al. Mauro et al. Pasquadibisceglie et al. Tax et al. Theis et al. Venugopal et al. Rama-Maneiro et al. Zeltyn et al.

Builds on: BERT DeBERTa XGBoost Llama 2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy