BePT: A Process Translator for Sharing Process Models

Chen Qian, Lijie Wen, Akhil KumararXiv 2019

Abstract

Sharing complex process models and scientific workflows is essential for collaborative research, yet most models lack natural language (NL) documentation, hindering their reuse. Existing Process-to-Text (P2T) tools often produce descriptions that are semantically inaccurate or incomplete. This paper introduces BePT (Behavior-based Process Translator), an automated framework that shifts the focus from visual structure to underlying execution logic. By employing an encoder-decoder paradigm and Petri net unfolding, BePT generates descriptions that are formally correct, complete, and minimal.

Introduction

In modern collaborative environments, researchers frequently share process models via repositories like myExperiment. However, a significant barrier to reuse is the lack of clear documentation; approximately two-thirds of shared models lack accompanying text. This necessitates automated P2T tools to bridge the gap between formal models and human understanding.

The context of sharing process models between developers and users.

Existing P2T approaches generally fall into path-based or structure-based categories. Path-based methods struggle with unstructured models, while structure-based methods rely on heuristics that often lead to information loss, such as misinterpreting loops or missing critical branches. BePT addresses these limitations by focusing on the behavioral semantics of the process rather than its graph-based representation.

The BePT Framework

BePT adopts an encoder-decoder architecture, a standard in machine translation, specifically adapted for process logic. The framework consists of three primary stages: encoding, behavioral unfolding, and decoding.

The BePT encoder-decoder architecture for translating process models to text.

1. The Encoder: Structure and Language Embedding

The encoder breaks the model into hierarchical components using a Refined Process Structure Tree (RPST), focusing on Single Entry Single Exit (SESE) fragments. Simultaneously, it extracts linguistic information—roles, actions, and objects—from activity labels, organizing them into Deep Syntactic Trees (DSynT).

2. Behavioral Unfolding

The core innovation of BePT is the creation of a Complete Finite Prefix (CFP) of the model, represented as a Petri net. This process "unfolds" the behavior into a finite, acyclic representation. This allows the system to capture all possible execution paths, including complex loops and concurrent tasks, without the ambiguity inherent in graph traversal.

3. The Decoder: Text Planning

The decoder identifies Behavior Segments and links them into Behavior Paths. To ensure the description is concise, BePT applies a Pruning Rule: if a step has already been described in a previous path, it is omitted in subsequent ones. Finally, the system uses 32 pre-defined templates and the RealPro realizer to generate grammatically correct English sentences.

Experimental Evaluation

The authors evaluated BePT using seven publicly accessible datasets containing 389 process models from both industry (SAP, IBM) and academia. This dataset is approximately ten times larger than those used in previous P2T studies. The models ranged from highly structured to complex and "rigid" (only 28.95% structured), providing a rigorous test of the tool's versatility.

Key Results and Insights

  • Behavioral Superiority: By "playing" the process via Petri net firing rules, BePT understands dynamic logic that static structural analysis misses. It successfully handled 14 complex modeling patterns, significantly outperforming competitors like Goun.
  • Reproducibility: In a "back-translation" test, participants recreated original models using only BePT-generated text. BePT achieved an F1 score of nearly 1.0, demonstrating near-perfect semantic fidelity.
  • Formal Rigor: The authors provide formal proofs that BePT satisfies behavioral correctness (accuracy), completeness (no missing steps), and minimality (no redundancy).
  • Understandability: Using perplexity metrics, BePT's descriptions were found to be more predictable and easier for humans to follow compared to baseline methods.

Conclusion

BePT represents a significant advancement in P2T technology by prioritizing behavioral logic over visual structure. While currently limited to "sound" models (those without deadlocks), it provides a robust foundation for automatically documenting complex workflows, thereby facilitating the global sharing and reuse of scientific and business processes.

Summary updated

Abstract

Sharing process models on the web has emerged as a common practice. Users can collect and share their experimental process models with others. However, some users always feel confused about the shared process models for lack of necessary guidelines or instructions. Therefore, several process translators have been proposed to explain the semantics of process models in natural language (NL). We find that previous studies suffer from information loss and generate semantically erroneous descriptions that diverge from original model behaviors. In this paper, we propose a novel process translator named BePT (Behavior-based Process Translator) based on the encoder-decoder paradigm, encoding a process model into a middle representation and decoding the representation into NL descriptions. Our theoretical analysis demonstrates that BePT satisfies behavior correctness, behavior completeness and description minimality. The qualitative and quantitative experiments show that BePT outperforms the state-of-the-art baselines.
BibTeX
@misc{qian2019bept,
  author = {Chen Qian and Lijie Wen and Akhil Kumar},
  title = {{BePT: A Process Translator for Sharing Process Models}},
  year = {2019},
  eprint = {1904.09768},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.09768},
}
Figure