# US 2022/0284296 A1 · Method for providing an agent for creating a graph neural network architecture and method for creating, by an agent, a graph neural network architecture

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

- Number: US 2022/0284296 A1
- Document ID: US20220284296A1
- Status: Published application
- Kind: A1
- Application number: 17/683,757
- Filed: 2022-03-01
- Published: 2022-09-08
- Earliest claimed: 2021-03-08
- Assignees: Siemens Aktiengesellschaft
- Applicants: Siemens Aktiengesellschaft
- Inventors: Mitchell Joblin; Martin Ringsquandl; Mike Nicolai
- Web page: https://patentgrep.com/patent/US20220284296A1

## CPC

- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06F 18/29: {Graphical models, e.g. Bayesian networks}
- G06F 30/27: using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/092: Reinforcement learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N 5/02: Knowledge representation; Symbolic representation
- G06F 30/15: Vehicle, aircraft or watercraft design
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided is a computer implemented method for providing an agent for creating a graph neural network architecture, which is suitable for providing a prediction of at least one indicator of a complex system and to a computer implemented method for providing such a graph neural network architecture by an agent. Also provide is an agent and a unit for providing an agent a computer program product and computer readable storage media.

## Claims

### Claim 1

A computer implemented method for providing an agent for creating a graph neural network architecture,
the graph neural network architecture being suitable for providing a prediction of at least one indicator of a complex system, comprising:
a) providing a variety of system designs, each describing a complex system in a standardized data model whereby a standardized language is used for describing the elements of the complex system and the relations between the elements, to the agent;
b) sampling, by the agent one system design out of the variety of system designs;
c) starting, by the agent, an iterative process from a starting graph neural network architecture and the sampled system design with the following:
i) modifying the starting graph neural network architecture and thus obtaining an intermediate graph neural network architecture;
ii) training the intermediate graph neural network architecture with training data for the sampled system design, determining the prediction for the sampled system design and evaluating a quality of the prediction;
iii) deriving, a reward value, whereby the quality of the prediction is considered;
iv) repeating the steps i)-iii) with the intermediate graph neural network as new starting graph neural network until an exit criterion is met;
d) repeating step b) in that another system design is sampled and repeating step c) until an agent training exit criterion is met; and
e) providing the agent for creating a graph neural network architecture with a policy based on the performed machine learning in steps a) to d) suitable for providing a prediction of at least one indicator of a complex system, which is not a complex system described by the variety of provided system designs.

### Claim 2 (depends on 1)

The computer implemented method for creating, by an agent provided by a computer implemented method according to claim 1, a graph neural network architecture,
the graph neural network architecture being suitable for providing a prediction of at least one indicator of an unknown complex system, comprising:
a) sampling, by the agent a system design of the unknown complex system;
b) starting, by the agent, an iterative process from a starting graph neural network architecture and the sampled system design with the following:
i) modifying the starting graph neural network architecture and thus obtaining an intermediate graph neural network architecture;
ii) training the intermediate graph neural network architecture with training data for the sampled system design, performing the prediction for the sampled system design and evaluating a quality of the prediction;
iii) deriving, from the quality of the prediction a reward value;
iv) repeating the steps i)-iii) with the intermediate graph neural network as new starting network until an exit criterion is met; and
c) taking the last intermediate graph neural network as the suitable graph neural network.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the system designs are provided at least partly as knowledge graphs wherein components and relations of the complex system are described by nodes and edges or/and at least one group of attributes that refers to a subset of nodes or/and relations.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the modifying is a removing or/and adding of components of a node encoding module for encoding node specific information, in particular at least one of the following:
a standard graph convolution component;
a graph convolution with attention mechanism component;
a self-loop or concatenation component;
an aggregation function (sum, mean, max) component;
a number of layers component;
a dropout layers component; and
a jumping knowledge layers component.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the modifying is a removing or/and adding of components of a graph encoding module for encoding information relevant for a plurality of nodes, in particular at least one of the following:
a simple pooling component taking a sum, a mean or a maximum value;
a hierarchical pooling component; and
an attention based pooling component.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the modifying is a removing or/and adding of components of an output module for providing the prediction of the indicator, in particular modifying at least one of the following:
a number of layers component;
a dropout layer component; and
a number of hidden units per layer component.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the training of the intermediate graph neural network is performed with training data obtained for simulations of the complex system or actual data measured at the complex system or/and wherein the training data are divided into at least two subsets and a first share of the subsets is used for the training and a second share of the subsets is used for evaluation of the success of the training, in particular by determining the quality of the prediction.

### Claim 8 (depends on 1)

The method according to claim 1, wherein quality of the prediction is evaluated by comparing the predicted indicator with an actual or simulated indicator and considering the difference between these entities.

### Claim 9 (depends on 1)

The method according to claim 1, wherein a reward value is determined in relation to how much better the prediction is for the intermediate graph neural network than for the previous intermediate graph neural network.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the exit criterion is defined as that a predefined quality of the prediction, in particular at least one of an accuracy or property of the training process, in particular a training time, is achieved.

### Claim 11 (depends on 2)

The method according to claim 2, wherein a modifying is done according to a policy the agent has learnt from going through the iterative process.

### Claim 12 (depends on 2)

An agent for performing the method according to claim 2, whereby the agent is trained with the method.

### Claim 13 (depends on 12)

A unit for providing an agent according to claim 12.

### Claim 14 (depends on 1)

A computer program product, comprising a computer readable hardware storage device having computer readable program code stored therein, said program code executable by a processor of a computer system to implement a method for performing a method according to claim 1.

### Claim 15 (depends on 14)

A computer readable storage media with a computer program product according to claim 14.
