System and method for using imitation learning in training robot control strategies

Through imitation learning technology and multi-control head processing methods, a robust robot control strategy is trained, and faults are predicted and handled. This solves the problems of insufficient robustness and poor refinement effect of the robot control strategy in the existing technology, and achieves More efficient and accurate task execution.

CN118528271APending Publication Date: 2024-08-23GDM HOLDINGS LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410774880.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-03-16
Filing Date
2022-02-04
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing robot control strategies are not robust enough when performing tasks and are difficult to execute without failure in various situations. Moreover, existing refinement methods such as Dagger may lead to inaccurate human feedback and affect the refinement effect of the strategy.

Method used

Use imitation learning technology to train robot control strategies, use ML models to generate action sequences and predict action sequences, combine visual data and other sensor data, handle tasks through multiple control heads, including fault heads to predict whether the robot will malfunction during the task, and prompts user intervention when necessary.

Benefits of technology

It improves the robustness and accuracy of the robot control strategy, reduces the need for human intervention and errors, and enhances the stability and efficiency of task execution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118528271A
    Figure CN118528271A
Patent Text Reader

Abstract

Implementations described herein relate to training and refining robot control strategies using imitation learning techniques. The robot control strategy may be initially trained based on human presentations of various robot tasks. In addition, the robot control strategy may be refined based on human intervention when the robot performs the robot task. In some implementations, the robot control strategy may determine whether the robot will fail in the execution of the robot task and prompt a human to intervene in the execution of the robot task. In additional or alternative implementations, a representation of a sequence of actions may be visually appeared to be presented to a person, and the person may actively intervene in execution of a robotic task.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with an international application date of February 4, 2022, Chinese application number 202280033988.4, and invention name “Systems and methods for using imitation learning in training and refining robot control strategies”. Background Art

[0002] Various techniques have been proposed to enable robots to perform various real-world tasks. For example, some techniques use imitation learning to train robot control strategies for controlling robots to perform these tasks. In imitation learning, these robot control strategies can initially be trained based on data from multiple human demonstrations of these tasks. For example, a person can physically manipulate a given robot or its end effector to make a reference point of a given robot or end effector cross a specific trajectory, and the specific traversed trajectory can then be repeated by using a robot control strategy trained based on human physical manipulation. In addition, for example, a person can use one or more teleoperation techniques to control a given robot or its end effector to perform a given task, and the given task can then be repeated by using a robot control strategy trained based on one or more teleoperation techniques.

[0003] Although a given robot utilizes a robot control policy trained based on multiple human demonstrations of these tasks, the given robot may still fail to perform these tasks. For example, the robot control policy may not be robust enough to achieve trouble-free execution of the robot tasks in various situations. Therefore, it may be necessary to refine the trained robot control policy based on human feedback. A technique for refining the trained robot control policy is dataset aggregation (DAgger). In DAgger, a given robot can perform a given task using a given robot control policy, and a person can be randomly prompted to intervene to evaluate the execution of the task. This allows people to provide feedback on the execution of a given task by a given robot. However, this may result in a person being prompted to intervene when a given robot performs a task correctly, and a person not being prompted to intervene when a given robot does not perform a task correctly (i.e., a failure). In addition, human feedback in DAgger is typically combined into the reward function defined for refining a given robot control policy, preventing non-experts from being able to refine a given robot control policy. Summary of the invention

[0004] The implementation described herein relates to training a robot control strategy using imitation learning techniques. As used herein, a robot control strategy refers to (one or more) machine learning (ML) models and a system that utilizes the output generated by the ML model when controlling a robot. A given robot control strategy can be trained to generate an action sequence based on an instance of vision data that captures the environment of a given robot during the execution of a robot task at each iteration. In some implementations, a given robot control strategy can additionally or alternatively process state data (e.g., environmental state data and / or robot state data), force values, and / or other sensor data when generating an action sequence. An action sequence can include a next action to be performed by a given robot to advance the robot task and a predicted action sequence that is predicted to follow the next action. Therefore, at each iteration, the next action can be generated, and the next action can be implemented by a given robot. In addition, at each iteration, a predicted action sequence that is predicted to follow the next action can also be generated. Note that one or more of the predicted actions included in the predicted action sequence are actually only executed when they are the next actions predicted in the corresponding subsequent iterations. However, as described herein, predicting a sequence of predicted actions predicted to follow the next action can achieve various benefits. Such benefits include, for example, more efficient training of a given robot control policy, more accurate and / or robustness of a given robot control policy, and / or utilizing the predicted actions included in the sequence of actions when visually rendering a corresponding representation to present to a user when refining a given robot control policy (e.g., to enable the user to determine whether to intervene).

[0005] In some implementations, a given robot control strategy can be further trained to determine whether a given robot will fail in the execution of a robot task, and in response to determining that a given robot will fail in the execution of a robot task, a prompt requesting a person (or user) to intervene in the execution of the robot task is presented to the user. As described herein, in some of those implementations, the robot control strategy can have multiple different control heads. Some of the control heads are used to generate corresponding value sets for controlling corresponding components of the robot (or its parts) based on processing visual data instances using the robot control strategy. One of the control heads (also referred to as a failure head) can process the same visual data instance to predict whether the robot has or will fail in the execution of the robot task, and the prompt can be generated and presented to the user based on the output generated using the failure head. In additional or alternative implementations, the user can actively intervene in the execution of the robot task based on the representation of the next action and predicted action sequence presented to the user through visual appearance. Therefore, training and refining a given robot control strategy in these and other ways can achieve various benefits. Such benefits include, for example, reducing occurrences of requesting human intervention when human intervention is not needed to correct the performance of various robotic tasks, and also reducing occurrences of not requesting human intervention when human intervention is needed to correct the performance of various robotic tasks.

[0006] Implementations described herein additionally or alternatively involve one or more architectures of ML models that utilize robot control policies. For example, the ML model architecture may include one or more input layers, multiple intermediate layers, and multiple different control heads. Visual data instances capturing a given robot's environment during execution of a robot task may be provided as input to the one or more input layers, and intermediate representations (e.g., encodings, embeddings, etc.) of the visual data instances may be generated across the multiple intermediate layers. The intermediate representations of the visual data instances may be provided as input to each of the multiple different control heads to generate corresponding sets of values ​​for controlling corresponding components of the robot for each action included in the action sequence. The corresponding sets of values ​​for controlling corresponding components of the robot can be, for example, vectors describing translational displacements of the corresponding components (e.g., sine-cosine encoding changes in orientation around an axis of the corresponding component), lower-level control commands (e.g., individual torque commands that control corresponding actuators of the robot, individual joint angles of components of the robot, etc.), binary values ​​for components of the robot (e.g., indicating whether a robot gripper should be open or closed), other values ​​for components of the robot (e.g., indicating the degree to which a robot gripper should be open or closed), velocities and / or accelerations of components of the robot (e.g., robot arm movements, robot base movements, etc.), and / or other values ​​that can be used to control the robot.

[0007] For example, a first control head may be used to generate a corresponding value set reflecting a translational displacement (e.g., two-dimensional or three-dimensional) of a robot end effector, and the corresponding value set may be associated with controlling the robot end effector for one or more actions included in the action sequence; a second control head may be used to generate a corresponding value set reflecting an orientation of the robot end effector, and the corresponding value set may be associated with controlling the robot end effector for one or more actions included in the action sequence; a third control head may be used to generate a corresponding value set reflecting an actuation state of the robot end effector (or a degree of actuation state of the robot end effector), and the corresponding value set may be associated with controlling the robot end effector for one or more actions included in the action sequence; a fourth control head may be used to generate a corresponding value set reflecting a velocity of a robot base, and the corresponding value set may be associated with controlling the robot base for one or more actions included in the action sequence; a fifth control head may be used to generate a corresponding value set reflecting an orientation (e.g., translation and / or tilt) of a robot head, and the corresponding value set may be associated with controlling the orientation of the robot head for one or more actions included in the action sequence; and / or other control heads may be used to control other components of the robot. Although specific control heads associated with specific components of the robot are described above, it should be understood that this is for the purpose of example and is not meant to be limiting, and the control heads utilized by the robot control strategy can be a function of the robot components that perform the robot task. For example, if the robot does not include a robot base (e.g., a fixed robot arm), the control head associated with the robot base may not be utilized. In addition, for example, if the robot includes robot legs instead of a robot base, a control head associated with one or more robot legs may be utilized instead of a control head for the robot base. In addition, although specific control heads are described above for controlling different components of the robot, it should be understood that this is for the purpose of example and is not meant to be limiting. For example, a first control head may be associated with controlling a first portion of a first component of the robot (e.g., the orientation of the robot end effector), and a different second control head may be associated with controlling a second portion of the first component of the robot (e.g., the actuation state of the robot end effector). In addition, although specific control heads are described above for controlling different components of the robot, it should be understood that this is for the purpose of example and is not meant to be limiting. For example, a first control head may be associated with controlling a first portion of a first component of a robot (e.g., the orientation of a robot end effector), and a different second control head may be associated with controlling a second portion of the first component of the robot (e.g., the actuation state of the robot end effector).

[0008] In various implementations, the intermediate representation of the visual data instance can be provided as an input to an additional control head (also referred to as a fault head) to generate a corresponding value set associated with the execution of the robot task itself, rather than utilizing the corresponding value set when controlling the corresponding components of the robot as described above. The corresponding value set associated with the execution of the robot task can indicate, for example, whether the robot will continue the execution of the robot task, whether the robot will fail in the execution of the robot task, and / or whether the robot has completed the execution of the robot task. In other words, the robot control strategy can utilize the corresponding value set to determine whether to prompt the user to intervene in the execution of the robot task. The corresponding value set associated with the execution of the robot task can be, for example, a vector of values, which can be mutually exclusive binary values ​​indicating whether the robot will continue the execution of the robot task, whether the robot will fail in the execution of the robot task, and / or whether the robot has completed the robot task; probabilities associated with whether the robot will continue the execution of the robot task, whether the robot will fail in the execution of the robot task, and / or whether the robot has completed the execution of the robot task, and / or other values ​​corresponding to the execution of the robot task. Additionally or alternatively, the motion sequences generated using the above-mentioned control heads associated with controlling the corresponding components of the robot may be provided as input to the additional control head.

[0009] The above description is provided only as an overview of some implementations disclosed herein. These and other implementations are described in more detail herein (including in the detailed description, claims and drawings).

[0010] It should be understood that all combinations of the aforementioned concepts and additional concepts described in more detail herein are considered to be part of the subject matter disclosed herein. For example, all combinations of the claimed subject matter appearing at the end of this disclosure are considered to be part of the subject matter disclosed herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 An example environment is shown in which implementations disclosed herein may be implemented.

[0012] Figure 2A Depicted is a representation of a robot control strategy according to implementations disclosed herein.

[0013] Figure 2B Depicted are representations of various updated control heads of the robotic control strategy in accordance with implementations disclosed herein.

[0014] Figure 3A , Figure 3B and Figure 3C Depicted are various non-limiting examples of graphical user interfaces for a platform for training and refining robotic control policies in accordance with implementations disclosed herein.

[0015] Figure 4 is a flowchart illustrating an example method for generating training examples based on human demonstrations and bootstrapping a robot control policy based on human demonstrations according to implementations disclosed herein.

[0016] Figure 5 is a flow chart illustrating an example method for refining a robot control strategy based on human intervention in the performance of a robot task according to implementations disclosed herein.

[0017] Figure 6 is a flow chart illustrating an example method for utilizing a robot control strategy when autonomously controlling a robot according to implementations disclosed herein.

[0018] Figure 7 An example architecture of a robot is schematically depicted.

[0019] Figure 8 An example architecture of a computer system is schematically depicted. DETAILED DESCRIPTION

[0020] Figure 1 An example environment is shown in which implementations disclosed herein may be implemented. The example environment includes a robot 110 , a computing device 120 , a computing device 130 , a user input system 140 , a training system 150 , and a robotic system 160 . Figure 1 One or more of these components may be communicatively coupled via one or more networks 195, such as a local area network (LAN), a wide area network (WAN), and / or any other communication network. Each of the computing devices 120, 130 may include various input devices and output devices. For example, the computing device 120 takes the form of a virtual or augmented reality headset that can be used to render the various graphical user interfaces described herein. In addition, the computing device 120 may utilize the controller 121 as an input device, or simply track the eye and / or hand movements of the user of the computing device 120 via various sensors of the computing device 120 to control the robot 110. As another example, the computing device 130 may include a display and various input devices, such as a keyboard and a mouse. Although in Figure 1 Specific components are depicted in the drawings, but it should be understood that this is for illustrative purposes and is not meant to be limiting. Figure 1 The various components of Figure 1195, but it should be understood that this is for the purpose of example and is not meant to be limiting. For example, one or more of computing devices 120, 130 may implement one or more aspects of user input system 140, training system 150, and / or robotic system. In addition, for example, one or more aspects of user input system 140, training system 150, and / or robotic system may be implemented by a remote system (e.g., a server) that communicates with one or more of computing devices 120, 130 via one or more of networks 195.

[0021] The user may utilize the computing devices 120, 130, the user input system 140, the training system, and the robotic system 160 to train a robotic control policy for controlling the robot 110 during the performance of various robotic tasks. The robotic control policy may correspond to one or more ML models stored in the machine learning (ML) model database 164A and a system that utilizes outputs generated using the ML models when controlling a robot (such as the robotic system 160 and / or its various engines). As described herein, the techniques described herein relate to training and refining a robotic control policy using imitation learning techniques. In particular, the robotic control policy may be initially trained based on demonstration data stored in the demonstration data database 152A and based on human demonstrations of various robotic tasks. In addition, and after the initial training, the robotic control policy may be refined based on human intervention received during the performance of various robotic tasks by the robot 110. In addition, and after the refinement, the robotic control policy may be deployed for controlling the robot 110 during future robotic tasks.

[0022] Figure 1 The robot 110 shown is a specific real-world mobile robot. However, additional and / or alternative robots (such as those that are similar in one or more aspects to the Figure 1 Additional robots (different from the robot 110 shown) may be used with the techniques disclosed herein. For example, a fixed robotic arm, a mobile telepresence robot, a mobile forklift robot, an unmanned aerial vehicle (“UAV”), and / or a humanoid robot may be utilized in place of or in addition to the robot 110 in the techniques described herein. In addition, the robot 110 may include one or more engines implemented by a processor of the robot and / or by one or more processors remote from the robot 110 but in communication with the robot 110.

[0023] The robot 110 includes one or more vision components 111 that can generate visual data instances (e.g., images, point clouds) related to the shape, color, depth, and / or other features of objects within the line of sight of the vision components 111. The visual data instances generated by one or more of the vision components can form some or all of the state data (e.g., environment state data and / or robot state data). The robot 110 can also include position sensors, torque sensors, and / or other sensors that can generate data, and such data or data derived from other sensors can form some or all of the state data (if any). Additionally or alternatively, one or more vision components 190 that can generate visual data instances can be located external to the robot 110.

[0024] One or more of the visual components 111, 190 may be, for example, a monocular camera, a stereo camera (active or passive), and / or a light detection and ranging (LIDAR) component. The LIDAR component may generate visual data as a 3D point cloud, wherein each of the points of the 3D point cloud defines the position of a point of the surface in 3D space. The monocular camera may include a single sensor (e.g., a charge coupled device (CCD)), and generates images based on physical properties sensed by the sensor, each image including a plurality of data points defining color values ​​and / or grayscale values. For example, a monocular camera may generate an image including red, blue, and / or green channels. A stereo camera may include two or more sensors, each at a different vantage point, and may optionally include a projector (e.g., an infrared projector). In some of those implementations, the stereo camera generates images based on characteristics sensed by two sensors (e.g., based on projections captured from a projector), each image including a plurality of data points defining depth values ​​and color values ​​and / or grayscale values. For example, a stereo camera may generate an image that includes a depth channel and red, blue, and / or green channels.

[0025] The robot 110 also includes a base 113 having wheels 117A, 117B disposed on opposite sides thereof for movement of the robot 110. The base 113 may include, for example, one or more motors for driving the wheels 117A, 117B of the robot 110 to achieve a desired direction, speed, and / or acceleration of movement of the robot 110.

[0026] The robot 110 also includes one or more processors that, for example, provide control commands to actuators and / or other operating components of the robot 110 (e.g., a robot control strategy engine 166 as described herein). The control commands provided to the actuators and / or other operating components may form part of the motion data (if any) included in the episode data 162.

[0027] The robot 110 also includes a robot arm 114 having an end effector 115 in the form of a gripper having two opposing "fingers" or "digits." Additional and / or alternative end effectors, or even no end effectors, may be utilized. For example, alternative grasping end effectors utilizing alternative finger / digit arrangements, utilizing suction cups (e.g., in lieu of fingers / digits), utilizing magnets (e.g., in lieu of fingers / digits), etc. may be used. Furthermore, for example, non-grasping end effectors may be utilized, such as end effectors including drill bits, impact tools, etc.

[0028] As described above, the robot control strategy can be initially trained based on human demonstrations of various robot tasks. When a human demonstration is performed, demonstration data can be generated via the user input system 140 and can be stored in the demonstration data database 152A. The demonstration data can include, for example, visual data instances generated by one or more of the visual components 112, 190 during the execution of a given human demonstration of a given robot task, state data of the robot 110 and / or the environment corresponding to the visual data instances captured during the given human demonstration of the given robot task, and corresponding value sets for controlling corresponding components of the robot 110 corresponding to the visual data instances captured during the given human demonstration. For example, the user input engine 142 can detect user input to control the robot 110, and the intervention engine 144 can generate corresponding value sets for controlling corresponding components of the robot 110. The corresponding value sets for controlling the corresponding components of the robot 110 can be, for example, vectors describing translational displacements and / or rotations of the corresponding components (e.g., sine-cosine encoding changes in orientation around the axes of the corresponding components), lower-level control commands (e.g., individual torque commands that control corresponding actuators of the robot 110, individual joint angles of components of the robot, etc.), binary values ​​for components of the robot (e.g., indicating whether a robot gripper should be open or closed), other values ​​for components of the robot 110 (e.g., indicating the degree to which the robot gripper 115 should be open or closed), velocities and / or accelerations of components of the robot 110 (e.g., robot arm movements, robot base movements, etc.), and / or other values ​​that can be used to control the robot 110.

[0029] In some implementations, a person (or user) may control the robot 110 using one or more of the computing devices 120, 130 (or their input devices) to perform a human demonstration of a robotic task. For example, the user may control the robot 110 using a controller 121 associated with the computing device 120, using an input device associated with the computing device 130, or using any other input device of any computing device in communication with the robot 110, and the demonstration data may be generated based on the visual data instances captured by one or more of the visual components 112, 190 and based on the user controlling the robot 110. In additional or alternative implementations, the user may physically manipulate the robot 110 or one or more components thereof (e.g., the base 113, the robotic arm 114, the end effector 115, and / or other components). For example, the user may physically manipulate the robotic arm 114, and the demonstration data may be generated based on the visual data instances captured by one or more of the visual components 112, 190 and based on the physical manipulation of the robot 110. The user may repeat this process to generate demonstration data for the performance of various robotic tasks.

[0030] In some implementations, the human demonstration can be performed in a real-world environment using the robot 110. For example, Figure 1 In the environment shown, the user can control the robot 110 to perform a motion task by causing the robot 110 to move toward the table 191, and control the robot 110 to perform a grasping task by causing the robot 110 to pick up the cup 192. In additional or alternative implementations, the human demonstration can be performed in a simulated environment using a simulated instance of the robot 110 via the robot simulator 164. For example, in an implementation in which the human demonstration is performed in a simulated environment using a simulated instance of the robot 110, the simulation (sim) configuration engine 162 can access the object model database 162A to obtain a simulated instance of the table 191 and a simulated instance of the cup 192. In addition, the user can control the simulated instance of the robot 110 to perform a simulated motion task by causing the simulated instance of the robot 110 to move toward the simulated instance of the table 191, and control the simulated instance of the robot 110 to perform a simulated grasping task by causing the simulated instance of the robot 110 to pick up the simulated instance of the cup 192.

[0031] In some implementations, the robot simulator 164 can be implemented by one or more computer systems and can be used (e.g., using the simulation configuration engine 162) to simulate various environments including corresponding environmental objects, simulating the robot 110 in Figure 1Examples of operations in the simulated environment shown and / or other environments, simulated robot responses to various simulated robot actions to advance virtual implementations of various robotic tasks, and simulated interactions between robots and environmental objects in response to simulated robot actions. Various simulators may be utilized, such as physics engines that simulate collision detection, soft and rigid body dynamics, etc. Thus, human demonstration and / or execution of various robotic tasks described herein may include those performed by robot 110, performed by another real-world robot, and / or performed by simulated instances of robot 110 and / or other robots via robot simulator 164.

[0032] The training instance engine 152 can utilize the demonstration data stored in the demonstration data database 152A to generate multiple training instances for guiding the robot control strategy. It is worth noting that the multiple training instances can be generated based on a single person demonstration or multiple people demonstrations (for example, as shown in FIG. Figure 4 ). Each of the plurality of training instances includes a training instance input and a corresponding training instance output. The training instance input may include, for example, a visual data instance, state data when the visual data instance is captured (e.g., robot state data and / or environment state data of the robot 110), force values ​​of various components of the robot 110 when the visual data instance is captured, and / or other sensor data generated when the visual data instance is captured. The training instance output may include, for example, a groundtruth corresponding value set for the corresponding components of the robot associated with the visual data instance (and optionally subsequent visual data instances after the visual data instance). For example, the training instance input may include a visual data instance of a robot arm captured (e.g., based on human control of the robot arm) performing an object manipulation task, and the training instance output may include a groundtruth corresponding value set for the robot arm and the robot end effector corresponding to the values ​​utilized by the robot in the performance of the object manipulation task.

[0033] In some implementations, the training instance output may include a corresponding value set for the corresponding components of the robot 110 for implementing an action based on the visual data instance, and may also include an additional corresponding value set associated with the next action following the action based on the visual data instance. In other words, the training instance output may include a corresponding value set associated with a sequence of actions performed by the robot during a human demonstration. By including not only a corresponding value set for an action corresponding to the visual data instance included in the training input, but also a corresponding value set for one or more next actions following the action, the robot control strategy can be trained to generate a sequence of actions. As described herein, when inferring (e.g., in the autonomous mode described herein), the robot control strategy may only generate the next action (rather than one or more next actions following the action). However, by training the robot control strategy to generate one or more next actions, the action generated by the robot 110 for implementation can be generated considering the robot task as a whole, rather than being viewed as a discrete action. For example, assuming that the robot task is a grasping task, and the robot gripper 115 needs to move to the left in the environment toward the object to be grasped. In this example, the action generated using the robot control strategy may include moving the robot gripper 115 to the left, even though it may not immediately affect the performance of the grasping task. For example, the robot gripper 115 can move forward and still complete the task. However, generating an action to move the robot gripper 115 to the left rather than forward or right is the best action for the robot 110 to implement in advancing the robot task. In addition, this can mitigate the violent movements of the robot 110 and result in smoother robot task execution in terms of the kinematic movement of the corresponding components of the robot 110. In these and other ways, the robot control strategy can be guided according to demonstration data generated based on human demonstration.

[0034] In some implementations, one or more of the multiple training instances may be labeled. The label may indicate whether a given training instance in the multiple training instances is a positive training instance or a negative training instance. For example, a training instance including a user correctly performing a given robot task may be labeled as a positive training instance, while a training instance including a user incorrectly performing a given robot task may be labeled as a negative training instance. For example, if the demonstration data corresponds to the user correctly grasping an object, the training instance may be labeled as a positive training instance. However, if the demonstration data corresponds to the user incorrectly grasping an object, bumping into an object, etc., the training instance may be labeled as a negative training instance. By using labeled training instances in these and other ways, the robot control strategy can be trained in a more efficient manner, and a trained robot control strategy with higher precision and / or recall is also obtained. For example, in various implementations, a robot control strategy trained based on labeled training instances can predict when the robot will fail in the execution of a robot task.

[0035] The training engine 154 can guide the robot control strategy using multiple training examples generated by the training example engine 152. As used herein, the robot control strategy refers to a machine learning (ML) model (e.g., stored in an ML model database) and a system that uses the output generated by the ML model when controlling the robot 110. The training engine 152 can train a given robot control strategy to generate an action sequence based on processing visual data (and optionally other data described herein) instances for a given training example input. The action sequence may include the next action performed by the robot 110 to advance the robot task and a predicted action sequence predicted to follow the next action. In some implementations, the training engine 152 may also utilize the state data of the given training example input when generating the action sequence, but it should be understood that the action sequence described herein can be generated based only on the visual data instance. In addition, although the technology is described herein for generating an action sequence, it should be understood that this is for the purpose of example and is not meant to be limiting. For example, the technology described herein can be used to generate the next action without generating any sequence of predicted actions predicted to follow the next action.

[0036] An ML model representing a robot control policy may include one or more input layers, multiple intermediate layers, and multiple different control heads. For example, and briefly referring to Figure 2A, the training engine 154 can cause the visual data instance 201A (and optionally the corresponding state data instance 201B) to be provided as input to one or more input layers 211, and one or more intermediate layers 212 can process the visual data instance 201A to generate an intermediate representation 202 of the visual data instance (e.g., embedding, encoding, etc.). In some implementations, one or more of the input layers 211 can perform one or more data processing functions (e.g., concatenation and / or other functions) on the visual data instance 201A and / or the state data instance 201B before providing the visual data instance 201A and / or the state data instance 201B to one or more of the intermediate layers 212.

[0037] In addition, the intermediate representation 202 of the visual data instance can be provided as input to a plurality of different control heads 213. In some implementations, each of the plurality of different control heads 213 can be used to generate a corresponding set of values ​​for controlling a corresponding component of the robot 110. For example, the first control head 213 1 The first set of values ​​203 may be used to generate a corresponding first set of values ​​reflecting the translational displacement (eg, two-dimensional or three-dimensional) of the robotic gripper 114 for one or more actions included in the action sequence. 1 ; Second control head 213 2 The corresponding second value set 203 may be used to generate a corresponding second value set 203 reflecting the orientation of the robotic gripper 115 for one or more actions included in the action sequence. 2 ; Third control head 213 3 The corresponding third value set 203 may be used to generate a corresponding third value set 203 reflecting the actuation state of the robot gripper 115 (or the degree of the actuation state of the robot end effector) for one or more actions included in the action sequence. 3 ; Fourth control head 203 4 The fourth value set 203 may be used to generate a corresponding fourth value set 203 reflecting the velocity and / or acceleration of the robot base 113 (or individual wheels 117A, 117B) for one or more actions included in the action sequence. 4 ; And so on, the Nth control head 213 N Used to generate the corresponding Nth value set 203 N, where N is a positive integer. Although specific control heads associated with specific components of the robot 110 are described above, it should be understood that this is for illustrative purposes and is not meant to be limiting, and the multiple control heads 213 utilized by the robot control strategy can be a function of the components of the robot 110 that perform the robot task. For example, if the robot does not include a robot base 113 (e.g., a fixed robot arm), a given control head associated with the robot base 113 may not be utilized. Further, for example, if the robot includes robot legs instead of a robot base 113, a control head associated with one or more robot legs may be utilized in place of the control head for the robot base 113. Further, although specific control heads are described above for different components of the control device, it should be understood that this is for illustrative purposes and is not meant to be limiting. For example, a first control head may be associated with controlling a first portion of a first component of the robot (e.g., the second control head 213 described above for the orientation of the robot gripper 115) 2 ), and a different second control head may be associated with a second portion of the first component controlling the robot (e.g., the third control head 213 described above for the actuation state of the robot gripper 115) 3 ).

[0038] In various implementations, the intermediate representation 202 of the visual data instance may be provided as an input to an additional control head (also referred to as a fault head) to generate a corresponding value set associated with the execution of the robot task itself, rather than utilizing the corresponding value set when controlling the corresponding components of the robot 110 as described above. The corresponding value set associated with the execution of the robot task may indicate, for example, whether the robot 110 will continue the execution of the robot task, whether the robot 110 will fail in the execution of the robot task, and / or whether the robot 110 has completed the execution of the robot task. In other words, the robot control strategy may utilize the corresponding value set to determine whether to prompt the user to intervene in the execution of the robot task. The corresponding value set associated with the execution of the robot task may be, for example, a vector of values, which may be mutually exclusive binary values ​​indicating whether the robot 110 will continue the execution of the robot task, whether the robot 110 will fail in the execution of the robot task, and / or whether the robot 110 has completed the robot task; a probability associated with whether the robot 110 will continue the execution of the robot task, whether the robot 110 will fail in the execution of the robot task, and / or whether the robot 110 has completed the execution of the robot task, and / or other values ​​corresponding to the execution of the robot task. For example, the corresponding value set generated using the fault header may include a vector of values ​​of [fail, continue, complete], where each value of the vector is a binary value indicating the execution of the robot task. As another example, the corresponding value set generated using the fault header may include a vector of values ​​of [fail / continue, complete], where the "fail / continue" value is a probability associated with whether the robot 110 will fail, and the "complete" value is a binary value associated with whether the robot 110 has completed the execution of the robot task.

[0039] In some implementations, the update engine 156 may generate one or more losses and use one or more of these losses to update the control head 213. In some of those implementations, one or more (e.g., all) of the losses may be generated using a loss function that is different from one or more (e.g., all) of the loss functions used when generating other losses. As a specific example, a first loss for a first control head used to update a robot control policy may be generated based on comparing a corresponding first value set with a corresponding replacement first value set for a next action and / or for one or more of a plurality of additional predicted actions, and a second loss for a second control head used to update a robot control policy may be generated based on comparing a corresponding second value set with a corresponding replacement second value set for a next action and / or for one or more of a plurality of additional predicted actions, and so on, for each control head used to control various components of the robot. In this example, a first loss function may be used to generate a first loss, and a different second loss function may be used to generate a second loss. In addition, the corresponding losses may be used to update the corresponding control heads.

[0040] For example, and briefly referring to Figure 2B , the update engine 156 may: based on the first value set 203 corresponding to a given training instance 1 The first value set 204 corresponds to the corresponding reference truth value 1 Comparison is performed to generate one or more first losses 156 1 ; Based on the second value set 203 corresponding to the given training instance 2 and the corresponding second value set 204 2 Compare and generate one or more second losses; based on the corresponding third value set 203 for a given training instance 3 The third value set 204 corresponds to the corresponding reference truth value 3 Compare and generate one or more third losses; based on the fourth value set 203 corresponding to the given training instance 3 The fourth value set 204 corresponds to the corresponding reference truth value 4 Compare and generate one or more fourth losses; and so on, for one or more Nth losses 156 NThe same is true. The update engine 156 can then update the corresponding control head 213 using the corresponding loss. It is worth noting that various loss functions can be used to generate one or more losses for each of the control heads. For example, one or more of the first losses can be generated using a mean squared error loss function, one or more of the second losses can be generated using a mean squared error loss function and / or a quaternion norm loss function, one or more of the third losses can be generated using a logarithmic loss function, and so on. The training engine 154 can repeat this process for multiple additional training examples. Although in Figure 2B Only one or more first losses 156 1 and one or more Nth losses 156 N Depicted as updating their corresponding control headers, it should be understood that this is for clarity and is not meant to be limiting.

[0041] In some implementations, and returns a reference Figure 1 , the evaluation engine 158 can evaluate the robot control strategy and determine whether to transition from a guided mode (e.g., training the robot control strategy based on a plurality of training instances as described above) to a semi-autonomous mode to further refine the robot control strategy. The evaluation engine 158 can determine whether to transition from the guided mode to the semi-autonomous mode when one or more conditions are met. The one or more conditions can include, for example, the occurrence of training based on at least a threshold amount of training instances, training based on training instances for a threshold duration, and / or other conditions described herein.

[0042] In the semi-autonomous mode, the RCP engine 166 can control the robot 110 to perform various robot tasks using the trained robot control strategy. In some implementations, the robot 110 can initiate the execution of the robot task in response to receiving a user input to initiate the execution of the robot task. For example, the user can provide the user input to initiate the execution of the robot task at one of the computing devices 120, 130 or at the robot 110 itself. In some implementations, the RCP engine 166 can control the robot to perform the robot task by processing the visual data instance using the robot control strategy to generate one or more actions to be performed, and the robot 110 can autonomously perform one or more of these actions. In some versions of those implementations, when the RCP engine 166 determines that the robot 110 fails in the execution of the robot task and / or the robot 110 is predicted to fail in the execution of the robot task, the user can be prompted to intervene in the execution of the robot task.

[0043] For example, assume that the robot 110 is performing a robotic task of opening a locked door, which robotic task requires the robot 110 to traverse a path to the locked door using the robot base 113, manipulate the door handle via the robot gripper 115 coupled to the robot arm 114, and traverse another path to push or pull the door to an open position. In this example, the RCP engine 166 can process the visual data instances generated by one or more of the visual components 112 using a robotic control strategy to generate an action sequence for a first iteration. The action sequence may include an initial action and a plurality of predicted actions that are predicted to follow the initial action. In addition, each of these actions may be associated with a corresponding set of values ​​for controlling a corresponding component of the robot 110. Notably, a representation of the action sequence may be provided as presented to a person via a graphical user interface of one of the computing devices 120, 130 (e.g., reference 14). Figure 3B and Figure 3C Assuming that the RCP engine 166 determines that the robot 110 will not fail in the performance of the robot task based on processing the visual data instance (and optionally the action sequence) using the failure head, the robot can perform the initial action using the corresponding value set to advance the robot task of opening the locked door. In addition, the RCP engine 166 can use the robot control strategy to process additional visual data instances generated by one or more of the visual components 112 to generate an additional action sequence for a second iteration. The additional action sequence may include a next action and multiple additional predicted actions that are predicted to follow the next action. Additional representations of the additional action sequence may be provided to be presented to a person via a graphical user interface of one of the computing devices 120, 130 (for example, reference Figure 3B and Figure 3C ). The RCP engine 166 may continue until the execution of the robotic task is completed.

[0044] However, in implementations where the RCP engine 166 uses a robot control policy, determines based on processing of visual data instances that the robot will fail in the performance of a robot task, or a user actively intervenes in the performance of a robot task, the user may be prompted to intervene in the performance of a robot task of opening a locked door. The prompt may be generated using the intervention engine 144. In this example, the user may provide user input via an input device of one of the computing devices 120, 130 (e.g., the controller 121) in response to receiving the prompt to control the robot 110. In some implementations, and based on the user input, the intervention engine 144 may generate a set of alternative corresponding values ​​for controlling corresponding components of the robot 110. The update engine 156 may utilize these sets of alternative corresponding values ​​to control various components of the robot 110, which may be used to generate one or more losses (e.g., with reference to the values ​​of ... Figure 2B144). For example, assume that a user is prompted to intervene in the performance of a robotic task. In this example, the corresponding value sets generated across different control heads can be compared to alternative corresponding value sets generated by the intervention engine 144 based on user input. The comparison can be used to generate one or more losses, and the robot control policy (or ML model) can be updated based on one or more of the losses. In some implementations, a corresponding loss can be determined for each of a plurality of control heads, and the corresponding losses are used to update the corresponding control head. In implementations where a human intervenes in the performance of a robotic task, such as when a user believes that the robot will continue to traverse a path through a door without stopping to open the door, one or more losses can be generated in the same or similar manner and used to update the control head.

[0045] In some implementations, the evaluation engine 158 can evaluate the refined robot control strategy and determine whether to transition from the semi-autonomous mode to the autonomous mode to validate the robot control strategy. The evaluation engine 158 can determine whether to transition from the semi-autonomous mode to the autonomous mode when one or more conditions are met. The one or more conditions can include, for example, convergence of the robot control strategy (e.g., zero loss or within a threshold range of zero loss), a determination that the robot control strategy performs better than the instance of the robot control strategy currently being utilized (if any) (e.g., in terms of precision and / or recall), occurrence of refinement based on at least a threshold amount of human intervention, and / or refinement performed in the semi-autonomous mode for a threshold duration.

[0046] In autonomous mode, the RCP engine 166 may also utilize the trained robot control strategy to control the robot 110 to perform various robot tasks. However, in contrast to the semi-autonomous mode, the user may be prompted to intervene in the performance of the robot tasks. Instead, the robot 110 is able to mitigate and / or recover from failures in the performance of various robot tasks with the aid of the robot control strategy trained and refined using the techniques described herein. For example, if the RCP engine 166 determines that the next action to be performed will cause the robot 110 to collide with an obstacle, the RCP engine 166 may avoid performing the next action and implement a different next action to be performed by the robot 110 in a subsequent iteration.

[0047] By using the techniques described herein, various technical advantages can be achieved. As a non-limiting example, by prompting a user to intervene in the execution of a robot task when it is determined that the robot 110 will fail in the execution of the robot task, the robot control strategy is trained to learn how to perform the robot task and how to recover from a failure in the execution of the robot task, rather than simply being trained to learn how to perform the robot task. Therefore, compared to other known technologies, when the robot control strategy is trained, the user can be prompted to intervene less frequently, thereby saving computing resources, network resources, and / or robot resources. As another non-limiting example, by enabling a person to intervene based on a visual representation of the actions that the robot can perform, collisions with various obstacles in the environment of the robot 110 can be avoided. Therefore, any potential damage to these obstacles and the robot can be completely mitigated or avoided. As another non-limiting example, by using the architecture described herein, each of the control heads dedicated to the corresponding components (or portions of the corresponding components) of the robot 110 can be refined based on one or more losses specific to those control heads. Therefore, the robot control strategy can be trained in a faster and more efficient manner and based on fewer user demonstrations.

[0048] Now go to Figure 3A-3C , depicts various non-limiting examples of a graphical user interface 300 of a platform for training and refining a robot control policy. A user may interact with the platform to train and refine a robot control policy. The platform may be at least partially implemented by a computing device (e.g., Figure 1 The platform may be implemented in one or more of the computing devices 120, 130, servers, and / or other computing devices, and may include, for example, a graphical user interface 300, an input device, and / or an output device. For example, the platform may enable a user to create or select a robot control strategy and initially select a robot control strategy based on a strategy stored in one or more databases (e.g., Figure 1 The robot control strategy is guided by human demonstrations in the demonstration data database 152A) and / or human demonstrations generated when a user interacts with the robot in the human demonstration mode 352B1 (e.g., reference Figure 3A In addition, the platform can enable the user to switch the control of the robot from the human demonstration mode 352B1 to the semi-autonomous mode 352B2 to further refine the robot control strategy (e.g., reference Figure 3B In addition, the platform can enable the user to switch control of the robot from a semi-autonomous mode 352B2 to an autonomous mode 352B3 to further evaluate the robot control strategy (e.g., reference Figure 3CIn some implementations, a user may switch between various modes 352B by selecting corresponding graphical elements provided for display at the platform's graphical user interface 300. In additional or alternative implementations, the platform may automatically switch between these modes 352B based on evaluating the execution of the robot control strategy.

[0049] In some implementations, and with specific reference to Figure 3A , the human demonstration mode 352B1 can be used to guide the robot control strategy based on human demonstration. For example, the human demonstrator can use teleoperation to control the robot, kinesthetically manipulate the robot, and / or utilize other techniques to demonstrate how the robot should perform a task. The training instances 320 can be generated based on the human demonstration, and each of the training instances can include a training instance input 322A and a training instance output 323A. The training instance input 321A can include, for example, a visual data instance and / or a state data instance (e.g., environment state data and / or robot state data) when the visual data instance is captured, such as Figure 3A The training example output 322A may include, for example, corresponding value sets for respective components of the robot associated with the human demonstration, such as the force values ​​of various components of the robot when the visual data instance is captured, as indicated by the various training example inputs 321A1, 321A2, 321A3, and 321A4 depicted in FIG. 1 (and optionally, other data as described herein, such as the force values ​​of various components of the robot when the visual data instance is captured). The training example output 322A may include, for example, corresponding value sets for respective components of the robot associated with the human demonstration, such as Figure 3A As shown in the various training example outputs 322A1, 322A2, 322A3, and 322A4 depicted in FIG. Notably, the corresponding value sets included in the training example output 322A may include corresponding value sets for a plurality of actions performed by the robot after the visual data instance is captured. In some implementations, each of the training examples 320 may be associated with a plurality of training examples. Figure 3A 323A1, 323A2, 323A3, and 323A4 depicted in. For example, the training instance input 321A1 may include a visual data instance capturing a robotic arm performing an object manipulation task (e.g., a grasping task as indicated by 323A1), and the training instance output 321A1 may include at least a corresponding set of values ​​for the robotic arm and the robotic end effector (e.g., a robotic gripper) that correspond to the values ​​used by the robot when performing the object manipulation task.

[0050] The platform may instruct the user to perform various tasks to guide the user in training the robot control strategy in human demonstration mode 352B1. For example, the platform may provide instructions at 352B1A that the user should perform human demonstrations of various robot tasks. In addition, the platform may include a log of human demonstrations performed at 352B1B. In this example, the platform indicates that 58 human demonstrations of object manipulation tasks have been performed, 47 human demonstrations of motion tasks have been performed, 15 human demonstrations of combined tasks have been performed, and 12 human demonstrations of other tasks have been performed. Figure 3A The training examples 320 shown in can be generated based on these human demonstrations.

[0051] In some implementations, the training instances 320 can be sorted based on one or more criteria. The one or more criteria can include, for example, the type of robot task associated with a given training instance (e.g., a grasping task, a motion task, etc.), the type of training instance output (e.g., a corresponding value set associated with a particular robot component), the type of training instance (e.g., positive or negative), and / or other criteria. For example, in response to selecting the sort training instance graphical element 382, ​​the platform can cause the training instance 320 to be sorted based on one or more of the criteria. The sort training instance graphical element 382, ​​when selected, can optionally cause a drop-down menu with various criteria for sorting the training instance to appear visually at the graphical user interface 300.

[0052] In some implementations, one or more of the training instances 320 may include one or more errors. The one or more errors may include, for example, incorrectly labeled training instances (e.g., positive training instances or negative training instances), missing visual data and / or states of training instance inputs 321A, missing corresponding value sets of training instance outputs 322A, and / or other errors. In these implementations, the user may view the training instances 320 including errors and may cause one or more actions to be performed to correct one or more of the errors. For example, in response to selecting a training instance error graphical element 383, the platform may cause the training instances 320 including one or more errors to be presented to the user. The user may then re-label one or more of these training instances, discard one or more of these training instances, and / or perform any other action to resolve one or more of the errors.

[0053] In some implementations, the platform can cause the robot control policy to be automatically trained based on the training examples 320 (e.g., as shown in FIG. Figure 4In additional or alternative implementations, the platform can cause the robot control policy to be trained in response to user input detected at the platform. For example, in response to selecting the training graphical element 384, the platform can cause the robot control policy to be trained based on the training examples 320. In these and other ways, the robot control policy can be guided based on human demonstration.

[0054] In some implementations, and with specific reference to Figure 3B , the semi-autonomous mode 352B2 can be used to refine the robot control strategy based on human intervention received during the execution of the semi-autonomous robot task 330 after the guidance of the robot control strategy. When in the semi-autonomous mode 352B2, the robot control strategy can be evaluated based on the amount of human intervention received during the execution of the robot task. In other words, the robot can be evaluated based on how well the robot performs without human intervention.

[0055] For example, as indicated by 352B2A, assume that the user provides an input of "go pick up the cup." In this example, the robot can utilize the trained robot control policy to generate an action sequence to traverse a path toward table 191 and pick up cup 192. In some implementations, the graphical user interface 380 can additionally or alternatively be used to visually display a representation of the action sequence as the robot performs the robot task, as indicated by 331, 332, 333, 334, 335, and 336. In some versions of those implementations, the representation of the action sequence visually displayed via the graphical user interface 380 includes a sequence of corresponding waypoints (e.g., as indicated by 331, 332, 333, 334, 335, and 336) of the robot's environment 330A captured in the visual data instance. Figure 3B Each of the corresponding waypoints may be associated with one or more components of the robot in response to a given action included in the action sequence being implemented by the robot. Figure 3B In the example of , the waypoint sequence may correspond to a robotic gripper used to perform a grasping task. Figure 3BThe action sequence depicted in is a waypoint for the robot gripper, but it should be understood that this is for illustrative purposes and is not meant to be limiting. In additional or alternative implementations, the representation of the action sequence visually presented via the graphical user interface 380 includes a sequence of corresponding states of the robot overlaid with the robot's environment 330A captured in the visual data instance. Each of the corresponding states of the robot can correspond to a given state of the robot in response to a given action included in the action sequence being performed by the robot. In various implementations, the representation of each of the actions can be selectable so that when selected, corresponding sets of values ​​for various components of the robot can be visually presented to the user. For example, assume that the user selects waypoint 331. In response to the user selecting waypoint 331, one or more values ​​of the robot can be presented to the user, as indicated by 331A.

[0056] In some implementations, the robot control strategy can (e.g., using a reference Figure 1 , Figure 2A and Figure 2B The platform may generate a prompt 337 and may provide the prompt to the user via the graphical user interface 380. The prompt 337 may request the user to intervene in the performance of the robot task. For example, the user may use an input device (e.g., Figure 1 The controller 121 of the robot can be used to control the robot and correct one or more actions when performing the robot task. One or more losses can be generated based on the user intervening in the performance of the robot task (for example, as shown in reference Figure 1 , Figure 2A and Figure 2B 337A. In some of these implementations, the user may override prompt 337, as indicated by 337A. In implementations where prompt 337 is overridden, the fault header may be subsequently updated to reduce the occurrence of prompting the user when processing similar visual data instances using the robot control strategy and / or when generating similar actions using the robot control strategy.

[0057] In additional or alternative implementations, the user can actively intervene in the performance of the robot task based on the representation of the action sequence visually displayed to the user. For example, waypoints 335 and 336 indicate that the robot gripper is not predicted to grasp cup 192 based on the action. Instead, it appears that the robot will bump into table 191 and reach above cup 192 to perform the grasping task, or go to the far side of table 191 to perform the grasping task. Thus, the user can actively utilize input devices (e.g., Figure 1 The controller 121 of the robot can be used to control the robot and correct one or more actions when performing the robot task. One or more losses can be generated based on the user intervening in the performance of the robot task (for example, as shown in reference Figure 1 , Figure 2A and Figure 2B described), and one or more of these losses can then be used to refine the robot control policy.

[0058] After any human intervention in the execution of the robot task, the robot control strategy can obtain control of the robot from the human. However, if during the execution of the robot task, the robot control strategy determines that the robot has failed again or is predicted to fail again, the platform can generate additional prompts, and the additional prompts are presented to the user via the graphical user interface 380. This process can be repeated until the robot completes the execution of the robot task.

[0059] In various implementations, one or more metrics related to the execution of the robot task in the semi-autonomous mode 352B2 may be provided for presentation to the user. For example, one or more of these metrics may be associated with the execution of the current robot task in the semi-autonomous mode 352B2 as indicated by 352B2B, the execution of historical robot tasks executed in the semi-autonomous mode 352B2 as indicated by 352B2C, and / or other metrics. In various implementations, the platform may make recommendations for specific tasks that should be performed in the semi-autonomous mode 352B2 as indicated by 352B2D.

[0060] In some implementations, and after execution of the semi-autonomous robotic task 330, the robot control policy may be automatically updated based on one or more losses generated based on the intervention. In some versions of these implementations, a threshold amount of the semi-autonomous robotic task may be executed before causing the robot control policy to be refined. In additional or alternative implementations, the robot control policy may be refined in response to receiving user input. For example, in response to selecting the refine policy graphical element 385, the robot control policy may be refined based on one or more of the losses generated during execution of the semi-autonomous robotic task 330.

[0061] In some implementations, and with specific reference to Figure 3C, the autonomous mode 352B3 can be used to evaluate the execution of the robot control policy after refining the robot control policy in the semi-autonomous mode 352B2. In the autonomous mode 352B3, the user may not be prompted to intervene in the execution of the autonomous robot task 340. The robot can utilize the robot control policy to autonomously perform various robot tasks in the environment 340A, and the robot control policy can be evaluated based on whether the robot completes the robot task and / or the efficiency of the robot in performing the robot task. For example, assume that the user provides an input of "go pick up the cup", as indicated by 352B3A. In this example, the robot can utilize the refined robot control policy to generate a sequence of actions to advance through the path toward the table 191 and pick up the cup 192. It is worth noting that in various implementations of the inference, the robot control policy may only generate the next action, rather than the sequence of actions described above with reference to the semi-autonomous mode 352B2. However, for the sake of example, in Figure 3C , and shows that based on the refined robotic control strategy in semi-autonomous mode 352B2, the performance of the robotic task has been improved (e.g., as indicated by fewer waypoints and waypoint 345 indicating that the robotic gripper will properly grasp cup 192).

[0062] Similar to the semi-autonomous mode 352B2, in various implementations, one or more metrics related to the execution of the robot task in the autonomous mode 352B3 may be provided for presentation to the user. For example, one or more of these metrics may be associated with the execution of the current robot task in the autonomous mode 352B3 as indicated by 352B3B and / or other metrics. In various implementations, the platform may make recommendations based on the execution of the robot control strategy when executing the autonomous robot task 340. For example, as indicated by 352B3C, the platform may suggest further refining the robot control strategy in the semi-autonomous mode 352B2.

[0063] Although specific robotics tasks are described Figure 3A-3C , but it should be understood that this is for illustrative purposes and is not meant to be limiting. For example, other robot tasks (such as opening doors, sorting various objects, opening sliding doors, opening locked doors, navigation and obstacle avoidance tasks, and / or any other tasks that can be performed by a robot in a real or simulated environment) can be performed to further refine the robot strategy.

[0064] Now go to Figure 4, depicts a flow chart illustrating an example method 400 for generating training instances based on human demonstrations and guiding a robot control strategy based on the human demonstrations. In other words, the method 400 describes a guidance mode for training a robot control strategy. For convenience, the operations of the method 400 are described with reference to a system that performs the operations. The system may include one or more processors, such as a processor of the user input system 140 and / or the training system 150. In addition, although the operations of the method 400 are shown in a particular order, this is not meant to be limiting. One or more operations may be reordered, omitted, or added.

[0065] At block 452, the system obtains demonstration data for the robot generated based on human demonstration of a robot task. The demonstration data can be generated based on human demonstration performed in a simulated environment using a simulated robot and / or in a real-world environment using an instance of a simulated robot.

[0066] At block 454, the system generates a plurality of training instances based on the demonstration data. Each of the training instances may include a training instance input and a training instance output. The training instance input may include, for example and as indicated by sub-block 454A, a visual data instance and / or state data associated with the visual data instance. The training instance output may include, for example and as indicated by sub-block 454B, one or more corresponding sets of ground truth values ​​for corresponding components of the robot when the visual data instance was captured. Figure 1 The training instance engine 152 generates multiple training instances.

[0067] At block 456, the system determines whether to generate a plurality of additional training instances. The system may determine whether to generate a plurality of additional training instances based on, for example, the number of training instances available for training the robot control policy, the number of training instances associated with a particular robot task, and / or other criteria. If, at an iteration of block 456, the system determines to generate a plurality of additional training instances, the system returns to block 452 to obtain additional demonstration data for the robot and generates a plurality of additional training instances based on the additional demonstration data at an additional iteration of 454. If, at an iteration of block 456, the system determines not to generate a plurality of additional training instances, the system proceeds to block 458.

[0068] At block 458, the system trains the robot control policy based on the plurality of training examples. Figure 1 The training engine 154) trains the robot control strategy.

[0069] At block 460, the system determines whether one or more conditions are satisfied. The one or more conditions may include, for example, the occurrence of training based on at least a threshold amount of training instances, the training based on a threshold duration of training instances, and / or other conditions described herein. If at an iteration of block 460, the system determines that one or more conditions are not satisfied, the system returns to block 452 and repeats the operations of blocks 452-458. If at an iteration of block 460, the system determines that one or more of the conditions are satisfied, the system proceeds to block 462.

[0070] At block 462, the system causes the robot to utilize the robot control strategy in the semi-autonomous mode to refine the robot control strategy. The semi-autonomous mode is described in detail herein (e.g., with reference to Figure 1 and Figure 3B ).

[0071] Now go to Figure 5 , depicts a flow chart illustrating an example method 500 for refining a robot control policy based on human intervention in the execution of a robot task. In other words, the method 500 describes a semi-autonomous mode for refining a trained robot control policy. For convenience, the operations of the method 500 are described with reference to a system that performs the operations. The system may include one or more processors, such as Figure 1 The user input system 140, the training system 150, and / or the processor of the robotic system 160. In addition, although the operations of the method 500 are shown in a particular order, this is not meant to be limiting. One or more operations may be reordered, omitted, or added.

[0072] At block 552, the system causes the robot to initiate performance of the robot task. The system may cause the robot to initiate performance of the robot task in response to receiving user input at one or more computing devices to initiate performance of the robot task.

[0073] At block 554, the system receives visual data instances capturing the robot's environment from one or more visual components. The visual components may be components of the robot and / or components external to the robot.

[0074] At box 556, the system processes the visual data instance using the robot control policy to generate an action sequence, the action sequence including an initial action and multiple predicted actions predicted to follow the initial action. In some implementations, and as indicated by subbox 556A, the system processes the visual data instance using an intermediate portion of the robot control policy to generate an intermediate representation of the visual data instance. In addition, and as indicated by subbox 556B, the system processes the intermediate representation of the visual data instance using multiple different control heads of the robot control policy to generate corresponding value sets for corresponding components of the robot. In some implementations, the system may only process the intermediate representation of the visual data instance in a specific mode (such as in this document (e.g., reference 556A). Figure 1 , Figure 3B and Figure 3C ) in the semi-autonomous mode described in ). In additional or alternative implementations, the system may only generate an initial action.

[0075] At block 558, the system causes a representation of the action sequence to be presented to the user. In some implementations, the system may cause the representation of the action sequence to be presented only in a specific mode (such as in this document (e.g., reference 1). Figure 1 and Figure 3A-3C ) is presented to the user in the guided mode, semi-autonomous mode and / or autonomous mode described in ).

[0076] At block 560, the system determines whether the robot has failed or is predicted to fail in the performance of the robot task. The system may (e.g., using a reference Figure 1 , Figure 2A and Figure 2B A fault head described herein determines whether the robot has failed or is predicted to fail in the performance of a robot task based on outputs generated using a robot control strategy.

[0077] If at the iteration of block 560, the system determines that the robot has failed or is predicted to fail in the performance of the robot task, the system proceeds to block 562. At block 562, the system causes the robot to implement an initial action. For example, the system can utilize corresponding value sets for corresponding components of the robot to actuate corresponding components of the robot to perform the initial action. The system can then return to block 554 to receive additional visual data instances capturing the robot's environment from one or more of the visual components and repeat the remaining operations of method 500 until the performance of the robot task is completed.

[0078] If at the iteration of block 560, the system determines that the robot is not failing in the performance of the robot task and is not predicted to fail in the performance of the robot task, the system proceeds to block 564. At block 564, the system causes a prompt to be presented to the user requesting human intervention in the performance of the robot task. The prompt may be presented visually and / or audibly to be presented to the user via the robot or a computing device.

[0079] At block 566, the system receives user input to intervene in the execution of the robot task. The user input can control the robot and recover from and / or prevent failures in the execution of the robot task. In some implementations, the user can provide input via one or more computing devices in communication with the robot in response to a prompt. In additional or alternative implementations, the user can actively intervene in the execution of the robot task without revealing any prompt to present to the user.

[0080] At box 568, the system generates one or more losses based on the user input and / or based on achieving the initial action. In some implementations, such as when the user input is received, the robot control policy is used to generate corresponding value sets for corresponding components of the robot at box 556, and one or more of the losses can be generated based on comparing the corresponding value sets for the corresponding components of the robot with corresponding alternative value sets for the corresponding components of the robot. In additional or alternative implementations, when the robot achieves the initial action at box 562, the system may compare the corresponding value sets for the corresponding components of the robot with corresponding demonstration value sets from one or more human demonstrations of the same robot task (if any). Generating one or more of the losses in this manner (e.g., reference to Figure 1 and Figure 2).

[0081] At block 570, the system updates the robot control policy based on one or more of the losses. In some implementations, one or more of the losses generated at block 568 are associated with a specific control head, and the corresponding specific control head can be updated based on the associated one or more losses. The system can then return to block 554 to receive additional visual data instances of the environment capturing the robot from one or more of the visual components, and repeat the remaining operations of method 500 until the execution of the robot task is completed. In some implementations, the system can cause the robot to initiate the execution of the additional robot task. In some versions of those implementations, the system can continue to execute the additional robot task until one or more conditions are met. The one or more conditions can include, for example, convergence of the robot control policy (e.g., zero loss or within a threshold range of zero loss), determination that the robot control policy performs better than the instance of the robot control policy currently being utilized (if any) (e.g., in terms of precision and / or recall), occurrence of refinement based on at least a threshold amount of human intervention, and / or refinement for a threshold duration in a semi-autonomous mode.

[0082] Now go to Figure 6 , depicts a flow chart illustrating an example method 600 for utilizing a robot control strategy when autonomously controlling a robot. In other words, the method 600 describes an autonomous mode utilizing a refined robot control strategy. For convenience, the operations of the method 600 are described with reference to a system that performs the operations. The system may include one or more processors, such as Figure 1 The processor of the robot system 160. In addition, although the operations of the method 600 are shown in a particular order, this is not meant to be limiting. One or more operations may be reordered, omitted, or added.

[0083] At block 652, the system causes the robot to initiate execution of a robot task. At block 654, the system receives visual data instances capturing the robot's environment from one or more visual components. At block 656, the system processes the visual data instances using a robot control strategy to generate an action sequence, the action sequence comprising an initial action and a plurality of predicted actions predicted to follow the initial action. The system may respectively Figure 5 The system performs the operations of blocks 652-656 in the same or similar manner as described in blocks 552-556 of FIG. At block 658, the system causes the robot to perform an initial action. The system may be performed in a manner similar to that described in FIG. Figure 5 The initial action is performed in the same or similar manner as described in block 562 .

[0084] At block 660, the system determines whether the robot has completed execution of the robot task. The system may (e.g., using a reference Figure 1 , Figure 2A and Figure 2B The system may then determine whether the robot has completed execution of the robot task based on the output generated using the robot control strategy. If at the iteration of block 660, the system determines that the robot has not completed execution of the robot task, the system returns to block 654. The system may then return to block 754 to receive additional visual data instances capturing the robot's environment from one or more of the visual components and repeat the remaining operations of blocks 654-660 until execution of the robot task is completed. If at the iteration of block 660, the system determines that the robot has completed execution of the robot task, the system proceeds to block 662.

[0085] At box 662, the system determines whether one or more conditions are satisfied. The one or more conditions may include, for example, a determination that the robot control strategy performs better (e.g., in terms of precision and / or recall) than an instance of the robot control strategy currently being utilized (if any), that a threshold amount of robot autonomous execution is achieved without failures in the performance of the robot task, and / or other conditions described herein. If, at an iteration of box 662, the system determines that one or more conditions are not satisfied, the system proceeds to box 664. At box 664, the system causes the robot to utilize the robot control strategy in a semi-autonomous mode to refine the robot control strategy. In other words, the system may test the robot control strategy in autonomous mode, but determine that the robot control strategy needs to be further refined and return to semi-autonomous mode (e.g., referring to the robot control strategy in the semi-autonomous mode). Figure 5 If, at the iteration of block 662, the system determines that one or more of the conditions are met, the system proceeds to block 666.

[0086] At box 666, the system causes the robot to utilize the robot control policy in the performance of future robot tasks. In some implementations, the robot control policy can be trained, refined, and used for specific robot tasks (or specific aspects of a given robot task). For example, the system can train and refine a first robot control policy for a grasping task, a second robot control policy for a motion task, and the like. In this example, the first robot control policy and the second robot control policy can be used for the performance of their respective robot tasks, or both can be used for the performance of a combined task (e.g., opening a locked door). In other implementations, a single robot control policy can be trained, refined, and used for multiple robot tasks (or multiple aspects of a given robot task). For example, in this example, the system can train and refine robot control policies for grasping tasks, motion tasks, and the like.

[0087] Now go to Figure 7, schematically depicts an example architecture of a robot 720. The robot 720 includes a robot control system 760, one or more operating components 740a-740n, and one or more sensors 742a-742m. The sensors 742a-742m may include, for example, visual sensors, light sensors, pressure sensors, pressure wave sensors (e.g., microphones), proximity sensors, accelerometers, gyroscopes, thermometers, barometers, and the like. Although the sensors 742a-742m are depicted as being integrated with the robot 720, this is not meant to be limiting. In some implementations, the sensors 742a-742m may be located outside the robot 720, for example as a standalone unit.

[0088] The operating components 740a-740n may include, for example, one or more end effectors and / or one or more servomotors or other actuators for implementing movement of one or more components of the robot. For example, the robot 720 may have multiple degrees of freedom, and each of the actuators may control actuation of the robot 720 within one or more degrees of freedom in response to control commands. As used herein, the term actuator includes a mechanical or electrical device (e.g., a motor) that produces motion, in addition to any driver that may be associated with the actuator and converts a received control command into one or more signals for driving the actuator. Thus, providing a control command to the actuator may include providing a control command to the driver that converts the control command into an appropriate signal for driving the electrical or mechanical device to produce the desired motion.

[0089] The robot control system 760 may be implemented in one or more processors, such as a CPU, GPU, and / or other controller of the robot 720. In some implementations, the robot 720 may include a "brain box" that may include all or aspects of the control system 760. For example, the brain box may provide real-time bursts of data to the operating components 740a-740n, each of which includes a set of one or more control commands that specifically indicate motion parameters (if any) for each of the one or more operating components 740a-740n. In some implementations, the robot control system 760 may be used to implement the actions described herein, whether they are actions selected based on an engineered policy according to the techniques disclosed herein, or actions selected using an RL policy model trained at least in part based on RL-compatible data generated according to the techniques disclosed herein.

[0090] Although the control system 760 Figure 7760 is shown as an integrated part of the robot 720, but in some implementations, all or aspects of the control system 760 may be implemented in a component separate from the robot 720 but in communication with the robot 720. For example, all or aspects of the control system 760 may be implemented on one or more computing devices (such as the computing device 810) in wired and / or wireless communication with the robot 720.

[0091] Now go to Figure 8 , depicts a block diagram of an example computing device 810 that may optionally be used to perform one or more aspects of the techniques described herein. The computing device 810 typically includes at least one processor 814 that communicates with a number of peripheral devices via a bus subsystem 812. These peripheral devices may include a storage subsystem 824 (including, for example, a memory subsystem 825 and a file storage subsystem 826), a user interface output device 820, a user interface input device 822, and a network interface subsystem 816. The input and output devices allow a user to interact with the computing device 810. The network interface subsystem 816 provides an interface to an external network and is coupled to corresponding interface devices in other computing devices.

[0092] The user interface input device 822 may include a keyboard, a pointing device such as a mouse, trackball, touchpad or digitizer, a scanner, a touch screen incorporated into a display, an audio input device such as a voice recognition system, a microphone, and / or other types of input devices. In general, the use of the term "input device" is intended to include all possible types of devices and ways to input information into the computing device 810 or over a communication network.

[0093] The user interface output device 820 may include a display subsystem, a printer, a fax machine, or a non-visual display such as an audio output device. The display subsystem may include a cathode ray tube (CRT), a flat panel device such as a liquid crystal display (LCD), a projection device, or some other mechanical devices for creating a visual image. The display subsystem may also provide a non-visual display such as via an audio output device. Generally, the use of the term "output device" is intended to include devices and methods of all possible types of information output from the computing device 810 to a user or another machine or computing device.

[0094] The storage subsystem 824 stores programming and data structures that provide some or all of the functionality of the modules described herein. For example, the storage subsystem 824 may include a Figure 4 methods, Figure 5 methods and / or Figure 6 The logic of the selected aspect of the method.

[0095] These software modules are generally executed by the processor 814 alone or in combination with other processors. The memory 825 used in the storage subsystem 824 may include multiple memories, including a main random access memory (RAM) 830 for storing instructions and data during program execution and a read-only memory (ROM) 832 in which fixed instructions are stored. The file storage subsystem 826 can provide persistent storage for program and data files, and can include a hard disk drive, a floppy disk drive and associated removable media, a CD-ROM drive, an optical drive, or a removable media box. Modules that implement the functions of certain implementations can be stored in the storage subsystem 824 or in other machines accessible by the processor 814 by the file storage subsystem 826.

[0096] The bus subsystem 812 provides a mechanism for the various components and subsystems of the computing device 810 to communicate with each other as intended. Although the bus subsystem 812 is shown schematically as a single bus, alternative implementations of the bus subsystem may use multiple busses.

[0097] The computing device 810 can be of various types, including a workstation, a server, a computing cluster, a blade server, a server farm, or any other data processing system or computing device. Figure 8 The description of the computing device 810 depicted in FIG. 8 is intended only as a specific example for the purpose of illustrating some implementations. Various other configurations of the computing device 810 are possible, with various other configurations having more Figure 8 The computing devices depicted may have greater or fewer components.

[0098] In some implementations, a method implemented by one or more processors is provided, the method comprising: receiving a visual data instance capturing an environment of the robot from one or more visual components of the robot, the visual data instance being captured during the robot's performance of a robot task; processing the visual data instance using a robot control strategy to generate a sequence of actions to be performed by the robot during the robot task, the action sequence comprising an initial action to be performed by the robot to advance the robot task and a plurality of predicted actions predicted to follow the initial action; determining whether the robot will fail in the performance of the robot task based on processing the visual data instance using the robot control strategy; and in response to determining that the robot will fail in the performance of the robot task: causing a prompt to appear via an interface of a computing device or the robot, the prompt requesting a user of the computing device to intervene in the performance of the robot task; based on the prompt, receiving user input from the user of the computing device to intervene in the performance of the robot task, the user input being received via an input device of the computing device or an additional computing device; and causing the robot control strategy to be updated based on the user input.

[0099] These and other implementations of the techniques disclosed herein may include one or more of the following features.

[0100] In some implementations, the method may further include: in response to determining that the robot is not failing in the execution of the robot action, causing the robot to perform an initial action. The method may further include, until the robot completes the execution of the robot task: receiving from one or more of the robot's visual components an additional visual data instance capturing the robot's environment, the additional visual data instance being captured during the robot's execution of the robot task; processing the additional visual data instance using the robot control strategy to generate an additional action sequence to be performed by the robot during the robot task, the additional action sequence including a next action to be performed by the robot to advance the robot task and an additional plurality of predicted actions predicted to follow the next action; and determining whether the robot will fail in the execution of the robot task based on processing the additional visual data instance using the robot control strategy.

[0101] In some versions of these implementations, each action included in the action sequence may include a corresponding first set of values ​​for a first component of the robot, and each action included in the action sequence may also include a corresponding second set of values ​​for a second component of the robot.

[0102] In some further versions of these implementations, causing the robot to perform the initial action may include causing the robot to actuate a first component of the robot using a corresponding first value set, and causing the robot to actuate a second component of the robot using a corresponding second value set. In still further versions of these implementations, the first component of the robot may be one of: a robot arm, a robot end effector, a robot base, or a robot head. In still further versions of these implementations, the second component of the robot may be another one of: a robot arm, a robot end effector, a robot base, or a robot head.

[0103] In some additional or alternative other versions of these implementations, causing the robot control strategy to be updated based on the user input may be after determining that the robot has completed performance of the robot task.

[0104] In some implementations, processing the visual data instance using the robot control strategy to generate the action sequence may include: processing the visual data instance using an intermediate portion of the robot control strategy to generate an intermediate representation of the visual data instance; processing the intermediate representation of the visual data instance using a first control head of the robot control strategy to generate a corresponding first value set for a first component of the robot for each action included in the action sequence; and processing the intermediate representation of the visual data instance using a second control head of the robot control strategy to generate a corresponding second value set for a second component of the robot for each action included in the action sequence. In some versions of those implementations, the method may also include, in response to receiving a user input intervening in the performance of the robot task: generating, based on the user input, for one or more actions included in the action sequence, a corresponding alternative first value set for the first component of the robot and a corresponding alternative second value set for the second component of the robot that the robot should utilize in the performance of the robot task; generating a first loss based on comparing the corresponding first value set with the corresponding alternative first value set; and generating a second loss based on comparing the corresponding second value set with the corresponding alternative second value set. Causing the robot control strategy to be updated may be based on the first loss and the second loss. In some further versions of those implementations, the first loss may be generated using a first loss function, and the second loss may be generated using a different second loss function.

[0105] In some implementations, processing the visual data instance to generate a sequence of actions to be performed by the robot during the robot task can include: processing the visual data instance using an intermediate portion of the robot control strategy to generate an intermediate representation of the visual data instance. The sequence of actions can be generated based on the intermediate representation of the visual data instance.

[0106] In some versions of these implementations, determining whether the robot will fail in the execution of the robot task may include: processing an intermediate representation of a visual data instance using a control head of a robot control strategy to generate one or more corresponding value sets associated with the execution of the robot task for one or more actions included in an action sequence; and determining that the robot will fail in the execution of the robot task based on the corresponding value sets.

[0107] In some further versions of those implementations, determining that the robot will fail in performance of the robot task may be based on one or more of a corresponding value set associated with the initial action. In additional or alternative versions of those further implementations, determining that the robot will fail in performance of the robot task may be based on one or more of a corresponding value set associated with one or more of a plurality of predicted actions that follow the initial action. In additional or alternative versions of those further implementations, the corresponding value set associated with performance of the robot task may include corresponding values ​​associated with one or more of whether the robot will fail in performance of the robot task, whether the robot will continue performance of the robot task, or whether the robot has completed performance of the robot task.

[0108] In some implementations, the robot may be a simulated robot, the robot's environment may be a simulated environment of the simulated robot, and the robot task may be performed by the simulated robot in the simulated environment.

[0109] In some implementations, the robot may be a real robot, the robot's environment may be a real-world environment of the real robot, and the robot task may be performed by the real robot in the real-world environment.

[0110] In some implementations, a method implemented by one or more processors is provided, the method comprising: receiving visual data instances capturing the robot's environment from one or more visual components of the robot, the image data being captured during the robot's performance of a robot task; processing the visual data instances using a robot control strategy to generate an action sequence to be performed by the robot during the robot task, the action sequence comprising an initial action to be performed by the robot to advance the robot task and a plurality of predicted actions following the initial action; during the performance of the robot task, causing a representation of the action sequence to be visually displayed via a graphical user interface of a computing device; based on the representation of the action sequence, receiving user input from a user of the computing device to intervene in the performance of the robot task, the user input being received via the computing device or an additional computing device; and causing the robot control strategy to be updated based on the user input.

[0111] These and other implementations of the techniques disclosed herein may include one or more of the following features.

[0112] In some implementations, a representation of an action sequence visually presented via a graphical user interface of a computing device may include a sequence of corresponding waypoints overlaid on an environment of the robot captured in the visual data instance, each of the corresponding waypoints being associated with one or more components of the robot in response to a given action included in the action sequence being performed by the robot.

[0113] In some implementations, a representation of an action sequence visually presented via a graphical user interface of a computing device may include a sequence of corresponding states of a robot overlaid on an environment of the robot captured in the visual data instance, each of the corresponding states of the robot corresponding to a given state of the robot in response to a given action included in the action sequence being performed by the robot.

[0114] In some implementations, processing a visual data instance using a robot control strategy to generate an action sequence may include: processing the visual data instance using an intermediate portion of the robot control strategy to generate an intermediate representation of the visual data instance; processing the intermediate representation of the visual data instance using a first control head of the robot control strategy to generate a corresponding first set of values ​​for a first component of the robot for each action included in the action sequence; and processing the intermediate representation of the visual data instance using a second control head of the robot control strategy to generate a corresponding second set of values ​​for a second component of the robot for each action included in the action sequence.

[0115] In some versions of these implementations, the representation of the sequence of actions visually presented via a graphical user interface of the computing device may include a corresponding representation of each action included in the sequence of actions. In some other versions of these implementations, the corresponding representation of each action included in the sequence of actions may be selectable and, when selected, cause one or more of a corresponding first set of values ​​for the first component or a corresponding second set of values ​​for the second component to be visually presented via the graphical user interface of the computing device.

[0116] In some versions of these implementations, the method may further include, in response to receiving a user input intervening in the performance of the robot task: based on the user input, generating, for one or more actions included in the action sequence, a corresponding alternative first value set for a first component of the robot and a corresponding alternative second value set for a second component of the robot that the robot should utilize in the performance of the robot task; generating a first loss based on comparing the corresponding first value set with the corresponding alternative first value set; and generating a second loss based on comparing the corresponding second value set with the corresponding alternative second value set. Causing the robot control strategy to be updated may be based on the first loss and the second loss.

[0117] In some implementations, the method may further include: after execution of the robotic task, receiving additional user input from a user of the computing device associated with data generated during execution of the robotic task. Causing the robotic control policy to be updated may be further based on the additional user input. In some versions of those implementations, the additional user input may relabel the data generated during execution of the robotic task, and the data generated during execution of the robotic task may be generated using the robotic control policy or may be generated based on the user input.

[0118] In some implementations, a method implemented by one or more processors is provided, the method comprising: receiving a visual data instance capturing an environment of the robot from one or more visual components of the robot, the visual data instance being captured during the robot's performance of a robot task; processing the visual data instance using an intermediate portion of a robot control strategy to generate an intermediate representation of the visual data instance; processing the intermediate representation of the visual data instance using a first control head of the robot control strategy to generate a corresponding first set of values ​​for a first control portion of a component of the robot for an action to be performed by the robot to advance the robot task; processing the intermediate representation of the visual data instance using a second control head of the robot control strategy to generate a corresponding second set of values ​​for a second control portion of the component of the robot for the action; receiving user input from a user of a computing device to intervene in the performance of the robot task, the user input being received via the computing device or an additional computing device; and causing the robot control strategy to be updated based on the user input.

[0119] These and other implementations of the techniques disclosed herein may include one or more of the following features.

[0120] In some implementations, causing the robot control policy to be updated based on the user input may include: generating, based on the user input and for the action, a corresponding alternative first value set and a corresponding alternative second value set that the robot should utilize in performance of the robot task; generating a first loss based on comparing the corresponding first value set to the corresponding alternative first value set and using a first loss function; and generating a second loss based on comparing the corresponding second value set to the corresponding alternative second value set and using a second loss function. Causing the robot control policy to be updated may be based on the first loss and the second loss.

[0121] In some versions of these implementations, causing the robot control strategy to be updated based on the first loss and the second loss may include: updating a first control head of the robot control strategy based on the first loss; and updating a second control head of the robot control strategy based on the second loss.

[0122] In some versions of these implementations, the method may also include: processing the intermediate representation of the visual data instance using a third control head of the robot control strategy to generate a corresponding third value set for the additional component of the robot for the action. In some versions of those implementations, causing the robot control strategy to be updated based on the user input may also include: generating a corresponding alternative third value set based on the user input and for the action; and generating a third loss based on comparing the corresponding third value set to the corresponding alternative third value set. Causing the robot control strategy to be updated may be further based on the third loss. In some further versions of those implementations, causing the robot control strategy to be updated based on the third loss may include updating the third control head of the robot control strategy based on the third loss.

[0123] In some implementations, the first component of the robot may be one of: a robot arm, a robot end effector, a robot base, or a robot head. In some versions of these implementations, the first control portion may be a position change of the first component, and the second control portion may be an orientation change of the first component.

[0124] In some implementations, a method implemented by one or more processors is provided, the method comprising: receiving a visual data instance capturing an environment of the robot from one or more visual components of the robot, the visual data instance being captured during the robot's performance of a robot task; processing the visual data instance using an intermediate portion of a robot control strategy to generate an intermediate representation of the visual data instance; processing the intermediate representation of the visual data instance using a first control head of the robot control strategy to generate a corresponding first set of values ​​for a first control portion of a component of the robot for an action to be performed by the robot to advance the robot task; processing the intermediate representation of the visual data instance using a second control head of the robot control strategy to generate a corresponding second set of values ​​for a second control portion of the component of the robot for the action; and causing the robot to perform the action. Causing the robot to perform the action may include causing the robot to utilize the corresponding first set of values ​​and the corresponding second set of values ​​when controlling the component of the robot.

[0125] These and other implementations of the techniques disclosed herein may include one or more of the following features.

[0126] In some implementations, the method may further include: processing the intermediate representation of the visual data instance using a third control head of the robot control strategy to generate a corresponding third value set for at least one control portion of an additional component of the robot for the action. Causing the robot to perform the action may also include: causing the robot to control a third component of the robot using the corresponding third value set.

[0127] Various implementations may include a non-transitory computer-readable storage medium storing instructions executable by one or more processors (e.g., a central processing unit, a graphics processing unit, and / or a tensor processing unit) to perform a method such as one or more of the methods described herein. Other implementations may include a system of one or more computers and / or one or more robots including one or more processors operable to execute stored instructions to perform a method such as one or more of the methods described herein.

Claims

1. A method implemented using one or more processors, the method comprising: receiving, from one or more vision components of the robot, an instance of visual data capturing an environment of the robot, the visual data being captured during performance of a robot task by the robot; processing instances of the visual data using a robot control policy to generate a sequence of actions to be performed by the robot during a robot task, the sequence of actions comprising an initial action to be performed by the robot to advance the robot task and a plurality of predicted actions following the initial action; causing a representation of the sequence of actions to be visually presented via a graphical user interface of the computing device during performance of the robotic task; receiving user input from a user of the computing device and intervening in the performance of the robotic task based on the representation of the action sequence, the user input being received via the computing device or an additional computing device; and The robot is caused to perform an alternative action different from each of the actions included in the action sequence based on the user input.

2. The method according to claim 1, wherein: A representation of an action sequence visually presented via a graphical user interface of a computing device comprises: a sequence of corresponding waypoints overlaid on an environment of the robot captured in an instance of visual data, each of the corresponding waypoints being associated with one or more components of the robot in response to a given action included in the action sequence being performed by the robot.

3. The method according to claim 1, wherein: A representation of an action sequence visually presented via a graphical user interface of a computing device comprises a sequence of corresponding states of a robot overlaid on an environment of the robot captured in an instance of visual data, each of the corresponding states of the robot corresponding to a given state of the robot in response to a given action included in the action sequence being performed by the robot.

4. The method according to claim 1, wherein: Examples of using robotic control strategies to process visual data to generate action sequences include: processing the instance of visual data using an intermediate portion of a robot control policy to generate an intermediate representation of the instance of visual data; processing the intermediate representation of the instance of the visual data using one or more additional parts of the robot control strategy to generate a corresponding first set of values ​​for a first component of the robot for each action included in the action sequence; and An intermediate representation of the instance of the visual data is processed using one or more of the additional portions of the robot control strategy to generate a corresponding second set of values ​​for a second component of the robot for each action included in the action sequence.

5. The method according to claim 4, wherein: The representation of the sequence of actions visually presented via a graphical user interface of the computing device includes a corresponding representation of each action included in the sequence of actions.

6. The method according to claim 5, wherein: A corresponding representation of each action included in the sequence of actions is selectable and, when selected, causes one or more of a corresponding first set of values ​​for the first component or a corresponding second set of values ​​for the second component to be visually revealed via a graphical user interface of the computing device.

7. The method according to claim 4, further comprising: Based on user input, the robot control strategy is updated.

8. The method according to claim 7, further comprising: In response to receiving user input intervening in the execution of a robot task: generating, based on the user input and for one or more actions included in the action sequence, a corresponding set of substitute first values ​​for a first component of the robot and a corresponding set of substitute second values ​​for a second component of the robot that the robot should utilize in performance of the robot task; generating a first loss based on comparing the corresponding first value set to the corresponding alternative first value set; generating a second loss based on comparing the corresponding second value set to the corresponding alternate second value set; and Wherein, updating the robot control strategy is based on the first loss and the second loss.

9. The method according to claim 1, further comprising: After performance of the robotic task, receiving additional user input from a user of the computing device associated with data generated during performance of the robotic task, and Based on the additional user input, the robot is caused to perform a further alternative action that is different from each of the actions included in the sequence of actions and different from the alternative action.

10. The method according to claim 9, wherein: The additional user input relabels data generated during performance of the robotic task, and wherein the data generated during performance of the robotic task is generated using a robotic control strategy or is generated based on the user input.

11. A method implemented using one or more processors, the method comprising: receiving, from one or more vision components of the robot, instances of visual data capturing an environment of the robot, the instances of the visual data being captured during performance of a robot task by the robot; processing the instance of visual data using an intermediate portion of a robot control policy to generate an intermediate representation of the instance of visual data; processing the intermediate representation of the instance of the visual data using one or more additional portions of the robot control strategy to generate a corresponding first set of values ​​for a first control portion of a component of the robot for an action to be performed by the robot to advance the robot task; processing an intermediate representation of the instance of the visual data using one or more of the additional portions of the robot control strategy to generate a corresponding second set of values ​​for a second control portion of the component of the robot for the action; as well as causing the robot to perform the action, wherein causing the robot to perform the action comprises: The robot is caused to utilize the corresponding first value set and the corresponding second value set when controlling the component of the robot.

12. The method according to claim 11, further comprising: processing an intermediate representation of the instance of the visual data using one or more of the additional parts of the robot control strategy to generate a corresponding third set of values ​​for at least one control part of the additional component of the robot for the action, Wherein, causing the robot to perform the action further comprises: The robot is caused to control the additional component of the robot using the corresponding third value set.

13. The method according to claim 12, wherein: The component of the robot is one of: a robot gripper, a robot base or a robot arm.

14. The method according to claim 13, wherein: The additional component is another of: a robot gripper, a robot base or a robot arm.

15. The method according to claim 11, wherein: The component of the robot is a robot gripper, and wherein, The corresponding first value set control of the first control portion for the robotic gripper is one of: a translational displacement of the robotic gripper, an orientation of the robotic gripper, or an actuation state of the robotic gripper.

16. The method according to claim 15, wherein: A corresponding second set of values ​​for the second control portion of the robotic gripper controls another of: a translational displacement of the robotic gripper, an orientation of the robotic gripper, or an actuation state of the robotic gripper.

17. The method according to claim 11, wherein: The component of the robot is a robot base, and wherein a corresponding first set of values ​​of the first control part for the robot base controls one of a velocity of the robot base or an acceleration of the robot base.

18. The method according to claim 17, wherein: A corresponding second set of values ​​for the second control portion of the robot base controls the other of a velocity of the robot base or an acceleration of the robot base.

19. The method according to claim 11, wherein: The component of the robot is a robot arm, and wherein, A corresponding first set of values ​​for the first control portion of the robotic arm controls one of: a translational displacement of the robotic arm or an orientation of the robotic arm.

20. The method according to claim 19, wherein: A corresponding second set of values ​​for the second control portion of the robotic arm controls the other of a translational displacement of the robotic arm or an orientation of the robotic arm.

21. A method implemented using one or more processors, the method comprising: receiving, from one or more vision components of the robot, an instance of visual data capturing an environment of the robot, the visual data being captured during performance of a robot task by the robot; processing instances of the visual data using a robot control policy to generate a sequence of actions to be performed by the robot during a robot task, the sequence of actions comprising an initial action to be performed by the robot to advance the robot task and a plurality of predicted actions following the initial action; causing a representation of the sequence of actions to be visually presented via a graphical user interface of the computing device during performance of the robotic task; determining whether the robot will fail in performance of the robot task based on the instance of processing the visual data using the robot control strategy; In response to determining that the robot will fail in performance of the robot task: causing a prompt to appear via an interface of the computing device or the robot, the prompt requesting a user of the computing device to intervene in performance of the robot task; as well as receiving, from a user of the computing device and based on the prompt, user input intervening in the performance of the robotic task, the user input being received via an input device of the computing device or an additional computing device; as well as Based on the user input, the robot is caused to perform an alternative action different from each of the actions included in the action sequence.

22. The method according to claim 21, wherein: Examples of using robotic control strategies to process visual data to generate action sequences include: processing the instance of visual data using an intermediate portion of a robot control policy to generate an intermediate representation of the instance of visual data; processing the intermediate representation of the instance of the visual data using one or more additional parts of the robot control strategy to generate a corresponding first set of values ​​for a first component of the robot for each action included in the action sequence; and An intermediate representation of the instance of the visual data is processed using one or more of the additional portions of the robot control strategy to generate a corresponding second set of values ​​for a second component of the robot for each action included in the action sequence.

23. The method according to claim 22, further comprising: Based on user input, the robot control strategy is updated.

24. The method according to claim 23, further comprising: In response to receiving user input intervening in the execution of a robot task: generating, based on the user input and for one or more actions included in the action sequence, a corresponding set of substitute first values ​​for a first component of the robot and a corresponding set of substitute second values ​​for a second component of the robot that the robot should utilize in performance of the robot task; generating a first loss based on comparing the corresponding first value set to the corresponding alternative first value set; generating a second loss based on comparing the corresponding second value set to the corresponding alternate second value set; and Wherein, updating the robot control strategy is based on the first loss and the second loss.

25. A method implemented using one or more processors, the method comprising: receiving, from one or more vision components of the robot, instances of visual data capturing an environment of the robot, the instances of the visual data being captured during performance of a robot task by the robot; processing the instance of visual data using an intermediate portion of a robot control policy to generate an intermediate representation of the instance of visual data; processing an intermediate representation of the instance of the visual data using one or more additional portions of a robot control strategy to generate, for an action to be performed by the robot to advance a robot task, a corresponding first set of values ​​to be utilized in controlling a first component of the robot; processing an intermediate representation of the instance of the visual data using one or more of the additional portions of the robot control strategy to generate, for the action, a corresponding second set of values ​​utilized in controlling a second component of the robot; as well as causing the robot to perform the action, wherein causing the robot to perform the action comprises: The robot is caused to utilize a corresponding first set of values ​​when controlling a first component of the robot, and to utilize a corresponding second set of values ​​when controlling a second component of the robot.

26. The method according to claim 25, further comprising: processing an intermediate representation of the instance of the visual data using one or more of the additional portions of the robot control strategy to generate, for the action, a corresponding third set of values ​​utilized in controlling a third component of the robot; and Wherein, causing the robot to perform the action further comprises: The robot is caused to utilize a corresponding third set of values ​​when controlling a third component of the robot.

27. The method of claim 25, further comprising: processing an intermediate representation of the instance of the visual data using one or more of the additional portions of the robot control strategy to generate, for the action, a corresponding third set of values ​​utilized in further controlling the first component of the robot; and Wherein, causing the robot to perform the action further comprises: The robot is caused to utilize the corresponding third set of values ​​when further controlling the first component of the robot.

28. The method according to claim 25, wherein: The first component of the robot is one of: a robot gripper, a robot base or a robot arm.

29. The method of claim 13, wherein: The second component is another of: a robot gripper, a robot base, or a robot arm.

30. A system comprising: at least one processor; as well as A memory storing instructions which, when executed, cause the at least one processor to be operable to perform the method of any one of claims 1 to 29.

31. A non-transitory computer-readable storage medium storing instructions which, when executed, cause at least one processor to be operable to perform the operations of the method of any one of claims 1 to 29.

32. A robot comprising: at least one processor; as well as A memory storing instructions which, when executed, cause the at least one processor to be operable to perform the method of any one of claims 1 to 29.