Process Extraction from Text: Benchmarking the State of the Art and Paving the Way for Future Challenges

Patrizio Bellan, Mauro Dragoni, Chiara Ghidini, Han van der Aa, Simone Paolo Ponzetto · DOI

TL;DR

This research provides the first comprehensive "apples-to-apples" benchmark of 10 state-of-the-art (SOTA) tools designed to extract business process models from unstructured text. The study reveals a fragmented research landscape and demonstrates that while two-step extraction pipelines currently outperform end-to-end neural models, the entire field is constrained by a critical lack of standardized datasets and metrics.

The Problem: A "Wild West" of Process Extraction

In Business Process Management (BPM), converting written manuals or narratives into formal process models (such as BPMN diagrams) is a long-standing goal. While numerous automated solutions have been proposed over the last decade, the field has lacked standardization.

Existing research is highly heterogeneous: different papers use varying inputs (single sentences vs. full documents), target different outputs (imperative BPMN vs. declarative constraints), and employ idiosyncratic evaluation metrics. This fragmentation makes it nearly impossible for practitioners to determine which approach is most effective. This study establishes a common ground to evaluate these diverse tools systematically.

Methodology

The authors conducted a two-part study to bring clarity to the field:

  1. Qualitative Analysis: They reviewed 10 primary studies published between 2010 and 2023, categorizing them by their high-level architectural approach.
  2. Quantitative Benchmarking: The authors obtained executable versions of 6 of these tools. To enable a direct comparison, they standardized the output by focusing on a unifying task: Process Entity and Relation Extraction. They adapted the tools' code to a common format and tested them against the "PET" (Process Extraction from Text) dataset, which contains 45 manually annotated process descriptions.
Direct vs. Two-step transformation approaches for process model extraction.
  • The "Two-Step" Advantage: As shown in the figure above, approaches generally fall into direct transformation ($f$) or two-step transformation ($f_a \circ f_b$). The study found that two-step pipelines—which first extract entities into an intermediate "world model" before generating a diagram—significantly outperform direct mapping. This modularity allows for more robust engineering of the natural language understanding component.
  • Rules Still Rule: Despite the rise of deep learning, 7 out of 10 SOTA tools rely primarily on rule-based systems or regular expressions. This is largely due to the scarcity of annotated data required to train complex neural models effectively for this niche domain.
  • The Logic Gap: Identifying the underlying logic of a process (e.g., XOR/AND gateways) remains the biggest technical hurdle. Most tools are proficient at finding "Actions" (e.g., "send") but struggle with "Activity Data" (e.g., "the invoice") and the conditional flow between tasks.

Benchmarking Results

The tools were categorized into three performance tiers based on their F1 scores on the PET dataset:

  • Tier 1 (Satisfactory): Friedrich et al. (2011) and Honkisz et al. (2018). These are the most well-rounded tools. Friedrich is particularly strong at extracting activities and actors, while Honkisz excels at identifying flow and gateways.
  • Tier 2 (Medium): de A. R. Gonçalves et al. (2011). This tool performs well on basic elements but lacks the ability to handle complex gateways.
  • Tier 3 (Low): Epure et al. (2015), Qian et al. (2020), and van der Aa et al. (2019). These tools showed poor generalization, often because they were over-optimized for specific domains like archaeological reports or declarative constraints.
The ten state-of-the-art papers selected for qualitative and quantitative analysis.

Future Challenges and the LLM Frontier

The study concludes that even the best tools only achieve F1 scores around 0.70 for Activity extraction, with much lower scores for complex relations. To move forward, the community must address:

  • Data Scarcity: There is an urgent need for larger, publicly available annotated datasets beyond the foundational 2011 dataset.
  • Metric Refinement: Current metrics do not distinguish between minor errors and catastrophic logic failures (e.g., missing a core activity).
  • Large Language Models (LLMs): While LLMs like GPT-4 offer potential as few-shot extractors, their performance in this specialized domain requires rigorous, dedicated benchmarking to ensure they can handle the formal logic required for BPM.

Summary updated

BibTeX
@misc{bellan2021process,
  author = {Patrizio Bellan and Mauro Dragoni and Chiara Ghidini and Han van der Aa and Simone Paolo Ponzetto},
  title = {{Process Extraction from Text: Benchmarking the State of the Art and Paving the Way for Future Challenges}},
  year = {2021},
  eprint = {2110.03754},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.03754},
}
Figure