# US 2021/0286360 A1 · Agent prioritization for autonomous vehicles

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

- Number: US 2021/0286360 A1
- Document ID: US20210286360A1
- Status: Published application
- Kind: A1
- Application number: 17/333,823
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2018-11-21
- Assignees: Waymo LLC
- Applicants: Waymo LLC
- Inventors: Kai Ding; Khaled Refaat; Stephane Ross
- Web page: https://patentgrep.com/patent/US20210286360A1

## CPC

- B60W 60/00276: {for two or more other traffic participants}
- G05D 1/0088: {characterized by the autonomous decision making process, e.g. artificial intelligence, predefined behaviours (using knowledge based models G06N5/00)}
- B60W 30/095: Predicting travel path or likelihood of collision
- B60W 60/0027: {using trajectory prediction for other traffic participants}
- G05D 1/0214: {in accordance with safety or protection criteria, e.g. avoiding hazardous areas (monitoring the location of vehicles within a certain area, e.g. forbidden or allowed areas, in traffic control systems for road vehicles G08G1/13)}
- G05D 1/0221: {involving a learning process}
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/045: Combinations of networks
- G06N 3/09: Supervised learning
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- B60W 2554/4042: Longitudinal speed
- B60W 2554/801: Lateral distance
- B60W 2554/802: Longitudinal distance
- B60W 2556/50: of positioning data, e.g. GPS [Global Positioning System] data
- G06N 3/048: Activation functions
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- 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
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for identifying high-priority agents in the vicinity of a vehicle and, for only those agents which are high priority agents, generating data characterizing the agents using a first prediction model. In a first aspect, a system identifies multiple agents in an environment in a vicinity of a vehicle. The system generates a respective importance score for each of the agents by processing a feature representation of each agent using an importance scoring model. The importance score for an agent characterizes an estimated impact of the agent on planning decisions generated by a planning system of the vehicle which plans a future trajectory of the vehicle. The system identifies, as high-priority agents, a proper subset of the plurality of agents with the highest importance scores.

## Claims

### Claim 1

A method performed by one or more data processing apparatus for training an importance scoring model, wherein the importance scoring model is configured to process an input that comprises a representation of a trajectory of a vehicle to generate a respective importance score for each of a plurality of agents located at respective locations in an environment in a vicinity of the vehicle, wherein the respective importance score for each agent characterizes an impact of the agent on planning decisions generated by a planning system of the vehicle which plans a future trajectory of the vehicle, the method comprising:
generating a plurality of training examples, wherein each given training example comprises: (i) a representation of a trajectory of a given vehicle, and (ii) data defining a given ranking of given agents in a given vicinity of the given vehicle in order of their impact on planning decisions generated by a planning system which plans a future trajectory of the given vehicle, wherein generating a particular training example comprises:
for each of a plurality of particular agents in a particular vicinity of a particular vehicle at a particular time point, generating respective data characterizing a predicted future behavior of the particular agent using a behavior prediction neural network;
providing, for each of the plurality of particular agents in the particular vicinity of the particular vehicle at the particular time point, the respective data characterizing the predicted future behavior of the particular agent to a particular planning system;
receiving, from the particular planning system, particular planning decisions which plan a future trajectory of the particular vehicle; and
determining, based on the particular planning decisions, a particular ranking of the particular agents in the particular vicinity of the particular vehicle at the particular time point in order of their impact on the particular planning decisions; and
training the importance scoring model based on the plurality of training examples, comprising, for each given training example of the plurality of training examples:
training the importance scoring model to generate respective importance scores for the given agents characterized by the given training example that conform to the given ranking specified by the given training example.

### Claim 2 (depends on 1)

The method of claim 1, wherein generating the plurality of training examples comprises generating the plurality of training examples based on real or simulated driving data logs.

### Claim 3 (depends on 1)

The method of claim 1, wherein training the importance scoring model to generate respective importance scores for the given agents characterized by the given training example that conform to the given ranking specified by the given training example comprises:
generating: (i) a first importance score for a first agent characterized by the given training example, and (ii) a second importance score for a second agent characterized by the given training example, using the importance scoring model;
determining a loss based on whether the first importance score and the second importance score conform to the given ranking specified by the given training example; and
updating current parameter values of the importance scoring model based on the loss.

### Claim 4 (depends on 1)

The method of claim 1, wherein each of the particular planning decisions which plan the future trajectory of the particular vehicle include: (i) an action to be performed by the particular vehicle, and (ii) a particular agent in the particular vicinity of the particular vehicle which prompts the particular planning system to generate the particular planning decision.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining, based on the particular planning decisions, the particular ranking of the particular agents in the particular vicinity of the particular vehicle at the particular time point in order of their impact on the particular planning decisions includes:
determining a respective planning score for each particular agent based on any actions which the particular agent prompts the particular planning system to generate; and
determining the particular ranking of the particular agents based on the respective planning scores of the particular agents.

### Claim 6 (depends on 1)

The method of claim 1, wherein each training example further comprises a representation of a respective trajectory of each of the given agents that are characterized by the training example.

### Claim 7 (depends on 1)

The method of claim 1, wherein for each training example, the given ranking of the given agents defines: (i) a partition of the given agents into multiple groups, wherein each group includes one or more given agents, and (ii) for each pair of groups including a first group and a second group, whether the given agents in the first group have a greater impact on the given planning decisions than the given agents in the second group.

### Claim 8

A system comprising:
one or more computers; and
one or more storage devices communicatively coupled to the one or more computers, wherein the one or more storage devices store instructions that, when executed by the one or more computers, cause the one or more computers to perform operations for training an importance scoring model, wherein the importance scoring model is configured to process an input that comprises a representation of a trajectory of a vehicle to generate a respective importance score for each of a plurality of agents located at respective locations in an environment in a vicinity of the vehicle, wherein the respective importance score for each agent characterizes an impact of the agent on planning decisions generated by a planning system of the vehicle which plans a future trajectory of the vehicle, the operations comprising:
generating a plurality of training examples, wherein each given training example comprises: (i) a representation of a trajectory of a given vehicle, and (ii) data defining a given ranking of given agents in a given vicinity of the given vehicle in order of their impact on planning decisions generated by a planning system which plans a future trajectory of the given vehicle, wherein generating a particular training example comprises:
for each of a plurality of particular agents in a particular vicinity of a particular vehicle at a particular time point, generating respective data characterizing a predicted future behavior of the particular agent using a behavior prediction neural network;
providing, for each of the plurality of particular agents in the particular vicinity of the particular vehicle at the particular time point, the respective data characterizing the predicted future behavior of the particular agent to a particular planning system;
receiving, from the particular planning system, particular planning decisions which plan a future trajectory of the particular vehicle; and
determining, based on the particular planning decisions, a particular ranking of the particular agents in the particular vicinity of the particular vehicle at the particular time point in order of their impact on the particular planning decisions; and
training the importance scoring model based on the plurality of training examples, comprising, for each given training example of the plurality of training examples:
training the importance scoring model to generate respective importance scores for the given agents characterized by the given training example that conform to the given ranking specified by the given training example.

### Claim 9 (depends on 8)

The system of claim 8, wherein generating the plurality of training examples comprises generating the plurality of training examples based on real or simulated driving data logs.

### Claim 10 (depends on 8)

The system of claim 8, wherein training the importance scoring model to generate respective importance scores for the given agents characterized by the given training example that conform to the given ranking specified by the given training example comprises:
generating: (i) a first importance score for a first agent characterized by the given training example, and (ii) a second importance score for a second agent characterized by the given training example, using the importance scoring model;
determining a loss based on whether the first importance score and the second importance score conform to the given ranking specified by the given training example; and
updating current parameter values of the importance scoring model based on the loss.

### Claim 11 (depends on 8)

The system of claim 8, wherein each of the particular planning decisions which plan the future trajectory of the particular vehicle include: (i) an action to be performed by the particular vehicle, and (ii) a particular agent in the particular vicinity of the particular vehicle which prompts the particular planning system to generate the particular planning decision.

### Claim 12 (depends on 11)

The system of claim 11, wherein determining, based on the particular planning decisions, the particular ranking of the particular agents in the particular vicinity of the particular vehicle at the particular time point in order of their impact on the particular planning decisions includes:
determining a respective planning score for each particular agent based on any actions which the particular agent prompts the particular planning system to generate; and
determining the particular ranking of the particular agents based on the respective planning scores of the particular agents.

### Claim 13 (depends on 8)

The system of claim 8, wherein each training example further comprises a representation of a respective trajectory of each of the given agents that are characterized by the training example.

### Claim 14 (depends on 8)

The system of claim 8, wherein for each training example, the given ranking of the given agents defines: (i) a partition of the given agents into multiple groups, wherein each group includes one or more given agents, and (ii) for each pair of groups including a first group and a second group, whether the given agents in the first group have a greater impact on the given planning decisions than the given agents in the second group.

### Claim 15

One or more non-transitory computer storage media storing instructions that when executed by one or more computers cause the one or more computers to perform operations for training an importance scoring model, wherein the importance scoring model is configured to process an input that comprises a representation of a trajectory of a vehicle to generate a respective importance score for each of a plurality of agents located at respective locations in an environment in a vicinity of the vehicle, wherein the respective importance score for each agent characterizes an impact of the agent on planning decisions generated by a planning system of the vehicle which plans a future trajectory of the vehicle, the operations comprising:
generating a plurality of training examples, wherein each given training example comprises: (i) a representation of a trajectory of a given vehicle, and (ii) data defining a given ranking of given agents in a given vicinity of the given vehicle in order of their impact on planning decisions generated by a planning system which plans a future trajectory of the given vehicle, wherein generating a particular training example comprises:
for each of a plurality of particular agents in a particular vicinity of a particular vehicle at a particular time point, generating respective data characterizing a predicted future behavior of the particular agent using a behavior prediction neural network;
providing, for each of the plurality of particular agents in the particular vicinity of the particular vehicle at the particular time point, the respective data characterizing the predicted future behavior of the particular agent to a particular planning system;
receiving, from the particular planning system, particular planning decisions which plan a future trajectory of the particular vehicle; and
determining, based on the particular planning decisions, a particular ranking of the particular agents in the particular vicinity of the particular vehicle at the particular time point in order of their impact on the particular planning decisions; and
training the importance scoring model based on the plurality of training examples, comprising, for each given training example of the plurality of training examples:
training the importance scoring model to generate respective importance scores for the given agents characterized by the given training example that conform to the given ranking specified by the given training example.

### Claim 16 (depends on 15)

The non-transitory computer storage media of claim 15, wherein generating the plurality of training examples comprises generating the plurality of training examples based on real or simulated driving data logs.

### Claim 17 (depends on 15)

The non-transitory computer storage media of claim 15, wherein training the importance scoring model to generate respective importance scores for the given agents characterized by the given training example that conform to the given ranking specified by the given training example comprises:
generating: (i) a first importance score for a first agent characterized by the given training example, and (ii) a second importance score for a second agent characterized by the given training example, using the importance scoring model;
determining a loss based on whether the first importance score and the second importance score conform to the given ranking specified by the given training example; and
updating current parameter values of the importance scoring model based on the loss.

### Claim 18 (depends on 15)

The non-transitory computer storage media of claim 15, wherein each of the particular planning decisions which plan the future trajectory of the particular vehicle include: (i) an action to be performed by the particular vehicle, and (ii) a particular agent in the particular vicinity of the particular vehicle which prompts the particular planning system to generate the particular planning decision.

### Claim 19 (depends on 18)

The non-transitory computer storage media of claim 18, wherein determining, based on the particular planning decisions, the particular ranking of the particular agents in the particular vicinity of the particular vehicle at the particular time point in order of their impact on the particular planning decisions includes:
determining a respective planning score for each particular agent based on any actions which the particular agent prompts the particular planning system to generate; and
determining the particular ranking of the particular agents based on the respective planning scores of the particular agents.

### Claim 20 (depends on 15)

The non-transitory computer storage media of claim 15, wherein each training example further comprises a representation of a respective trajectory of each of the given agents that are characterized by the training example.
