Automated UI Element Annotation for Machine Learning Data

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The labor-intensive and error-prone process of manually annotating data for machine learning models, particularly for deep learning object detection and segmentation algorithms, hinders efficient training and performance.

Innovation Solution

A system and method for automating data generation and annotation using a data annotation server that programmatically determines the presence and location of user interface elements in images, reducing the need for human intervention and minimizing errors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual annotation is used to label training data, then annotation accuracy can be maintained through human review, but the process becomes labor-intensive and time-consuming

Engineering Contradiction:
Improveannotation accuracyVSAvoidannotation time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary automated annotation using trained ML models before human review, pre-processing the data to identify likely labels and locations. This reduces the time required for manual annotation while maintaining accuracy through selective human verification of automated results.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system enables self-service annotation where the ML model automatically labels data without requiring extensive human intervention. The model serves itself by generating annotations that can be directly used or minimally refined, reducing dependency on manual labor while maintaining acceptable accuracy levels.

Inventive Principle:
Principle #25Self-service

2Reliability

If manual annotation is used to ensure data quality, then error rates are reduced, but the complexity and cost of the annotation process increases

Engineering Contradiction:
Improvedata qualityVSAvoidannotation process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system introduces an intermediary automated annotation layer between data collection and model training. This intermediary uses pre-trained ML models to generate initial annotations, which then undergo automated quality checks and selective human review, reducing overall process complexity while maintaining data quality through multiple validation stages.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements feedback loops where annotation results are automatically evaluated against quality metrics, and problematic cases are flagged for review. The feedback mechanism continuously improves the automated annotation process by learning from correction patterns, reducing complexity over time while maintaining high reliability.

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If large volumes of annotated data are collected for comprehensive training, then model generalization improves, but the resources required for data collection and annotation increase

Engineering Contradiction:
Improvemodel generalizationVSAvoiddata volume
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The system applies partial action by focusing annotation efforts on the most critical and representative data samples rather than annotating all available data. Automated models identify and prioritize high-value training examples, achieving good generalization with a subset of carefully selected and annotated data, reducing overall resource requirements.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system changes parameters by dynamically adjusting data selection criteria based on model performance metrics and training progress. As the model improves, the system modifies which data features are prioritized for annotation, optimizing the balance between data volume and model generalization capability while reducing unnecessary annotation resources.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12260301B2Data generation and annotation for machine learning
Publication Date: 2025.03.25 SAP SE
  • US12260301B2 patent drawing
  • US12260301B2 patent drawing
  • US12260301B2 patent drawing

AI summary

A data annotation server accesses a request from a machine learning server for annotated images of a user interface containing a specified user interface element. The data annotation server programmatically determines whether user interfaces generated by an application server include the specified user interface element. If so, an image of the user interface is stored and a location or bounding box of the user interface element is determined. The stored image of the user interface is annotated with the determined location of the user interface element. The image and the annotation are provided to the machine learning server, which uses the images and annotations to train a machine learning model.