Deep reinforcement learning for robotic manipulation
Abstract
Using large-scale reinforcement learning to train a policy model that can be utilized by a robot in performing a robotic task in which the robot interacts with one or more environmental objects. In various implementations, off-policy deep reinforcement learning is used to train the policy model, and the off-policy deep reinforcement learning is based on self-supervised data collection. The policy model can be a neural network model. Implementations of the reinforcement learning utilized in training the neural network model utilize a continuous-action variant of Q-learning. Through techniques disclosed herein, implementations can learn policies that generalize effectively to previously unseen objects, previously unseen environments, etc.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 0.
Claims (14 — 2 Independent, 12 Dependent)
- Claim 1Independent Claim
A method of training a neural network model that represents a Q-function, the method implemented by a plurality of processors, and the method comprising: retrieving a robotic transition from an offline buffer, the robotic transition generated based on data from an episode of a robot performing a robotic task, wherein retrieving the robotic transition from the offline buffer is based on a dynamic offline sampling rate for sampling from the offline buffer, wherein the dynamic offline sampling rate decreases as a duration of training the neural network model increases, and the robotic transition including: state data that comprises vision data captured by a vision component at a state of the robot during the episode, next state data that comprises next vision data captured by the vision component at a next state of the robot during the episode, the next state being transitioned to from the state, an action executed to transition from the state to the next state, and a reward for the robotic transition; determining a target Q-value for the robotic transition, wherein determining the target Q-value comprises: performing an optimization over candidate robotic actions using, as an objective function, a version of a neural network model that represents the Q-function, wherein performing the optimization comprises generating Q-values for a subset of the candidate robotic actions that are considered in the optimization, wherein generating each of the Q-values is based on processing of the next state data and a corresponding one of the candidate robotic actions of the subset using the version of the neural network model, selecting, from the generated Q-values, a maximum Q-value, and determining the target Q-value based on the maximum Q-value and the reward; storing, in a training buffer: the state data, the action, and the target Q-value; retrieving, from the training buffer: the state data, the action, and the target Q-value; generating a predicted Q-value, wherein generating the predicted Q-value comprises processing the retrieved state data and the retrieved action using a current version of the neural network model, wherein the current version of the neural network model is updated relative to the version; generating a loss based on comparing the predicted Q-value generated based on processing the retrieved state data using the current version of the neural network model and the target Q-value determined based on processing the next state data using the version of the neural network model; and updating the current version of the neural network model based on the loss.
- Claim 2Depends on #1
The method of claim 1, further comprising generating the robotic transition by accessing an offline database that stores offline episodes.
- Claim 3Depends on #1
The method of claim 1, wherein the action comprises a pose change for a component of the robot, wherein the pose change defines a difference between a pose of the component at the state and a next pose of the component at the next state.
- Claim 4Depends on #3
The method of claim 3, wherein the component is an end effector and the pose change defines a translation difference for the end effector and a rotation difference for the end effector.
- Claim 5Depends on #4
The method of claim 4, wherein the end effector is a gripper and the robotic task is a grasping task.
- Claim 6Depends on #3
The method of claim 3, wherein the action further comprises a termination command when the next state is a terminal state of the episode.
- Claim 7Depends on #3
The method of claim 3, wherein the action further comprises a component action command that defines a dynamic state, of the component, in the next state of the episode the dynamic state being in addition to translation and rotation of the component.
- Claim 8Depends on #7
The method of claim 7, wherein the component is a gripper and wherein the dynamic state dictated by the component action command indicates that the gripper is to be closed.
- Claim 9Depends on #1
The method of claim 1, wherein the state data further comprises a current status of a component of the robot.
- Claim 10Depends on #9
The method of claim 9, wherein the component of the robot is a gripper and the current status indicates whether the gripper is opened or closed.
- Claim 11Depends on #1
The method of claim 1, wherein the optimization is a stochastic optimization or is a cross-entropy method (CEM).
- Claim 12Depends on #1
The method of claim 1, wherein performing the optimization over the candidate robotic actions comprises: selecting an initial batch of the candidate robotic actions; generating a corresponding one of the Q-values for each of the candidate robotic actions in the initial batch; selecting an initial subset of the candidate robotic actions in the initial batch based on the Q-values for the candidate robotic actions in the initial batch; fitting a Gaussian distribution to the selected initial subset of the candidate robotic actions; selecting a next batch of the candidate robotic actions based on the Gaussian distribution; and generating a corresponding one of the Q-values for each of the candidate robotic actions in the next batch.
- Claim 13Depends on #12
The method of claim 12, wherein the maximum Q-value is one of the Q-values of the candidate robotic actions in the next batch and wherein selecting the maximum Q-value is based on the maximum Q-value being the maximum Q-value of the corresponding Q-values of the next batch.
- Claim 14Independent Claim
A method of training a neural network model that represents a policy, the method implemented by a plurality of processors, and the method comprising: retrieving a robotic transition from an offline buffer, the robotic transition generated based on data from an episode of a robot performing a robotic task, wherein retrieving the robotic transition from the offline buffer is based on a dynamic offline sampling rate for sampling from the offline buffer, wherein the dynamic offline sampling rate decreases as a duration of training the neural network model increases, and the robotic transition including state data and action data; determining a target value for the robotic transition, wherein determining the target value comprises: performing an optimization over candidate robotic actions using, as an objective function, a version of a neural network model that represents the policy; storing, in a training buffer: the state data, the action data, and the target value; retrieving, from the training buffer: the state data, the action data, and the target value; generating a predicted value, wherein generating the predicted value comprises processing the retrieved state data and the retrieved action data using a current version of the neural network model, wherein the current version of the neural network model is updated relative to the version; generating a loss based on comparing the predicted value generated based on processing the retrieved state data using the current version of the neural network model and the target value determined using the version of the neural network model; and updating the current version of the neural network model based on the loss.
Technical Overview & Description
BACKGROUND Many robots are explicitly programmed to utilize one or more end effectors to manipulate one or more environmental objects. For example, a robot may utilize a grasping end effector such as an “ impactive ” gripper or “ ingressive ” gripper (e.g., physically penetrating an object using pins, needles, etc.) to pick up an object from a first location, move the object to a second location, and drop off the object at the second location. Some additional examples of robot end effectors that may grasp objects include “ astrictive ” end effectors (e.g., using suction or vacuum to pick up an object) and one or more “ contigutive ” end effectors (e.g., using surface tension, freezing or adhesive to pick up an object), to name just a few. SUMMARY Some implementations disclosed herein are related to using large-scale reinforcement learning to train a policy model that can be utilized by a robot in performing a robotic task in which the robot interacts with one or more environmental objects. One non-limiting example of such a robotic task is robotic grasping, which is described in various examples presented herein. However, implementations disclosed herein can be utilized to train a policy model for other non-grasping robotic tasks such as opening a door, throwing a ball, pushing objects, etc. In implementations disclosed herein, off-policy deep reinforcement learning is used to train the policy model, and the off-policy deep reinforcement learning is based on self-supervised data collection (e.g., using only self-supervised data). On-policy deep reinforcement learning can also be used to train the policy model, and can optionally be interspersed with the off-policy deep reinforcement learning as described herein. The self-supervised data utilized in the off-policy deep reinforcement learning can be based on sensor observations from real-world robots in performance of episodes of the robotic task, and can optionally be supplemented with self-supervised data from robot
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (19)
Non-Patent Literature (10)
- Timothy P Lillicrap, et. al, Continuous control with deep reinforcement learning, Sep. 2015, arXiv: 1509.02971v1 [cs. LG] Sep. 9, 2015 . (Year: 2015).
- Levine et al.; Learning Hand-Eye Cordination for Robotic Grasping with Deep Learning and Large-Scale Data Collection; International Journal of Robotics Research; vol. 37, No. 4-5; pp. 421-436; dated Jun. 12, 2017.
- Quillen, D. et al.
- “
- Deep Reinforcement Learning for Vision-Based Robotic Grasping: A Simulated Comparative Evaluation of Off-Policy Methods
- ”
- ; Cornell University; ArXiv.org; arXiv:1802.10264v2; 8 pages; Feb. 28, 2018.
- European Patent Office; International Search Report and Written Opinion of PCT Ser. No. PCT/US2019/037264; 23 pages; dated Oct. 15, 2019.
- Lenz et al.
- “