# US 2022/0292867 A1 · Stochastic trajectory prediction using social graph networks

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

- Number: US 2022/0292867 A1
- Document ID: US20220292867A1
- Status: Published application
- Kind: A1
- Application number: 17/635,792
- Filed: 2019-09-16
- Published: 2022-09-15
- Earliest claimed: 2019-09-16
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Lidan ZHANG; Qi She; Ping Guo
- Web page: https://patentgrep.com/patent/US20220292867A1

## CPC

- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0475: Generative networks
- G06N 3/048: Activation functions
- G06N 3/09: Supervised learning
- G06Q 10/04: Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem" (market predictions or forecasting for commercial activities G06Q30/0202)
- G06Q 10/40: Business processes related to social networking or social networking services
- G06T 7/12: Edge-based segmentation
- G06T 7/246: using feature-based methods, e.g. the tracking of corners or segments
- G06T 7/73: using feature-based methods
- G06V 10/82: using neural networks
- G06V 40/103: {Static body considered as a whole, e.g. static pedestrian or occupant recognition}
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30196: Human being; Person
- G06V 2201/07: Target detection
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Systems, methods, apparatuses, and computer program products to provide stochastic trajectory prediction using social graph networks. An operation may comprise determining a first feature vector describing destination features of a first person depicted in an image, generating a directed graph for the image based on all people depicted in the image, determining, for the first person, a second feature vector based on the directed graph and the destination features, sampling a value of a latent variable from a learned prior distribution, the latent variable to correspond to a first time interval, and generating, based on the sampled value and the feature vectors by a hierarchical long short-term memory (LSTM) executing on a processor, an output vector comprising a direction of movement and a speed of the direction of movement of the first person at a second time interval, subsequent to the first time interval.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A non-transitory computer-readable storage medium storing instructions that when executed by a processor circuit cause the processor circuit to:
determine a first feature vector describing destination features of a first person, of a plurality of people, depicted in an image;
generate a directed graph for the image based on the plurality of people depicted in the image;
determine, for the first person, a second feature vector based on the directed graph and the destination features;
sample a value of a latent variable from a learned prior distribution, the latent variable to correspond to a first time interval; and
generate, based on the sampled value and the feature vectors by a hierarchical long short-term memory (LSTM), an output vector comprising a direction of movement and a speed of the direction of movement of the first person at a second time interval, subsequent to the first time interval.

### Claim 22 (depends on 21)

The computer-readable storage medium of claim 21, the first feature vector to be determined by a first neural network based on input to comprise a location of the person at the first time interval and a velocity of the person at the first time interval, the velocity of the person at the first time interval based on the location of the person at the first time interval and a location of the first person at a third time interval, the third time interval prior to the first time interval.

### Claim 23 (depends on 22)

The computer-readable storage medium of claim 22, the location of the person at the first and third time intervals to comprise a respective set of polar coordinates, the output vector one of a plurality of output vectors generated for the first person.

### Claim 24 (depends on 22)

The computer-readable storage medium of claim 22, the directed graph to comprise an adjacency matrix, a plurality of nodes, and a plurality of edges, each node to correspond to a respective one of the plurality of people depicted in the image, each edge connecting two of the nodes based on one of the plurality of people depicted in the image being in view of another one of the plurality of people depicted in the image, the adjacency matrix reflecting whether an edge connects two of the nodes.

### Claim 25 (depends on 24)

The computer-readable storage medium of claim 24, a first edge of the plurality of edges to connect a first node and a second node of the plurality of nodes, the computer-readable storage medium storing instructions that when executed by the processor circuit cause the processor circuit to:
analyze the image to identify an interaction from the first person directed to a second person of the plurality of people;
generate the first edge in the graph based on the identified interaction, the first person associated with the first node, the second person associated with the second node;
determine an attention value for the first edge, the attention value to reflect a degree of the interaction; and
assign the attention value to the first edge.

### Claim 26 (depends on 25)

The computer-readable storage medium of claim 25, storing instructions that when executed by the processor circuit cause the processor circuit to:
determine the second feature vector by the first neural network based on a message representing the first edge, the message to be determined based on an element-wise multiplication operator to be applied by the first neural network to the input to the first neural network, the element-wise operator to comprise a sigmoid activation function.

### Claim 27 (depends on 21)

The computer-readable storage medium of claim 21, the computer-readable storage medium storing instructions that when executed by the processor circuit cause the processor circuit to:
learn the prior distribution based on a plurality of recursive hidden states of a third LSTM and a prior vector of the first person at a third time interval, the third time interval prior to the first time interval, the prior vector to comprise a direction of movement and a speed of the direction of movement of the first person at the second time interval.

### Claim 28 (depends on 21)

The computer-readable storage medium of claim 21, the hierarchical LSTM comprising at least two LSTMs including a first LSTM and a second LSTM, the first LSTM to receive the value of the latent variable and the second feature vector as input, the second LSTM to receive an output of the first LSTM and the first feature vector as input, the second LSTM to generate the output vector.

### Claim 29 (depends on 21)

The computer-readable storage medium of claim 21, storing instructions that when executed by the processor circuit cause the processor circuit to:
determine that the output vector intersects with a trajectory vector of an autonomous vehicle;
determine, based on the determined intersection of the output vector and the trajectory vector, that a likelihood of a collision between the first person and an autonomous vehicle at a later time exceeds a collision threshold; and
output an indication of the collision to at least one of the first person or the autonomous vehicle, a navigation logic of the autonomous vehicle to modify a movement of the autonomous vehicle to avoid the collision responsive to receipt of the indication.

### Claim 30

An apparatus, comprising:
a processor circuit; and
memory storing instructions which when executed by the processor circuit cause the processor circuit to:
determine a first feature vector describing destination features of a first person, of a plurality of people, depicted in an image;
generate a directed graph for the image based on the plurality of people depicted in the image;
determine, for the first person, a second feature vector based on the directed graph and the destination features;
sample a value of a latent variable from a learned prior distribution, the latent variable to correspond to a first time interval; and
generate, based on the sampled value and the feature vectors by a hierarchical long short-term memory (LSTM), an output vector comprising a direction of movement and a speed of the direction of movement of the first person at a second time interval, subsequent to the first time interval.

### Claim 31 (depends on 30)

The apparatus of claim 30, the first feature vector to be determined by a first neural network based on input to comprise a location of the person at the first time interval and a velocity of the person at the first time interval, the velocity of the person at the first time interval based on the location of the person at the first time interval and a location of the first person at a third time interval, the third time interval prior to the first time interval.

### Claim 32 (depends on 31)

The apparatus of claim 31, the location of the person at the first and third time intervals to comprise a respective set of polar coordinates, the output vector one of a plurality of output vectors generated for the first person.

### Claim 33 (depends on 31)

The apparatus of claim 31, the directed graph to comprise an adjacency matrix, a plurality of nodes, and a plurality of edges, each node to correspond to a respective one of the plurality of people depicted in the image, each edge connecting two of the nodes based on one of the plurality of people depicted in the image being in view of another one of the plurality of people depicted in the image, the adjacency matrix reflecting whether an edge connects two of the nodes.

### Claim 34 (depends on 33)

The apparatus of claim 33, a first edge of the plurality of edges to connect a first node and a second node of the plurality of nodes, the memory storing instructions that when executed by the processor circuit cause the processor circuit to:
analyze the image to identify an interaction from the first person directed to a second person of the plurality of people;
generate the first edge in the graph based on the identified interaction, the first person associated with the first node, the second person associated with the second node;
determine an attention value for the first edge, the attention value to reflect a degree of the interaction; and
assign the attention value to the first edge.

### Claim 35 (depends on 30)

The apparatus of claim 30, the memory storing instructions which when executed by the processor circuit cause the processor circuit to:
learn the prior distribution based on a plurality of recursive hidden states of a third LSTM and a prior vector of the first person at a third time interval, the third time interval prior to the first time interval, the prior vector to comprise a direction of movement and a speed of the direction of movement of the first person at the second time interval.

### Claim 36 (depends on 30)

The apparatus of claim 30, the hierarchical LSTM comprising at least two LSTMs including a first LSTM and a second LSTM, the first LSTM to receive the value of the latent variable and the second feature vector as input, the second LSTM to receive an output of the first LSTM and the first feature vector as input, the second LSTM to generate the output vector.

### Claim 37 (depends on 30)

The apparatus of claim 30, the memory storing instructions which when executed by the processor circuit cause the processor circuit to:
determine that the output vector intersects with a trajectory vector of an autonomous vehicle;
determine, based on the determined intersection of the output vector and the trajectory vector, that a likelihood of a collision between the first person and an autonomous vehicle at a later time exceeds a collision threshold; and
output an indication of the collision to at least one of the first person or the autonomous vehicle, a navigation logic of the autonomous vehicle to modify a movement of the autonomous vehicle to avoid the collision responsive to receipt of the indication.

### Claim 38

A method, comprising:
determining a first feature vector describing destination features of a first person, of a plurality of people, depicted in an image;
generating a directed graph for the image based on the plurality of people depicted in the image;
determining, for the first person, a second feature vector based on the directed graph and the destination features;
sampling a value of a latent variable from a learned prior distribution, the latent variable to correspond to a first time interval; and
generating, based on the sampled value and the feature vectors by a hierarchical long short-term memory (LSTM) executing on a processor, an output vector comprising a direction of movement and a speed of the direction of movement of the first person at a second time interval, subsequent to the first time interval.

### Claim 39 (depends on 38)

The method of claim 38, the first feature vector to be determined by a first neural network based on input to comprise a location of the person at the first time interval and a velocity of the person at the first time interval, the velocity of the person at the first time interval based on the location of the person at the first time interval and a location of the first person at a third time interval, the third time interval prior to the first time interval.

### Claim 40 (depends on 39)

The method of claim 39, the directed graph to comprise an adjacency matrix, a plurality of nodes, and a plurality of edges, each node to correspond to a respective one of the plurality of people depicted in the image, each edge connecting two of the nodes based on one of the plurality of people depicted in the image being in view of another one of the plurality of people depicted in the image, the adjacency matrix reflecting whether an edge connects two of the nodes.

### Claim 41 (depends on 40)

The method of claim 40, a first edge of the plurality of edges to connect a first node and a second node of the plurality of nodes, the method further comprising:
analyzing the image to identify an interaction from the first person directed to a second person of the plurality of people;
generating the first edge in the graph based on the identified interaction, the first person associated with the first node, the second person associated with the second node;
determining an attention value for the first edge, the attention value to reflect a degree of the interaction; and
assigning the attention value to the first edge.

### Claim 42 (depends on 41)

The method of claim 41, further comprising:
determining the second feature vector by the first neural network based on a message representing the first edge, the message to be determined based on an element-wise multiplication operator to be applied by the first neural network to the input to the first neural network, the element-wise operator to comprise a sigmoid activation function.

### Claim 43 (depends on 38)

The method of claim 38, further comprising:
learning the prior distribution based on a plurality of recursive hidden states of a third LSTM and a prior vector of the first person at a third time interval, the third time interval prior to the first time interval, the prior vector to comprise a direction of movement and a speed of the direction of movement of the first person at the second time interval.

### Claim 44 (depends on 38)

The method of claim 38, the hierarchical LSTM comprising at least two LSTMs including a first LSTM and a second LSTM, the first LSTM to receive the value of the latent variable and the second feature vector as input, the second LSTM to receive an output of the first LSTM and the first feature vector as input, the second LSTM to generate the output vector.

### Claim 45 (depends on 38)

The method of claim 38, further comprising:
determining that the output vector intersects with a trajectory vector of an autonomous vehicle;
determining, based on the determined intersection of the output vector and the trajectory vector, that a likelihood of a collision between the first person and an autonomous vehicle at a later time exceeds a collision threshold;
outputting an indication of the collision to at least one of the first person or the autonomous vehicle;
receiving, by a navigation logic of the autonomous vehicle, the indication of the collision; and
modifying, by the navigation logic, a movement of the autonomous vehicle to avoid the collision.
