Skip to main content
QUICK REVIEW

[Paper Review] From Natural Language Instructions to Complex Processes: Issues in Chaining Trigger Action Rules

Nobuhiro Ito, Yuya Suzuki|arXiv (Cornell University)|Jan 8, 2020
Business Process Modeling and AnalysisBusiness, Management and Accounting10 references5 citations
TL;DR

This paper proposes a formal grammar for chaining high-abstraction machine-executable meaning representations (MEMRs) in trigger-action rule (TAP) form to model complex workflows, enabling semantic parsing of natural language (NL) instructions into executable workflows. It introduces a dataset creation method using real-world IFTTT TAPs, manually annotated for TAP chaining and NL instruction generation, facilitating transition-based neural semantic parsing for intelligent process automation.

ABSTRACT

Automation services for complex business processes usually require a high level of information technology literacy. There is a strong demand for a smartly assisted process automation (IPA: intelligent process automation) service that enables even general users to easily use advanced automation. A natural language interface for such automation is expected as an elemental technology for the IPA realization. The workflow targeted by IPA is generally composed of a combination of multiple tasks. However, semantic parsing, one of the natural language processing methods, for such complex workflows has not yet been fully studied. The reasons are that (1) the formal expression and grammar of the workflow required for semantic analysis have not been sufficiently examined and (2) the dataset of the workflow formal expression with its corresponding natural language description required for learning workflow semantics did not exist. This paper defines a new grammar for complex workflows with chaining machine-executable meaning representations for semantic parsing. The representations are at a high abstraction level. Additionally, an approach to creating datasets is proposed based on this grammar.

Motivation & Objective

  • To address the lack of formal grammar and annotated datasets for complex workflow semantic parsing from natural language.
  • To enable smart, user-friendly automation for non-technical users via natural language interfaces.
  • To model complex business processes as chains of high-abstraction trigger-action rules (TAPs).
  • To create a dataset pairing natural language descriptions with executable TAP-chain workflows for training semantic parsers.
  • To support transition-based neural semantic parsing by defining a formal, extensible grammar for workflow structures.

Proposed method

  • Define a formal grammar based on TAP chains, where each TAP is an event-driven rule of the form 'if trigger, then action'.
  • Use existing IFTTT TAP datasets with real user-generated NL descriptions as a foundation for dataset creation.
  • Manually identify and annotate action-evoke-trigger relationships to establish TAP chaining rules for vertical and horizontal workflow expansion.
  • Generate complex workflows by randomly chaining TAPs while ensuring each TAP is from real user usage to maintain practical relevance.
  • Create NL descriptions for generated workflows via rule-based summarization and sentence fusion, followed by manual refinement by annotators.
  • Train a transition-based neural semantic parser to map NL utterances to WAST (Workflow Abstract Syntax Tree) representations using beam search and log-likelihood optimization.

Experimental results

Research questions

  • RQ1How can a formal grammar be designed to represent complex workflows as chains of high-abstraction machine-executable meaning representations (MEMRs)?
  • RQ2What is an effective method for constructing a dataset of natural language descriptions paired with executable TAP-chain workflows for semantic parsing?
  • RQ3Can transition-based neural semantic parsing be effectively applied to complex workflows using a TAP-chain-based formalism?
  • RQ4How can natural language instructions be reliably generated for complex, multi-step workflows derived from TAP chains?
  • RQ5What role do real user-generated TAPs play in ensuring the practicality and usability of automatically generated workflows?

Key findings

  • A formal grammar based on TAP chains enables the representation of complex workflows using high-abstraction, human-readable MEMRs, avoiding code bloat.
  • The proposed dataset creation method successfully generates complex workflows by chaining real user TAPs, preserving practical relevance and usability.
  • Manual annotation of TAP chaining rules (both vertical and horizontal expansion) ensures structural validity and semantic coherence in generated workflows.
  • NL descriptions for complex workflows were effectively generated through rule-based summarization and sentence fusion, with manual refinement improving quality.
  • The approach enables the application of transition-based neural semantic parsing to complex workflows by providing a well-structured, grammar-compliant formalism.
  • The study establishes a foundation for intelligent process automation (IPA) by bridging natural language instructions with executable, chained TAP workflows.

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.