On the Evaluation of Intelligence Process Automation

Deborah Ferreira, Julia Rozanova, Krishna Dubba, Dell Zhang, André FreitasarXiv 2020 · OpenReview

Abstract: Intelligent Process Automation (IPA) is emerging as a sub-field of AI to support the automation of long-tail processes which requires the coordination of tasks across different systems. So far, the field of IPA has been largely driven by systems and use cases, lacking a more formal definition of the task and its assessment. This paper aims to address this gap by providing a formalisation of IPA and by proposing specific metrics to support the empirical evaluation of IPA systems. This work also compares and contrasts IPA against related tasks such as end-user programming and program synthesis.

Introduction

Robotic Process Automation (RPA) has become a cornerstone of modern business efficiency, yet it remains fundamentally limited by its reliance on hardcoded rules. These systems are notoriously "brittle"; a minor change in a user interface or a slight deviation in a workflow can cause an entire automation script to fail. This fragility necessitates constant manual maintenance by developers.

Intelligent Process Automation (IPA) represents the next evolution in this field. By leveraging Artificial Intelligence, IPA systems aim to learn workflows dynamically from observing human demonstrations or interpreting natural language instructions. However, as a nascent sub-field of AI, IPA has lacked a rigorous mathematical foundation and standardized benchmarks. This paper addresses these deficiencies by formalizing the IPA domain and introducing a comprehensive evaluation suite.

The IPA Triangle Framework

The authors conceptualize IPA as a multi-modal translation problem centered around three primary vertices: Process (executable code), Text (natural language instructions), and Demo (video or screen recordings of human activity). This "IPA Triangle" allows for the definition of four core automation tasks that a robust system should be able to perform.

The IPA Triangle illustrating the relationships between Process, Text, and Demo.

These tasks include:

  1. demo2process (D2P): Translating a video demonstration into an executable automation script.
  2. demo2text (D2T): Generating human-readable step-by-step manuals from a video recording.
  3. text2process (T2P): Converting written instructions directly into functional code, a task akin to semantic parsing.
  4. process2text (P2T): Generating plain-English explanations for existing automated scripts to improve transparency.

Real-World Benchmarking with RealWoB

To move beyond synthetic datasets like MiniWoB, which often fail to capture the complexity of actual office work, the authors introduce the Real World of Bits (RealWoB) benchmark. RealWoB consists of 100 distinct tasks spanning 10 categories, including spreadsheet manipulation, webmail management, and cross-application workflows.

A concrete example of the IPA Triangle applied to a spreadsheet automation task within the RealWoB dataset.

Each task in RealWoB is a complete package containing a screen recording, a natural language summary, granular step-by-step instructions, and a functional ground-truth program. To ensure generalizability, the tasks were executed across different operating systems (Windows 10 and Ubuntu), forcing models to handle variations in UI rendering and system behavior.

Proposed Metrics for Empirical Evaluation

A significant contribution of this work is the proposal of specific metrics tailored to the unique challenges of GUI automation. Traditional metrics often fail to capture whether an agent is interacting with the correct element in the correct order.

  • Positional Realization: The authors adapt the Intersection over Union (IoU) metric from computer vision to determine if an automated agent is clicking within the correct bounding box of a UI element.
  • Maximum Program Overlap (MPO): Using Longest Common Subsequence (LCS) logic, this metric ensures that the sequence of operations is correct. In automation, the order of actions is critical; for instance, a form must be filled before the "Submit" button is pressed.
  • Strict and Sensitive Error: These metrics measure whether the generated code targets the correct "predicate" (the action) and the correct "argument" (the specific data or UI element).
  • Linguistic Evaluation: For text-based tasks (D2T and P2T), standard NLP metrics like BLEU scores are employed to assess the quality and accuracy of the generated instructions.

Insights and Future Directions

By treating interaction with a Graphical User Interface (GUI) as a formal language, the authors bridge the gap between software engineering and linguistics. This perspective allows for the application of compiler theory to the often messy process of UI automation.

While the paper provides the necessary framework and ground truth, it also highlights significant hurdles. The "dynamic state" of the web—characterized by unpredictable pop-ups and shifting layouts—remains a major challenge. Furthermore, the ability for systems to automatically "chunk" long streams of unlabelled user activity into discrete, automatable processes (unsupervised IPA) remains an open research problem. This work provides the roadmap and the tools necessary for the AI community to begin solving these complex automation challenges systematically.

Summary updated

Abstract

Intelligent Process Automation (IPA) is emerging as a sub-field of AI to support the automation of long-tail processes which requires the coordination of tasks across different systems. So far, the field of IPA has been largely driven by systems and use cases, lacking a more formal definition of the task and its assessment. This paper aims to address this gap by providing a formalisation of IPA and by proposing specific metrics to support the empirical evaluation of IPA systems. This work also compares and contrasts IPA against related tasks such as end-user programming and program synthesis.
BibTeX
@misc{ferreira2020evaluation,
  author = {Deborah Ferreira and Julia Rozanova and Krishna Dubba and Dell Zhang and André Freitas},
  title = {{On the Evaluation of Intelligence Process Automation}},
  year = {2020},
  eprint = {2001.02639},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.02639},
}
Figure