Skip to main content
QUICK REVIEW

[Paper Review] Identifying candidate routines for Robotic Process Automation from unsegmented UI logs

Volodymyr Leno, Adriano Augusto|arXiv (Cornell University)|Aug 13, 2020
Robotic Process Automation ApplicationsEngineering20 references7 citations
TL;DR

This paper proposes a method to automatically discover candidate robotic process automation (RPA) routines from unsegmented user interface (UI) logs—common in real-world settings—by first segmenting the log into task-like sequences using a control-flow graph (CFG) and domination tree, then applying noise-resilient sequential pattern mining to extract frequent, cohesive routines. The approach successfully rediscovered injected routines in synthetic logs and identified relevant, correct routines in real-life logs, with execution times under a minute for large logs.

ABSTRACT

Robotic Process Automation (RPA) is a technology to develop software bots that automate repetitive sequences of interactions between users and software applications (a.k.a. routines). To take full advantage of this technology, organizations need to identify and to scope their routines. This is a challenging endeavor in large organizations, as routines are usually not concentrated in a handful of processes, but rather scattered across the process landscape. Accordingly, the identification of routines from User Interaction (UI) logs has received significant attention. Existing approaches to this problem assume that the UI log is segmented, meaning that it consists of traces of a task that is presupposed to contain one or more routines. However, a UI log usually takes the form of a single unsegmented sequence of events. This paper presents an approach to discover candidate routines from unsegmented UI logs in the presence of noise, i.e. events within or between routine instances that do not belong to any routine. The approach is implemented as an open-source tool and evaluated using synthetic and real-life UI logs.

Motivation & Objective

  • Address the challenge of identifying automatable routines in large organizations where routines are scattered across multiple processes and not pre-segmented.
  • Overcome the limitation of existing RPA mining approaches that require pre-segmented logs or manual delimiters.
  • Enable automated discovery of candidate routines from raw, unsegmented UI logs containing noise and overlapping task instances.
  • Improve scalability and accuracy of RPA routine identification by leveraging control-flow graph analysis and noise-resilient pattern mining.
  • Provide a practical, open-source solution for real-world deployment in enterprise process mining pipelines.

Proposed method

  • Construct a control-flow graph (CFG) from the unsegmented UI log, where nodes represent UI interactions and edges represent execution order.
  • Build a domination tree from the CFG to identify natural boundaries between routine instances by analyzing control-flow structure.
  • Segment the original log into candidate task sequences based on the domination tree, isolating repeated execution paths.
  • Apply a noise-resilient sequential pattern mining algorithm to the segmented log to discover frequent, recurring interaction sequences.
  • Rank candidate routines using four quality criteria: frequency, length, coverage (proportion of log covered), and cohesion (internal consistency).
  • Implement the full pipeline as an open-source tool for reproducibility and real-world evaluation.

Experimental results

Research questions

  • RQ1Can the proposed method accurately rediscover predefined routines injected into synthetic unsegmented UI logs?
  • RQ2Can the method identify meaningful and correct candidate routines from real-life unsegmented UI logs without prior segmentation?
  • RQ3How does the method perform in terms of scalability when processing large logs with tens of thousands of UI interactions?
  • RQ4How robust is the method to noise, overlapping routines, and non-uniform routine starts in real-world logs?
  • RQ5To what extent can the method distinguish between different variants of the same routine, especially when action order varies?

Key findings

  • The method successfully rediscovered all injected routines in the synthetic S1 log with high precision, confirming its ability to recover known patterns from unsegmented data.
  • In the real-life S1 log, the method discovered the correct routine variant and three alternative execution variants, all confirmed by the original user as accurate representations of their work.
  • Execution time for the S1 log (with ~20k interactions) was 41.7 seconds, demonstrating good scalability even for moderately large logs.
  • The method failed to discover correct routines in the S2 log due to frequent context-switching between worksheets, which disrupted the CFG construction and led to incorrect segmentation.
  • The S2 log took 426.3 seconds to process, highlighting sensitivity to log quality and behavioral complexity, particularly when multiple workbooks are used simultaneously.
  • The approach is sensitive to multiple starts and overlapping routines, and performs best when routines are executed consecutively and share a consistent start point.

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.