# US 2021/0197720 A1 · Systems and methods for incident detection using inference models

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

- Number: US 2021/0197720 A1
- Document ID: US20210197720A1
- Status: Published application
- Kind: A1
- Application number: 16/729,274
- Filed: 2019-12-27
- Published: 2021-07-01
- Earliest claimed: 2019-12-27
- Assignees: Lyft, Inc.
- Applicants: Lyft, Inc.
- Inventors: John Rogers Houston; Sammy Omari; Matthew Swaner Vitelli
- Web page: https://patentgrep.com/patent/US20210197720A1

## CPC

- G06N 3/084: Backpropagation, e.g. using gradient descent
- B60Q 9/008: {for anti-collision purposes}
- G06F 18/41: {Interactive pattern learning with a human teacher}
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06V 20/56: exterior to a vehicle by using sensors mounted on the vehicle
- G06V 20/58: Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- B60Q: ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

In one embodiment, a method includes accessing contextual data associated with a vehicle, the contextual data being captured using one or more sensors associated with the vehicle and including perception data, generating, based on at least a portion of the perception data, one or more representations of an environment of the vehicle, determining a predicted risk score by processing the one or more representations of the environment of the vehicle using a machine-learning model, wherein the machine-learning model has been trained using human-driven vehicle risk observations and corresponding representations of environments associated with the observations, determining that one or more vehicle operations are to be performed based on a comparison of the predicted risk score to a threshold risk score, and causing the vehicle to perform the one or more vehicle operations based on the predicted risk score and the threshold risk score.

## Claims

### Claim 1

A method comprising, by a computing system:
accessing contextual data captured using one or more sensors associated with an autonomous vehicle while the autonomous vehicle traverses a route, wherein the contextual data includes perception data for an environment external to the autonomous vehicle and associated with the route;
generating, based on at least a portion of the perception data, one or more representations of the environment external to the autonomous vehicle;
determining a predicted risk score associated with the environment by processing the one or more representations of the environment using a learned risk model, wherein the learned risk model is generated based at least on risk scores generated from (1) representations of environments in which human-driven vehicles drove and (2) sensor data associated with historical observations of behaviors of the human-driven vehicles in the representations of the environments;
determining that one or more autonomous vehicle operations are to be performed while the vehicle traverses the route based on a comparison of the predicted risk score to a threshold risk score; and
adjusting one or more driving parameters associated with the autonomous vehicle while the autonomous vehicle traverses the route to cause the autonomous vehicle to perform the one or more autonomous vehicle operations for navigating the route based on the predicted risk score satisfying the threshold risk score, wherein the one or more autonomous vehicle operations are based on the predicted risk score and the historical observations of behaviors of the human-driven vehicles.

### Claim 2 (depends on 1)

The method of claim 1, wherein the one or more autonomous vehicle operations comprise:
presenting, on an output device, a warning indicating an elevated risk of collision occurrence.

### Claim 3 (depends on 1)

The method of claim 1, wherein the sensor data associated with the historical observations of behaviors of the human-driven vehicles are collected for the representations of the environments in which the human-driven vehicles drove, and the risk model is further based on:
for each of the historical observations of behaviors of the human-driven vehicles:
determining a training risk score for each of the human-driven vehicles based on the representations of the environment in which the human-driven vehicles drove;
determining an actual risk score for each of the human-driven vehicles based on the representations of the environment in which the human-driven vehicles drove; and
updating the risk model based on a difference between the training risk score and the actual risk score.

### Claim 4 (depends on 3)

The method of claim 3, wherein the training risk score is determined using the risk model.

### Claim 5 (depends on 3)

The method of claim 3, wherein the risk model is further based on:
presenting, to a human user, a request to assess one of the risk scores of the representations of the environments in which the human-driven vehicles drove, wherein the request comprises one or more images based on the representations of the environments in which the human-driven vehicles drove; and
receiving, from the human user, the actual risk score.

### Claim 6 (depends on 3)

The method of claim 3, wherein the training risk score is included in the historical observations of behaviors of the human-driven vehicles in the environments.

### Claim 7 (depends on 6)

The method of claim 6, wherein the training risk score is determined based on one or more vehicle parameters of the human-driven vehicles,
wherein the one or more vehicle parameters are associated with the representations of the environment in which the human-driven vehicles drove, and
wherein the one or more vehicle parameters comprise a steering angle, a brake pressure, or a combination thereof.

### Claim 8 (depends on 7)

The method of claim 7, wherein the one or more vehicle parameters of the human-driven vehicles were determined within a threshold amount of time before or after the representations of the environment in which the human-driven vehicles drove were captured by a one or more sensors of the human-driven vehicles.

### Claim 9 (depends on 8)

The method of claim 8, wherein the training risk score is determined based on whether the one or more vehicle parameters of the human-driven vehicles changed by at least a threshold amount within a threshold period of time.

### Claim 10 (depends on 9)

The method of claim 9, wherein the training risk score is scaled based on a magnitude by which the one or more vehicle parameters of the human-driven vehicles changed within the threshold period of time.

### Claim 11

(canceled)

### Claim 12 (depends on 1)

The method of claim 1, wherein the predicted risk score comprises collision probabilities.

### Claim 13

A system comprising: one or more processors and one or more computer-readable non-transitory storage media coupled to one or more of the processors, the one or more computer-readable non-transitory storage media comprising instructions operable when executed by one or more of the processors to cause the system to:
access contextual data captured using one or more sensors associated with an autonomous vehicle while the autonomous vehicle traverses a route, wherein the contextual data includes perception data for an environment external to the autonomous vehicle and associated with the route;
generate, based on at least a portion of the perception data, one or more representations of the environment external to the autonomous vehicle;
determine a predicted risk score associated with the environment by processing the one or more representations of the environment using a learned risk model, wherein the learned risk model is generated based at least on risk scores generated from (1) representations of environments in which human-driven vehicles drove and (2) sensor data associated with historical observations of behaviors of the human-driven vehicles in the representations of the environments;
determine that one or more autonomous vehicle operations are to be performed while the vehicle traverses the route based on a comparison of the predicted risk score to a threshold risk score; and
adjust one or more driving parameters associated with the autonomous vehicle while the autonomous vehicle traverses the route to cause the autonomous vehicle to perform the one or more autonomous vehicle operations for navigating the route based on the predicted risk score satisfying the threshold risk score, wherein the one or more autonomous vehicle operations are based on the predicted risk score and the historical observations of behaviors of the human-driven vehicles.

### Claim 14

(canceled)

### Claim 15 (depends on 13)

The system of claim 13, wherein the sensor data associated with the historical observations of behaviors of the human-driven vehicles are collected for the representations of the environments in which the human-driven vehicles drove, and the risk model is further based on:
for each of the historical observations of behaviors of the human-driven vehicles:
determining a training risk score for each of the human-driven vehicles based on the representations of the environment in which the human-driven vehicles drove;
determining an actual risk score for each of the human-driven vehicles based on the representations of the environment in which the human-driven vehicles drove; and
updating the risk model based on a difference between the training risk score and the actual risk score.

### Claim 16 (depends on 15)

The system of claim 15, wherein the training risk score is determined using the risk model.

### Claim 17

One or more computer-readable non-transitory storage media including instructions that, when executed by one or more processors of a computing system, are operable to cause the computing system to perform operations comprising:
accessing contextual data captured using one or more sensors associated with an autonomous vehicle while the autonomous vehicle traverses a route, wherein the contextual data includes perception data for an environment external to the autonomous vehicle and associated with the route;
generating, based on at least a portion of the perception data, one or more representations of the environment external to the autonomous vehicle;
determining a predicted risk score associated with the environment by processing the one or more representations of the environment using a learned risk model, wherein the learned risk model is generated based at least on risk scores generated from (1) representations of environments in which human-driven vehicles drove and (2) sensor data associated with historical observations of behaviors of the human-driven vehicles in the representations of the environments;
determining that one or more autonomous vehicle operations are to be performed while the vehicle traverses the route based on a comparison of the predicted risk score to a threshold risk score; and
adjusting one or more driving parameters associated with the autonomous vehicle while the autonomous vehicle traverses the route to cause the autonomous vehicle to perform the one or more autonomous vehicle operations for navigating the route based on the predicted risk score satisfying the threshold risk score, wherein the one or more autonomous vehicle operations are based on the predicted risk score and the historical observations of behaviors of the human-driven vehicles.

### Claim 18 (depends on 17)

The one or more computer-readable non-transitory storage claim 17, wherein the autonomous one or more vehicle operations comprise:
presenting, on an output device, a warning indicating an elevated risk of collision occurrence.

### Claim 19 (depends on 17)

The one or more computer-readable non-transitory storage claim 17, wherein the sensor data associated with the historical observations of behaviors of the human-driven vehicles are collected for the representations of the environments in which the human-driven vehicles drove, and the risk model is further based on:
for each of the historical observations of behaviors of the human-driven vehicles:
determining a training risk score for each of the human-driven vehicles based on the representations of the environment in which the human-driven vehicles drove;
determining an actual risk score for each of the human-driven vehicles based on the representations of the environment in which the human-driven vehicles drove; and
updating the risk model based on a difference between the training risk score and the actual risk score.

### Claim 20 (depends on 19)

The one or more computer-readable non-transitory storage media storage media of claim 19, wherein the training risk score is determined using the risk model.

### Claim 21 (depends on 1)

The method of claim 1, wherein the sensor data includes one or more vehicle parameters associated with the human-driven vehicles in the environment.

### Claim 22 (depends on 1)

The method of claim 1, wherein adjusting the one or more autonomous vehicle driving parameters while the autonomous vehicle traverses the route further comprises:
determining a plurality of features of the environment external to the autonomous vehicle;
associating the plurality of features of the environment with a predetermined drive plan for the autonomous vehicle, wherein the predetermined drive plan is associated with the one or more autonomous driving parameters;
generating a prediction of a manner in which a human-driven vehicle would traverse the route in response to the plurality of features of the environment; and
adjusting the one or more autonomous vehicle driving parameters based on the prediction.
