# US 2021/0334651 A1 · Learning point cloud augmentation policies

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

- Number: US 2021/0334651 A1
- Document ID: US20210334651A1
- Status: Published application
- Kind: A1
- Application number: 17/194,115
- Filed: 2021-03-05
- Published: 2021-10-28
- Earliest claimed: 2020-03-05
- Applicants: Waymo LLC
- Inventors: Zhaoqi Leng; Ekin Dogus Cubuk; Barret Zoph; Jiquan Ngiam; Congcong Li; Jonathon Shlens; Shuyang Cheng
- Web page: https://patentgrep.com/patent/US20210334651A1

## CPC

- B60W 50/06: Improving the dynamic response of the control system, e.g. improving the speed of regulation or avoiding hunting or overshoot
- B60W 60/001: {Planning or execution of driving tasks}
- G01S 17/894: Three-dimensional [3D] imaging with simultaneous measurement of time-of-flight at a two-dimensional [2D] array of receiver pixels, e.g. time-of-flight cameras or flash lidar
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/086: using evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- B60W 2420/408: Radar; Laser, e.g. lidar
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06V 20/56: exterior to a vehicle by using sensors mounted on the vehicle
- B60W: CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- G01S: RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for training a machine learning model to perform a machine learning task by processing input data to the model. For example, the input data can include image, video, or point cloud data, and the task can be a perception task such as classification or detection task. In one aspect, the method includes receiving training data including a plurality of training inputs; receiving a plurality of data augmentation policy parameters that define different transformation operations for transforming training inputs before the training inputs are used to train the machine learning model; maintaining a plurality of candidate machine learning models; for each of the plurality of candidate machine learning models: repeatedly determining an augmented batch of training data; training the candidate machine learning model using the augmented batch of the training data; and updating the maintained data.

## Claims

### Claim 1

A method comprising:
receiving training data for training a machine learning model to perform a particular machine learning task, the training data comprising a plurality of training inputs;
receiving a plurality of data augmentation policy parameters that define different transformation operations for transforming training inputs before the training inputs are used to train the machine learning model;
maintaining a plurality of candidate machine learning models and, for each of the candidate machine learning models, data specifying: (i) respective values of parameters for the candidate machine learning model, (ii) a subset of the transformation operations, (iii) current values of the data augmentation policy parameters that define the subset of the transformation operations, and (iv) a performance measure of the candidate machine learning model on the particular machine learning task;
maintaining, for each of the different transformation operations, a quality measure of the transformation operation;
repeatedly performing the following operations at each of multiple time steps:
for each of the plurality of candidate machine learning models:
determining an augmented batch of training data by transforming at least some of the training inputs in the training data in accordance with at least the current values of the plurality of data augmentation policy parameters;
training the candidate machine learning model using the augmented batch of the training data to determine updated values of the parameters for the candidate machine learning model from the maintained values of the parameters for the candidate machine learning model;
determining an updated performance measure for the candidate machine learning model in accordance with the updated values of the parameters for the candidate machine learning model;
determining an updated quality measure for each of the subset of transformation operations;
updating the maintained data to specify (i) new values of the parameters for the candidate machine learning model, (ii) a new subset of the transformation operations, and (iii) a new performance measure, comprising:
selecting, based on comparing respective performance measures of the candidate machine learning model and another candidate machine learning model, either the values of the parameter of the candidate machine learning model or the values of the parameters of the other candidate machine learning model as new values of parameters for the candidate machine learning model; and
selecting, based on comparing respective performance measures of the candidate machine learning model and the other candidate machine learning model, new data augmentation policy parameters from the plurality of data augmentation policy parameters.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, after repeatedly performing the following operations:
determining, from the plurality of data augmentation policy parameters and based on the maintained quality measures of the transformation operations, a final data augmentation policy.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the final data augmentation policy comprises:
selecting the respective parameters that define one or more of the different transformation operations having highest quality measures.

### Claim 4 (depends on 1)

The method of claim 1, wherein repeatedly performing the following operations at each of multiple time steps comprises repeatedly performing the following operations in parallel for each candidate machine learning model.

### Claim 5 (depends on 1)

The method of claim 1, wherein for each transformation operation, the data augmentation policy parameters further define at least one of: (i) a probability of the transformation operation, or (ii) a magnitude of the transformation operation.

### Claim 6 (depends on 1)

The method of claim 1, further comprising, for a first step in the multiple time steps:
for each of the plurality of the candidate machine learning models:
initializing one or more transformation operations by randomly sampling data augmentation policy parameters.

### Claim 7 (depends on 1)

The method of claim 1, wherein the candidate machine learning model is a neural network, and training the candidate machine learning model comprises:
determining a gradient of a loss function using the augmented batch of training data; and
adjusting the current values of the parameters of the candidate machine learning model using the gradient.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining the augmented batch of training data by transforming at least some of the training inputs in the training data in accordance with the plurality of data augmentation policy parameters comprises:
selecting a batch of training data; and
transforming the training inputs in the batch of training data in accordance with the plurality of data augmentation policy parameters, comprising, for each training input:
transforming the training input by sequentially applying each of the different transformation operations defined by the plurality of data augmentation policy parameters to the training input.

### Claim 9 (depends on 8)

The method of claim 8, wherein applying a transformation operation to the training input comprises:
applying the transformation operation with the transformation operation probability, the transformation operation magnitude, or both to the training input.

### Claim 10 (depends on 1)

The method of claim 1, wherein determining the updated performance measure for the candidate machine learning model in accordance with the updated values of the parameters for the candidate machine learning model comprises:
determining the updated performance measure of the candidate machine learning model on the particular machine learning task using evaluation data comprising a plurality of training inputs.

### Claim 11 (depends on 10)

The method of claim 10, wherein the training inputs included in the evaluation data are not included in the training data.

### Claim 12 (depends on 1)

The method of claim 1, wherein:
the quality measure for each transformation operation represents a performance of a candidate machine learning model on the particular machine learning task as a result of training the candidate machine learning model using at least the transformation operation.

### Claim 13 (depends on 1)

The method of claim 1, wherein selecting new data augmentation policy parameters comprises, for each of the subset of transformation operations:
if the performance measure of the candidate machine learning model is better than the performance measure of the other candidate machine learning model:
selecting data augmentation policy parameters that define the subset of transformation operations as the new data augmentation policy parameters.

### Claim 14 (depends on 13)

The method of claim 13, wherein selecting new data augmentation policy parameters comprises:
if the performance measure of the candidate machine learning model is not better than the performance measure of the other candidate machine learning model:
identifying, as the new subset for the candidate machine learning model, the maintained subset of the transformation operations for the other candidate machine learning model;
selecting, for each of the new subset of the transformation operations, data augmentation policy parameters that define the transformation operations based on the maintained data augmentation policy parameters for the other candidate machine learning model; and
generating the new data augmentation policy parameters by mutating the selected data augmentation policy parameters.

### Claim 15 (depends on 14)

The method of claim 14, wherein selecting new data augmentation policy parameters comprises:
for each augmentation operation that is not in the new subset, selecting values for the data augmentation policy parameters that define the augmentation operation based on the maintained quality measures.

### Claim 16 (depends on 2)

The method of claim 2, further comprising:
generating a final trained machine learning model by training a final machine learning model using the final data augmentation policy.

### Claim 17 (depends on 1)

The method of claim 1, wherein the training inputs are images or point clouds.

### Claim 18 (depends on 1)

The method of claim 1, wherein the particular machine learning task is a perception task comprising classification or regression.

### Claim 19 (depends on 1)

The method of claim 1, further comprising, for the candidate machine learning model:
randomly selecting a candidate machine learning model from the remaining plurality of candidate machine learning models as the other candidate machine learning mode.

### Claim 20

A system comprising one or more computers and one or more storage devices storing instructions that when executed by the one or more computers cause the one more computers to perform operations for:
receiving training data for training a machine learning model to perform a particular machine learning task, the training data comprising a plurality of training inputs;
receiving a plurality of data augmentation policy parameters that define different transformation operations for transforming training inputs before the training inputs are used to train the machine learning model;
maintaining a plurality of candidate machine learning models and, for each of the candidate machine learning models, data specifying: (i) respective values of parameters for the candidate machine learning model, (ii) a subset of the transformation operations, (iii) current values of the data augmentation policy parameters that define the subset of the transformation operations, and (iv) a performance measure of the candidate machine learning model on the particular machine learning task;
maintaining, for each of the different transformation operations, a quality measure of the transformation operation;
repeatedly performing the following operations at each of multiple time steps:
for each of the plurality of candidate machine learning models:
determining an augmented batch of training data by transforming at least some of the training inputs in the training data in accordance with at least the current values of the plurality of data augmentation policy parameters;
training the candidate machine learning model using the augmented batch of the training data to determine updated values of the parameters for the candidate machine learning model from the maintained values of the parameters for the candidate machine learning model;
determining an updated performance measure for the candidate machine learning model in accordance with the updated values of the parameters for the candidate machine learning model;
determining an updated quality measure for each of the subset of transformation operations;
updating the maintained data to specify (i) new values of the parameters for the candidate machine learning model, (ii) a new subset of the transformation operations, and (iii) a new performance measure, comprising:
selecting, based on comparing respective performance measures of the candidate machine learning model and another candidate machine learning model, either the values of the parameter of the candidate machine learning model or the values of the parameters of the other candidate machine learning model as new values of parameters for the candidate machine learning model; and
selecting, based on comparing respective performance measures of the candidate machine learning model and the other candidate machine learning model, new data augmentation policy parameters from the plurality of data augmentation policy parameters.

### Claim 21

One or more computer storage media storing instructions that when executed by one or more computers cause the one more computers to perform operations for:
receiving training data for training a machine learning model to perform a particular machine learning task, the training data comprising a plurality of training inputs;
receiving a plurality of data augmentation policy parameters that define different transformation operations for transforming training inputs before the training inputs are used to train the machine learning model;
maintaining a plurality of candidate machine learning models and, for each of the candidate machine learning models, data specifying: (i) respective values of parameters for the candidate machine learning model, (ii) a subset of the transformation operations, (iii) current values of the data augmentation policy parameters that define the subset of the transformation operations, and (iv) a performance measure of the candidate machine learning model on the particular machine learning task;
maintaining, for each of the different transformation operations, a quality measure of the transformation operation;
repeatedly performing the following operations at each of multiple time steps:
for each of the plurality of candidate machine learning models:
determining an augmented batch of training data by transforming at least some of the training inputs in the training data in accordance with at least the current values of the plurality of data augmentation policy parameters;
training the candidate machine learning model using the augmented batch of the training data to determine updated values of the parameters for the candidate machine learning model from the maintained values of the parameters for the candidate machine learning model;
determining an updated performance measure for the candidate machine learning model in accordance with the updated values of the parameters for the candidate machine learning model;
determining an updated quality measure for each of the subset of transformation operations;
updating the maintained data to specify (i) new values of the parameters for the candidate machine learning model, (ii) a new subset of the transformation operations, and (iii) a new performance measure, comprising:
selecting, based on comparing respective performance measures of the candidate machine learning model and another candidate machine learning model, either the values of the parameter of the candidate machine learning model or the values of the parameters of the other candidate machine learning model as new values of parameters for the candidate machine learning model; and
selecting, based on comparing respective performance measures of the candidate machine learning model and the other candidate machine learning model, new data augmentation policy parameters from the plurality of data augmentation policy parameters.
