New Loss Function Improves Deep Learning for Process Mining Conformance.

Johannes De Smedt, Jari Peeperkorn, Artem Polyvyanyy, Jochen De Weerdt· June 15, 2026 View original

Summary

Researchers introduce DIFF-ERO, a conformance-aware loss function for deep learning models in process mining. This differentiable formulation of entropy-based stochastic conformance incorporates control-flow information during training, leading to improved predictive performance and better internalization of process model structure.

Deep learning has significantly advanced process analytics, particularly in predictive and prescriptive monitoring. However, conventional objectives like cross-entropy primarily optimize local next-step likelihoods, often failing to adequately capture the global control-flow structure of processes. This can lead to models with high token-level accuracy but imprecise overall behavior. To address this, a new method called DIFF-ERO is proposed. It is a conformance-aware loss function designed for deep learning models that process event data. DIFF-ERO offers a differentiable approach to entropy-based stochastic conformance, directly integrating control-flow information into the training process. The method constructs batch-level stochastic transition matrices with soft edge memberships, allowing structural precision and recall signals to guide backpropagation. DIFF-ERO is model-agnostic and can be applied to any model parametrizing stochastic transitions. When instantiated in transformer encoder-decoder pipelines for next-activity prediction, it shows improved predictive performance where process structure is critical, while also ensuring the learned stochastic automaton converges towards the true process model structure.

Why it matters

Professionals in business process management and AI development can leverage DIFF-ERO to build more accurate and structurally compliant deep learning models for process mining, leading to better predictions and insights into complex operational workflows.

How to implement this in your domain

  1. 1Integrate DIFF-ERO into deep learning models for process mining to enhance control-flow awareness.
  2. 2Apply this conformance-aware loss function in predictive monitoring tasks for business processes.
  3. 3Utilize DIFF-ERO with transformer architectures for next-activity prediction to improve structural accuracy.
  4. 4Evaluate model performance not just on token-level accuracy, but also on global process conformance.

Who benefits

Business Process ManagementLogisticsManufacturingHealthcareFinance

Key takeaways

  • DIFF-ERO is a new loss function for deep learning in process mining.
  • It incorporates control-flow information to improve structural conformance.
  • The method enhances predictive performance, especially where process structure is critical.
  • DIFF-ERO helps deep learning models internalize the true process model structure.

Original post by Johannes De Smedt, Jari Peeperkorn, Artem Polyvyanyy, Jochen De Weerdt

"arXiv:2606.14283v1 Announce Type: new Abstract: Deep learning has driven many recent advances in process analytics, especially for predictive and prescriptive monitoring. However, standard objectives such as cross-entropy optimize local next-step likelihoods and only implicitly c…"

View on X

Originally posted by Johannes De Smedt, Jari Peeperkorn, Artem Polyvyanyy, Jochen De Weerdt on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses