# US 2024/0199084 A1 · Assessing surprise 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 2024/0199084 A1
- Document ID: US20240199084A1
- Status: Published application
- Kind: A1
- Application number: 18/544,896
- Filed: 2023-12-19
- Published: 2024-06-20
- Earliest claimed: 2022-12-19
- Assignees: Waymo LLC
- Applicants: Waymo LLC
- Inventors: Isaac John Supeene; Azadeh Dinparastdjadid; Johan Engstrom
- Web page: https://patentgrep.com/patent/US20240199084A1

## CPC

- B60W 60/00274: {considering possible movement changes}
- B60W 50/0097: {Predicting future conditions}
- G06N 3/045: Combinations of networks
- G06N 3/0475: Generative networks
- G06N 3/094: Adversarial learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- B60W 2554/4045: Intention, e.g. lane change or imminent movement
- B60W 2556/10: Historical data
- 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
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for computing enhanced surprise metrics for autonomously driven vehicles. One of the methods includes receiving data representing a predicted state of an agent at a particular time, data representing an actual state of the agent for the particular time, and computing a surprise metric for the actual state of the agent based on a measure of the residual information between the predicted state of the agent and the actual state of the agent.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving data representing a predicted state of an agent at a particular time;
receiving data representing an actual state of the agent for the particular time; and
computing a surprise metric for the actual state of the agent based on a measure of the residual information between the predicted state of the agent and the actual state of the agent.

### Claim 2 (depends on 1)

The method of claim 1, wherein computing the surprise metric based on the measure of residual information comprises:
computing a first value Y of a probability density function for the predicted state of the agent;
computing a second value X of the probability density function for the actual state of the agent; and
computing the surprise metric based on a ratio between Y and X.

### Claim 3 (depends on 2)

The method of claim 2, wherein the actual state of the agent is a posterior probability distribution, and further comprising computing the measure of residual information based on the posterior probability distribution.

### Claim 4 (depends on 3)

The method of claim 3, wherein the measure of residual information represents how surprising a least surprising prediction is among a plurality of outcomes in the posterior distribution.

### Claim 5 (depends on 1)

The method of any of claim 1, wherein the received data representing the predicted state of the agent at the particular time, and the received data representing the actual state of the agent for the particular time are determined based on sensor data from one or more sensor subsystems of a vehicle.

### Claim 6 (depends on 5)

The method of claim 5, wherein the method comprises a planning system of the vehicle determining a control strategy for the vehicle based on the surprise metric or wherein the method comprises training an autonomous vehicle planning model based on the surprise metric.

### Claim 7

A computer-implemented method comprising:
receiving a prior probability distribution representing a predicted state of an agent at a particular time, wherein the prior probability distribution is based on a previous state of the agent at a previous time, and wherein the prior probability distribution has one or more associated expectation ranges that each represent a respective range of expected states of the agent at the particular time;
receiving an updated state of the agent for the particular time;
computing a posterior probability distribution based on the updated state of the agent; and
computing an antithesis surprise metric using the posterior probability distribution, wherein the antithesis surprise metric represents how much of the posterior probability distribution exceeds the prior probability distribution in regions that do not belong to any of the expectation ranges associated with the prior probability distribution.

### Claim 8 (depends on 7)

The method of claim 7, wherein the prior probability distribution is a mixture model comprising probabilities associated with a plurality of distinct predictions.

### Claim 9 (depends on 8)

The method of claim 8, wherein the plurality of distinct predictions are generated by a generative model that outputs, for a particular state, a plurality of predictions of a state of the agent at a future point in time.

### Claim 10 (depends on 9)

The method of claim 9, wherein each prediction of the state of the agent is associated with a respective expectation range.

### Claim 11 (depends on 10)

The method of claim 10, wherein the antithesis surprise metric is zero when the posterior distribution does not exceed the prior distribution outside of any expectation ranges.

### Claim 12 (depends on 7)

The method of claim 7, wherein the previous state of the agent at the previous time and the updated state of the agent for the particular time are determined based on sensor data from one or more sensor subsystems of a vehicle.

### Claim 13 (depends on 12)

The method of claim 12, wherein the method comprises a planning system of the vehicle determining a control strategy for the vehicle based on the antithesis surprise metric or wherein the method comprises training an autonomous vehicle planning model based on the antithesis surprise metric.

### Claim 14

A system comprising one or more computers and one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising:
receiving a prior probability distribution representing a predicted state of an agent at a particular time, wherein the prior probability distribution is based on a previous state of the agent at a previous time, and wherein the prior probability distribution has one or more associated expectation ranges that each represent a respective range of expected states of the agent at the particular time;
receiving an updated state of the agent for the particular time;
computing a posterior probability distribution based on the updated state of the agent; and
computing an antithesis surprise metric using the posterior probability distribution, wherein the antithesis surprise metric represents how much of the posterior probability distribution exceeds the prior probability distribution in regions that do not belong to any of the expectation ranges associated with the prior probability distribution.

### Claim 15 (depends on 14)

The system of claim 14, wherein the prior probability distribution is a mixture model comprising probabilities associated with a plurality of distinct predictions.

### Claim 16 (depends on 15)

The system of claim 15, wherein the plurality of distinct predictions are generated by a generative model that outputs, for a particular state, a plurality of predictions of a state of the agent at a future point in time.

### Claim 17 (depends on 16)

The system of claim 16, wherein each prediction of the state of the agent is associated with a respective expectation range.

### Claim 18 (depends on 17)

The system of claim 17, wherein the antithesis surprise metric is zero when the posterior distribution does not exceed the prior distribution outside of any expectation ranges.

### Claim 19 (depends on 18)

The system of claim 18, wherein the previous state of the agent at the previous time and the updated state of the agent for the particular time are determined based on sensor data from one or more sensor subsystems of a vehicle.

### Claim 20 (depends on 19)

The system of claim 19, wherein the method comprises a planning system of the vehicle determining a control strategy for the vehicle based on the antithesis surprise metric or wherein the method comprises training an autonomous vehicle planning model based on the antithesis surprise metric.
