# US 2024/0256975 A1 · Method and system for predicting and classifying event sequences embedded in a knowledge graph

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

- Number: US 2024/0256975 A1
- Document ID: US20240256975A1
- Status: Published application
- Kind: A1
- Application number: 18/565,585
- Filed: 2021-06-18
- Published: 2024-08-01
- Earliest claimed: 2021-06-02
- Assignees: NEC Laboratories Europe GmbH
- Applicants: NEC Laboratories Europe GmbH
- Inventors: Julia GASTINGER; Mischa SCHMIDT; Tobias JACOBS
- Web page: https://patentgrep.com/patent/US20240256975A1

## CPC

- G06N 3/045: Combinations of networks
- G06N 20/00: Machine learning
- G06N 3/09: Supervised learning
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G08G 1/0145: {for active traffic flow control}
- G08G 1/096775: {where the origin of the information is a central station}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G08G: TRAFFIC CONTROL SYSTEMS (guiding railway traffic, ensuring the safety of railway traffic B61L; arrangement of road signs or traffic signals E01F9/00; radar or analogous systems, sonar systems, lidar systems specially adapted for traffic control G01S13/91, G01S15/88, G01S17/88; {radar or analogous systems, sonar systems, lidar systems specially adapted for anti-collision purposes G01S13/93, G01S15/93, G01S17/93})

## Abstract

A computer-implemented method for event sequence forecasting of a process instance includes building up and training a three-layered prediction model including a first, a second and a third layer. The first layer is a graph embedding layer that assigns a fixed-dimensional graph embedding vector to each node and relation type in a fused event and knowledge graph that contains available structural information including events, knowledge graph nodes, and links between the events and the knowledge graph nodes. The second layer is an event embedding layer that assigns to each event of the process instance a fixed-dimensional event embedding vector. The third layer is a prediction layer that receives as input a sequence of event embeddings from the second layer and that generates as output a prediction of an unknown property of the event sequence used as input.

## Claims

### Claim 1

A computer-implemented method for event sequence forecasting of a process instance, the method comprising:
building up and training a three-layered prediction model including a first, a second and a third layer,
wherein the first layer is a graph embedding layer that assigns a fixed-dimensional graph embedding vector to each node and relation type in a fused event and knowledge graph that contains available structural information including events, knowledge graph nodes, and links between the events and the knowledge graph nodes,
wherein the second layer is an event embedding layer that assigns to each event of the process instance a fixed-dimensional event embedding vector, and
wherein the third layer is a prediction layer that receives as input a sequence of event embeddings from the second layer and that generates as output a prediction of an unknown property of the event sequence used as input.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the graph embedding layer is trained in an unsupervised manner.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the event embedding layer and the prediction layer are trained end-to-end in a supervised manner.

### Claim 4 (depends on 1)

The method according to claim 1, wherein an event history containing previous event sequences with known outcomes is used as training samples for training the event embedding layer.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the event embedding layer determines the event embedding vectors by using a parametrized function that maps a graph neighborhood of any event in the fused event and knowledge graph to a fixed-dimensional vector.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the graph neighborhood of an event comprises a 2-hop neighborhood of the event.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising, upon arrival of a new event, using the trained prediction layer to dynamically update predictions.

### Claim 8 (depends on 7)

The method according to claim 7, wherein updating predictions comprises:
using the event embedding layer to compute an embedding of the event from the embeddings of the related nodes of the fused event and knowledge graph; and
feeding the resulting embedding into the prediction layer to update the predictions about the event sequence.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the prediction layer generates the prediction output by using a transformer-based sequence model.

### Claim 10 (depends on 1)

The method according to claim 1, further comprising:
re-training the third layer, or the second and third layer, or all three layers, as soon as an amount of new events that has arrived exceeds a critical mass defined by a configurable threshold.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the configurable threshold defining the critical mass of new events is dynamically adjusted if a predictive accuracy drops below a certain threshold.

### Claim 12 (depends on 1)

The method according to claim 1, further comprising:
using the obtained predictions for automated decision making in a control loop.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the control loop is a closed control loop that receives as input a desired outcome, that uses the trained prediction model to predict the outcome for several possible actions, leading to several expected outcomes, and that includes a control element that selects these-actions that lead to an expected outcome having the smallest difference to the desired outcome.

### Claim 14

A system for event sequence forecasting of a process instance, the system comprising one or more processors configured to:
build up and train a three-layered prediction model including a first, a second and a third layer,
wherein the first layer is a graph embedding layer that assigns a fixed-dimensional graph embedding vector to each node and relation type in a fused event and knowledge graph that contains available structural information including events, knowledge graph nodes, and links between the events and the knowledge graph nodes,
wherein the second layer is an event embedding layer that assigns to each event of the process instance a fixed-dimensional event embedding vector, and
wherein the third layer is a prediction layer that receives as input a sequence of event embeddings from the second layer and that generates as output a prediction of an unknown property of the event sequence used as input.

### Claim 15 (depends on 1)

A tangible, non-transitory computer-readable medium having instructions thereon which, upon being executed by one or more processors, alone or in combination, provide for execution of the method according to claim 1.
