# US 2025/0148361 A1 · Determining generalization of behavior-cloned policies

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0148361 A1
- Document ID: US20250148361A1
- Status: Published application
- Kind: A1
- Application number: 18/627,189
- Filed: 2024-04-04
- Published: 2025-05-08
- Earliest claimed: 2023-11-03
- Assignees: Toyota Research Institute, Inc.; Toyota Jidosha Kabushiki Kaisha
- Applicants: Toyota Research Institute, Inc.
- Inventors: JOSEPH A. VINCENT; HARUKI NISHIMURA; MIKHAL ITKINA; THOMAS F. KOLLAR
- Web page: https://patentgrep.com/patent/US20250148361A1

## CPC

- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems and methods are provided for assessing generalizations of machine learning models implemented in new environments, such as those not included in training data used to train the machine learning models. Examples include, after training the machine learning model on a set of training data, implementing the trained machine learning model a number of times in a new environment. For each implementation of the trained machine learning model in the new environment, a performance metric associated with performance of the machine learning model in the new environment can be measured and a confidence interval on a success rate of the machine learning model in the new environment can be determined based on the performance metric. The machine learning model can then be deployed on machines in the new environment based on the confidence interval.

## Claims

### Claim 1

A method comprising:
training a machine learning model based on a set of training data;
implementing the trained machine learning model a number of times in a new environment, wherein the new environment is not part of the training data;
for each implementation of the trained machine learning model in the new environment, measuring a performance metric associated with performance of the machine learning model in the new environment;
determining a confidence interval on a success rate of the machine learning model in the new environment based on the performance metric; and
deploying the machine learning model on machines in the new environment based on the confidence interval.

### Claim 2 (depends on 1)

The method of claim 1, wherein the training data is based on implementing the trained machine learning model in one or more environments that are different from the new environment.

### Claim 3 (depends on 1)

The method of claim 1, wherein implementing the trained machine learning model comprises:
deploying the trained machine learning model on a machine in the new environment.

### Claim 4 (depends on 1)

The method of claim 1, wherein the performance metric comprises one of: (i) a binary success or failure of each implementation of the trained machine learning model in the new environment and (ii) a continuous total reward of each implementation of the trained machine learning model in the new environment.

### Claim 5 (depends on 1)

The method of claim 1, further comprising: determining a confidence set based on the confidence interval, wherein the confidence set comprises a confidence value representative of an acceptable probability that the confidence interval does not contain a true unknown success rate and at least one of: a coverage of the confidence interval, a tightness of the confidence interval to the success rate, and a minimum number of times the trained machine learning model to implement the machine learning model.

### Claim 6 (depends on 1)

The method of claim 1, wherein deploying the machine learning model on machines in the new environment based on the confidence interval comprises:
determining a lower limit of the confidence interval;
determining if the lower limit of the confidence interval exceeds a threshold; and
deploying the machine learning model on machines in the new environment when the lower limit of the confidence interval exceeds or is equal to the threshold.

### Claim 7 (depends on 6)

The method of claim 6, further comprises:
retraining the machine learning model when the lower limit of the confidence interval is below the threshold.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
determining a plurality of confidence intervals for the new environment based on implementing a plurality of machine learning models in the new environment;
determining an optimal confidence interval from the plurality of confidence interval; and
deploying, on machines in the new environment, a machine learning model of the plurality of machine learning models corresponding to the optimal confidence interval.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving an input of one or more of: (i) a confidence value representative of an acceptable lower limit of the confidence interval on a success rate of the machine learning model in the new environment and (ii) tightness of the lower limit of the confidence interval to the success rate; and
computing a minimum number of implementations of the of the trained machine learning model in the new environment based on the input and a cumulative distribution function of the performance metric, wherein the minimum number of implementations is a number of implementations needed to achieve the input based on the performance metric,
wherein the determined confidence interval comprises the input and the minimum number of implementations of the trained machine learning model in the new environment.

### Claim 10 (depends on 1)

The method of claim 1, wherein the machines comprise vehicles.

### Claim 11

A system comprising:
a memory configured to store instructions; and
at least one processor communicatively coupled to the memory and configured to execute the instructions to:
obtain a machine learning model trained on a set of training data;
implement the trained machine learning model a number of times in a new environment;
for each implementation of the trained machine learning model in the new environment, measure a performance metric associated with performance of the machine learning model in the new environment;
determine a confidence interval on a success rate of the machine learning model in the new environment based on the performance metric; and
deploy the machine learning model on machines in the new environment based on the confidence interval.

### Claim 12 (depends on 11)

The system of claim 11, wherein the training data is based on implementing the trained machine learning model in one or more environments that are different from the new environment.

### Claim 13 (depends on 11)

The system of claim 11, wherein implementing the trained machine learning model comprises:
deploying the trained machine learning model on a machine in the new environment.

### Claim 14 (depends on 11)

The system of claim 11, wherein the performance metric comprises one of: (i) a binary success or failure of each implementation of the trained machine learning model in the new environment and (ii) a continuous total reward of each implementation of the trained machine learning model in the new environment.

### Claim 15 (depends on 11)

The system of claim 11, further comprising: determining a confidence set based on the confidence interval, wherein the confidence set comprises a confidence value representative of an acceptable probability that the confidence interval does not contain a true unknown success rate and at least one of: a coverage of the confidence interval, a tightness of the confidence interval to the success rate, and a minimum number of times to implement the trained machine learning model.

### Claim 16 (depends on 11)

The system of claim 11, wherein deploying the machine learning model on machines in the new environment based on the confidence interval comprises:
determining a lower limit of the confidence interval;
determining if the lower limit of the confidence interval exceeds a threshold; and
deploying the machine learning model on machines in the new environment when the lower limit of the confidence interval exceeds or is equal to the threshold.

### Claim 17 (depends on 16)

The system of claim 16, wherein the at least one processor is further configured to execute the instructions to:
retrain the machine learning model when the lower limit of the confidence interval is below the threshold.

### Claim 18 (depends on 11)

The system of claim 11, wherein the at least one processor is further configured to execute the instructions to:
determine a plurality of confidence intervals for the new environment based on implementing a plurality of machine learning models in the new environment;
determine an optimal confidence interval from the plurality of confidence intervals; and
deploy, on machines in the new environment, a machine learning model of the plurality of machine learning models corresponding to the optimal confidence interval.

### Claim 19 (depends on 11)

The system of claim 11, wherein the at least one processor is further configured execute the instructions to:
receive an input of one or more of: (i) a confidence value representative of an acceptable lower limit of the confidence interval on a success rate of the machine learning model in the new environment and (ii) tightness of the lower limit of the confidence interval to the success rate; and
compute a minimum number of implementations of the of the trained machine learning model in the new environment based on the input and a cumulative distribution function of the performance metric, wherein the minimum number of implementations is a number of implementations needed to achieve the input based on the performance metric,
wherein the determined confidence interval comprises the input and the minimum number of implementations of the trained machine learning model in the new environment.

### Claim 20 (depends on 11)

The system of claim 11, wherein the machines comprise vehicles.
