Proactive user interface workflow automation using a predictive action model
The predictive action machine learning model addresses inefficiencies in user interface automation by anticipating user intentions and adapting to interface changes, enhancing productivity and resource efficiency.
Patent Information
- Application Number
- US19/344801
- Authority / Receiving Office
- US · United States
- Patent Type
- Patents(United States)
- Current Assignee / Owner
- Filing Date
- 2025-09-30
- Publication Date
- 2026-12-01
- Estimated Expiration
- 2045-09-30
AI Technical Summary
Existing user interface automation techniques are brittle and inefficient, requiring extensive manual configuration and failing to anticipate user intentions, leading to repetitive clicks and high resource utilization in complex software environments.
A predictive action machine learning model that uses schema-constrained real-time decoding and reinforcement learning to anticipate and streamline user workflows, generating contextually valid action sequences and adapting to user interface changes.
Reduces cognitive load and computing resource usage by proactively guiding users through complex tasks with high accuracy and adaptability, ensuring seamless automation across evolving interfaces.
Smart Images

Figure US12817645-D00000_ABST
Abstract
Description
INTRODUCTION
[0001] Aspects of the present disclosure relate to proactive user interface workflow automation, and more particularly to dynamic, reward-driven machine learning techniques for predicting actions in a computing application based on semantically-processed activity data.BACKGROUND
[0002] Organizations and end users frequently interact with modern software applications that feature sophisticated graphical interfaces organized into multiple modules, each addressing distinct functions and including different aspects of application logic. Often, users are required to navigate across complex sequences of screens and nested menus to complete routine workflows, resulting in repetitive clicks and frequent context switching that hinder efficiency and user satisfaction and involve extensive utilization of physical computing resources such as processing, memory, network, and display resources.
[0003] Some applications attempt to streamline these workflows through static macros or rule-based process automation. However, such solutions require minute configuration for each new task and demand extensive upkeep. As a result, these approaches prove brittle in the face of evolving interfaces, frequently breaking when minor user interface changes occur and consuming significant development and support resources. Moreover, existing techniques lack the capacity to effectively anticipate user intentions and proactively guide users through multi-step journeys.
[0004] Accordingly, there is a need in the art for improved techniques for dynamic user interface control and navigation in computing applications.BRIEF SUMMARY
[0005] According to an aspect of the present disclosure, a method for automating user-interface workflows using a predictive action machine learning model is provided. The method may include: obtaining application interaction data related to a computing application; generating a sequence of structured semantic action representations based on applying one or more transformations to the application interaction data; training the predictive action machine learning model based on the sequence of structured semantic action representations through a supervised learning process, wherein the predictive action machine learning model is used after the training to predict one or more next actions based on context data comprising one or more previous application interactions; displaying the predicted one or more actions via a user interface of the computing application; receiving an application interaction relating to the predicted one or more next actions via the user interface; and updating the predictive action machine learning model using reinforcement learning based on the application interaction and the predicted one or more actions.
[0006] According to other aspects, a non-transitory computer readable medium may store instructions that, when executed by one or more processors of a computing system, cause the computing system to perform one or more of the methods set forth above. According to other aspects, a system includes one or more processors and a memory storing instructions that, when executed by the one or more processors, cause the system to perform aspects of the method set forth above.
[0007] The following description and the related drawings set forth in detail certain illustrative features of one or more embodiments.BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The appended figures depict certain aspects of the one or more embodiments and are therefore not to be considered limiting of the scope of this disclosure.
[0009] FIG. 1 is a block diagram of a computing environment for automating user-interface workflows using a predictive action machine learning model, according to aspects of the present disclosure.
[0010] FIG. 2 is a block diagram of functionality relating to automating user-interface workflows using a predictive action machine learning model, according to aspects of the present disclosure.
[0011] FIG. 3 is a block diagram of reinforcement learning based functionality relating to automating user-interface workflows using a predictive action machine learning model, according to aspects of the present disclosure.
[0012] FIG. 4 illustrates an example user interface screen relating to automating user-interface workflows using a predictive action machine learning model, according to aspects of the present disclosure.
[0013] FIG. 5 illustrates a flowchart of operations related to automating user-interface workflows using a predictive action machine learning model, according to aspects of the present disclosure.
[0014] FIG. 6A and FIG. 6B illustrate block diagrams of two computing systems related to automating user-interface workflows using a predictive action machine learning model, according to aspects of the present disclosure.
[0015] To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the drawings. It is contemplated that elements and features of one embodiment may be beneficially incorporated in other embodiments without further recitation.DETAILED DESCRIPTION
[0016] The present disclosure relates to a method and system for automating user-interface workflows using a predictive action machine learning model. Techniques described herein provide a proactive user-interface workflow automation system that leverages a predictive action model to anticipate and streamline multi-step user tasks within complex graphical user interfaces (GUIs) of computing applications. This approach employs a domain-adapted machine learning model trained in a focused and semantically contextualized manner on extensive user interaction data.
[0017] The predictive action model may predict not just the next user action, but entire sequences of high-level semantic actions, which may be referred to as journeys. Action recommendations may be presented with a user interface, such as in the form of manipulable objects within an interactive workflow canvas, such that users can execute, reorder, or modify suggested workflows. Proactively generating and providing dynamic action recommendations within a user interface of a computing application as described herein significantly reduces cognitive load and manual effort when completing complex tasks, while substantially cutting down on the utilization of physical computing resources by efficiently guiding completion of tasks in an automated manner.
[0018] A key technical advancement accomplished by aspects of the present disclosure over prior techniques is the use of schema-constrained real-time decoding. For example, a finite state machine (FSM) derived from a formal action schema may enforce syntactic validity during prediction by the predictive action model. This ensures that all suggested actions are structurally valid and executable according to an up-to-date action schema, addressing the brittleness and error-proneness of prior macro and rule-based systems, which often fail when the user interface changes or when invalid sequences are generated.
[0019] According to certain aspects, techniques described herein may involve a closed-loop reinforcement learning mechanism that continuously refines the predictive action model based on user feedback (e.g., from a particular user and / or from a broad user base), allowing for adaptation at scale and ongoing improvement without custom rule updates. For example, rewards may be dynamically assigned based on user feedback in response to the recommended actions, such as accepting, editing, or dismissing recommended actions, with each type of interaction mapped to a specific scalar value that guides a reinforcement learning process. These rewards may be used to train (or fine tune) the predictive action model using reinforcement learning, improving the quality of future recommendations.
[0020] In contrast, prior art solutions are typically static, user-specific, and lack the ability to learn from a global user base, making them less adaptive and scalable. The combination of real-time, schema-validated, semantically-guided prediction and continuous learning results in a robust, low-latency, and highly adaptive workflow automation platform that fundamentally improves productivity, reliability, and computing resource efficiency in complex software environments.
[0021] For instance, prior macro based techniques typically involve recording and replaying fixed sequences of user actions, such as clicks and keystrokes, to automate repetitive tasks within a software application. These macros are static and lack semantic understanding, making them brittle such that any change in the user interface or workflow can cause the macro to fail. In contrast, aspects of the present disclosure utilize a predictive action model that understands and anticipates high-level user intentions, dynamically generating valid action sequences based on real-time context. This approach is adaptive, robust to user interface changes, and continuously improves through particular reinforcement learning techniques, representing a significant technical improvement over conventional macro-based automation.
[0022] Existing rule-based techniques such as robotic process automation (RPA) rely on custom crafted rules and scripts to automate user interactions within software applications. These systems are rigid, requiring extensive maintenance whenever the underlying user interface or business logic changes, and they lack the ability to generalize beyond predefined scenarios. The present disclosure offers a technical improvement by employing a predictive, machine learning driven approach that learns in a dynamic and intent-based manner from large-scale user interaction data. This enables the system to adapt to new workflows and user interface changes automatically, generate contextually appropriate action sequences, and continuously refine its predictions through user feedback, capabilities that prior rule-based systems cannot provide.Example Computing Components Related to Automating User Interface Workflows Using a Predictive Action Machine Learning Model
[0023] FIG. 1 illustrates a block diagram of a computing environment 100 related to automating user-interface workflows using a predictive action machine learning model. The computing environment 100 may include a server 110 and a client 120 connected via a network 150.
[0024] Server 110 may comprise one or more processors and a memory storing instructions. In some cases, server 110 may be an application server or other computing device that hosts a computing application accessed by one or more users, such as via user interface 122 on client 120.
[0025] The client 120 be a computing device by which a user interacts with a computing application, and may include a user interface 122 that enables such interaction. Activity data 124 may be sent from client 120 through the network 150 to the server 110, and the server may send one or more recommended actions 126 back through the network 150 to client 120.
[0026] For example, activity data 124 may include records of user interactions within a software application (e.g., performed via user interface 122), such as clickstream events, keystrokes, menu selections, screen transitions, input text, timestamps associated with each interaction, and / or the like. This data can also capture contextual information like the specific user interface elements interacted with, the sequence and timing of actions within a user session, user identifiers (anonymized or hashed), session identifiers, any parameters or values entered by the user (e.g., text input, selected options), and / or the like. Additionally, activity data 124 may encompass other metadata such as the application name, screen or module names, device type, user role or tier, and / or the like, providing a comprehensive view of user behavior and context for training and refining the predictive action model and / or for providing as context to the predictive action model at inference time.
[0027] In an example implementation, activity data 124 may be generated in the form of (or transformed into) an event schema that is structured using JavaScript Object Notation (JSON) or another format (e.g., another structured format such as extensible markup language or the like) to capture detailed information about each user interaction within a software application. Such a schema may be generated by client 120 or server 110. In one example, activity data 124 is provided to server 110 in the form of such a schema. The schema may be designed to record significant attributes of every event, enabling downstream processing and transformation into high-level semantic actions. The following is an example of a JSON structure (however, the JSON structure is included as an example, and other structures may be used):
[0028] {“event_id”: “uuid-v4”“user_id”: “hashed-user-identifier”, “session_id”: “uuid-v4-session”, “timestamp_ms”: 1717868400000, “event_type”: “CLICK”, / / or KEY_PRESS, SCROLL, etc. “target_element_id”: “btn-send-invoice”, “target_element_text”: “Send Invoice”, “text_value”: null, / / or “Monthly Retainer” for text inputs “client_context”: {“app_name”: “FinanceApp”, “screen_name”: “CreateInvoice” }}
[0029] In this example event schema, each event is uniquely identified by an “event_id” and associated with a specific user and session through “user_id” and “session_id.” The “timestamp_ms” field records the precise time of the event in milliseconds. The “event_type” specifies the nature of the interaction, such as a click, key press, or scroll. “target_element_id” and “target_element_text” identify the specific UI element involved in the event, while “text_value” captures any user text input associated with the event. The “client_context” object provides additional metadata, such as the application name, the current screen or module, one or more user attributes, and / or the like, offering valuable context for interpreting the event. This example structured schema enables efficient aggregation, transformation, and analysis of user activity data for training and inference in predictive workflow automation systems described herein.
[0030] Server 110 may generate recommended actions 126 through a process that involves the use of predictive action machine learning model 114 by action recommendation engine 112. Action recommendation engine 112 is configured to analyze user activity data and generate contextually relevant suggestions for subsequent actions within a software application. It leverages a predictive action machine learning model 114, which may be a domain-adapted, decoder-only transformer model, trained on large-scale sequences of historical user actions to predict the most probable next steps in a user's workflow. Training of predictive action machine learning model 114 is described in more detail below with respect to FIG. 2, and ongoing use of reinforcement learning to improve predictive action machine learning model 114 is described in more detail below with respect to FIG. 3. Training and / or reinforcement learning of predictive action machine learning model 114 may be based on activity data from one user and / or from a plurality of users, such as a broad user base of the computing application.
[0031] Action recommendation engine 112 (e.g., after training and / or reinforcement learning) receives as input the current sequence of interactions performed by the user, along with relevant contextual information in some aspects, and outputs one or more recommended actions (e.g., in a ranked list) or multi-step journeys.
[0032] To ensure the validity and safety of its recommendations, action recommendation engine 112 employs schema-constrained decoding, utilizing a finite state machine 116 derived from a formal action schema to filter out invalid or structurally incorrect suggestions in real time. Predictive action machine learning model 114 may utilize finite state machine 116 to ensure that all generated action recommendations are both contextually appropriate and structurally valid. For instance, the model's output may be constrained in real time by finite state machine 116.
[0033] Finite state machine 116 is constructed from a formal action schema that defines all permissible actions and their valid transitions within the application. During the recommendation process, as predictive action machine learning model 114 generates each action token, finite state machine 116 dynamically filters the set of possible next actions, masking out any options that would violate the schema or result in an incomplete or incorrect workflow. This integration guarantees that every recommended action sequence adheres to the application's rules and logic, providing a layer of symbolic validation on top of the model's neural predictions. By combining the predictive power of machine learning with the structural rigor of a finite state machine, the system delivers recommendations that are both intelligent and reliable, even as the underlying application evolves.
[0034] For example, finite state machine 116 may be compiled from a comprehensive JSON action schema. This finite state machine 116 encodes all permissible actions and their valid transitions, serving as a real-time constraint during both model training and inference. At each step of action sequence generation, the finite state machine 116 may provide a list of valid next tokens, which is used to create a logit mask. This logit mask may set the logits of invalid tokens to negative infinity, ensuring that predictive action machine learning model 114 only generates syntactically valid and executable actions. The finite state machine 116 compilation and logit masking process guarantee structural correctness and safety, even as the underlying application evolves.
[0035] Action recommendation engine 112 operates with low latency, enabling near-instantaneous feedback and seamless integration into the computing application. Additionally, action recommendation engine 112 incorporates a reward-driven feedback loop, continuously refining its predictive capabilities by learning from user responses (e.g., accepting, editing, or dismissing recommended actions) through reinforcement learning techniques. This allows action recommendation engine 112 to adapt to evolving user behaviors and application changes, providing robust, accurate, and user-centric workflow automation.
[0036] In some aspects, to achieve real-time responsiveness, the system incorporates advanced latency optimization techniques such as model quantization and operator fusion. Quantization reduces the precision of model weights of predictive action machine learning model 114 to 8-bit or even 4-bit integer (e.g., by mapping the original range of weight values to a smaller set of discrete levels, often through a process of scaling and rounding), significantly decreasing memory usage and computational requirements while maintaining predictive accuracy. By representing numerical values with fewer bits, quantization significantly decreases the model's memory footprint and computational requirements, enabling faster inference and reduced power consumption. This process allows the model to run efficiently on resource-constrained hardware, such as edge devices, while maintaining a high level of predictive accuracy. Operator fusion combines multiple neural network operations of predictive action machine learning model 114 into single, highly efficient computational kernels, further accelerating inference. By fusing these operations, the system reduces the overhead associated with executing each operation separately, resulting in fewer memory accesses and improved cache utilization. This leads to faster inference times and more efficient use of hardware resources, which is especially beneficial for real-time applications and deployment on devices with limited computational capacity.
[0037] These optimizations may enable the predictive model to deliver sub-10 millisecond response times, even on mid-tier hardware. Additionally, such optimizations may enable edge deployment, allowing predictive action machine learning model 114 to run directly on client devices such as desktop installations or mobile devices, thereby eliminating network latency and ensuring uninterrupted, instantaneous recommendations regardless of connectivity.
[0038] Recommended actions 126 may be generated by predictive action machine learning model 114 (e.g., subject to the constraints provided by finite state machine 116) and provided by action recommendation engine 112 to client 120. Recommended actions 126 may be one or more contextually generated suggestions representing the most probable or optimal next steps within a software application based on the user's current activity and / or historical behavior. These recommended actions may include single operations such as creating an invoice, adding a line item, or sending a payment, or multi-step workflows, referred to as “journeys,” that span across different modules or screens within the application. The recommendations may be validated in real time to ensure they are structurally correct and executable, providing a seamless and efficient user experience that reduces manual effort and streamlines complex workflows.
[0039] Each recommended action 126 may be derived from the output of the predictive action model, which analyzes the sequence of actions performed by the user (e.g., indicated in activity data 124) and leverages both learned behavioral patterns and application-specific constraints. Recommended actions 126 may be presented via user interface 122 via one or more user interface elements, in a ranked list, as an interactive workflow canvas, and / or in the form of automated application navigation to one or more pages and / or automated completion of one or more actions. In some aspects, the user is enabled by user interface 122 to accept, modify, reorder, and / or dismiss the recommended action(s).
[0040] Activity data 124 may also include such interactions with recommended actions 126 (e.g., accepting, modifying, reordering, and / or dismissing recommended action(s)), and such data may be used to further train or fine-tune predictive action machine learning model 114 in a reward-driven manner using reinforcement learning techniques. After such improvement, predictive action machine learning model 114 may be used to generate one or more subsequent recommended actions 126 with a higher level of accuracy and / or relevance.
[0041] The architecture may be designed to handle and learn from massive-scale, anonymized user interaction data, often comprising billions of clickstream and text events. This large-scale data ingestion allows predictive action machine learning model 114 to capture a wide variety of user behaviors and workflow patterns, resulting in a robust and generalizable predictive engine. To ensure efficient inference, the model may be distilled to a compact footprint, typically under 500 million parameters, such as using knowledge distillation and / or quantization techniques. This small model size may enable rapid inference and efficient deployment on a wide range of hardware, including edge devices, without sacrificing the ability to model complex user journeys.
[0042] In some aspects, the system may be architected to support journeys that span multiple integrated applications, enabling seamless automation across different software platforms. For example, a workflow might begin in one application (e.g., a customer management software application) and conclude in a different application (e.g., a financial management software application). This may be accomplished by extending the action schema to include actions from multiple applications and training the predictive model on cross-application action sequences. Such orchestration allows users to automate processes that would otherwise require manual coordination between disparate systems, further reducing cognitive load and increasing operational and computational efficiency.
[0043] In certain aspects, to enhance the relevance of recommendations, the system can incorporate user-level features such as user tier, job role, geographic region, or organizational affiliation into the predictive model's input context. By leveraging these attributes, the model can generate highly personalized action sequences that reflect the unique workflows and preferences of individual users or user segments. For example, an accountant and a business owner may receive different recommended journeys based on their typical usage patterns. Such a system may be designed to balance the benefits of personalization with considerations of model size and inference speed, allowing for scalable deployment across a diverse user base.
[0044] Safety and reliability are foundational principles of the system's design. The architecture ensures that the model's output is always structurally valid and never performs incorrect or destructive actions. This is achieved through the combination of finite state machine constrained decoding, rigorous schema validation, and comprehensive testing of edge cases. The system may be engineered to handle unexpected or ambiguous user inputs gracefully, defaulting to safe actions or requiring user confirmation when necessary.Example Functionality Relating to Automating User Interface Workflows Using a Predictive Action Machine Learning Model
[0045] FIG. 2 is a block diagram 200 of functionality relating to automating user-interface workflows using a predictive action machine learning model, according to aspects of the present disclosure. Block diagram 200 includes action recommendation engine 112 and predictive action machine learning model 114 of FIG. 1.
[0046] Block diagram 200 includes an example flow of data and processes involved in training predictive machine learning model 114 based on an activity data set 202, and then using the trained predictive machine learning model 114 to generate recommended action(s) 222 based on live activity data 202.
[0047] For example, the action recommendation engine 112 may receive user interaction data (e.g., from a plurality of users), process that data into meaningful semantic representations, train the predictive action machine learning model 114 using those representations, and then deploy the model to generate real-time recommendations. It is noted that training and inference need not be performed by the same component and / or device. In some aspects, functionality described with respect to action recommendation engine 112 may be performed via a plurality of components and / or devices, such as training (and, in some aspects, ongoing training in the form reinforcement learning) is performed on one device and / or component(s) while inference (e.g., using the trained model to generate live recommendations) is performed on a different device and / or component(s).
[0048] The process begins with an activity data set 202, which comprises historical user interaction data collected from a computing application. In one example, activity data set 202 may include clickstream events, keystrokes, menu selections, screen transitions, input text, and / or other user-interface interactions. Activity data set 202 may include data from one or more users and / or client devices. In some aspects, activity data set 202 includes data from a plurality of users and / or client devices (e.g., from a global user base of the software application). In some aspects, activity data set 202 is in the form of a schema (e.g., a JSON or other similar structured schema) as described above with respect to activity data 124 of FIG. 1.
[0049] The activity data set 202 serves as a primary input for training within the system. Accurate collection and curation of activity data set 202 for use in training may significantly influence the performance of the predictive action machine learning model 114. At transformation 204, action recommendation engine 112 processes activity data set 202 to generate structured semantic representations of user actions. Specifically, transformation 204 may involve techniques such as time-windowing, terminal event detection, and / or user interface context mapping in order to group low-level user interface events into high-level semantic actions. For example, multiple clicks and / or keystrokes within a short time frame and / or terminating with a particular “terminal event” (e.g., selecting a particular user interface element) may be consolidated into a single semantic action, such as “Create Invoice” or “Send Payment.”
[0050] Transformation 204 is essential for bridging the gap between low-level activity data and meaningful user intent, enabling the system to understand and anticipate complex user workflows. The process begins with the ingestion of raw activity data, which typically includes event types (e.g., CLICK, KEY_PRESS), timestamps, target element identifiers, screen or module names, session information, and / or the like. Transformation 204 may involve applying sessionization techniques to group events by user session, ensuring that sequences of actions are accurately attributed to individual user journeys. Next, time-windowing heuristics may be used to aggregate events occurring within a particular time frame, identifying clusters of related actions. Terminal event detection further refines these clusters by recognizing key events, such as clicking a “Save” or “Send” button, that signify the completion of a logical action. User interface context mapping may then be employed, where target element identifiers and contextual metadata are translated into canonical action identifiers (e.g., mapping “btn-send-invoice” to “SendInvoice”). Parameters associated with each action, such as entered text or selected options, may be extracted and attached to the corresponding semantic action.
[0051] The result of transformation 204 is a structured sequence of high-level actions (semantic action sequence 206), each annotated with relevant parameters and timestamps in some aspects, which is stored (e.g., in a data lake) for downstream processing. This transformation enables the predictive action model to operate on meaningful, context-rich data, facilitating accurate workflow prediction and automation.
[0052] In one example, semantic action sequence 206 is generated in the form of an action schema designed to represent a structured, high-level summary of user actions within a session, capturing significant steps a user takes in a way that is meaningful for predictive modeling and workflow automation. Such a schema may aggregate low-level events into semantic actions, each annotated with relevant parameters and timestamps. The following is an example JSON structure (however, the JSON structure is included as an example, and other structures may be used):
[0053] {“session_id”: “uuid-v4-session”, “user_id”: “hashed-user-identifier”, “action_sequence”: [{“action_id”: “CreateInvoice”, “timestamp_ms”: 1717868405000}, {“action_id”: “SelectCustomer”, “timestamp_ms”: 1717868410000, “params”: {“customer_name”: “Coastal Designs” }}, {“action_id”: “AddLineltem”, “timestamp_ms”: 1717868425000, “params”: {“item”: “Monthly Retainer”, “amount”: 3500}}]}
[0054] In this example action schema, “session_id” and “user_id” uniquely identify the user session. The “action_sequence” array contains an ordered list of semantic actions performed during the session. Each action is represented by an “action_id” that describes the high-level operation, a “timestamp_ms” indicating when the action occurred, and an optional “params” object that holds any additional parameters or values associated with the action (such as customer names or item details). This structured format enables efficient downstream processing, model training, and accurate prediction of future user workflows.
[0055] It is noted that transformation 204 or a similar process may also be performed at inference time in order to convert live activity data into a semantic action sequence (e.g., in the form of a schema) in a similar manner for processing by the model.
[0056] According to certain embodiments, semantic action sequence 206 is utilized in model training 210 to train the predictive action machine learning model 114. Model training 210 may employ supervised learning techniques, where the model is trained on extensive sequences of historical user actions to predict the most probable next steps in a user's workflow.
[0057] Model training 210 may begin with the collection of structured semantic action sequences (e.g., semantic action sequence 206), which are generated through transformation 204 from raw activity data. These sequences represent high-level user actions, each annotated with relevant parameters and contextual information in some aspects, and serve as the primary input for training.
[0058] During model training 210, the model (e.g., which may be a decoder-only transformer model, for example) is exposed to extensive sequences of historical user actions. For each training example, the model receives a sequence of prior actions and is tasked with predicting the next action in the sequence. The supervised learning objective (e.g., expressed in an objective function) is to minimize the difference between the model's predicted actions and the actual actions performed by users, and may be accomplished using a cross-entropy loss function. This approach enables the model to learn common patterns, dependencies, and workflows that occur within the application, building a robust understanding of user behavior.
[0059] The training process involves iteratively updating the model's parameters (e.g., using gradient-based optimization techniques, such as stochastic gradient descent or its variants) based on comparing the model's predicted actions to the ground-truth labels (e.g., a ground truth label may refer to the actual next action in the sequence that is being used as training data), such as based on evaluating a loss function. The model's vocabulary consists of all possible action identifiers (e.g., the model's outputs may be constrained to this vocabulary by finite state machine 116 of FIG. 1), and its input may be a sequence of these identifiers (e.g., encoded as integers). By processing large volumes of curated action sequences, the decoder-only transformer model develops the ability to generate contextually appropriate and accurate recommendations for subsequent actions, laying the foundation for real-time workflow automation and user assistance.
[0060] For example, during model training 210, the finite state machine may serve as a structural constraint to ensure that the supervised learning process produces syntactically valid and executable action sequences. As the decoder-only transformer model is trained to predict the next action in a sequence, the finite state machine, constructed from a formal action schema, defines all permissible actions and their valid transitions within the application. The finite state machine may be packaged with the model in the model artifact, and executed along with the model. Throughout training, the finite state machine may be used to mask out invalid action tokens at each prediction step, guiding the model to focus only on those actions that are allowed according to the schema. This means that, as the model generates candidate actions during training (as during live prediction), the finite state machine may dynamically filter the set of possible next actions, preventing the model from learning or reinforcing patterns that would result in incomplete, incorrect, or non-executable workflows. By integrating the finite state machine into the training loop, the model is consistently exposed to structurally valid action sequences, which improves its ability to generate reliable and contextually appropriate recommendations during inference. This approach ensures that the model's learned behavior aligns with the application's rules and logic, reducing the risk of producing brittle or error-prone automation.
[0061] In some cases, the ongoing training of predictive action machine learning model 114 may incorporate subsequent iterations of model training 210 (e.g., based on additional sequences of user actions from one or more users that become available over time for use as training data) and / or reinforcement learning, where user feedback, such as acceptance, modification, or dismissal of recommended actions 222, is used to refine the model's predictions over time (e.g., as described in more detail below with respect to FIG. 3). As a result, the predictive action machine learning model 114 adapts to evolving user behaviors and application changes.
[0062] Once trained, the predictive action machine learning model 114 is deployed to generate recommendations in real time. In some aspects, predictive action machine learning model 114 is provided with live activity data 220, which represents the current sequence of user interactions within the application (e.g., a series of interactions from a time window up to the time at which live activity data 220 was generated as a data set). In some aspects, live activity data 220 may begin from a particular event (e.g., the start of session, the initiation of a particular type of action), from a particular amount of time prior to the time at which live activity data 220 was generated as a data set, and / or the like. This live activity data 220 serves as the context for generating predictions, allowing the model to analyze the user's present state and infer the most relevant next actions. In some aspects, live activity data set 220 is in the form of a schema (e.g., a JSON or other similar structured schema) as described above with respect to activity data 124 of FIG. 1.
[0063] In some aspects, live activity data 220 is provided to predictive action machine learning model 114 in the form of a sematic action sequence generated as a result of performing transformation 204 (or a similar process) on raw live activity data (e.g., the raw live activity data may be in the form of an event schema, and the transformed data may be a semantic action sequence in the form of an action schema).
[0064] Based on live activity data 220 and the learned patterns from model training 210, the predictive action machine learning model 114 generates one or more recommended actions 222. These recommended actions 222 may include single operations or multi-step workflows, which may be referred to as journeys, that span across different modules or screens within the application. Moreover, the recommendations may be validated in real time to ensure they are structurally correct and executable, thereby providing a seamless and efficient user experience. Each of recommended actions 222 may be a high-level semantic action that is performable within the application. For instance, during the generation of recommended actions 222, the finite state machine 116 of FIG. 1 may used to constrain the predictive model's output in real time, ensuring that only structurally valid and executable actions are output. As the model generates each action token, the finite state machine may dynamically filter the set of possible next actions based on the current context and the formal action schema, masking out any options that would violate application rules or result in incomplete workflows. This guarantees that every recommended action sequence adheres to the application's logic, providing reliable and safe automation for the user.
[0065] In some aspects, predictive action machine learning model 114 may output a confidence score (e.g., a normalized value between 0 and 1 representing the model's confidence that its output is correct) for each recommended action 222, and recommended action(s) 222 may be ordered for presentation via a user interface based on such confidence scores. In another example, each recommended action 222 may include a sequence of actions that are ordered according to an expected sequence to be performed by the user. For example, one recommended action 222 may represent a journey that includes a sequence of actions in a particular order. Thus, action recommendations may be presented in a particular order via a user interface, such as according to confidence and / or a predicted order in which the actions are expected to be performed.
[0066] Accordingly, the action recommendation engine 112, as depicted in FIG. 2, demonstrates a robust and adaptive system for automating user workflows. By leveraging historical activity data 202, semantic transformation 204, machine learning, and real-time inference, the system significantly reduces manual effort, enhances productivity, increases resource efficiency, and improves the overall functionality of complex software environments.Example Reinforcement Learning
[0067] FIG. 3 is a block diagram 300 of reinforcement learning based functionality relating to automating user-interface workflows using a predictive action machine learning model, according to aspects of the present disclosure. Illustration 300 includes action recommendation engine 112 and predictive action machine learning model 114 of FIG. 1 and recommended action(s) 222 of FIG. 2.
[0068] Illustration 300 depicts a closed-loop feedback mechanism that continuously refines predictive action machine learning model 114 to improve the accuracy and relevance of recommended actions 322.
[0069] After recommended action(s) 222 (e.g., generated as described above with respect to FIG. 2) are presented to the user, such as via the user interface, the system captures user interactions with these one or more recommendations as action feedback 302. The user may accept, modify, or dismiss a recommended action 222, and this feedback plays a significant role in evaluating the effectiveness of the recommendations and serves as the basis for the reward-driven learning process.
[0070] Action feedback 302 is processed at reward generation 304 in order to generate a reward value 306 for each instance of feedback in action feedback 302 based on configured criteria. For example, accepting a recommended action 222 may result in a positive reward value 306 (e.g., selecting the top recommended action may result in a reward value of one), while dismissing a recommended action 222 may result in a negative reward value 306 (e.g., dismissing all of the recommended actions may result in a reward value of negative one). Modifications to a recommended action 222 may yield an intermediate reward value 306 (e.g., editing a recommended action to indicate an action that was not a recommended action may result in a reward value of 0.3 while selecting an alternative recommended action that was not the top recommended action may result in a reward value of 0.5). These reward values 306 quantify the quality of the recommendation(s) represented by recommended action(s) 222 and provide a mechanism for guiding the learning process.
[0071] For example, the system may employ a granular feedback and reward mapping mechanism to guide reinforcement learning. User interactions with recommended actions may be categorized into distinct feedback types, such as accepting the top suggestion, accepting a secondary suggestion, editing a suggestion, or dismissing a recommendation. Each feedback type may be mapped to a specific scalar reward value (e.g., +1.0 for accepting the top suggestion, +0.5 for accepting a secondary suggestion, +0.3 for editing, and −1.0 for dismissing). This nuanced reward structure may enable the model to learn from a wide range of user behaviors and preferences, optimizing its recommendations to maximize user satisfaction and workflow efficiency.
[0072] Reward value 306 may be utilized at reinforcement learning 310 to update predictive action machine learning model 114. Reinforcement learning 310 may involve techniques such as Proximal Policy Optimization to adjust model parameters of predictive action machine learning model 114 based on the reward signal(s) (e.g., weighing action feedback 302 with respect to recommended action(s) 222 according to the reward value 306). This reinforcement learning process, which may involve iterative updates to one or more parameters of predictive action machine learning model 114, facilitates the refinement of predictive action machine learning model 114, enabling the model to learn from user feedback and enhance its capability to generate subsequent recommended actions (e.g., recommended action(s) 322 based on live activity data 320) that are both accurate and contextually appropriate.
[0073] Reinforcement learning 310 is a closed-loop process by which predictive action machine learning model 114 is trained or fine-tuned by weighing the action feedback in relation to the recommended actions according to their associated rewards, allowing predictive action machine learning model 114 to learn which types of recommendations are most effective in real-world usage. This iterative process enables the model to adapt to evolving user behaviors and application changes, continually enhancing its ability to generate contextually appropriate and valuable recommendations. Proximal Policy Optimization (PPO), for example, is a reinforcement learning algorithm designed to efficiently and reliably update the parameters of a policy model (e.g., predictive action machine learning model 114) based on feedback from its actions. PPO works by optimizing a surrogate objective function while encouraging the new policy to stay close to the previous policy (e.g., via one or more terms in the objective function), thereby preventing large, destabilizing updates that could degrade performance. These objective may be achieved by clipping the probability ratio between the new and old policies within a specified range, ensuring that each update step is “proximal” to the current policy. In the context of workflow automation, PPO may be used to adjust the predictive action model's parameters based on reward signals derived from user feedback. By applying PPO, the system can incrementally improve its recommendations while maintaining stability and preventing overfitting to recent feedback, resulting in a more robust and adaptive model.
[0074] Reinforcement learning 310 may be performed periodically, such as at regular intervals or when a sufficient amount of new user feedback has been collected. By leveraging this reward-driven learning mechanism, the system achieves a high level of adaptability and scalability, ensuring that recommendations remain robust, accurate, and user-centric as the software environment and user base evolve.
[0075] After reinforcement learning 310, action recommendation engine 112 may receive subsequent live activity data 320, which may represent the current sequence of user interactions within the application (e.g., a series of interactions from a time window up to the time at which live activity data 320 was generated as a data set). In some aspects, live activity data 320 may begin from a particular event (e.g., the start of session, the initiation of a particular type of action), from a particular amount of time prior to the time at which live activity data 320 was generated as a data set, and / or the like. This live activity data 320 serves as the context for generating predictions, allowing the model to analyze the user's present state and infer the most relevant next actions. In some aspects, live activity data 320 is provided to predictive action machine learning model 114 in the form of a sematic action sequence generated as a result of performing transformation 204 of FIG. 2 (or a similar process) on raw live activity data (e.g., the raw live activity data may be in the form of an event schema, and the transformed data may be a semantic action sequence in the form of an action schema).
[0076] Based on live activity data 320 and the learned patterns from model training 210 of FIG. 2 and / or reinforcement learning 310, the predictive action machine learning model 114 generates one or more recommended actions 322. These recommended action(s) 322 may include single operations or multi-step workflows, which may be referred to as journeys, that span across different modules or screens within the application. Moreover, the recommendations may be validated in real time to ensure they are structurally correct and executable, thereby providing a seamless and efficient user experience. Each of recommended actions 322 may be a high-level semantic action that is performable within the application. For instance, during the generation of recommended actions 322, the finite state machine 116 of FIG. 1 may used to constrain the predictive model's output in real time, ensuring that only structurally valid and executable actions are output. As the model generates each action token, the finite state machine may dynamically filter the set of possible next actions based on the current context and the formal action schema, masking out any options that would violate application rules or result in incomplete workflows. This guarantees that every recommended action sequence adheres to the application's logic, providing reliable and safe automation for the user.
[0077] In some aspects, predictive action machine learning model 114 may output a confidence score (e.g., a normalized value between 0 and 1 representing the model's confidence that its output is correct) for each recommended action 322, and recommended action(s) 322 may be ordered for presentation via a user interface based on such confidence scores. In another example, each recommended action 322 may include a sequence of actions that are ordered according to an expected sequence to be performed by the user. For example, one recommended action 322 may represent a journey that includes a sequence of actions in a particular order. Thus, action recommendations may be presented in a particular order via a user interface, such as according to confidence and / or a predicted order in which the actions are expected to be performed.
[0078] In some aspects, reinforcement learning 310 may be performed periodically, such as at regular intervals and / or upon the occurrence of a particular condition (e.g., availability of a particular amount of new action feedback that has not yet been used in reinforcement learning).
[0079] The system may be designed for continuous improvement through regular model updates. Reinforcement learning and / or model fine-tuning may, for example, be performed on a nightly or periodic basis, using aggregated feedback collected from the entire user base. This operational cadence ensures that the predictive model remains up-to-date with evolving user behaviors, application changes, and new workflow patterns. By automating the retraining and deployment process, the system can rapidly adapt to changes in the software environment and maintain high-quality recommendations without manual intervention.
[0080] The closed-loop reinforcement learning mechanism depicted in FIG. 3 enables action recommendation engine 112 to adapt to evolving user behaviors and application changes. By leveraging reward-driven learning, the system achieves a high level of adaptability and scalability, making the approach suitable for complex software environments with diverse user bases.Example User Interface Screen
[0081] FIG. 4 illustrates an example device 400 displaying a user interface screen relating to automating user-interface workflows using a predictive action machine learning model, according to aspects of the present disclosure. For example, the user interface screen displayed on device 400 may represent an example screen of user interface 122 of FIG. 1.
[0082] Device 400 may represent a computing device that is used to interact with a computing application. For example, device 400 may correspond to client 120 of FIG. 1, and may be a mobile device (e.g., smartphone), personal computer (e.g., desktop or laptop computer), tablet, and / or the like.
[0083] Device 400 displays a user interface screen 410 that implements a workflow recommendation system for streamlining multi-step tasks. The workflow recommendation system may present dynamically generated action recommendations based on the user's current context and / or historical interaction patterns. In one example, the predictive action machine-learning model 114 of FIGS. 1-3 analyzes prior user interactions and / or other context information such as timing data to determine the next most-likely actions. For instance, one or more recommended actions may be generated as described above with respect to recommended action(s) 222 of FIG. 2 and / or recommended action(s) 322 of FIG. 3.
[0084] Screen 410 includes a recommended workflow section 420, which provides a sequence of suggested actions that the user is likely to perform next (e.g., the sequence of actions in recommended workflow section 420 may represent a predicted journey for the user, and the action may displayed in an order in which they are predicted to be performed as part of the journey). These actions are presented as discrete, selectable options, each corresponding to a high-level semantic operation within the application. For example, recommended actions include “Create Invoice”422, “Add Line Items”424, “Apply Discount”426, “Send Invoice”428, “Record Payment”430, and “Generate Report”432. Each action is represented as an interactive user interface element, allowing the user to select and execute the desired action directly. The “Create Invoice” action 422 is accompanied by a visual status indicator 423 that indicates that the action has been completed. For example, the user may have selected the “Create Invoice” action 422 and performed the invoice creation step, and then may have selected the “Add Line Items” action 424 (e.g., by selecting one or more user interface elements) in order to cause add line items section 450 to be displayed within user interface screen 410.
[0085] Thus, adjacent to the recommended workflow section 420, an add line items section 450 is displayed, and provides a detailed interface for completing the “Add Line Items” action 424. In this section, a line items input area 452 enables the user to input specific details such as item descriptions, quantities, and prices. Once the user has completed the input, they can proceed to the next recommended action by selecting the “Continue to Apply Discount” button 454 or by selecting the “Apply Discount” action 426 in the recommended workflow panel 420. The “Continue to Apply Discount” button 454 facilitates seamless navigation to the subsequent step in the workflow, as suggested by the predictive action machine-learning model 114, and minimizes manual navigation between application modules.
[0086] In some aspects, the user may provide feedback in the form of choosing one of the recommended actions, choosing an alternative action than the recommended actions in recommended workflow panel 420 (e.g., via one or more other user interface elements, not shown), skipping one or more recommended actions (e.g., by skipping over the “Apply Discount” action 426 and selecting the “Send Invoice” action 428 instead), dismissing one or more recommended actions (e.g., by selecting one or more user interface elements, not shown, for dismissing or rejecting one or more of the recommended actions in recommended workflow panel 420), editing one or more recommended actions (e.g., providing input that replaces one or more of the recommended actions in recommended workflow panel 420 with one or more different actions), and / or the like.
[0087] The recommended workflow panel 420 may, for example, function as an editable canvas within the user interface, presenting a sequence of suggested actions (e.g., referred to as a predicted journey) that the user is likely to perform next. Each action in the panel may be displayed as an interactive, manipulable element, such as a draggable card or button, allowing users to directly engage with the workflow. Users can accept, reorder, or modify the suggested actions by dragging and dropping them within the panel, or by selecting and editing individual steps. While not shown, the canvas may include a section with user interface elements (e.g., draggable cards or buttons) representing other actions (e.g., other than the recommended actions) that the user can add to the workflow.
[0088] This editable canvas design enables users to tailor the recommended workflow to their specific needs, providing flexibility to adjust the sequence or content of actions before execution. The panel may also visually indicate the status of each action, such as completed, in progress, or pending, and can facilitate seamless navigation between steps. By allowing users to interactively customize and execute multi-step workflows, the recommended workflow panel 420 enhances usability, reduces manual navigation, and streamlines the completion of complex tasks within the application. It is noted that such an editable canvas is optional, and recommended actions may be displayed and / or automatically initiated within the user interface in other ways.
[0089] The interactive workflow canvas may be a dynamic user interface component that presents recommended workflows as first-class, manipulable objects. Each recommended action may be displayed as a draggable card, allowing users to reorder steps with simple gestures. The canvas may support click-to-edit dialogs for modifying action parameters and may also include conversational editing, enabling users to adjust workflows using natural language commands (e.g., natural language input in the form of text or audio may be processed using natural language processing techniques and / or one or more language processing machine learning models in order to extract commands, which may then be executed). Visual status indicators, such as completed, in progress, or pending, provide real-time feedback on the state of each action. This rich interactivity empowers users to customize, execute, and monitor complex workflows efficiently, enhancing both usability and control.
[0090] For instance, the system may be configured to generate workflows based on natural language input from users. Users can describe their goals or desired outcomes in plain language (e.g., “Get ready for my tax audit”), and the system may translate these instructions into a multi-step journey using the predictive model (e.g., such instructions may be provided as inputs to the predictive action machine learning model, such as along with activity data and / or other context) and action schema. This conversational interface may lower the barrier to automation, enabling users who may not be familiar with the application's structure to quickly initiate complex workflows. The system may leverage natural language understanding techniques to map user intent to actionable steps, further enhancing usability and accessibility.
[0091] In certain embodiments, the predictive action machine-learning model 114 underlying the user interface leverages historical user interaction data to generate contextually relevant action sequences. Recommendations may be validated in real time using schema-constrained decoding, ensuring that all suggested actions are structurally valid and executable. This approach enhances the reliability and usability of the system, providing a robust solution for automating user-interface workflows in complex software environments. The system reduces cognitive load on the user and accelerates the completion of complex workflows.Example Operations Related to Automating User Interface Workflows Using a Predictive Action Machine Learning Model
[0092] FIG. 5 illustrates a flowchart of operations 500 related to automating user-interface workflows using a predictive action machine learning model, according to aspects of the present disclosure. For example, operations 500 may be performed by one or more components described herein, such as action recommendation engine 112 of FIG. 1 and / or one or more components of FIG. 6A or 6B described below.
[0093] Operations 500 may begin at a step 502, with obtaining application interaction data related to a computing application.
[0094] In some aspects, the application interaction data comprises one or more of: clickstream data; keystroke data; or user interface event data.
[0095] Operations 500 may continue at a step 504, with generating a sequence of structured semantic action representations based on applying one or more transformations to the application interaction data.
[0096] In certain aspects, the generating of the sequence of structured semantic action representations comprises grouping low-level application interaction events into high-level semantic actions based on time-windowing or user interface context.
[0097] Operations 500 may continue at a step 506, with training a predictive action machine learning model based on the sequence of structured semantic action representations through a supervised learning process, wherein the predictive action machine learning model is used after the training to predict one or more next actions based on context data comprising one or more previous application interactions.
[0098] In certain aspects, the predictive action machine learning model comprises a transformer-based neural network with one or more decoder layers.
[0099] Some aspects further comprise constraining, by the predictive action machine learning model, the predicted one or more next actions using a finite state machine derived from an action schema to ensure syntactic validity.
[0100] In certain aspects, the context data further comprises one or more user-specific attributes or application state information.
[0101] Operations 500 may continue at a step 508, with displaying the predicted one or more actions via a user interface of the computing application.
[0102] In some aspects, the displaying of the predicted one or more actions via the user interface comprises one or more of: rendering the predicted one or more actions as a visual workflow or journey through the computing application; displaying user interface controls that, when selected, cause the predicted one or more actions to be initiated within the computing application; or automatically navigating to one or more application screens within the user interface based on the predicted one or more actions.
[0103] Operations 500 may continue at a step 510, with receiving an application interaction relating to the predicted one or more next actions via the user interface.
[0104] In certain aspects, the receiving of the application interaction relating to the predicted one or more next actions comprises detecting acceptance, modification, or dismissal of the predicted actions.
[0105] Operations 500 may continue at a step 512, with updating the predictive action machine learning model using reinforcement learning based on the application interaction and the predicted one or more actions.
[0106] In some aspects, the updating of the predictive action machine learning model using the reinforcement learning comprises: assigning a numerical reward value to the application interaction based on whether the application interaction is the acceptance, the modification, or the dismissal; and adjusting one or more parameters of the predictive action machine learning model based on the numerical reward value.
[0107] In some aspects, the predictive action machine learning model is periodically retrained using aggregated application interactions from a plurality of users of the computing application.Example Processing Systems
[0108] FIG. 6A illustrates an example system 600A with which embodiments of the present disclosure may be implemented. For example, system 600A may be configured to perform aspects of operations 500 of FIG. 5. In one example system 600A corresponds to client 120 of FIG. 1.
[0109] System 600A includes a central processing unit (CPU) 602, one or more I / O device interfaces 604 that may allow for the connection of various I / O devices (e.g., keyboards, displays, mouse devices, pen input, etc.) to the system 600A, network interface 606, a memory 608, and an interconnect 612. It is contemplated that one or more components of system 600A may be located remotely and accessed via a network 610. It is further contemplated that one or more components of system 600A may comprise physical components or virtualized components.
[0110] CPU 602 may retrieve and execute programming instructions stored in the memory 608. Similarly, the CPU 602 may retrieve and store application data residing in the memory 608. The interconnect 612 transmits programming instructions and application data, among the CPU 602, I / O device interface 604, network interface 606, and memory 608. CPU 602 is included to be representative of a single CPU, multiple CPUs, a single CPU having multiple processing cores, and other arrangements.
[0111] Additionally, the memory 608 is included to be representative of a random access memory or the like. In some embodiments, memory 608 may comprise a disk drive, solid state drive, or a collection of storage devices distributed across multiple storage systems. Although shown as a single unit, the memory 608 may be a combination of fixed and / or removable storage devices, such as fixed disc drives, removable memory cards or optical storage, network attached storage (NAS), or a storage area-network (SAN).
[0112] As shown, memory 608 includes a user interface 614, which may be representative of user interface 122 of FIG. 1. For example, a user may interact with user interface 614 to perform application interactions, receive action recommendations, accept, dismiss, and / or modify action recommendations, and / or the like.
[0113] FIG. 6B illustrates another example system 600B with which embodiments of the present disclosure may be implemented. For example, system 600B may correspond to server 110 of FIG. 1, and may be configured to perform aspects of operations 500 of FIG. 5.
[0114] System 600B includes a CPU 632, one or more I / O device interfaces 634 that may allow for the connection of various I / O devices (e.g., keyboards, displays, mouse devices, pen input, etc.) to the system 600B, network interface 636, a memory 638, and an interconnect 642. It is contemplated that one or more components of system 600B may be located remotely and accessed via a network 610. It is further contemplated that one or more components of system 600B may comprise physical components or virtualized components.
[0115] CPU 632 may retrieve and execute programming instructions stored in the memory 638. Similarly, the CPU 632 may retrieve and store application data residing in the memory 638. The interconnect 642 transmits programming instructions and application data, among the CPU 632, I / O device interface 634, network interface 636, and memory 638. CPU 632 is included to be representative of a single CPU, multiple CPUs, a single CPU having multiple processing cores, and other arrangements.
[0116] Additionally, the memory 638 is included to be representative of a random access memory or the like. In some embodiments, memory 638 may comprise a disk drive, solid state drive, or a collection of storage devices distributed across multiple storage systems. Although shown as a single unit, the memory 638 may be a combination of fixed and / or removable storage devices, such as fixed disc drives, removable memory cards or optical storage, network attached storage (NAS), or a storage area-network (SAN).
[0117] As shown, memory 638 includes an application 652, which generally represents a computing application with which a user interacts via a user interface (e.g., user interface 614 of FIG. 6A) and in which particular actions can be recommended and performed according to aspects of the present disclosure.
[0118] Memory 638 includes action recommendation engine 654, which includes predictive action machine learning model 656 and finite state machine 658, which may be representative of action recommendation engine 112, predictive action machine learning model 114, and finite state machine 116 of FIG. 1.
[0119] Memory 638 further includes a model trainer 660, which may perform aspects of functionality related to training and / or updating of predictive action machine learning model 656 as described herein. For instance, model trainer 660 may perform supervised learning and / or reinforcement learning techniques described herein (e.g., above with respect to FIGS. 2 and 3). In other aspects, such training may be performed on one or more separate devices from system 600B and / or using one or more separate components.
[0120] Memory 638 further includes activity data 662, which may be representative of activity data 124 of FIG. 1, activity data set 202 and / or live activity data 220 of FIG. 2, and / or live activity data 320 of FIG. 3. Memory 638 further includes recommended actions 664, which may include recommended actions 126 of FIG. 1, recommended action(s) 222 of FIG. 2, and / or recommended action(s) 322 of FIG. 3.
[0121] It is noted that systems 600A and 600B are included as examples, and certain functionality described with respect to systems 600A and / or 600B and / or otherwise described herein may be implemented via more or fewer devices and / or components.Additional Considerations
[0122] The preceding description provides examples, and is not limiting of the scope, applicability, or embodiments set forth in the claims. Changes may be made in the function and arrangement of elements discussed without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For instance, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Also, features described with respect to some examples may be combined in some other examples. For example, an apparatus may be implemented or a method may be practiced using any number of the aspects set forth herein. In addition, the scope of the disclosure is intended to cover such an apparatus or method that is practiced using other structure, functionality, or structure and functionality in addition to, or other than, the various aspects of the disclosure set forth herein. It should be understood that any aspect of the disclosure disclosed herein may be embodied by one or more elements of a claim.
[0123] The preceding description is provided to enable any person skilled in the art to practice the various embodiments described herein. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments. For example, changes may be made in the function and arrangement of elements discussed without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. Also, features described with respect to some examples may be combined in some other examples. For example, an apparatus may be implemented or a method may be practiced using any number of the aspects set forth herein. In addition, the scope of the disclosure is intended to cover such an apparatus or method that is practiced using other structure, functionality, or structure and functionality in addition to, or other than, the various aspects of the disclosure set forth herein. It should be understood that any aspect of the disclosure disclosed herein may be embodied by one or more elements of a claim.
[0124] As used herein, a phrase referring to “at least one of” a list of items refers to any combination of those items, including single members. As an example, “at least one of: a, b, or c” is intended to cover a, b, c, a-b, a-c, b-c, and a-b-c, as well as any combination with multiples of the same element (e.g., a-a, a-a-a, a-a-b, a-a-c, a-b-b, a-c-c, b-b, b-b-b, b-b-c, c-c, and c-c-c or any other ordering of a, b, and c).
[0125] As used herein, the term “determining” encompasses a wide variety of actions. For example, “determining” may include calculating, computing, processing, deriving, investigating, looking up (e.g., looking up in a table, a database or another data structure), ascertaining and other operations. Also, “determining” may include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory) and other operations. Also, “determining” may include resolving, selecting, choosing, establishing and other operations.
[0126] The methods disclosed herein comprise one or more steps or actions for achieving the methods. The method steps and / or actions may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of steps or actions is specified, the order and / or use of specific steps and / or actions may be modified without departing from the scope of the claims. Further, the various operations of methods described above may be performed by any suitable means capable of performing the corresponding functions. The means may include various hardware and / or software component(s) and / or module(s), including, but not limited to a circuit, an application specific integrated circuit (ASIC), or processor. Generally, where there are operations illustrated in figures, those operations may have corresponding counterpart means-plus-function components with similar numbering.
[0127] The various illustrative logical blocks, modules and circuits described in connection with the present disclosure may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any commercially available processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
[0128] A processing system may be implemented with a bus architecture. The bus may include any number of interconnecting buses and bridges depending on the specific application of the processing system and the overall design constraints. The bus may link together various circuits including a processor, machine-readable media, and input / output devices, among others. A user interface (e.g., keypad, display, mouse, joystick, etc.) may also be connected to the bus. The bus may also link various other circuits such as timing sources, peripherals, voltage regulators, power management circuits, and other types of circuits, which are well known in the art, and therefore, will not be described any further. The processor may be implemented with one or more general-purpose and / or special-purpose processors. Examples include microprocessors, microcontrollers, DSP processors, and other circuitry that can execute software. Those skilled in the art will recognize how best to implement the described functionality for the processing system depending on the particular application and the overall design constraints imposed on the overall system.
[0129] If implemented in software, the functions may be stored or transmitted over as one or more instructions or code on a computer-readable medium. Software shall be construed broadly to mean instructions, data, or any combination thereof, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise. Computer-readable media include both computer storage media and communication media, such as any medium that facilitates transfer of a computer program from one place to another. The processor may be responsible for managing the bus and general processing, including the execution of software modules stored on the computer-readable storage media. A computer-readable storage medium may be coupled to a processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. By way of example, the computer-readable media may include a transmission line, a carrier wave modulated by data, and / or a computer readable storage medium with instructions stored thereon separate from the wireless node, all of which may be accessed by the processor through the bus interface. Alternatively, or in addition, the computer-readable media, or any portion thereof, may be integrated into the processor, such as the case may be with cache and / or general register files. Examples of machine-readable storage media may include, by way of example, RAM (Random Access Memory), flash memory, ROM (Read Only Memory), PROM (Programmable Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), registers, magnetic disks, optical disks, hard drives, or any other suitable storage medium, or any combination thereof. The machine-readable media may be embodied in a computer-program product.
[0130] A software module may comprise a single instruction, or many instructions, and may be distributed over several different code segments, among different programs, and across multiple storage media. The computer-readable media may comprise a number of software modules. The software modules include instructions that, when executed by an apparatus such as a processor, cause the processing system to perform various functions. The software modules may include a transmission module and a receiving module. Each software module may reside in a single storage device or be distributed across multiple storage devices. By way of example, a software module may be loaded into RAM from a hard drive when a triggering event occurs. During execution of the software module, the processor may load some of the instructions into cache to increase access speed. One or more cache lines may then be loaded into a general register file for execution by the processor. When referring to the functionality of a software module, it will be understood that such functionality is implemented by the processor when executing instructions from that software module.
[0131] The following claims are not intended to be limited to the embodiments shown herein, but are to be accorded the full scope consistent with the language of the claims. Within a claim, reference to an element in the singular is not intended to mean “one and only one” unless specifically so stated, but rather “one or more.” Unless specifically stated otherwise, the term “some” refers to one or more. No claim element is to be construed under the provisions of 35 U.S.C. § 112(f) unless the element is expressly recited using the phrase “means for” or, in the case of a method claim, the element is recited using the phrase “step for.” All structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later come to be known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. Moreover, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims.
Claims
1. A system for automating user-interface workflows using a predictive action machine learning model, comprising:one or more processors; anda non-transitory computer readable medium storing instructions that, when executed by the one or more processors, cause the system to:obtain application interaction data related to a computing application;generate a sequence of structured semantic action representations based on applying one or more transformations to the application interaction data, wherein the applying of the one or more transformations comprises applying sessionization techniques to group events in the application interaction data by user session, and grouping, based on the applying of the sessionization techniques, low-level user interface events into high-level semantic actions to generate an ordered list of semantic actions performed during a user session;train the predictive action machine learning model based on the sequence of structured semantic action representations through a supervised learning process, wherein the predictive action machine learning model is used after the training to predict one or more next actions based on context data comprising one or more previous application interactions, wherein the predictive action machine learning model constrains the predicted one or more next actions using a finite state machine, compiled from a structured action schema, that ensures syntactic validity through logit masking;display the predicted one or more actions via a user interface of the computing application;receive an application interaction relating to the predicted one or more next actions via the user interface; andupdate the predictive action machine learning model using reinforcement learning based on the application interaction and the predicted one or more actions.
2. The system of claim 1, wherein the application interaction data comprises one or more of:clickstream data;keystroke data; oruser interface event data.
3. The system of claim 1, wherein the predictive action machine learning model comprises a transformer-based neural network with one or more decoder layers.
4. The system of claim 1, wherein the displaying of the predicted one or more actions via the user interface comprises one or more of:rendering the predicted one or more actions as a visual workflow or journey through the computing application;displaying user interface controls that, when selected, cause the predicted one or more actions to be initiated within the computing application; orautomatically navigating to one or more application screens within the user interface based on the predicted one or more actions.
5. The system of claim 1, wherein the receiving of the application interaction relating to the predicted one or more next actions comprises detecting acceptance, modification, or dismissal of the predicted actions.
6. The system of claim 5, wherein the updating of the predictive action machine learning model using the reinforcement learning comprises:assigning a numerical reward value to the application interaction based on whether the application interaction is the acceptance, the modification, or the dismissal; andadjusting one or more parameters of the predictive action machine learning model based on the numerical reward value.
7. The system of claim 1, wherein the context data further comprises one or more user-specific attributes or application state information.
8. The system of claim 1, wherein the predictive action machine learning model is periodically retrained using aggregated application interactions from a plurality of users of the computing application.
9. A method for automating user-interface workflows using a predictive action machine learning model, comprising:obtaining application interaction data related to a computing application;generating a sequence of structured semantic action representations based on applying one or more transformations to the application interaction data, wherein the applying of the one or more transformations comprises applying sessionization techniques to group events in the application interaction data by user session, and grouping, based on the applying of the sessionization techniques, low-level user interface events into high-level semantic actions to generate an ordered list of semantic actions performed during a user session;training the predictive action machine learning model based on the sequence of structured semantic action representations through a supervised learning process, wherein the predictive action machine learning model is used after the training to predict one or more next actions based on context data comprising one or more previous application interactions, wherein the predictive action machine learning model constrains the predicted one or more next actions using a finite state machine, compiled from a structured action schema, that ensures syntactic validity through logit masking;displaying the predicted one or more actions via a user interface of the computing application;receiving an application interaction relating to the predicted one or more next actions via the user interface; andupdating the predictive action machine learning model using reinforcement learning based on the application interaction and the predicted one or more actions.
10. The method of claim 9, wherein the application interaction data comprises one or more of:clickstream data;keystroke data; oruser interface event data.
11. The method of claim 9, wherein the predictive action machine learning model comprises a transformer-based neural network with one or more decoder layers.
12. The method of claim 9, wherein the displaying of the predicted one or more actions via the user interface comprises one or more of:rendering the predicted one or more actions as a visual workflow or journey through the computing application;displaying user interface controls that, when selected, cause the predicted one or more actions to be initiated within the computing application; orautomatically navigating to one or more application screens within the user interface based on the predicted one or more actions.
13. The method of claim 9, wherein the receiving of the application interaction relating to the predicted one or more next actions comprises detecting acceptance, modification, or dismissal of the predicted actions.
14. The method of claim 13, wherein the updating of the predictive action machine learning model using the reinforcement learning comprises:assigning a numerical reward value to the application interaction based on whether the application interaction is the acceptance, the modification, or the dismissal; andadjusting one or more parameters of the predictive action machine learning model based on the numerical reward value.
15. The method of claim 9 wherein the context data further comprises one or more user-specific attributes or application state information.
16. A non-transitory computer readable medium comprising instructions that, when executed by one or more processors of a computing system, cause the computing system to:obtain application interaction data related to a computing application;generate a sequence of structured semantic action representations based on applying one or more transformations to the application interaction data, wherein the applying of the one or more transformations comprises applying sessionization techniques to group events in the application interaction data by user session, and grouping, based on the applying of the sessionization techniques, low-level user interface events into high-level semantic actions to generate an ordered list of semantic actions performed during a user session;train a predictive action machine learning model based on the sequence of structured semantic action representations through a supervised learning process, wherein the predictive action machine learning model is used after the training to predict one or more next actions based on context data comprising one or more previous application interactions, wherein the predictive action machine learning model constrains the predicted one or more next actions using a finite state machine, compiled from a structured action schema, that ensures syntactic validity through logit masking;display the predicted one or more actions via a user interface of the computing application;receive an application interaction relating to the predicted one or more next actions via the user interface; andupdate the predictive action machine learning model using reinforcement learning based on the application interaction and the predicted one or more actions.
Citation Information
Patent Citations
Predictive action modeling to streamline user interface
US10599449B1
Training and / or utilizing an interaction prediction model to determine when to interact, and / or prompt for interaction, with an application on the basis of an electronic communication
US20190138904A1
Generating a next best action recommendation using a machine learning process
US20210081227A1
Machine learning assisted automation of workflows based on observation of user interaction with operating system platform features
US20220405658A1
Predicting a meaningful event based on user interaction data for a webpage
US20240176840A1
