IP Library › Granted Patent US 12,511,529
Granted Patent B2
US 12,511,529 · App. 16/685,327 · Granted Dec 30, 2025

System and method for generative model for stochastic point processes

Inventors: Nazanin Mehrasa (Vancouver, CA); Akash Abdu Jyothi (Vancouver, CA); Thibaut Durand (Vancouver, CA); Jiawei He (Vancouver, CA); Gregory Mori (Vancouver, CA); Mohamed Ahmed (Toronto, CA); Marcus Brubaker (Toronto, CA)
Assignee: ROYAL BANK OF CANADA
G06N3/08G06N3/044G06N3/045
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,511,529
App. No.
16/685,327
Granted
Dec 30, 2025
Kind
B2
Abstract

A variational auto-encoder model is trained to generate probabilities of action categories and probabilities of inter-arrival times of next action from a sequence of past actions by generating a concatenated representation of each action and associated time, encoding the concatenated representations, determining a conditional prior distribution for a next action, determining a conditional posterior distribution for the current action, sampling a latent variable from the conditional prior distribution, generating a probability distribution over a current action category, and generating a probability distribution over inter-arrival times for the current action category.

Claims (48)

1 . A computer-implemented method for training a variational auto-encoder model for asynchronous future action prediction, comprising:

receiving data representing events, the events being discrete events occurring in continuous time, the events including past events and a current event, the events including irregularly time spaced events that do not occur at regular time intervals, wherein the model does not have any information about the current event, wherein the current event does not have a discernable causal relationship with the past events;

for each of the events, generating an event representation, the event representation based on an event category selected from a plurality of event categories;

generating a time representation of inter-arrival times between each of the events;

generating a concatenated representation of each event representation and associated time representation;

encoding the concatenated representations of the past events into a past vector representation;

encoding the concatenated representations of the current event into a current vector representation;

determining a conditional prior distribution for a next event, based at least in part on the past vector representation;

determining a conditional posterior distribution for the current event, based at least in part on the current vector representation;

sampling a latent variable from the conditional prior distribution;

generating a probability distribution over the plurality of event categories for a current event category using an action decoder neural network;

generating a probability distribution over inter-arrival times for the current event category using a time decoder neural network, wherein the probability distribution over inter-arrival times is parametrized by the time decoder neural network, wherein the time decoder neural network accepts the sampled latent variable as input, wherein the time decoder neural network includes at least one time decoder neural network activation layer and at least one time decoder neural network layer that applies an exponential non-linear mapping to an output of the at least one time decoder neural network activation layer to generate a positive parameter for the probability distribution over inter-arrival times;

updating a parameter of the conditional prior distribution using the action decoder neural network and the time decoder neural network such that the parameter of the conditional prior distribution shifts over training to improve accuracy of labelling a predicted next event with a label representing an event category of the plurality of event categories;

generating one or more labels for a predicted next event in a sequence of events or for performing a next event based on the generated probability distributions over the current event category and the inter-arrival times, wherein the one or more labels for the predicted next event is based on a most probable event category from the probability distribution over the plurality of event categories for a current event category, wherein the predicted next event has a predicted inter-arrival time based on the probability distribution over inter-arrival times and the positive parameter for the probability distribution over inter-arrival times; and

communicating via a user interface the one or more labels for the predicted next event.

2 . The computer-implemented method of claim 1 , further comprising:

optimizing a variational lower bound comprising a difference between a log likelihood of ground truth data and a Kullback-Leibler divergence between the true and conditional posterior distributions.

3 . The computer-implemented method of claim 1 , further comprising modelling the probability distribution over inter-arrival times for the current event category with a non-parametric temporal point process distribution using a normalizing flow framework.

4 . The computer-implemented method of claim 1 , wherein the conditional prior distribution is time-variant and a function of all past events except the current event.

5 . The computer-implemented method of claim 1 , wherein the conditional prior distribution or the conditional posterior distribution is a Gaussian distribution.

6 . The computer-implemented method of claim 1 , wherein the conditional prior distribution and the conditional posterior distribution are modelled as a multivariate Gaussian distributions with diagonal covariance.

7 . The computer-implemented method of claim 1 , further comprising modelling the probability distribution over the current event category with a multinomial distribution.

8 . The computer-implemented method of claim 1 , further comprising modelling the probability distribution over inter-arrival times for the current event category with a parameterized exponential distribution.

9 . The computer-implemented method of claim 3 , wherein the temporal point process distribution follows an exponential distribution.

10 . The computer-implemented method of claim 1 , wherein the encoding the concatenated representations of the past events into a past vector representation is with a long short-term memory network.

11 . The computer-implemented method of claim 1 , wherein the encoding the concatenated representations of the current event into a current vector representation is with a long short-term memory network.

12 . The computer-implemented method of claim 1 , wherein the events are irregularly spaced in time.

13 . A non-transitory computer readable medium comprising a computer readable memory storing computer executable instructions thereon that when executed by a computer cause the computer to:

predict probabilities of event categories and probabilities of inter-arrival times of a next event, using a model trained using the method of claim 1 .

14 . A computer-implemented method for generating probabilities of event categories and probabilities of inter-arrival times of a next event from a sequence of past events using a variational auto-encoder model for asynchronous future action prediction, comprising:

receiving data representing the past events, the past events and the next event being discrete events occurring in continuous time, the events including irregularly time spaced events that do not occur at regular time intervals, wherein the model does not have any information about the next event, wherein the next event does not have a discernable causal relationship with the past events;

generating an event representation, the event representation based on an event category selected from a plurality of event categories for each of the past events;

generating a time representation of inter-arrival times between each of the past events;

generating a concatenated representation of each event representation and associated time representation;

encoding the concatenated representations into a vector representation;

determining a conditional posterior distribution for the next event;

sampling a latent variable from the conditional posterior distribution;

generating a probability distribution over the plurality of events categories for a next event category using an action decoder neural network;

generating a probability distribution over inter-arrival times for the next event category using a time decoder neural network, wherein the probability distribution over inter-arrival times is parametrized by the time decoder neural network, wherein the time decoder neural network accepts the sampled latent variable as input, wherein the time decoder neural network includes at least one time decoder neural network activation layer and at least one time decoder neural network layer that applies an exponential non-linear mapping to an output of the at least one time decoder neural network activation layer to generate a positive parameter for the probability distribution over inter-arrival times; updating a parameter of the conditional prior distribution using the action decoder neural network and the time decoder neural network such that the parameter of the conditional prior distribution shifts over training to improve accuracy of labelling a predicted next event with a label representing an event category of the plurality of event categories;

generating one or more labels for a predicted next event in a sequence of events or for performing a next event based on the generated probability distributions over the current event category and the inter-arrival times, wherein the one or more labels for the predicted next event is based on a most probable event category from the probability distribution over the plurality of event categories for a current event category, wherein the predicted next event has a predicted inter-arrival time based on the probability distribution over inter-arrival times and the positive parameter for the probability distribution over inter-arrival times; and

communicating via a user interface the one or more labels for the predicted next event.

15 . The computer-implemented method of claim 14 , wherein the encoding the concatenated representations into a current vector representation is with a long short-term memory network.

16 . The computer-implemented method of claim 14 , further comprising modelling the probability distribution over the next event category with a multinomial distribution.

17 . The computer-implemented method of claim 14 , further comprising modelling the probability distribution over inter-arrival times for the next event category with a parameterized exponential distribution.

18 . The computer-implemented method of claim 14 , further comprising modelling the probability distribution over inter-arrival times for the next event category with a non-parametric temporal point process distribution using a normalizing flow framework.

19 . The computer-implemented method of claim 14 , wherein the past events are irregularly spaced in time.

20 . The computer-implemented method of claim 1 wherein the data representing the events is video data.

21 . The computer-implemented method of claim 1 wherein the generated one or more outputs comprises a latent representation in the form of a vector representing a current state of events, wherein the latent representation can be used for matching.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 19, 2019
From: MEHRASA, NAZANIN; JYOTHI, AKASH ABDU; DURAND, THIBAUT; HE, JIAWEI; MORI, GREGORY
To: ROYAL BANK OF CANADA
Reel/Frame 051051/0250 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 19, 2019
From: MEHRASA, NAZANIN; AHMED, MOHAMED; DURAND, THIBAUT; HE, JIAWEI; BRUBAKER, MARCUS; MORI, GREGORY
To: ROYAL BANK OF CANADA
Reel/Frame 051051/0396 →
Continuity (3)
Provisional Application 62851385 · May 22, 2019
Provisional Application 62768697 · Nov 16, 2018
Related Publication 20200160176A1 · May 21, 2020
References Cited (19)
US 10373055B1 · Matthey-de-l'Endroit · 2019 [cited by examiner]
US 11069069B2 · Rahimi · 2021 [cited by examiner]
US 11243532B1 · Levihn · 2022 [cited by examiner]
US 11537134B1 · Wiest · 2022 [cited by examiner]
US 20180218261A1 · Myara · 2018 [cited by examiner]
US 20190041842A1 · Cella · 2019 [cited by examiner]
US 20190378050A1 · Edkin · 2019 [cited by examiner]
US 20210034969A1 · Wayne · 2021 [cited by examiner]
US 20210191506A1 · Wang · 2021 [cited by examiner]
Gregor, K. et al., “Temporal Difference Variational Auto-Encoder” (Year: 2018). [cited by examiner]
Lee, A. et al., “Stochastic Adversarial Video Prediction” (Year: 2018). [cited by examiner]
Butepage, J. et al., “Anticipating many futures: Online human motion prediction and synthesis for human-robot collaboration” (Year: 2017). [cited by examiner]
Guo, Y. et al., “Multidimensional Time Series Anomaly Detection: A GRU-based Gaussian Mixture Variational Autoencoder Approach” (Year: 2018). [cited by examiner]
Aliakbarian, M. et al., “Encouraging LSTMs to Anticipate Actions Very Early” (Year: 2017). [cited by examiner]
Chaveroche, M. et al., “A Variational Time Series Feature Extractor for Action Prediction” (Year: 2018). [cited by examiner]
Mishra, N. et al., “Prediction and Control with Temporal Segment Models” (Year: 2017). [cited by examiner]
Chaveroche, M. et al., “A Variational Time Series Feature Extractor for Action Prediction”, https://arxiv.org/abs/1807.02350, Sep. 2018 (Year: 2018). [cited by examiner]
Mishra, N. et al., “Prediction and Control with Temporal Segment Models”, https://arxiv.org/abs/1703.04070 (Year: 2017). [cited by examiner]
Kim, T. et al., “Characterizing Dynamic Walking Patterns and Detecting Falls with Wearable Sensors using Gaussian Process Methods”, https://www.mdpi.com/1424-8220/17/5/1172 (Year: 2017). [cited by examiner]