Skip to main content
QUICK REVIEW

[Paper Review] Beyond Rule-based Named Entity Recognition and Relation Extraction for Process Model Generation from Natural Language Text

Julian Neuberger, Lars Ackermann|arXiv (Cornell University)|May 6, 2023
Business Process Modeling and AnalysisBusiness, Management and Accounting23 references4 citations
TL;DR

This paper proposes a data-driven, end-to-end pipeline for automated business process model generation from natural language, replacing rule-based methods with gradient-boosted relation extraction and pre-trained coreference resolution. It enhances the PET dataset with entity identity annotations and demonstrates that machine learning models achieve performance comparable to or better than rule-based approaches, especially when combined with improved coreference resolution.

ABSTRACT

Process-aware information systems offer extensive advantages to companies, facilitating planning, operations, and optimization of day-to-day business activities. However, the time-consuming but required step of designing formal business process models often hampers the potential of these systems. To overcome this challenge, automated generation of business process models from natural language text has emerged as a promising approach to expedite this step. Generally two crucial subtasks have to be solved: extracting process-relevant information from natural language and creating the actual model. Approaches towards the first subtask are rule based methods, highly optimized for specific domains, but hard to adapt to related applications. To solve this issue, we present an extension to an existing pipeline, to make it entirely data driven. We demonstrate the competitiveness of our improved pipeline, which not only eliminates the substantial overhead associated with feature engineering and rule definition, but also enables adaptation to different datasets, entity and relation types, and new domains. Additionally, the largest available dataset (PET) for the first subtask, contains no information about linguistic references between mentions of entities in the process description. Yet, the resolution of these mentions into a single visual element is essential for high quality process models. We propose an extension to the PET dataset that incorporates information about linguistic references and a corresponding method for resolving them. Finally, we provide a detailed analysis of the inherent challenges in the dataset at hand.

Motivation & Objective

  • Address the limitations of rule-based approaches in named entity recognition (NER) and relation extraction (RE), which require extensive manual effort and are hard to adapt across domains.
  • Improve the quality of process model generation by resolving linguistic references between mentions of the same process element (e.g., 'a claim' and 'it') to ensure correct data and actor flow.
  • Demonstrate that machine learning models can achieve competitive performance on small datasets like PET, reducing dependency on handcrafted rules and feature engineering.
  • Extend the PET dataset to include coreference annotations, enabling evaluation of entity identity resolution in process information extraction.
  • Investigate the impact of linguistic variance and argument distance on relation extraction performance, identifying key challenges in low-resource NLP for business process modeling.

Proposed method

  • Replace rule-based NER and RE with a gradient-boosted machine learning approach (BoostRelEx) trained on the PET dataset to improve generalization and reduce manual rule engineering.
  • Introduce a pre-trained neural coreference resolution model fine-tuned on in-domain data to resolve mentions (e.g., 'it', 'the claim') to a single entity, ensuring correct data flow in process models.
  • Enhance the PET dataset by annotating linguistic references between mentions of the same entity, enabling evaluation of coreference resolution in the context of process modeling.
  • Use a joint training strategy for mention detection, relation extraction, and coreference resolution to mitigate error propagation across pipeline stages.
  • Apply logistic regression to analyze the correlation between relation argument distance (in tokens) and prediction correctness, identifying performance bottlenecks.
  • Benchmark the proposed method against rule-based baselines (RuleRelEx) and state-of-the-art NLP models (e.g., Jerex), evaluating performance using micro-F1 and confidence intervals.
Fig. 1 : Example for differences between information extraction phase with and without resolving process element identities. Resolving process element identity from their mentions (right) allows generation of correct data flow, without (left) data flow is disjointed.
Fig. 1 : Example for differences between information extraction phase with and without resolving process element identities. Resolving process element identity from their mentions (right) allows generation of correct data flow, without (left) data flow is disjointed.

Experimental results

Research questions

  • RQ1For small datasets like PET, can machine learning models achieve precision and recall comparable to or better than rule-based methods in NER and relation extraction?
  • RQ2Can a pre-trained co-reference resolution model outperform simple word matching as a baseline for resolving linguistic references between process element mentions?
  • RQ3Can deep learning methods achieve performance on par with rule-based systems and less expressive models when trained on the same small dataset (PET)?
  • RQ4How do linguistic variance and the distance between relation arguments affect the performance of relation extraction models in the context of process modeling?
  • RQ5To what extent does error propagation from early pipeline stages (e.g., NER) degrade the final process model quality, and can joint modeling mitigate this?

Key findings

  • The gradient-boosted relation extraction model (BoostRelEx) outperforms the rule-based method (RuleRelEx) in terms of F1 score on most relation types, especially for 'Further Specification' relations with an F1 of 0.93.
  • RuleRelEx is more robust than BoostRelEx for long-distance relations, particularly for the 'Same Gateway' relation, where RuleRelEx maintains accuracy up to 32-token distances, while BoostRelEx degrades significantly beyond 15 tokens.
  • The logistic regression analysis shows no significant correlation between argument distance and correctness for 'Further Specification' relations, but wide confidence intervals suggest potential sensitivity with more data.
  • Coreference resolution is critical: without it, process models generate disjoint data flows (e.g., two separate 'claim' objects), leading to incorrect process semantics.
  • Error propagation is evident: mistakes in entity mention detection or relation classification amplify in downstream model generation, highlighting the need for joint modeling.
  • While Jerex (a state-of-the-art NLP model) underperforms on PET due to data scarcity, it remains a strong candidate for future application with domain-specific fine-tuning and larger datasets.
Fig. 2 : Outline of our proposed extended extraction pipeline.
Fig. 2 : Outline of our proposed extended extraction pipeline.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.