# US 11,120,365 B2 · For hierarchical decomposition deep reinforcement learning for an artificial intelligence model

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

- Number: US 11,120,365 B2
- Document ID: US11120365B2
- Status: Granted
- Kind: B2
- Application number: 16/009,039
- Filed: 2018-06-14
- Published: 2018-10-11
- Granted: 2021-09-14
- Earliest claimed: 2016-01-27
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Marcos Campos; Aditya Gudimella; Ross Story; Matineh Shaker; Ruofan Kong; Matthew Brown; Victor Shnayder
- Web page: https://patentgrep.com/patent/US11120365B2

## CPC

- G06F 8/31: {Programming languages or programming paradigms}
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 8/311: {Functional or applicative languages; Rewrite languages}
- G06F 8/38: for implementing user interfaces
- G06F 8/437: {Type checking}
- G06F 9/451: Execution arrangements for user interfaces
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5066: {Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs (mappping at compile time, see G06F8/451)}
- G06F 15/80: comprising an array of processing units with common control, e.g. single instruction multiple data processors (G06F15/82 takes precedence {; for correlation function computation G06F17/15})
- G06F 16/2228: {Indexing structures}
- G06F 16/951: Indexing; Web crawling techniques
- G06F 16/953: Querying, e.g. by the use of web search engines
- G06F 18/2148: {characterised by the process organisation or structure, e.g. boosting cascade}
- G06F 30/20: Design optimisation, verification or simulation (optimisation, verification or simulation of circuit designs G06F30/30)
- G06N 3/008: based on physical entities controlled by simulated intelligence so as to replicate intelligent life forms, e.g. based on robots replicating pets or humans in their appearance or behaviour
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/09: Supervised learning
- G06N 3/091: Active learning
- G06N 3/092: Reinforcement learning
- G06N 3/096: Transfer learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N 3/105: {Shells for specifying net layout}
- G06N 5/04: Inference or reasoning models
- G06N 20/00: Machine learning
- G06Q 10/00: Administration; Management
- G06F 3/03543: {Mice or pucks (G06F3/03541 takes precedence)}
- G06F 30/333: Design for testability [DFT], e.g. scan chain or built-in self-test [BIST]
- G06F 40/166: Editing, e.g. inserting or deleting
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- 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
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods and apparatuses that apply a hierarchical-decomposition reinforcement learning technique to train one or more AI objects as concept nodes composed in a hierarchical graph incorporated into an AI model. The individual sub-tasks of a decomposed task may correspond to its own concept node in the hierarchical graph and are initially trained on how to complete their individual sub-task and then trained on how the all of the individual sub-tasks need to interact with each other in the complex task in order to deliver an end solution to the complex task. Next, during the training, using reward functions focused for solving each individual sub-task and then a separate one or more reward functions focused for solving the end solution of the complex task. In addition, where reasonably possible, conducting the training of the AI objects corresponding to the individual sub-tasks in the complex task, in parallel at the same time.

## Claims

### Claim 1

An apparatus, comprising:
an Artificial Intelligence (“AI”) engine that has multiple independent modules on one or more computing platforms, the multiple independent modules comprising an instructor module configured to cooperate with a learner module to train a plurality of AI objects, where the multiple independent modules are configured to have their instructions executed by one or more processors in the one or more computing platforms, where the AI engine has a user interface presented on a display screen for use by one or more users;
where the instructor module is configured to apply a hierarchical-decomposition reinforcement learning technique to train each AI object of the plurality of AI objects as concept nodes composed in a hierarchical graph incorporated into an AI model, where the instructor module uses the hierarchical-decomposition reinforcement learning technique to hierarchically decompose a complex task into multiple smaller, individual sub-tasks making up the complex task, where each of the individual sub-tasks corresponds to its own concept node in the hierarchical graph, and where the AI engine is configured to initially train the AI objects corresponding to the individual sub-tasks and then train the AI model on how the individual sub-tasks interact with each other in the complex task in order to deliver an end solution to the complex task;
where the user interface is configured to cooperate with the instructor module to send user input information for the instructor module, where the instructor module uses the user input information to automatically partition the individual sub-tasks into the concept nodes in the AI model and apply the hierarchical-decomposition reinforcement learning technique to train the plurality of AI objects;
where the learner module is configured to cooperate with one or more data sources to obtain data for training and to conduct the training of the AI objects corresponding to the individual sub-tasks in parallel at the same time; and
wherein, via decomposing the complex task, the AI engine uses one or more reward functions that are specific to each individual sub-task and then one or more separate reward functions focused for the end solution of the complex task, which the parallel training and the use of reward functions focused for solving each individual sub-task speed up an overall training duration for the complex task on the one or more computing platforms, and resulting AI model, compared to an end-to-end training with a single algorithm for all of the AI objects incorporated into the AI model.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising:
an architect module is configured to instantiate the AI objects into the hierarchical graph, and wherein the hierarchical graph comprises i) a first concept node corresponding to an integrator node and ii) one or more levels of concept nodes corresponding to the individual sub-tasks that hierarchically stem forth from the integrator node in the hierarchical graph, where the integrator node is trained to choose which of its children nodes to use for solving its sub-task to achieve the end solution of the complex task.

### Claim 3 (depends on 1)

The apparatus of claim 1, further comprising:
where the instructor module is further configured to cause the AI engine to i) initially train each integrator and a set of child nodes feeding that integrator node in the hierarchical graph, where each child node in the set feeding that integrator node is either 1) an individual AI object or 2) another integrator node that is trained to satisfy its own reward function for its described individual sub-task; and next, ii) where the training of integrator nodes and their child nodes using reward functions to satisfy its described individual sub-task continues up the hierarchical graph until that process reaches a root integrator node, where a reward function for the root integrator node is focused for satisfying the end solution to the complex task.

### Claim 4 (depends on 2)

The apparatus of claim 2, further comprising:
where each concept making up the complex task in the hierarchical graph uses, for each individual sub-task, one or more of a classical motion controller, a pre-existing learned model, or a neural network.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein
the instructor module is configured to automatically partition the individual sub-tasks into the concept nodes in the AI model in a number of ways, where the ways of partitioning the individual sub-tasks into the concept nodes are selected from a group consisting of i) how to partition the individual sub-tasks is explicitly defined in scripted code from the one or more users, ii) how to partition the individual sub-tasks is based on general guidance in the scripted code from the one or more users, iii) how to partition the individual sub-tasks is based on responses from the one or more users to a presented list of questions, iv) how to partition the individual sub-tasks includes using a clustering technique, and v) any combination of these four, and then the instructor module proposes a hierarchical structure for the hierarchical graph of AI objects making up the AI model.

### Claim 6 (depends on 1)

The apparatus of claim 1, further comprising:
an integrator that is configured to select a first set of concept nodes from two or more sets in the hierarchical graph of the complex task to be trained on and computed.

### Claim 7 (depends on 5)

The apparatus of claim 5, further comprising:
a) where the general guidance in the scripted code from the one or more users on how to automatically partition and b) where how to partition the individual sub-tasks based on the responses to the presented list of questions are based on state space, where the architect module identifies regions of the state space that correspond to separable, individually solvable sub-tasks and creates distinct policies for each identified region of the state space.

### Claim 8 (depends on 6)

The apparatus of claim 6, further comprising:
a first data source comprising a simulator; and
where the integrator is configured to identify a lowest level of dependency in the first set of concept nodes in the hierarchical graph, and where the instructor module is configured to supply data from the first data source to the first set of concept nodes as well as to the integrator, and where the integrator determines that computations for all of the concept nodes merely in the first set of concept nodes occur, which saves an amount of computing power and cycles compared to computing all of the concept nodes making up the AI model each training cycle.

### Claim 9 (depends on 1)

The apparatus of claim 1, further comprising:
where the AI objects of the AI model include a blend of at least a first set and second set of AI objects being trained by the instructor module via reinforcement learning and a third set of AI objects that are configured to operate 1) as one or more control nodes where one or more actions are produced by code of the one or more control nodes and/or 2) one or more nodes that transform input data from one form to another, where the instructor module is configured to manage multiple simulations from the one or more data sources in parallel at the same time to train the first and second sets of AI objects with the reinforcement learning.

### Claim 10 (depends on 1)

The apparatus of claim 1, further comprising a conductor service configured to handle scaling of running multiple training sessions for two or more AI objects in parallel at the same time by dynamically calling in additional computing devices to load and run additional instances of processes for the instructor module for each training session occurring in parallel.

### Claim 11

A method to apply Reinforcement Learning for an Artificial Intelligence (AI) model for subsequent deployment of that AI model, comprising:
applying a hierarchical-decomposition reinforcement learning technique to train each AI object of a plurality of AI objects as concept nodes composed in a hierarchical graph incorporated into the AI model,
using the hierarchical-decomposition reinforcement learning technique to hierarchically decompose a complex task into multiple smaller, individual sub-tasks making up the complex task, where each of the individual sub-tasks corresponds to its own concept node in the hierarchical graph, and initially train the AI objects corresponding to the individual sub-tasks and then train the AI model on how the individual sub-tasks interact with each other in the complex task in order to deliver an end solution to the complex task;
using information supplied from a user interface to automatically partition the individual sub-tasks into the concept nodes in the AI model and apply the hierarchical-decomposition reinforcement learning technique to train the plurality of AI objects;
cooperating with one or more data sources to obtain data for training and to conduct the training of the AI objects corresponding to the individual sub-tasks in parallel at the same time; and
using one or more reward functions that are specific to each individual sub-task and then one or more separate reward functions focused for the end solution of the complex task, where a combined parallel training and the use of reward functions focused for solving each individual sub-task speed up an overall training duration for the complex task on one or more computing platforms, and subsequent deployment of the trained AI model, compared to an end-to-end training with a single algorithm for all of the AI objects incorporated into the AI model.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
instantiating the AI objects into the hierarchical graph, and wherein the hierarchical graph comprises i) a first concept node corresponding to an integrator node and ii) one or more levels of concept nodes corresponding to the individual sub-tasks that hierarchically stem forth from the integrator node in the hierarchical graph, where the integrator node is trained to choose which of its children nodes to use for solving its sub-task to achieve the end solution of the complex task.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
i) initially training each integrator and a set of child nodes feeding that integrator node in the hierarchical graph, where each child node in the set feeding that integrator node is either 1) an individual AI object or 2) another integrator node that is trained to satisfy its own reward function for its described individual sub-task; and next, ii) continuing the training of integrator nodes and their child nodes using reward functions to satisfy its described individual sub-task up the hierarchical graph until that process reaches a root integrator node, where a reward function for the root integrator node is focused for satisfying the end solution to the complex task.

### Claim 14 (depends on 12)

The method of claim 12,
where decomposing the complex task allows replacing one or more concepts making up the complex task without retraining each concept in the hierarchical graph.

### Claim 15 (depends on 11)

The method of claim 11, wherein
using information supplied from a user interface to automatically partition the individual sub-tasks into the concept nodes in the AI model comprises automatically partitioning the individual sub-tasks into the concept nodes in the AI model in a number of ways, where the ways of partitioning the individual sub-tasks into the concept nodes are selected from a group consisting of i) how to partition the individual sub-tasks is explicitly defined in scripted code from the one or more users, ii) how to partition the individual sub-tasks is based on general guidance in the scripted code from the one or more users, iii) how to partition the individual sub-tasks is based on responses from the one or more users to a presented list of questions, and iv) any combination of these three, and then proposing a hierarchical structure for the hierarchical graph of AI objects making up the AI model.

### Claim 16 (depends on 11)

The method of claim 11, further comprising:
where an integrator is configured to select a first set of concept nodes from two or more sets in the hierarchical graph of the complex task to be trained on and computed.

### Claim 17 (depends on 15)

The method of claim 15, further comprising:
a) where the general guidance in the scripted code from the one or more users on how to automatically partition and b) where how to partition the individual sub-tasks based on the responses to the presented list of questions are based on state space, where an architect module identifies regions of the state space that correspond to separable, individually solvable sub-tasks and creates distinct policies for each identified region of the state space.

### Claim 18 (depends on 16)

The method of claim 16, further comprising:
where a first data source is a simulator, where each integrator node in the hierarchical graph is configured to choose in turn, based on data from the simulator, a subset of the concept nodes in the hierarchical graph for solving its sub-task, and merely those concept nodes so chosen will be further provided with data from the simulator and evaluated, which saves an amount of computing power and cycles compared to computing all of the concept nodes making up the AI model each evaluation cycle.

### Claim 19 (depends on 11)

The method of claim 11, further comprising:
where the AI objects of the AI model include a blend of at least a first set and second set of AI objects being trained by an instructor module via reinforcement learning and a third set of AI objects that are configured to operate 1) as one or more control nodes where one or more actions are produced by code of the one or more control nodes and/or 2) one or more nodes that transform input data from one form to another, where the instructor module is configured to manage multiple simulations from the one or more data sources in parallel at the same time to train the first and second sets of AI objects with the reinforcement learning.

### Claim 20

A computing device, comprising:
two or more modules configured to cooperate with each other in order to apply a hierarchical-decomposition reinforcement learning technique to train each AI object of a plurality of AI objects as concept nodes composed into a hierarchical graph incorporated into an AI model, where each individual sub-task of a decomposed complex task corresponds to its own concept node in the hierarchical graph, where each individual sub-task is initially trained on how to complete its individual sub-task and then an integrator node is trained to choose which of its children nodes to use for solving its individual sub-task at that moment, to deliver an end solution to the complex task, where during training of the individual sub-tasks of the decomposed complex task the AI engine is configured to use i) one or more reward functions that are specific to each individual sub-task and then ii) a separate one or more reward functions that are specific to the end solution of the complex, where the AI engine is configured to conduct the training of a first individual sub-task of the decomposed complex task in parallel at the same time with the training of a second individual sub-task of the decomposed complex; and
a user interface configured to supply user input information that is used to automatically partition the individual sub-tasks into the concept nodes in the AI model and apply the hierarchical-decomposition reinforcement learning technique to train the plurality of AI objects.
