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.
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.
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