Hierarchical UI Element Detection for Robust RPA Target Matching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

RPA robots face challenges in accurately identifying and interacting with graphical elements of user interfaces due to changes in appearance and location, which current technologies have not adequately addressed.

Innovation Solution

Implementing a computer-implemented method that uses graphical element search techniques, fuzzy logic selection for anchors and targets, and hierarchical graphical element detection to enhance the accuracy of UI element identification, including selector searches, fuzzy selector searches, image and text matching, and geometric validation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional selector search is used for UI element identification, then the system is simple and fast, but it fails when UI elements change appearance or location

Engineering Contradiction:
ImproveUI element identification accuracyVSAvoidsearch algorithm complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system dynamically selects and switches between different search algorithms (selector search, image matching, text matching, CV matching) based on the specific UI element and context. This dynamic adaptation allows the system to maintain high identification accuracy while managing complexity by only using advanced algorithms when necessary.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameters and approaches of element identification by using multiple different search algorithms with varying levels of complexity. Each algorithm has different parameters (e.g., image similarity thresholds, text matching criteria) that can be adjusted to balance accuracy and computational cost.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If multiple search algorithms are implemented to handle UI changes, then identification accuracy improves, but processing time increases

Engineering Contradiction:
Improvetarget identification accuracyVSAvoidelement search time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The element identification process is segmented into multiple stages with increasing complexity. The system first attempts simple selector search, and only if that fails does it proceed to more complex image matching, text matching, or CV matching. This segmentation reduces average processing time while maintaining high accuracy for challenging cases.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs partial searches using multiple algorithms simultaneously or in sequence, stopping as soon as a match is found with sufficient confidence. This avoids the excessive action of always running all algorithms to completion, thereby reducing processing time while maintaining identification accuracy.

Inventive Principle:
Principle #16Partial or excessive action

3Adaptability or versatility

If fuzzy logic and hierarchical detection are used, then flexibility to accommodate UI changes improves, but system complexity increases

Engineering Contradiction:
Improveaccommodation of UI design changesVSAvoiddetection system complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system implements a universal detection framework that can handle multiple types of UI elements and changes through a single hierarchical architecture. This framework provides adaptability to various UI design changes while managing complexity by reusing the same detection mechanisms across different element types.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The detection system uses a nested hierarchical structure where simple detection methods are embedded within more complex ones. For example, selector search is nested within image matching, which is nested within CV matching. This nesting provides adaptability to handle UI changes at multiple levels of complexity while organizing the system in a manageable hierarchical manner.

Inventive Principle:
Principle #7Nested doll (Nesting)

Data Source

PatentUS12596343B2Graphical element search technique selection, fuzzy logic selection of anchors and targets, and/or hierarchical graphical element identification for robotic process automation
Publication Date: 2026.04.07 UIPATH INC
  • US12596343B2 patent drawing
  • US12596343B2 patent drawing
  • US12596343B2 patent drawing

AI summary

Graphical element search technique selection, fuzzy logic selection for anchors and targets, and hierarchical graphical element identification for robotic process automation (RPA) are disclosed. The fuzzy logic selection of anchors and targets may be part of a larger, tiered, or hierarchical process for identifying graphical elements in the UI. When a selector for a UI element is not found with at least a confidence threshold, similar elements potentially corresponding to the selector for a UI element target may be searched based on fuzzy matching of the target and corresponding anchor(s). Geometric matching may also be employed between the target UI element and its respective anchor(s). The combination of fuzzy matching and geometric matching may allow for more flexible and accurate identification of the exact selector with which an RPA robot is attempting to interact.