Learning computer control using pointing device and keyboard action
Patent Information
- Application Number
- CN202380019005.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-01-28
- Filing Date
- 2023-01-30
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-01-30
AI Technical Summary
It is difficult for existing systems to effectively control computers to perform complex tasks, especially tasks that require pointing devices and keyboard operations, and training data sets need to contain privileged information, which limits the collection and use of data sets.
Adopt a neural network system to generate control output through visual input and language input. Use the visual processing sub-network, language processing sub-network, multi-modal converter sub-network and output sub-network to combine imitation learning and reinforcement learning to train the neural network to imitate Human operation,generates actions used to control the computer.
It realizes the automated control of computers performing complex tasks, simplifies the collection of training data sets, can generate human-intuitive output actions, improves the performance and flexibility of the system, and can perform tasks that cannot be achieved by actions based on DOM elements.
Smart Images

Figure CN118633070A
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a non-provisional application of and claims priority to U.S. Provisional Patent Application No. 63 / 304,549, filed on January 28, 2022, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This specification relates to a system for controlling a specific computer to perform tasks using a neural network. Background Art
[0003] A neural network is a machine learning model that uses one or more layers of nonlinear units to predict outputs from received inputs. Some neural networks include one or more hidden layers in addition to the output layer. The output of each hidden layer is used as the input to the next layer in the network (i.e., the next hidden layer or output layer). Each layer of the network generates an output from the received input based on the current values of the corresponding set of parameters. Summary of the invention
[0004] This specification describes a neural network system that is implemented as a computer program on one or more computers in one or more locations that controls specific computers to perform tasks.
[0005] According to a first aspect, a method for controlling a specific computer to perform a task is provided. The method includes: receiving a control input including a visual input, the visual input including one or more screen frames of a computer display representing at least a current state of the specific computer; processing the control input using a neural network to generate one or more control outputs for controlling the specific computer to perform a task, wherein the one or more control outputs include an action type output specifying at least one of a pointing device action or a keyboard action to be performed to control the specific computer; determining one or more actions from the one or more control outputs; and performing the one or more actions to control the specific computer.
[0006] In some embodiments, the pointing device action is one of multiple actions of a pointing device associated with a particular computer, the multiple actions including one or more of: input submitted using a computer mouse, input submitted through a touch screen device, or input submitted through a touch pad device.
[0007] In some implementations, the keyboard action is one of a key press or a text utterance.
[0008] In some implementations, the screen frames in the visual input are images that represent steps in a process of performing a task on a particular computer.
[0009] In some implementations, the control input also includes one or more language inputs, one or more previous controls, or both.
[0010] In some implementations, the one or more language inputs include at least one of: i) a task instruction input or ii) a task field input including one or more task fields.
[0011] In some implementations, the one or more language inputs include a Document Object Model (DOM) element input that includes one or more DOM elements.
[0012] In one embodiment, the task instruction input includes text instruction input or voice instruction input.
[0013] In some embodiments, the one or more control outputs further include at least one of: i) cursor coordinate output, ii) keyboard key index output, or iii) task field index output.
[0014] In some implementations, the cursor coordinate output includes x- and y-coordinates representing a desired cursor position on a display of a particular computer.
[0015] In some implementations, the task is one of a plurality of tasks performed on a particular computer, the plurality of tasks including clicking on a canvas, dragging items on a screen, filling out a form, editing text, highlighting text, forwarding an email, making an appointment, and booking a ticket.
[0016] In some embodiments, the neural network includes a visual processing subnetwork, one or more language processing subnetworks, a previous control processing subnetwork, a multimodal transformer subnetwork, and an output subnetwork, and wherein processing a control input using the neural network to generate one or more control outputs includes: processing the visual input using the visual processing subnetwork to generate one or more visual embeddings; processing each of the one or more language inputs using the language processing subnetwork to generate a corresponding language embedding; processing one or more previous controls using the previous control processing subnetwork to generate previous control embeddings; combining the one or more visual embeddings and the one or more language embeddings using the multimodal transformer subnetwork to generate a transformed embedding; and processing the transformed embedding and the previous control embedding using the output subnetwork to generate one or more control outputs.
[0017] In some embodiments, the visual processing subnetwork includes an image encoder subnetwork and a flattening subnetwork, and processing the visual input using the visual processing subnetwork to generate one or more visual embeddings includes: processing the visual input using the image encoder subnetwork to generate one or more encoded visual feature vectors, and flattening the one or more encoded visual feature vectors by using the flattening subnetwork to generate one or more visual embeddings.
[0018] In some embodiments, the image encoder subnetwork is a ResNet with four ResNet blocks.
[0019] In some embodiments, each language processing subnetwork includes a lemma layer and a language encoder subnetwork, and processing a language input in one or more language inputs using the language processing subnetwork to generate a corresponding language embedding includes: splitting the corresponding language input into lemmas using the lemma layer, and generating a corresponding lemma embedding for each of the lemmas, and focusing on the lemma embeddings using the language encoder subnetwork to generate a corresponding language embedding.
[0020] In some implementations, the language encoder subnetwork is a 1-layer Transformer with 4 heads.
[0021] In some embodiments, focusing on word embeddings to generate corresponding language embeddings includes: processing word embeddings to generate a key vector and a value vector, processing additional embeddings to generate a query vector, and processing the key vector, the value vector, and the query vector using a cross-attention mechanism to generate the corresponding language embedding.
[0022] In some embodiments, generating a transformed embedding using a multimodal transformer subnetwork includes: processing one or more visual embeddings to generate a visual query vector, a visual key vector, and a visual value vector, processing one or more language embeddings to generate a language query vector, a language key vector, and a language value vector, processing one or more additional embeddings to generate an additional query vector, an additional key vector, and an additional value vector, and using a self-attention mechanism to process the visual query vector, the visual key vector, the visual value vector, the language query vector, the language key vector, the language value vector, the additional query vector, the additional key vector, and the additional value vector to generate the transformed embedding.
[0023] In some implementations, the output subnetwork includes one or more long short-term memory (LSTM) layers.
[0024] In some embodiments, the output subnetwork also includes an attention strategy subnetwork, which is configured to process the output of one or more LSTM layers to generate a task field index output.
[0025] In some embodiments, the attention strategy subnetwork is configured to use the corresponding outputs of the two LSTM layers as a query vector, process the corresponding task field embeddings generated by the task field language processing subnetwork to generate a key vector and a value vector, and use a cross attention mechanism to process the query vector, key vector, and value vector to generate a task field index output.
[0026] In some embodiments, the method further comprises: jointly training a neural network to imitate one or more behaviors demonstrated by a human using i) imitation learning, and ii) reinforcement learning.
[0027] In some embodiments, the method further comprises training the neural network using imitation learning to imitate the behavior of the human demonstration as shown in the visual input, and training the neural network using reinforcement learning.
[0028] In some embodiments, during training of a neural network, visual input demonstrates how a human would perform a task on a particular computer.
[0029] In some implementations, processing the transformed embedding and the previous control embedding using the output subnetwork to generate one or more control outputs includes: processing a concatenation of the transformed embedding and the previous control embedding using the output subnetwork to generate the one or more control outputs.
[0030] In some embodiments, the neural network has been trained using imitation learning and, optionally, reinforcement learning.
[0031] In some implementations, the action type output specifies an action to take control of a particular computer from another operator as part of a process of performing a task.
[0032] In some embodiments, the particular computer receives one or more inputs from a human user to control the particular computer to perform a first portion of a task, and upon receiving a command from the user, the neural network controls the particular computer, whereby the neural network generates one or more actions to control the particular computer to perform a second portion of the task subsequent to the first portion.
[0033] According to a second aspect, there is provided a system comprising one or more computers and one or more storage devices storing instructions, the instructions being operable when executed by the one or more computers to cause the one or more computers to perform the operations according to the method of the first aspect.
[0034] According to a third aspect, there is provided one or more computer storage media encoded with instructions which, when executed by one or more computers, cause the one or more computers to perform the operations of the method according to the first aspect.
[0035] According to a third aspect, a system is provided, the system comprising one or more computers and one or more storage devices storing instructions, the instructions, when executed by the one or more computers, causing the one or more computers to implement a neural network, the neural network being configured to process control inputs to generate one or more control outputs for controlling a specific computer to perform a task, the control inputs comprising (i) visual inputs, which include one or more screen frames of a computer display representing at least a current state of the specific computer, (ii) one or more language inputs, and (iii) one or more previous controls, the neural network comprising: a visual processing subnetwork configured to process the visual inputs to generate one or more visual embeddings; one or more language processing subnetworks, each language processing subnetwork configured to process language inputs in the one or more language inputs to generate corresponding language embeddings; a previous control processing subnetwork for processing one or more previous controls to generate previous control embeddings; a multimodal transformer subnetwork configured to combine the one or more visual embeddings and the one or more language embeddings to generate a transformed embedding; and an output subnetwork configured to process the transformed embeddings and the previous control embeddings to generate one or more control outputs.
[0036] It should be understood that the various aspects can be implemented in any convenient form. For example, the various aspects and embodiments can be implemented by a suitable computer program, which can be carried on a suitable carrier medium, which can be a tangible carrier medium (e.g., a disk) or an intangible carrier medium (e.g., a communication signal). The various aspects can also be implemented using a suitable device that can take the form of a programmable computer running a computer program.
[0037] Specific embodiments of the subject matter described in this specification can be implemented to achieve one or more of the following advantages. Unlike existing systems that require access to document object model (DOM) elements and output actions based on DOM elements, the described neural network system typically receives input available to human users and generates output that is intuitive to humans (e.g., output that specifies mouse / touch screen and keyboard-based actions). The actions output by the described neural network system can be directly observed from the log of human interaction with the computer because they are keyboard and pointing device actions, thus allowing large amounts of data to be easily collected. In addition, since privileged information does not need to be included in the training data, it is greatly simplified to collect large training data sets with inputs and outputs in the same space as the training data processed and generated by the described neural network system. Therefore, the described system can be effectively trained by imitation learning (and optionally, reinforcement learning) using large amounts of data to achieve state-of-the-art performance. In addition, the described system can be used to perform tasks that require pointing device / keyboard actions (e.g., click or drag actions) that cannot be achieved using DOM element-based actions.
[0038] The details of one or more embodiments of the subject matter of this specification are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A neural network system configured to control a particular computer to perform a task is illustrated.
[0040] Figure 2 Shown in Figure 1 Example architecture of a neural network system described in the associated description.
[0041] Figure 3 Examples of tasks that require different forms of interaction with a particular computer are shown.
[0042] Figure 4 is a flowchart of an example process for controlling a particular computer to perform a task.
[0043] Figure 5 is a flow chart of an example process for processing a control input using a neural network to generate one or more control outputs.
[0044] Like figure words and words in the various drawings represent like elements. DETAILED DESCRIPTION
[0045] This specification describes a neural network system that is implemented as a computer program on one or more computers in one or more locations that controls specific computers to perform tasks.
[0046] The particular computer can be, for example, a desktop computer, a laptop computer, a remote computer residing at a cloud computing system, a mobile device (eg, a mobile phone, a tablet computer, etc.), or any type of computing system.
[0047] The task is a task that requires a set of computer interactions (i.e., interactions between a particular computer and an operator, which can be a human operator or the present neural network system). For example, Figure 3As illustrated, the task can be clicking on a canvas (302). In this task, a computer under the control of an operator is required to create a line that divides an angle evenly into two, and then press a submit button. As another example, the task can be dragging an item on the screen (304). As yet another example, the task can be a multi-step task (306), such as using a text box to enter a term and pressing "Search", then finding and clicking on a fifth search result. Other examples of tasks include, but are not limited to, filling out a form, editing text, highlighting text, forwarding an email, making an appointment by navigating the Internet using a web browser or other application, and booking a ticket by navigating the Internet.
[0048] Figure 1 A neural network system 100 is illustrated that is configured to control a particular computer 102 to perform tasks. Neural network system 100 is an example of a system implemented as a computer program on one or more computers in one or more locations in which the systems, components, and techniques described below can be implemented.
[0049] In some implementations, neural network system 100 is implemented as one or more computer programs on a specific computer 102. In some other implementations, neural network system 100 is implemented as one or more computer programs on a cloud computing system or a collection of one or more other computers remote from specific computer 102.
[0050] The neural network system 100 receives a task instruction that specifies a task to be performed. The system 100 then controls a specific computer 102 to perform the task by performing the following operations at each time step in a series of time steps during the performance of the task. First, the neural network system 100 is configured to receive a control input 106 including a visual input. The visual input includes one or more screen frames of a computer display that represent at least the current state of the specific computer 102. The screen frames in the visual input are images that represent steps in the process of performing the task on the specific computer. For example, the screen frames can be images that the display device of the specific computer 102 would display to a human operator interacting with the specific computer to perform the task at this stage of performing the task.
[0051] The control input 106 may also include one or more language inputs, one or more previous controls, or both. A previous control is a control output generated by the neural network system 100 at a previous time step.
[0052] The one or more language inputs include at least one of: i) a task instruction input or ii) a task field input including one or more task fields. The task instruction input includes a text instruction input (e.g., text entered by a user using a keyboard) or a voice instruction input (e.g., sound data captured from a human user's voice using a microphone; optionally, the captured sound data can be processed by a natural language processing system to generate a voice instruction input). Optionally, the one or more language inputs may include a document object model (DOM) element input, which includes one or more DOM elements. For example, the DOM element input may be a document according to the DOM4 standard or WHATWG (Web Hypertext Application Technology Working Group).
[0053] The neural network system 100 is configured to process the control input 106 using a neural network to generate one or more control outputs 110 for controlling a particular computer 102 to perform a task (e.g., the task 104 of booking a flight). The one or more control outputs 110 are based on actions of a pointing device or keyboard (i.e., pointing device / keyboard based actions), rather than actions based on DOM elements.
[0054] The terms "keyboard" and "pointing device" refer to any type of keyboard and pointing device that can be used to operate a computing device. Examples of keyboards include, but are not limited to, laptop keyboards, desktop keyboards, specialized keyboards that might be used in point-of-sale devices, such as in restaurants or stores; keys / buttons on a remote control; keys / buttons on a mobile phone; and / or keys / buttons on a game controller. Examples of pointing devices include, but are not limited to, a mouse, an analog stick, a properly calibrated accelerometer, an infrared pointer, or an eye-tracking device.
[0055] The one or more control outputs 110 include at least one of an action type output, a cursor coordinate output, a keyboard key index output, or a task field index output.
[0056] The action type output specifies at least one of a pointing device action for a pointing device or a keyboard action to be performed to control a particular computer. For example, when the pointing device is a mouse, the pointing device action can include moving a cursor and clicking various buttons on the mouse. As another example, when the pointing device has a touch screen display, the pointing device action can include any kind of touch input on the display, such as submitted by a user's finger or a stylus.
[0057] The action type may be selected based on the action type output from a set of possible actions including no operation (indicating no action), mouse or touch screen action, and keyboard action. Mouse or touch screen actions may include: move, click, double click, press, release, scroll up, and scroll down.
[0058] A keyboard action can be, for example, a key press or a text emit. A keyboard action that is a key press is used to emit one of a set of keyboard keys or macros (such as CTRL+C) (i.e., generate and output data for a specified keyboard key or one of a set of macros). A keyboard action that is a text emit is used to emit a string given by the task field index output.
[0059] The task field index output allows the neural network system 110 to select a task field string to emit. The cursor coordinate output includes an x-coordinate and a y-coordinate representing a desired cursor position on a display of a particular computer.
[0060] Reference below Figure 5 Processing control inputs to generate one or more control outputs is described in greater detail.
[0061] After generating the one or more control outputs, the neural network system 100 determines one or more actions 112 from the one or more control outputs 110. Each of the one or more control outputs 110 can be modeled by a probability distribution (e.g., a single discrete probability distribution, except for the cursor coordinates which are modeled by two discrete distributions (for the height and width coordinates)). As discussed above, the one or more control outputs 110 include at least one of an action type output, a cursor coordinate output, a keyboard key index output, or a task field index output. To determine the one or more actions 112, the system 100 first selects an action type from a set of possible actions including no operation (indicating no action), a mouse or touch screen action, and a keyboard action based on the action type output (which is a probability distribution). The one or more actions of the selected action type will be performed as specified in the rest of the one or more control outputs 110. For example, if the mouse action "move mouse" is selected, the cursor coordinate output included in the one or more control outputs 110 specifies the location to which the cursor should be moved. If the keyboard action "send text" is selected, the task field index output included in the one or more control inputs specifies which task field string to emit. If the keyboard action "key press" is selected, the keyboard key index output included in the control input specifies which key is to be issued. If the control output 110 does not include one of the cursor coordinate output, the task field index output, or the keyboard key index output, the action type output should specify a zero probability for the corresponding action type.
[0062] The system 100 performs one or more actions 112 to control a particular computer 102. In particular, the system 100 automatically issues commands using a computer control application programming interface (API) or another interface available to the system 100 to instruct the particular computer 102 to perform one or more actions 112.
[0063] The neural network system 100 can have any suitable architecture that allows a neural network to map a control input 106 to one or more control outputs 110 to control a particular computer 102 to perform a task. Figure 2 An example of the architecture of the neural network system 100 is illustrated in FIG.
[0064] Figure 2 The above reference Figure 1 An example of the architecture of the neural network system 100 is described. Figure 2 The neural network system 200 shown is an example of a system implemented as a computer program on one or more computers in one or more locations in which the systems, components, and techniques described below can be implemented.
[0065] The neural network system 200 includes a neural network 201 having a plurality of subnetworks: a visual processing subnetwork (204), a language processing subnetwork (212), a prior control processing subnetwork (232), a multimodal transformer subnetwork (230), and an output subnetwork (238).
[0066] To control a particular computer to perform a task, at each time step in a series of time steps during the performance of the task, the system 200 receives a control input comprising a visual input 202. The visual input 202 comprises one or more screen frames of a computer display that represent at least the current state of the particular computer. For example, a screen frame in the visual input is an image (e.g., a screen shot of a computer display) representing a step in the process of performing a task on the particular computer.
[0067] In some implementations, the computer display is a display of a specific computer, and the system 200 performs one or more actions on the specific computer to control the specific computer.
[0068] In some embodiments, when the specific computer is a remote computer, the system 100 can receive control inputs from a local computer (e.g., a thin client) and process the control inputs to generate one or more control outputs to control the remote computer. In these embodiments, the computer display is the display of the local computer, and the actions are performed on the local computer. These actions can cause the local computer to interact with the specific computer (e.g., through a communication network) to control the specific computer.
[0069] Neural network system 200 processes control inputs using neural network 201 to generate one or more control outputs 250 for controlling a particular computer-implemented task.
[0070] The visual processing subnetwork 204 includes an image encoder subnetwork 206 and a flattening subnetwork 208. The image encoder neural network can be a convolutional neural network, such as a ResNet. For example, the image encoder neural network can be a ResNet with one or more ResNet blocks (e.g., four, five, or seven ResNet blocks). The image encoder neural network 206 is configured to process the visual input 202 to generate one or more encoded visual feature vectors. The flattening subnetwork 208 is configured to flatten the one or more encoded visual feature vectors to generate one or more visual embeddings 210.
[0071] In some embodiments, the control input also includes one or more language inputs (e.g., language input 214), one or more previous controls, or both. A previous control is an action that was previously performed, i.e., an action sampled from a probability distribution defined by a previous control output generated by the neural network system 200 at a previous time step. The one or more language inputs include a task instruction input. Alternatively or additionally, the one or more language inputs may include a task field input that includes one or more task fields. The one or more task fields include information organized into different categories that describe the task to be solved. Below is an example of a task instruction input and a task field. Task command input “Book the shortest one-way flight from: HVR to: Fayetteville, AR on 12 / 27 / 2016.” Task Fields Criteria: 'shortest' Date: '12 / 27 / 2016' From: 'HVR' To: 'Fayetteville, AR'
[0072] In some implementations, the one or more language inputs may optionally include a Document Object Model (DOM) element input including one or more DOM elements.
[0073] The task instruction input is an input from a user of the system specifying what the task is. The task instruction input may include a text instruction input or a voice instruction input. For example, the task instruction input can be a text instructing the system to organize items by, for example, dragging items. For example, the text may indicate "Sort the following numbers in ascending order: 13, -39, 9, 43." As another example, the task instruction input includes a transcription of a verbal instruction instructing the system to book a ticket. For example, the verbal instruction says "Book the shortest one-way flight from: Santa Rosa, CA to: SAT on 1 / 31 / 2022."
[0074] The language processing subnetwork 212 includes a lemma layer 216 and a language encoder subnetwork 220. In some embodiments, the language encoder subnetwork 220 is a 1-layer transformer with 4 heads. The lemma layer 216 is configured to split the language input 214 into lemmas and generate a corresponding lemma embedding 218 for each lemma in the lemma. The language encoder subnetwork 220 is configured to focus on the lemma embedding 218 to generate a corresponding language embedding 222 for the language input 214. Specifically, the language encoder subnetwork 220 processes the lemma embedding 218 to generate a key vector K and a value vector V, processes an additional embedding to generate a query vector Q, and processes the key vector K, the value vector V, and the query vector Q using the cross attention mechanism 126 to generate a corresponding language embedding 229 for the language input 214. The additional embedding can be constant, for example, independent of the control input. It can be learned as part of the training of the neural network system 200, or pre-set (e.g., randomly) before training.
[0075] The previous control processing subnetwork 232 is configured to process one or more previous controls to generate a previous control embedding 234. The previous control is a control output generated by the neural network system 200 at a previous time step.
[0076] The multimodal transformer sub-network 230 is configured to combine the one or more visual embeddings 210 generated by the visual processing sub-network 204 and the one or more language embeddings 222 generated by the language encoder sub-network 220 to generate a transformed embedding 236 .
[0077] Specifically, the multimodal transformer subnetwork 230 is configured to process one or more visual embeddings 210 to generate a visual query vector Q1, a visual key vector K1, and a visual value vector V1. The multimodal transformer subnetwork 230 is configured to process one or more language embeddings 222 to generate a language query vector Q 2 , language key vector K 2and the language value vector V 2 The multimodal transformer subnetwork 230 is configured to process one or more additional embeddings 240 to generate additional query vectors Q 3 , additional key vector K 3 and the additional value vector V 3 The one or more additional embeddings may be constant, e.g., independent of the control input. They may be learned as part of the training of the neural network system 200, or pre-set prior to training (e.g., randomly). The multimodal transformer subnetwork 230 processes the visual query vector Q using the self-attention mechanism 242 1 , visual key vector K 1 , visual value vector V 1 、Language query vector Q 2 , language key vector K 2 、Language value vector V 2 , additional query vector Q 3 , additional key vector K 3 , additional value vector V 3 To generate a transformed embedding 236.
[0078] The output subnetwork 238 processes the transformed embedding 236 and the previous control embedding 234 to generate one or more control outputs 250 for controlling a specific computer-executed task. The one or more control outputs 250 include at least one of an action type output, a cursor coordinate output, a keyboard key index output, or a task field index output. The action type output, the cursor coordinate output, and the keyboard key index output can be generated via a linear transformation, while the task field index output can be generated via an attention-based strategy.
[0079] Specifically, to generate the task field index output, the output subnetwork 238 includes one or more long short-term memory (LSTM) layers. The output subnetwork 238 also includes an attention strategy subnetwork (not shown) configured to process the output of one or more LSTM layers to generate the task field index output. In particular, the attention strategy subnetwork is configured to use the corresponding outputs of the two LSTM layers as query vectors, process the corresponding task field embeddings generated by the task field language processing subnetwork to generate a key vector and a value vector, and use a cross-attention mechanism to process the query vector, the key vector, and the value vector to generate the task field index output.
[0080] The system 200 determines one or more actions from one or more control outputs 250. Each of the one or more control outputs 250 can be modeled by a probability distribution (e.g., a single discrete probability distribution, except for the cursor coordinates which are modeled by two discrete distributions (for height and width coordinates)). As discussed above, the one or more control outputs 250 include at least one of an action type output, a cursor coordinate output, a keyboard key index output, or a task field index output. In order to determine one or more actions, the system 200 first selects an action type from a set of possible actions including no operation (indicating no action), a mouse or touch screen action, and a keyboard action based on the action type output (which is a probability distribution). One or more actions of the selected action type will be executed as specified in the rest of the one or more control outputs 250. For example, if moving the mouse is selected, the cursor coordinate output specifies the position to which the cursor should be moved. If sending text is selected, the task field index output specifies which task field string is to be sent. If key pressing is selected, the keyboard key index output specifies which key is to be sent.
[0081] The system 200 then performs one or more actions to control the specific computer. In particular, the system automatically issues commands using a computer control application programming interface (API) to instruct the specific computer to perform one or more actions.
[0082] Neural network 201, or any neural network that generates control outputs from control inputs, can be trained by system 200 or another training system on a training data set. Learning can be based at least in part on a training data set of human demonstrations, i.e., real-world observations of actions of human users as registered by data input devices operated by the users (e.g., keyboards, pointer devices, and / or touch screens). The control inputs for corresponding time steps of these demonstrations can include images displayed to the human user on a display device of a particular computer while the demonstrations were being performed, i.e., a display based on which the human user took action. Many techniques are known for training neural networks to mimic human demonstrations ("imitation learning").
[0083] For example, the neural network 201 can be trained using imitation learning and optionally reinforcement learning. In some embodiments, the system 200 co-trains the neural network 101 using both i) imitation learning to imitate one or more behaviors of human demonstrations and ii) reinforcement learning. "Co-training" refers to a known semi-supervised learning technique that trains two classifiers based on two different types of data (e.g., human demonstrations and "auto-trajectories" (sequences) of actions automatically selected (i.e., without human involvement) by the semi-trained neural network system 200). The classifier (e.g., the classifier for the human demonstrations) can be used to generate labels for the auto-trajectories to generate rewards for automatically selected actions to permit reinforcement learning based on the auto-trajectories.
[0084] The neural network 201 can be trained using a training data set, where the two types of data are mixed and used interchangeably. Human demonstrations are input-output sequences generated as a result of a human interacting with a particular computer (or another equivalent computer). The fact that the inputs and outputs of the neural network are in the same space that can be observed from human interactions allows the system to train the neural network on large data sets through imitation learning.
[0085] In some other embodiments, system 200 first uses imitation learning to train neural network 201 to imitate human-demonstrated behavior, and then uses reinforcement learning to train neural network 201. In particular, system 200 can receive rewards after each action performed by neural network 201 and / or after a specific computer controlled by neural network 201 completes a task. System 200 can use the received rewards to train neural network 201 using reinforcement learning.
[0086] In some embodiments, system 200 can jointly train neural network 201 on multiple tasks. This is for two reasons. First, there is a significant transfer effect where per-frame training of each task is more efficient for joint training. Second, the ultimate goal is a generally useful computer / agent, so it is desirable to have a computer / agent with as many capabilities as possible.
[0087] Specifically, in order to jointly train the neural network 201 on multiple tasks, the system 200 trains the neural network 201 to solve multiple tasks simultaneously by randomly sampling tasks to solve and training the task mixture. This is in contrast to training separate neural networks to solve each task individually.
[0088] Figure 4 4 is a flow chart of an example process 400 for controlling a particular computer to perform a task. A task is one of a plurality of daily tasks performed on a particular computer (i.e., a task that statistically represents the type of tasks that most users occasionally perform using the computer). The plurality of tasks may include, but are not limited to, clicking on a canvas, dragging items on a screen, filling out a form, converting text, forwarding an email, making an appointment, and booking a ticket.
[0089] For convenience, process 400 will be described as being performed by a system of one or more computers located in one or more locations. For example, a neural network system appropriately programmed according to the present specification—e.g., Figure 1 A neural network system 100—capable of performing process 400.
[0090] Process 400 is performed at each time step in a series of time steps during the execution of a task, ie, after the system receives a task instruction specifying the task until the task is completed.
[0091] The system receives control input including visual input (step 402). The visual input includes one or more screen frames of a computer display representing at least the current state of a particular computer. The screen frames in the visual input are images representing steps in a process of performing a task on a particular computer.
[0092] In some embodiments, the control input further comprises one or more language inputs, one or more previous controls, or both. In some embodiments, the one or more language inputs comprise at least one of i) a task instruction input or ii) a task field input comprising one or more task fields. The task instruction input may comprise a text instruction input or a voice instruction input. In some embodiments, the one or more language inputs comprise a document object model (DOM) element input comprising one or more DOM elements.
[0093] The system processes the control input using a neural network to generate one or more control outputs for controlling a particular computer to perform a task (step 404). The one or more control outputs include an action type output that specifies at least one of a pointing device action or a keyboard action to be performed to control the particular computer. In some embodiments, the action type output specifies an action to take control of the particular computer from another operator for a portion of a process of performing a task. This facilitates situations where a trained neural network system can collaborate with a human user to control a particular computer, where the trained neural network takes control of the particular computer from the human user in certain circumstances (e.g., to perform operations that are cumbersome for a human user to control the particular computer). The voice command input can specify that the neural network system is to take control of the particular computer for a portion of a process of performing a task.
[0094] A pointing device action is one of a plurality of actions of a pointing device associated with a particular computer. The plurality of actions may include one or more of: input submitted using a computer mouse, input submitted through a touch screen device, or input submitted through a touch pad device. A keyboard action may be one of a key press or a text emission.
[0095] In some embodiments, the one or more control outputs include at least one of i) a cursor coordinate output, ii) a keyboard key index output, or iii) a task field index output. The cursor coordinate output includes an x-coordinate and a y-coordinate representing a desired cursor position on a display of a particular computer.
[0096] In some embodiments, the neural network includes a visual processing subnetwork, one or more language processing subnetworks, a prior control processing subnetwork, a multimodal transformer subnetwork, and an output subnetwork. Figure 5The use of a neural network to process control inputs to generate one or more control outputs in these embodiments is described in more detail.
[0097] The system determines one or more actions from one or more control outputs (step 406). Each of the one or more control outputs can be modeled by a probability distribution (e.g., a single discrete probability distribution, except for the cursor coordinates which are modeled by two discrete distributions (for height and width coordinates)). As discussed above, the one or more control outputs include at least one of an action type output, a cursor coordinate output, a keyboard key index output, or a task field index output. In order to determine the one or more actions, the system first selects an action type from a set of possible actions including no operation (indicating no action), a mouse or touch screen action, and a keyboard action based on the action type output (which is a probability distribution). The one or more actions of the selected action type will be executed as specified in the remainder of the one or more control outputs. For example, if moving the mouse is selected, the cursor coordinate output specifies the position to which the cursor should be moved. If sending text is selected, the task field index output specifies which task field string is to be sent. If key press is selected, the keyboard key index output specifies which key is to be sent.
[0098] The system performs one or more actions to control the particular computer (step 408). In particular, the system automatically issues commands using a computer control application programming interface (API) to instruct the particular computer to perform the one or more actions. For example, if the one or more actions are mouse actions, such as moving a cursor to an object on a display, clicking and holding the left button of a mouse, and dragging the object to another location, the system automatically issues commands using the computer control API to instruct the particular computer to perform mouse actions to drag the object to a desired location. The possible actions may not include any actions that a human user would not be able to perform using a mouse, a touch screen, or a keyboard.
[0099] As described above, method 400 may include taking over control of a particular computer from a user. Thus, method 400 provides a user interface that permits, for example, automatic execution of a portion of a task in accordance with a user command. In other words, the particular computer may receive one or more inputs from a human user to control the particular computer to perform a first portion of a task. Subsequently, the user may issue an instruction to the neural network system (e.g., in the form of a task instruction, such as by speaking a command recorded by a microphone) that specifies that the neural network will perform a second portion of the task following the first portion of the task. That is, the neural network system will control the particular computer. At this stage, Figure 4The method 400 may be performed at each of one or more consecutive time steps, whereby one or more actions performed by a particular computer (when step 408 is performed at each time step) controls the computer to perform the second portion of the task. In the first few executions of method 400, the previous controls used in method 400 may be based on actions specified by a user when performing the first portion of the task.
[0100] Figure 5 is a flow chart of an example process 500 for processing a control input using a neural network to generate one or more control outputs. For convenience, process 500 will be described as being performed by a system of one or more computers located in one or more locations. For example, a neural network system appropriately programmed according to the present specification, e.g., Figure 1 The neural network system 100 is capable of executing the process 500.
[0101] Process 500 is performed at each time step in a series of time steps during the execution of a task, ie, after the system receives a task instruction specifying the task until the task is completed.
[0102] The system processes the visual input using a visual processing subnetwork to generate one or more visual embeddings (step 502). In some embodiments, the visual processing subnetwork includes an image encoder subnetwork and a flattening subnetwork. The image encoder subnetwork can be a ResNet. The ResNet can have four ResNet blocks.
[0103] The system processes the visual input using the visual processing subnetwork to generate one or more visual embeddings by processing the visual input using the image encoder subnetwork to generate one or more encoded visual feature vectors, and flattens the one or more encoded visual feature vectors using the flattening subnetwork to generate one or more visual embeddings. For each of the one or more language processing subnetworks, the system processes the language input in the one or more language inputs using the language processing subnetwork to generate a corresponding language embedding (step 504).
[0104] In some embodiments, each language processing subnetwork includes a lemma layer and a language encoder subnetwork. The language encoder subnetwork can be a language transformer. The language transformer can have a 1-layer transformer with 4 heads.
[0105] In these embodiments, the system processes a language input in one or more language inputs using a language processing subnetwork to generate a corresponding language embedding by: (i) splitting the corresponding language input into tokens using a tokenization layer and generating a corresponding token embedding for each of the tokens, and (ii) focusing on the token embeddings using a language encoder subnetwork to generate the corresponding language embedding. To focus on the token embeddings to generate the corresponding language embedding, the system processes the token embeddings to generate a key vector and a value vector, processes the additional embeddings to generate a query vector, and processes the key vector, the value vector, and the query vector using a cross-attention mechanism to generate the corresponding language embedding.
[0106] The system processes one or more previous controls using the previous control processing subnetwork to generate a previous control embedding (step 506 ).
[0107] The system combines one or more visual embeddings and one or more language embeddings using a multimodal transformer subnetwork to generate a transformed embedding (step 508). Specifically, in some embodiments, the system processes one or more visual embeddings to generate a visual query vector, a visual key vector, and a visual value vector. The system processes one or more language embeddings to generate a language query vector, a language key vector, and a language value vector. The system processes one or more additional embeddings to generate an additional query vector, an additional key vector, and an additional value vector. Then, the system uses a self-attention mechanism to process the visual query vector, the visual key vector, the visual value vector, the language query vector, the language key vector, the language value vector, the additional query vector, the additional key vector, and the additional value vector to generate a transformed embedding.
[0108] The system processes the transformed embedding and the previous control embedding using an output subnetwork to generate one or more control outputs (step 510). The output subnetwork can include one or more long short-term memory (LSTM) layers. The system can process the concatenation of the transformed embedding and the previous control embedding using the output subnetwork to generate one or more control outputs.
[0109] The output subnetwork may further include an attention strategy subnetwork configured to process the output of one or more LSTM layers to generate a task field index output. The attention strategy subnetwork may be configured to use the corresponding outputs of the two LSTM layers as a query vector, process the corresponding task field embedding generated by the task field language processing subnetwork to generate a key vector and a value vector, and use a cross attention mechanism to process the query vector, the key vector, and the value vector to generate a task field index output.
[0110] This specification uses the term "configuration" in conjunction with system and computer program components. For a system of one or more computers to be configured to perform a particular operation or action, it is meant that the system has installed thereon software, firmware, hardware, or a combination thereof, which, in operation, causes the system to perform the operation or action. For one or more computer programs to be configured to perform a particular operation or action, it is meant that the one or more programs include instructions that, when executed by a data processing device, cause the device to perform the operation or action.
[0111] Embodiments of the subject matter and functional operations described in this specification can be implemented in digital electronic circuits, in tangibly embodied computer software or firmware, in computer hardware, including the structures disclosed in this specification and their structural equivalents, or in a combination of one or more of them. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, that is, one or more modules of computer program instructions encoded on a tangible non-transitory storage medium for execution by a data processing device or for controlling the operation of a data processing device. The computer storage medium can be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them. Alternatively or additionally, the program instructions can be encoded on an artificially generated propagation signal, for example, a machine-generated electrical signal, an optical signal, or an electromagnetic signal, which is generated to encode information for transmission to a suitable receiver device for execution by a data processing device.
[0112] The term "data processing apparatus" refers to data processing hardware and covers all kinds of apparatus, devices and machines for processing data, including, for example, a programmable processor, a computer or multiple processors or computers. The apparatus can also be or further include special-purpose logic circuits, such as an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). In addition to the hardware, the apparatus can optionally include code that creates an execution environment for a computer program, for example, code constituting processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.
[0113] A computer program, which may also be referred to or described as a program, software, software application, application, module, software module, script or code, can be written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages; and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment. A program may, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data, such as one or more scripts stored in a meta-language document, in a single file dedicated to the program in question, or in multiple coordinated files, such as files storing one or more modules, subroutines or code portions. A computer program can be deployed to execute on one computer located at one site or on multiple computers distributed across multiple sites and interconnected by a data communications network.
[0114] In this specification, the term "database" is used broadly to refer to any collection of data: the data need not be structured in any particular way or at all, and it can be stored on a storage device in one or more locations. Thus, for example, an index database can include multiple data collections, each of which can be organized and accessed differently.
[0115] Similarly, in this specification, the term "engine" is used broadly to refer to a software-based system, subsystem, or process that is programmed to perform one or more specific functions. Typically, an engine will be implemented as one or more software modules or components installed on one or more computers in one or more locations. In some cases, one or more computers will be dedicated to a specific engine; in other cases, multiple engines can be installed and run on the same computer or multiple computers.
[0116] The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by a dedicated logic circuit such as an FPGA or ASIC, or by a combination of a dedicated logic circuit and one or more programmed computers.
[0117] A computer suitable for executing a computer program can be based on a general or special purpose microprocessor or both, or any other type of central processing unit. Typically, the central processing unit will receive instructions and data from a read-only memory or a random access memory or both. The basic elements of a computer are a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. The central processing unit and the memory can be supplemented by or incorporated into a special logic circuit. Typically, a computer will also include or be operably coupled to receive data from or transmit data to or both of one or more mass storage devices for storing data, such as a magnetic disk, a magneto-optical disk, or an optical disk. However, a computer need not have such a device. In addition, a computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device, such as a universal serial bus (USB) flash drive, to name a few.
[0118] Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM and DVD-ROM disks.
[0119] To provide interaction with a user, embodiments of the subject matter described in this specification can be implemented on a computer having a display device for displaying information to the user, such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, and a keyboard and pointing device, such as a mouse or trackball, through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, voice, or tactile input. In addition, the computer can interact with the user by sending documents to and receiving documents from the device used by the user; for example, by sending a web page to a web browser on the user's device in response to a request received from the web browser. In addition, the computer can interact with the user by sending a text message or other form of message to a personal device, such as a smart phone running a messaging application, and receiving a response message from the user.
[0120] The data processing apparatus for implementing the machine learning model can also include, for example, dedicated hardware accelerator units for processing common and computationally intensive parts of machine learning training or production - i.e., inference - workloads.
[0121] Ability to implement and deploy machine learning models using machine learning frameworks such as the TensorFlow framework or the Jax framework.
[0122] Embodiments of the subject matter described in this specification can be implemented in a computing system that includes a back-end component, such as a data server, or includes a middleware component, such as an application server, or includes a front-end component, such as a client computer with a graphical user interface, a web browser, or an application through which a user can interact with the subject matter implementation described in this specification, or any combination of one or more such back-end, middleware, or front-end components. The components of the system can be interconnected by digital data communication of any form or medium, such as a communication network. Examples of communication networks include local area networks (LANs) and wide area networks (WANs), such as the Internet.
[0123] The computing system can include a client and a server. The client and the server are usually remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the respective computers and having a client-server relationship with each other. In some embodiments, the server transmits data such as HTML pages to the user device, for example, for the purpose of displaying data to the user of the device interacting with the client and receiving user input from it. Data generated at the user device, such as the result of the user interaction, can be received from the device at the server.
[0124] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or on the scope that can be claimed, but rather as descriptions of features that can be specific to a particular embodiment of a particular invention. Certain features described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination. In addition, although features may be described above as working in certain combinations and even initially claimed as such, in some cases, one or more features from the claimed combination may be removed from the combination, and the claimed combination may involve a sub-combination or a variation of the sub-combination.
[0125] Similarly, although operations are depicted in a particular order in the drawings and recited in the claims, this should not be understood as requiring that such operations be performed in the particular order shown or in a sequential order, or that all of the operations shown be performed to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system modules and components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0126] Specific embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. For example, the actions recited in the claims can be performed in a different order and still achieve the desired results. As an example, the processes depicted in the accompanying drawings do not necessarily require the particular order shown or sequential order to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous.
Claims
1. A computer-implemented method for controlling a specific computer to perform a task, the method comprising: receiving a control input comprising a visual input including one or more screen frames of a computer display representing at least a current state of the particular computer; processing the control input using a neural network to generate one or more control outputs for controlling the particular computer to perform the task, wherein the one or more control outputs include an action type output specifying at least one of a pointing device action or a keyboard action to be performed to control the particular computer; determining one or more actions from the one or more control outputs; and The one or more actions are performed to control the particular computer.
2. The method according to claim 1, wherein: The pointing device action is one of a plurality of actions of a pointing device associated with the particular computer, the plurality of actions comprising one or more of: input submitted using a computer mouse, input submitted through a touch screen device, or input submitted through a touch pad device.
3. The method according to claim 1 or 2, wherein: The keyboard action is one of a key press or a text utterance.
4. The method according to any one of claims 1 to 3, wherein: The screen frames in the visual input are images that represent steps in the process of performing the task on the particular computer.
5. The method according to any one of claims 1 to 4, wherein: The control input also includes one or more language inputs, one or more previous controls, or both.
6. The method according to claim 5, wherein: The one or more language inputs include at least one of i) a task instruction input or ii) a task field input including one or more task fields.
7. The method according to claim 5, wherein: The one or more language inputs include a Document Object Model (DOM) element input including one or more DOM elements.
8. The method according to claim 6, wherein: The task instruction input includes text instruction input or voice instruction input.
9. The method according to any one of claims 1 to 8, wherein: The one or more control outputs further include at least one of: i) cursor coordinate output, ii) keyboard key index output, or iii) task field index output.
10. The method according to claim 9, wherein: The cursor coordinate output includes x- and y-coordinates representing a desired cursor position on the display of the particular computer.
11. The method according to any one of claims 1 to 10, wherein: The task is one of a plurality of tasks performed on the particular computer, the plurality of tasks including clicking on a canvas, dragging items on the screen, filling out a form, editing text, highlighting text, forwarding an email, making an appointment, and booking a ticket.
12. The method according to claim 5, wherein: The neural network includes a vision processing subnetwork, one or more language processing subnetworks, a prior control processing subnetwork, a multimodal transformer subnetwork, and an output subnetwork, and wherein processing the control input using the neural network to generate the one or more control outputs includes: Processing the visual input using the visual processing subnetwork to generate one or more visual embeddings; processing each of the one or more language inputs using the language processing subnetwork to generate a corresponding language embedding; processing the one or more prior controls using the prior control processing subnetwork to generate a prior control embedding; combining the one or more visual embeddings and the one or more language embeddings using a multimodal transformer subnetwork to generate a transformed embedding; and The transformed embedding and the previous control embedding are processed using the output subnetwork to generate the one or more control outputs.
13. The method according to claim 12, wherein: The visual processing subnetwork includes an image encoder subnetwork and a flattening subnetwork, and Wherein, processing the visual input using the visual processing subnetwork to generate one or more visual embeddings comprises: processing the visual input using the image encoder subnetwork to generate one or more encoded visual feature vectors, and The one or more encoded visual feature vectors are flattened by using the flattening subnetwork to generate the one or more visual embeddings.
14. The method according to claim 13, wherein: The image encoder subnetwork is a ResNet with four ResNet blocks.
15. The method according to any one of claims 12 to 14, wherein: Each language processing subnetwork consists of a lemma layer and a language encoder subnetwork. Wherein, using the language processing subnetwork to process the language input of the one or more language inputs to generate a corresponding language embedding comprises: Splitting the corresponding language input into tokens using the tokenization layer, and generating a corresponding token embedding for each of the tokens, and The word embeddings are attended to using a language encoder sub-network to generate corresponding language embeddings.
16. The method according to claim 15, wherein: The language encoder subnetwork is a 1-layer Transformer with 4 heads.
17. The method according to claim 15, wherein: Focusing on the word-element embedding to generate the corresponding language embedding includes: Processing the token embeddings to generate key vectors and value vectors, Process the additional embeddings to generate a query vector, and The key vector, the value vector, and the query vector are processed using a criss-cross attention mechanism to generate corresponding language embeddings.
18. The method according to any one of claims 12 to 17, wherein: Generating the transformed embedding using the multimodal transformer subnetwork includes: processing the one or more visual embeddings to generate a visual query vector, a visual key vector, and a visual value vector, processing the one or more language embeddings to generate a language query vector, a language key vector, and a language value vector, processing the one or more additional embeddings to generate an additional query vector, an additional key vector, and an additional value vector, The visual query vector, the visual key vector, the visual value vector, the linguistic query vector, the linguistic key vector, the linguistic value vector, the additional query vector, the additional key vector, and the additional value vector are processed using a self-attention mechanism to generate the transformed embedding.
19. The method according to any one of claims 12 to 17, wherein: The output subnetwork includes one or more long short-term memory (LSTM) layers.
20. The method according to claim 19, wherein: The output subnetwork also includes an attention strategy subnetwork, which is configured to process the output of the one or more LSTM layers to generate a task field index output.
21. The method according to claim 20, wherein: The attention strategy subnetwork is configured as: The corresponding outputs of the two LSTM layers are used as query vectors, processing the corresponding task-field embeddings generated by the task-field language processing subnetwork to generate a key vector and a value vector, and The query vector, the key vector, and the value vector are processed using a criss-cross attention mechanism to generate the task field index output.
22. The method according to any one of claims 1 to 21, further comprising: The neural network is jointly trained using i) imitation learning to imitate one or more behaviors demonstrated by a human and ii) reinforcement learning.
23. The method according to any one of claims 1 to 22, further comprising: using imitation learning to train the neural network to mimic the behavior of the human demonstration as shown in the visual input, and The neural network is trained using reinforcement learning.
24. The method according to any one of claims 1 to 23, wherein: During training of the neural network, the visual input demonstrates how a human would perform the task on the particular computer.
25. The method according to any one of claims 12 to 24, wherein: Processing the transformed embedding and the previous control embedding using the output subnetwork to generate the one or more control outputs includes processing a concatenation of the transformed embedding and the previous control embedding using the output subnetwork to generate the one or more control outputs.
26. The method according to any one of claims 1 to 25, wherein: The neural network has been trained using imitation learning and optionally reinforcement learning.
27. The method according to any one of claims 1 to 26, wherein: The action type output specifies an action to take control of the particular computer from another operator for a portion of a process of performing the task.
28. The method according to any one of claims 1 to 27, wherein: The specific computer is configured to receive one or more inputs from a human user to control the specific computer to perform a first part of a task, and upon receiving a command from the user, the neural network is configured to control the specific computer, whereby the neural network is configured to generate one or more actions to control the specific computer to perform a second part of the task subsequent to the first part.
29. A system comprising: one or more computers; as well as One or more computer storage media storing instructions that, when executed by the one or more computers, cause the one or more computers to perform the operations of any one of the methods of claims 1 to 28.
30. One or more computer storage media storing instructions that, when executed by one or more computers, cause the one or more computers to perform the operations of any one of the methods of claims 1 to 28.
31. A system comprising one or more computers and one or more storage devices storing instructions that, when executed by the one or more computers, cause the one or more computers to implement a neural network, the neural network configured to process control inputs to generate one or more control outputs for controlling a particular computer to perform a task, the control inputs comprising (i) visual inputs comprising one or more screen frames of a computer display representing at least a current state of the particular computer, (ii) one or more language inputs, and (iii) one or more previous controls, the neural network comprising: a visual processing subnetwork configured to process the visual input to generate one or more visual embeddings; one or more language processing subnetworks, each language processing subnetwork configured to process a language input of the one or more language inputs to generate a corresponding language embedding; a prior control processing subnetwork for processing the one or more prior controls to generate a prior control embedding; a multimodal transformer subnetwork configured to combine the one or more visual embeddings and the one or more linguistic embeddings to generate a transformed embedding; as well as An output subnetwork is configured to process the transformed embedding and the previous control embedding to generate the one or more control outputs.
Citation Information
Patent Citations
Detection and processing of preselected image blocks in a kvm system
CN102609099A
Robotic process automation
CN107666987A
Systems and methods for interactive language acquisition
CN110379225A
Robot for automatically drawing PCB
CN112822845A
Artificial intelligence framework
US20190108448A1
