Skip to main content
QUICK REVIEW

[Paper Review] Automated Discovery of Data Transformations for Robotic Process Automation

Volodymyr Leno, Marlon Dumas|arXiv (Cornell University)|Jan 3, 2020
Robotic Process Automation ApplicationsEngineering14 references13 citations
TL;DR

This paper proposes an optimized approach to automatically discover data transformation rules from user interaction (UI) logs in Robotic Process Automation (RPA), leveraging field content patterns (alphabetic/numeric tokens) and target-based grouping to drastically improve efficiency. The method reduces transformation discovery time from hours to under two minutes while achieving 100% accuracy on a real-world data transfer scenario, outperforming a naive application of Foofah by over 100x.

ABSTRACT

Robotic Process Automation (RPA) is a technology for automating repetitive routines consisting of sequences of user interactions with one or more applications. In order to fully exploit the opportunities opened by RPA, companies need to discover which specific routines may be automated, and how. In this setting, this paper addresses the problem of analyzing User Interaction (UI) logs in order to discover routines where a user transfers data from one spreadsheet or (Web) form to another. The paper maps this problem to that of discovering data transformations by example - a problem for which several techniques are available. The paper shows that a naive application of a state-of-the-art technique for data transformation discovery is computationally inefficient. Accordingly, the paper proposes two optimizations that take advantage of the information in the UI log and the fact that data transfers across applications typically involve copying alphabetic and numeric tokens separately. The proposed approach and its optimizations are evaluated using UI logs that replicate a real-life repetitive data transfer routine.

Motivation & Objective

  • To address the challenge of discovering automatable data transfer routines in RPA by analyzing user interaction logs.
  • To overcome the computational inefficiency of directly applying state-of-the-art data transformation discovery techniques (e.g., Foofah) to real-world UI logs.
  • To improve scalability and performance by exploiting structural and lexical patterns in source and target fields during data transfers.
  • To enable automated generation of transformation programs for RPA bots from input-output examples derived from UI logs.

Proposed method

  • The approach maps data transfer routines to data transformation discovery by example, modeling each routine as a mapping from input fields (source) to output fields (target).
  • It introduces two key optimizations: grouping transformation examples by target field to isolate smaller, solvable problems, and analyzing sequences of alphabetic and numeric tokens in fields to reduce search space.
  • The method leverages UI log structure to identify field-level mappings and extract input-output examples for transformation mining.
  • It applies the Foofah algorithm for data transformation discovery but prunes the search space using field content patterns and target-based decomposition.
  • The optimizations are designed to handle common data transfer patterns such as splitting (1-to-many), merging (many-to-one), and complex reformatting (many-to-many).
  • The approach assumes that all output fields are derived from explicitly copied input fields, and requires segmented UI logs where each trace corresponds to a single task execution.

Experimental results

Research questions

  • RQ1Can data transformation discovery techniques be effectively applied to UI logs to automate RPA routine extraction?
  • RQ2Why does a direct application of Foofah fail in practice for real-world RPA data transfer logs?
  • RQ3How can the search space of transformation discovery be reduced without losing accuracy?
  • RQ4To what extent do field-level content patterns (alphabetic/numeric tokens) and target-based grouping improve performance and scalability?
  • RQ5What are the limitations of the approach in handling conditional logic, loops, or non-copy-based data entry?

Key findings

  • The naive application of Foofah on the full UI log failed to discover any transformations due to excessive computation time, timing out after 3742.669 seconds.
  • Optimization 1 (grouping by target) reduced execution time to 10,551.536 seconds but only discovered 5 out of 9 transformations, indicating scalability issues with complex subproblems.
  • The combined approach (Opt 1 + Opt 2) discovered all 9 transformations in just 130.854 seconds, representing a 100x speedup over the baseline and a 70% improvement over Opt 1 alone.
  • The optimized method successfully discovered all transformation types—1-to-1, 1-to-many, many-to-1, and many-to-many—demonstrating robustness across diverse data formats.
  • The approach is effective for routines involving structured data transfers between spreadsheets and Web forms, particularly when data is copied and reformatted manually.
  • Limitations include inability to detect transformations based on visual reading (no copy action), conditional logic (e.g., country-dependent date format), or nested loops (e.g., multi-line item entries).

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.