# US 2021/0174205 A1 · Artificial intelligence system

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

- Number: US 2021/0174205 A1
- Document ID: US20210174205A1
- Status: Published application
- Kind: A1
- Application number: 17/107,698
- Filed: 2020-11-30
- Published: 2021-06-10
- Earliest claimed: 2019-11-28
- Assignees: GoodAI Research s.r.o.
- Applicants: GoodAI Research s.r.o.
- Inventors: Marek ROSA; Jan FEYEREISL; Jaroslav VITKU; Martin POLIAK; Joseph Ray DAVIDSON; Jens Simon ANDERSSON; Olga AFANASJEVA
- Web page: https://patentgrep.com/patent/US20210174205A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- 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/045: Combinations of networks
- G06N 3/063: using electronic means
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/086: using evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 3/096: Transfer learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A modular Artificial Intelligence (AI) processing system is provided, comprising: an input module configured to receive input data; an output module configured to output data processed by the system; a first agent module operatively connected to the input module and to the output module, the first agent module being configured in use to process the input data and to generate the output data for the output module, and comprising two or more first sub-agent modules, each sub-agent module comprising an internal memory state and being operatively connected via a communication channel to at least one other sub-agent module within the first agent; each first sub-agent module being configured with a communication algorithm, the communication algorithm defining how the sub-agent module communicates with other sub-agent modules to enable the first agent module to process the input data, and in use at least one of the two or more first sub-agent modules is configured to process the input data in dependence on its internal memory state; and a sub-agent spawning module configured in use to generate a new sub-agent module by replicating an existing one of the first sub-agent modules, to increase a first performance metric of the system.

## Claims

### Claim 1

A modular Artificial Intelligence, AI, processing system, comprising:
an input module configured to receive input data;
an output module configured to output data processed by the system;
a first agent module operatively connected to the input module and to the output module, the first agent module being configured in use to process the input data and to generate the output data for the output module, and comprising two or more first sub-agent modules, each sub-agent module comprising an internal memory state and being operatively connected via a communication channel to at least one other sub-agent module within the first agent;
each first sub-agent module being configured with a communication algorithm, the communication algorithm defining how the sub-agent module communicates with other sub-agent modules to enable the first agent module to process the input data, and in use at least one of the two or more first sub-agent modules is configured to process the input data in dependence on its internal memory state; and
a sub-agent spawning module configured in use to generate a new sub-agent module, to increase a first performance metric of the system.

### Claim 2 (depends on 1)

The AI processing system of claim 1, wherein the sub-agent spawning module is further configured in use to:
receive the output data;
determine, using the output data, if a first threshold condition associated with the first performance metric of the system, is satisfied; and
generate the new sub-agent module if the first condition is not satisfied, the new sub-agent module being comprised in the first agent module, to increase the first performance metric of the system.

### Claim 3 (depends on 1)

The AI processing system of claim 1, wherein each first sub-agent module is configured with a shared communication algorithm, and the sub-agent spawning module is further configured in use to generate the new sub-agent module comprising the shared communication algorithm by replicating an existing one of the first sub-agent modules.

### Claim 4 (depends on 3)

The AI processing system of claim 3, wherein the input data comprises a plurality of component data, the internal memory state of each one of the two or more first sub-agent modules is configured to be dependent on data processed by the associated first sub-agent module, and the two or more first sub-agent modules are further configured to process different component data, such that each one of the at least two or more first-sub-agent modules comprises a unique internal memory state.

### Claim 5 (depends on 1)

The AI processing system of claim 1, wherein at least some of the first sub-agent modules are configured with a different communication algorithm, and the number of different communication algorithms is less than the number of first sub-agent modules, and the processing characteristics of each first sub-agent module is dependent on the associated communication algorithm.

### Claim 6 (depends on 1)

The AI processing system of claim 1, wherein the two or more first sub-agent modules are configured to form a network of sub-agent modules, wherein the two or more first sub-agent modules are configured in operative communication, and the two or more networked first sub-agent modules are further configured in use to iteratively process the input data, by exchanging data until a second threshold condition is achieved;
wherein the internal memory state of at least one of the first sub-agent modules comprised in the network of sub-agent modules is configured to change as the input data is processed; and
the network of sub-agent modules is further configured to generate the output data in dependence on the second threshold condition being achieved.

### Claim 7 (depends on 1)

The AI processing system of claim 1, further comprising a sub-agent verification module operatively connected to the input module and to the output module, configured in use to analyse the generated output data and to determine if the generated output data satisfies a third threshold condition, and in dependence on the output data not satisfying the third threshold condition, instructing the first agent module to iteratively process the input data until the generated output data satisfies the third threshold condition.

### Claim 8 (depends on 6)

The AI processing system of claim 6, wherein at least one of the first sub-agent modules is further configured in use to vary, during the iterative processing of the input data, any one or more of:
a) an internal memory state of the at least one first sub-agent module;
b) a communication channel operatively connecting the at least one first sub-agent module to another first sub-agent module; or
c) data shared across the communication channel operatively connecting the at least one first sub-agent module to another first sub-agent module.

### Claim 9 (depends on 1)

The AI processing system of claim 1, further comprising:
an agent spawning module configured in use to generate a second agent module in operative communication with the first agent module, the second agent module comprising two or more second sub-agent modules, and wherein the agent spawning module is configured to:
receive the output data;
determine, using the output data, if a fourth threshold condition associated with a desired performance metric of the system is satisfied; and
generate the second agent module if the fourth threshold condition is not satisfied, to increase the desired performance metric of the system.

### Claim 10 (depends on 1)

The AI processing system of claim 1, wherein at least one of the first sub-agent modules further comprises a neural network comprising a variable memory state, wherein the data processing characteristics of the neural network are dependent on the variable memory state.

### Claim 11 (depends on 1)

The AI processing system of claim 1, wherein at least two of the first sub-agent modules are configured with different initial internal memory states.

### Claim 12 (depends on 1)

The AI processing system of claim 1, wherein the first performance metric of the system comprises any one or more of:
a) a speed with which the output data is generated;
b) a volume of input data that the AI processing system is capable of processing in a unit time period;
c) an accuracy of the generated output data relative to a desired output;
d) a convergence of the generated output to a desired output;
e) a computational capacity of the system; or
f) an available memory of the system.

### Claim 13

A method of training an Artificial Intelligence, AI, processing system to learn an improved communication algorithm to learn how to solve one or more tasks, the AI processing system comprising at least one first agent module operatively connected to an input module for receiving input data, and to an output module configured to output data processed by the system, the at least one first agent module comprising two or more first sub-agent modules, each first sub-agent module being operatively connected to at least one other first sub-agent module within the first agent module, each sub-agent module being configured to execute a communication algorithm defining how each sub-agent module communicates with other sub-agent modules comprised within the at least one first agent module, when processing input data associated with the one or more tasks, the method comprising the steps of:
receiving by the input module, input data associated with the one or more tasks that the AI processing system is learning to solve;
iteratively processing, by the two or more first sub-agent modules, during a first iterative process, the input data in accordance with the communication algorithm and generating during each iteration output data;
analysing the output data generated during each iteration of the first iterative process and providing to the first agent module, a structured feedback dependent on the output data generated during each iteration, the structured feedback comprising information enabling at least one parameter associated with at least one sub-agent module to be modified during subsequent iterations of the first iterative process;
repeating the first iterative process until a first threshold condition is achieved;
determining if the communication algorithm satisfies a second threshold condition;
modifying the communication algorithm executed by each sub-agent module if the second threshold condition is not satisfied; and
iteratively repeating the method steps until the communication algorithm satisfies the second threshold condition.

### Claim 14 (depends on 13)

The method of claim 13, wherein the first threshold condition comprises a predetermined number of processing iterations being completed, and the step of iteratively processing, by the two or more first sub-agent modules, during the first iterative process further comprises:
exchanging data between the two or more first sub-agent modules until the predetermined number of processing iterations is completed; and wherein
an internal memory state of at least one of the two or more first sub-agent modules changes with respect to the memory state of the at least one first sub-agent module during a preceding processing iteration, as the input data is iteratively processed by the two or more first sub-agent modules.

### Claim 15 (depends on 13)

The method of claim 13, wherein the first threshold condition comprises a convergence condition indicative of whether an output of the two or more first sub-agent modules converges to a solution, and the step of iteratively processing, by the two or more first sub-agent modules, during the first iterative process, further comprises:
exchanging data processed by the two or more first sub-agent modules until a convergence in the output generated by the two or more first sub-agent modules in subsequent processing iterations of the first iterative process is observed; and wherein
an internal memory state of at least one of the two or more first sub-agent modules changes with respect to the memory state of the at least one first sub-agent module during a preceding processing iteration, as the input data is processed by the two or more first sub-agent modules, the preceding processing iteration being comprised in the first iterative process.

### Claim 16 (depends on 13)

The method of claim 13, wherein the method further comprises:
using the structured feedback to modify at least one parameter of at least one of the two or more sub-agent modules with respect to a preceding iteration of the first iterative process.

### Claim 17 (depends on 13)

The method of claim 13, wherein the second threshold condition comprises any one or more of:
a) a predetermined time period taken by the two or more first sub-agent modules to generate output data that solves the one or more tasks, and the step of determining if the communication algorithm satisfies the second threshold condition further comprises:
determining if the time taken by the two or more first sub-agent modules to generate the output data that solves the one or more tasks is less than or equal to the predetermined time period;
b) a convergence to a common solution in the output generated by the at least one first agent module over subsequent iterations of the method, and the step of determining if the communication algorithm satisfies the second threshold condition further comprises:
determining if the output data generated by the at least one first agent module over subsequent iterations of the method is converging to the common solution;
c) a convergence to an expected solution in the output generated by the at least one first agent module over subsequent iterations of the method, and the step of determining if the communication algorithm satisfies the second threshold condition further comprises:
determining if the output generated by the at least one first agent module over subsequent iterations of the method is converging to the expected solution; or
d) a speed with which the output generated over subsequent iterations of the method converges, and the step of determining if the communication algorithm satisfies the second threshold condition further comprises:
determining if the output generated by the at least one first agent module over subsequent iterations of the method is converging.

### Claim 18 (depends on 13)

The method of claim 13, wherein the communication algorithm comprises at least one variable parameter and modifying the communication algorithm executed by each sub-agent module if the second threshold condition is not satisfied, further comprises:
varying a value of the at least one variable parameter using any one or more of a stochastic gradient descent, an evolutionary method, or an iterative optimization method.

### Claim 19 (depends on 13)

The method of claim 13, wherein the structured feedback comprises a quantified measure of a proximity of the generated output to an expected output.

### Claim 20 (depends on 13)

The method of claim 13, further comprising:
determining, using the output data, if a third threshold condition associated with a desired performance metric of the system is satisfied;
generating a new sub-agent module if the third threshold condition is not satisfied.

### Claim 21

A non-transitory computer readable medium storing instructions for training an Artificial Intelligence, AI, processing system to learn an improved communication algorithm to learn how to solve one or more tasks, the AI processing system comprising at least one first agent module operatively connected to an input module for receiving input data, and to an output module configured to output data processed by the system, the at least one first agent module comprising two or more first sub-agent modules, each first sub-agent module being operatively connected to at least one other first sub-agent module within the first agent module, each sub-agent module being configured to execute a communication algorithm defining how each sub-agent module communicates with other sub-agent modules comprised within the at least one first agent module when processing input data associated with the one or more tasks, the instructions being executable by one or more processors and configuring the one or more processors to perform the method of:
receiving, by the input module, input data associated with the one or more tasks that the AI processing system is learning to solve;
iteratively processing, by the two or more first sub-agent modules, during a first iterative process, the input data in accordance with the communication algorithm and generating during each iteration output data;
analysing the output data generated during each iteration of the first iterative process and providing to the first agent module, a structured feedback dependent on the output data generated during each iteration, the structured feedback comprising information enabling at least one parameter associated with at least one sub-agent module to be modified during subsequent iterations of the first iterative process;
repeating the first iterative process until a first threshold condition is achieved;
determining if the communication algorithm satisfies a second threshold condition;
modifying the communication algorithm executed by each sub-agent module if the second threshold condition is not satisfied; and
iteratively repeating the method until the communication algorithm satisfies the second threshold condition.
