Training a generative artificial intelligence / machine learning model to recognize applications, screens, and user interface elements using computer vision
Abstract
Techniques for training a generative artificial intelligence (AI)/machine learning (ML) model to recognize applications, screens, and UI elements using computer vision (CV) and to recognize user interactions with the applications, screens, and UI elements are disclosed. Optical character recognition (OCR) may also be used to assist in training the generative AI/ML model. Training of the generative AI/ML model may be performed without other system inputs such as system-level information (e.g., key presses, mouse clicks, locations, operating system operations, etc.) or application-level information (e.g., information from an application programming interface (API) from a software application executing on a computing system), or the training of the generative AI/ML model may be supplemented by other information, such as browser history, heat maps, file information, currently running applications and locations, system level and/or application-level information, etc.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 0.
Claims (26 — 3 Independent, 23 Dependent)
- Claim 1Independent Claim
A system, comprising: one or more user computing systems comprising respective recorder processes; and a server configured to train a generative artificial intelligence (AI)/machine learning (ML) model to recognize applications, screens, and user interface (UI) elements using computer vision (CV) and to recognize user interactions with the applications, screens, and UI elements, wherein the respective recorder processes are configured to: record screenshots or video frames of a display associated with the respective user computing system and other information, and send the recorded screenshots or video frames, and the other information, to storage accessible by the server, and the server is configured to: initially train the generative AI/ML model to recognize the applications, screens, and UI elements that are present in the recorded screenshots or video frames using the recorded screenshots or video frames and the other information, and after the generative AI/ML model can recognize the applications, screens, and UI elements in the recorded screenshots or video frames with a confidence, train the generative AI/ML model to recognize individual user interactions with the UI elements.
- Claim 2Depends on #1
The system of claim 1, wherein the individual user interactions comprise button presses, entry of single characters or character sequences, selection of active UI elements, menu selections, screen changes, voice inputs, gestures, providing biometric information, haptic interactions, or a combination thereof.
- Claim 3Depends on #1
The system of claim 1, wherein the training of the generative AI/ML model to recognize the individual user interactions with the UI elements comprises comparing two or more consecutive screenshots or video frames and determining that a typed character appeared from one screenshot to another, a button was pressed, or a menu selection occurred.
- Claim 4Depends on #1
The system of claim 1, wherein the other information comprises a web browser history, one or more heat maps, key presses, mouse clicks, locations of mouse clicks and/or graphical elements on the display that a user is interacting with, locations where the user was looking on the display, time stamps associated with the screenshots or video frames, text that the user entered, content that the user scrolled past, a time that the user stopped on a part of content shown in the display, what application the user is interacting with, voice inputs, gestures, emotion information, biometrics, information pertaining to periods of no user activity, haptic information, multi-touch input information, or a combination thereof.
- Claim 5Depends on #1
The system of claim 1, wherein the one or more user computing systems or the server are configured to generate one or more heat maps, the other information comprising the one or more heat maps, and the one or more heat maps comprise a frequency that a user used applications, a frequency that the user interacted with components of the applications, locations of the components in the applications, content of the applications and/or components, or a combination thereof.
- Claim 6Depends on #5
The system of claim 5, wherein the one or more user computing systems or the server are configured to derive the one or more heat maps from display analysis comprising detection of typed and/or pasted text, caret tracking, active element detection, or a combination thereof.
- Claim 7Depends on #1
The system of claim 1, wherein the respective recorder processes are implemented as feedback loop processes that continuously or periodically compare a current screenshot or video frame to a previous screenshot or video frame and identify one or more locations where changes between the current screenshot or video frame and the previous screenshot or video frame occurred.
- Claim 8Depends on #7
The system of claim 7, wherein the respective recorder processes are further configured to: perform optical character recognition (OCR) on the one or more locations where the changes occurred; compare results of the OCR to content of a keyboard queue to determine whether a match exists; and when a match exists, link text associated with the match to a respective location.
- Claim 9Depends on #1
The system of claim 1, further comprising: an automation box operably connected to a user computing system of the one or more user computing systems, the automation box configured to: receive input from one or more user input devices, associate time stamps with the input, and send the time stamped input to storage accessible by the server, wherein the server is configured to use the time stamped input for the initial training of the generative AI/ML model.
- Claim 10Depends on #1
The system of claim 1, wherein server is configured to perform the initial training of the generative AI/ML model without a priori knowledge of the applications, screens, and UI elements in the screenshots or video frames.
- Claim 11Depends on #1
The system of claim 1, wherein the generative AI model is a large language model (LLM), a generative adversarial network (GAN), a variational autoencoder (VAE), or a transformer.
- Claim 12Independent Claim
A non-transitory computer-readable medium storing a computer program configured to train a generative artificial intelligence (AI)/machine learning (ML) model to recognize applications, screens, and user interface (UI) elements using computer vision (CV) and/or to recognize user interactions with the applications, screens, and UI elements, the computer program configured to cause at least one processor to: access recorded screenshots or video frames of displays associated with one or more computing systems and access other information associated with the one or more computing systems; and initially train the generative AI/ML model to recognize the applications, screens, and UI elements that are present in the recorded screenshots or video frames using the recorded screenshots or video frames and the other information, wherein the initial training of the generative AI/ML model is performed without a priori knowledge of the applications, screens, and UI elements in the screenshots or video frames.
- Claim 13Depends on #12
The non-transitory computer-readable medium of claim 12, wherein after the generative AI/ML model can recognize the applications, screens, and UI elements in the recorded screenshots or video frames with a confidence, the computer program is further configured to cause the at least one processor to: train the generative AI/ML model to recognize individual user interactions with the UI elements.
- Claim 14Depends on #13
The non-transitory computer-readable medium of claim 13, wherein the training of the generative AI/ML model to recognize the individual user interactions with the UI elements comprises comparing two or more consecutive screenshots or video frames and determining that a typed character appeared from one to another, a button was pressed, or a menu selection occurred.
- Claim 15Depends on #13
The non-transitory computer-readable medium of claim 13, wherein the individual user interactions comprise button presses, entry of single characters or character sequences, selection of active UI elements, menu selections, screen changes, voice inputs, gestures, providing biometric information, haptic interactions, or a combination thereof.
- Claim 16Depends on #12
The non-transitory computer-readable medium of claim 12, wherein the other information comprises a web browser history, one or more heat maps, key presses, mouse clicks, locations of mouse clicks and/or graphical elements on the display that a user is interacting with, locations where the user was looking on the display, time stamps associated with the screenshots or video frames, text that the user entered, content that the user scrolled past, a time that the user stopped on a part of content shown in the display, what application the user is interacting with, voice inputs, gestures, emotion information, biometrics, information pertaining to periods of no user activity, haptic information, multi-touch input information, or a combination thereof.
- Claim 17Depends on #12
The non-transitory computer-readable medium of claim 12, wherein the computer program is further configured to cause the at least one processor to: generate one or more heat maps, the other information comprising the one or more heat maps, wherein the one or more heat maps comprise a frequency that a user used one or more applications, a frequency that the user interacted with components of the one or more applications, locations of the components in the one or more applications, content of the one or more applications and/or components, or a combination thereof.
- Claim 18Depends on #17
The non-transitory computer-readable medium of claim 17, wherein the one or more heat maps are derived from display analysis comprising detection of typed and/or pasted text, caret tracking, active element detection, or a combination thereof.
- Claim 19Depends on #12
The non-transitory computer-readable medium of claim 12, wherein the generative AI model is a large language model (LLM), a generative adversarial network (GAN), a variational autoencoder (VAE), or a transformer.
- Claim 20Independent Claim
A computer-implemented method for training a generative artificial intelligence (AI)/machine learning (ML) model to recognize applications, screens, and user interface (UI) elements using computer vision (CV) and to recognize user interactions with the applications, screens, and UI elements, the method comprising: accessing recorded screenshots or video frames of displays associated with one or more computing systems and accessing other information associated with the one or more computing systems; initially training the generative AI/ML model to recognize the applications, screens, and UI elements that are present in the recorded screenshots or video frames using the recorded screenshots or video frames and the other information; and after the generative AI/ML model can recognize the applications, screens, and UI elements in the recorded screenshots or video frames with a confidence, training the generative AI/ML model to recognize individual user interactions with the UI elements.
- Claim 21Depends on #20
The computer-implemented method of claim 20, wherein the initial training of the generative AI/ML model is performed without a priori knowledge of the applications, screens, and UI elements in the screenshots or video frames.
- Claim 22Depends on #20
The computer-implemented method of claim 20, wherein the training of the generative AI/ML model to recognize the individual user interactions with the UI elements comprises comparing two or more consecutive screenshots or video frames and determining that a typed character appeared from one to another, a button was pressed, or a menu selection occurred.
- Claim 23Depends on #20
The computer-implemented method of claim 20, wherein the individual user interactions comprise button presses, entry of single characters or character sequences, selection of active UI elements, menu selections, screen changes, voice inputs, gestures, providing biometric information, haptic interactions, or a combination thereof.
- Claim 24Depends on #20
The computer-implemented method of claim 20, wherein the other information comprises a web browser history, one or more heat maps, key presses, mouse clicks, locations of mouse clicks and/or graphical elements on the display that a user is interacting with, locations where the user was looking on the display, time stamps associated with the screenshots or video frames, text that the user entered, content that the user scrolled past, a time that the user stopped on a part of content shown in the display, what application the user is interacting with, voice inputs, gestures, emotion information, biometrics, information pertaining to periods of no user activity, haptic information, multi-touch input information, or a combination thereof.
- Claim 25Depends on #20
The computer-implemented method of claim 20, further comprising: generating one or more heat maps, the other information comprising the one or more heat maps, wherein the one or more heat maps comprise a frequency that a user used one or more applications, a frequency that the user interacted with components of the one or more applications, locations of the components in the one or more applications, content of the one or more applications and/or components, or a combination thereof, and the one or more heat maps are derived from display analysis comprising detection of typed and/or pasted text, caret tracking, active element detection, or a combination thereof.
- Claim 26Depends on #20
The computer-implemented method of claim 20, wherein the generative AI model is a large language model (LLM), a generative adversarial network (GAN), a variational autoencoder (VAE), or a transformer.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATION This application is a continuation-in-part (CIP) of, and claims the benefit of, U.S. Nonprovisional patent application Ser. No. 17/070,108 filed Oct. 14, 2020. The subject matter of this earlier filed application is hereby incorporated by reference in its entirety. FIELD The present invention generally relates to user interface (UI) automation, and more specifically, to training a generative artificial intelligence (AI)/machine learning (ML) model to recognize applications, screens, and UI elements using computer vision (CV) and to recognize user interactions with the applications, screens, and UI elements. BACKGROUND In order to perform UI automation, RPA technologies may utilize driver and/or application-level interactions to click buttons, enter text, and perform other interactions with a UI. However, key presses, mouse clicks, and other kernel hook information may not be available at the system level in some embodiments, or when building a new UI automation platform. Extensive driver level and application level functionality is typically required to implement such a UI automation platform. Accordingly, alternative techniques for providing UI automation may be beneficial. SUMMARY Certain embodiments of the present invention may provide solutions to the problems and needs in the art that have not yet been fully identified, appreciated, or solved by current UI automation technologies. For example, some embodiments of the present invention pertain to training a generative AI/ML model to recognize applications, screens, and UI elements using CV and to recognize user interactions with the applications, screens, and UI elements. In an embodiment, a system includes one or more user computing systems including respective recorder processes and a server configured to train a generative AI/ML model to recognize applications, screens, and UI elements using CV and to recognize user interactions with the applications, screens, and UI ele
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (22)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Carl E Barnes Jr,
- “
- Final Office Action
- ”
- , issued Feb. 15, 2023, U.S. Appl. No. 17/070,108.
- Carl E Barnes Jr,
- “
- Non-Final Office Action
- ”
- , issued Dec. 20, 2022, U.S. Appl. No. 17/070,108.