IP Library › Granted Patent US 12,536,474
Granted Patent B2
US 12,536,474 · App. 17/488,141 · Granted Jan 27, 2026

Boosting deep reinforcement learning performance by combining off-line data and simulators

Inventors: Hamed Khorasgani (San Jose, CA); Haiyan Wang (Fremont, CA); Maria Teresa Gonzalez Diaz (Mountain View, CA); Chetan Gupta (San Mateo, CA)
Assignee: HITACHI, LTD.
G06N20/20G06N5/043
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,536,474
App. No.
17/488,141
Granted
Jan 27, 2026
Kind
B2
Abstract

Example implementations described herein involve an approach to address an imperfect simulator challenge using off-line data plus reward modification. The proposed solution is robust to simulator error, and therefore, it requires less maintenance in keeping the simulators updated. Even when the simulators are accurate, it is costly to keep them accurate over time. Moreover, compared to other robust reinforcement learning algorithms, the proposed approach does not assume the distribution of uncertainties in the simulator are known. Less complexity leads to fewer potential errors as well as lower computational cost during the training. Finally, the proposed approach has better performance compared to the state-of-the-art methods (higher overall cumulative rewards).

Claims (55)

1 . A method for training of a reinforcement learning policy, comprising:

executing in parallel an ensemble of models and a simulator to predict a next state, the ensemble of models trained from using off-line data;

for predictions of the next state from the execution of the ensemble of models being in disagreement when a standard deviation of outputs from the ensemble of models exceeds a threshold:

using the next state predicted from the execution of the simulator as a sample for training the reinforcement learning policy; and

imposing a penalty on a reward for the training the reinforcement learning policy based on a variance of the predictions of the next state from the ensemble of models;

for the predictions of the next state from the execution of the ensemble of models being in agreement when the standard deviation of outputs from the ensemble of models is within the threshold:

using weighted predictions of the next state from the execution of the ensemble of models as the sample for training the reinforcement learning policy; and

adjusting the reward on the ensemble of models based on the variance of the predictions of the ensemble of models and a difference between the predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator.

2 . The method of claim 1 , wherein the difference between the predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator is a difference between a weighted average of the predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator.

3 . The method of claim 1 , wherein the off-line data comprises off-line images, wherein the method further comprises training an encoder to translate the off-line images and output images from the simulator into a common domain.

4 . The method of claim 3 , wherein the off-line data comprises off-line images, wherein the ensemble of models is trained from encoded images in the common domain generated from the encoder as executed on the off-line images, and wherein the ensemble of models is configured to predict the next state as an image representation in the common domain;

wherein the difference between the predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator is determined based on executing the encoder on the output images from the simulator to translate the output images to the common domain and determining the difference between the translated output images in the common domain and the image representation.

5 . The method of claim 1 , when the uncertainty of the simulator is known, wherein the using the weighted predictions of the next state from the execution of the ensemble of models as the sample for training the reinforcement learning algorithm comprises:

using the weighted predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator as samples for training the reinforcement learning algorithm based on uncertainty of the simulator and uncertainty of the ensemble of models.

6 . The method of claim 1 , wherein the predictions of the next state from the execution of the ensemble of models are in disagreement when the variance exceeds a threshold.

7 . The method of claim 1 , wherein the predictions of the next state from the execution of the ensemble of models are in agreement when the variance is within a threshold.

8 . The method of claim 1 , further comprising:

deploying the reinforcement learning policy; and

periodically training the reinforcement learning policy through the executing of the ensemble of models and the simulator based on accumulation of new off-line data.

9 . The method of claim 1 , further comprising:

initializing a policy of the reinforcement learning policy;

wherein the executing the ensemble of models and the simulator to predict the next state is conducted according to the policy;

wherein the sample for training the reinforcement learning policy is accumulated into a sample set from which a batch of samples from the sample set are used to train the reinforcement learning algorithm.

10 . A non-transitory computer readable medium, storing instructions for training of a reinforcement learning policy, the instructions comprising:

executing in parallel an ensemble of models and a simulator to predict a next state, the ensemble of models trained from using off-line data;

for predictions of the next state from the execution of the ensemble of models being in disagreement when a standard deviation of outputs from the ensemble of models exceeds a threshold:

using the next state predicted from the execution of the simulator as a sample for training the reinforcement learning policy; and

imposing a penalty on a reward for the training the reinforcement learning policy based on a variance of the predictions of the next state from the ensemble of models;

for the predictions of the next state from the execution of the ensemble of models being in agreement when the standard deviation of outputs from the ensemble of models is within the threshold:

using weighted predictions of the next state from the execution of the ensemble of models as the sample for training the reinforcement learning policy; and

adjusting the reward on the ensemble of models based on the variance of the predictions of the ensemble of models and a difference between the predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator.

11 . The non-transitory computer readable medium of claim 10 , wherein the difference between the predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator is a difference between a weighted average of the predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator.

12 . The non-transitory computer readable medium of claim 10 , wherein the off-line data comprises off-line images, wherein the instructions further comprises training an encoder to translate the off-line images and output images from the simulator into a common domain.

13 . The non-transitory computer readable medium of claim 12 , wherein the off-line data comprises off-line images, wherein the ensemble of models is trained from encoded images in the common domain generated from the encoder as executed on the off-line images, and wherein the ensemble of models is configured to predict the next state as an image representation in the common domain;

wherein the difference between the predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator is determined based on executing the encoder on the output images from the simulator to translate the output images to the common domain and determining the difference between the translated output images in the common domain and the image representation.

14 . The non-transitory computer readable medium of claim 10 , when the uncertainty of the simulator is known, wherein the using the weighted predictions of the next state from the execution of the ensemble of models as the sample for training the reinforcement learning algorithm comprises:

using the weighted predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator as samples for training the reinforcement learning algorithm based on uncertainty of the simulator and uncertainty of the ensemble of models.

15 . The non-transitory computer readable medium of claim 10 , wherein the predictions of the next state from the execution of the ensemble of models are in disagreement when the variance exceeds a threshold.

16 . The non-transitory computer readable medium of claim 10 , wherein the predictions of the next state from the execution of the ensemble of models are in agreement when the variance is within a threshold.

17 . The non-transitory computer readable medium of claim 10 , further comprising:

deploying the reinforcement learning policy; and

periodically training the reinforcement learning policy through the executing of the ensemble of models and the simulator based on accumulation of new off-line data.

18 . The non-transitory computer readable medium of claim 10 , further comprising:

initializing a policy of the reinforcement learning policy;

wherein the executing the ensemble of models and the simulator to predict the next state is conducted according to the policy;

wherein the sample for training the reinforcement learning policy is accumulated into a sample set from which a batch of samples from the sample set are used to train the reinforcement learning algorithm.

19 . An apparatus, configured to train a reinforcement learning policy, the apparatus comprising:

a processor, configured to:

execute in parallel an ensemble of models and a simulator to predict a next state, the ensemble of models trained from using off-line data;

for predictions of the next state from the execution of the ensemble of models being in disagreement when a standard deviation of outputs from the ensemble of models exceeds a threshold:

use the next state predicted from the execution of the simulator as a sample for training the reinforcement learning policy; and

impose a penalty on the reward for the training the reinforcement learning algorithm based on a variance of the predictions of the next state from the ensemble of models;

for the predictions of the next state from the execution of the ensemble of models being in agreement when the standard deviation of outputs from the ensemble of models is within the threshold:

use weighted predictions of the next state from the execution of the ensemble of models as the sample for training the reinforcement learning policy; and

adjust the reward on the ensemble of models based on the variance of the predictions of the ensemble of models and a difference between the predictions of the next state from the execution of the ensemble of models and the next state predicted from the execution of the simulator.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 9, 2022
From: KHORASGANI, HAMED; WANG, HAIYAN; GONZALEZ DIAZ, MARIA TERESA; GUPTA, CHETAN
To: HITACHI, LTD.
Reel/Frame 058942/0977 →
Continuity (1)
Related Publication 20230107725A1 · Apr 6, 2023
References Cited (22)
US 12416921B2 · Redford · 2025 [cited by examiner]
US 20190065687A1 · Mei · 2019 [cited by examiner]
US 20210326717A1 · Mueller · 2021 [cited by examiner]
US 20210357767A1 · Fuerst · 2021 [cited by examiner]
US 20220405531A1 · Stanton · 2022 [cited by examiner]
Modi et al. (Sample Complexity of Reinforcement Learning using Linearly Combined Model Ensembles, Oct. 2019, pp. 1-17) (Year: 2019). [cited by examiner]
Chen et al. (Batch Exploration with Examples for Scalable Robotic Reinforcement Learning, Apr. 2021, pp. 1-11) (Year: 2021). [cited by examiner]
Chua et al. (Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models, Nov. 2018, pp. 1-17) (Year: 2018). [cited by examiner]
Lee et al. (Sunrise: A Simple Unified Framework for Ensemble Learning in Deep Reinforcement Learning, Jun. 2021, pp. 1-20) (Year: 2021). [cited by examiner]
Arnold et al., “Challenges of Real-World Reinforcement Learning”, Proceedings of the 36th International Conference on Machine Learning, PMLR 97, 2019. [cited by applicant]
Dulac-Arnold et al., “An empirical investigation of the challenges of real-world reinforcement learning”, Mar. 4, 2021, pp. 1-47. [cited by applicant]
Redmon et al., “You Only Look Once: Unified, Real-Time Object Detection”, University of Washington, May 9, 2016. [cited by applicant]
Zhu et al., “Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks”, Berkeley AI Research (BAIR) laboratory, UC Berkeley, Aug. 24, 2020. [cited by applicant]
Peng et al., “Sim-to-Real Transfer of Robotic Control with Dynamics Randomization”, UC Berkeley, Department of Electrical Engineering and Computer Science, Mar. 3, 2018. [cited by applicant]
Lakshminarayanan et al., “Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles”, 31st Conference on Neural Information Processing Systems, (NIPS 2017), Long Beach, CA Nov. 4, 2017. [cited by applicant]
Yu et al., “MOPO: Model-based Offline Policy Optimization”, 34th Conference on Neural Information Processing Systems (NeurIPS 2020), Vancouver, CA Nov. 22, 2020. [cited by applicant]
Di-Castro Shashua et al., “Deep Robust Kalman Filter”, Israel Institute of Technology, Haifa, Israel Mar. 7, 2017. [cited by applicant]
Silver et al., “Mastering the game of Go with deep neural networks and tree search”, 484, Nature, vol. 529, Jan. 28, 2016. [cited by applicant]
He et al., “Mask R-CNN”, Facebook AI Research (FAIR), Jan. 24, 2018, pp. 1-12. [cited by applicant]
European Patent Office. European Search Report mailed Jun. 2, 2022. European Patent Application No. 21 21 5247. Name of Applicant: Hitachi, Ltd. English Language. 8 pages. [cited by applicant]
Rafailov, Rafael et al. Offline Reinforcement Learning From Images with Latent Space Models. © R. Rafailov, T. Yu, A. Rajeswaran C. Finn. Retrieved: arXiv:2012.11547v1 [cs.LG] Dec. 21, 2020. 20 pages. [cited by applicant]
Ghosh, Supriyo et al. A Deep Ensemble Multi-Agent Reinforcement Learning Approach for Air Traffic Control. Retrieved: arXiv:2004.01387v1 [cs.LG] Apr. 3, 2020. 8 pages. [cited by applicant]