# US 2021/0278825 A1 · Real-Time Production Scheduling with Deep Reinforcement Learning and Monte Carlo Tree Research

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

- Number: US 2021/0278825 A1
- Document ID: US20210278825A1
- Status: Published application
- Kind: A1
- Application number: 17/260,252
- Filed: 2018-08-23
- Published: 2021-09-09
- Earliest claimed: 2018-08-23
- Assignees: Siemens Aktiengesellschaft
- Applicants: Siemens Aktiengesellschaft
- Inventors: Chengtao Wen; Wei Xi Xia; Juan L. Aparicio Ojea
- Web page: https://patentgrep.com/patent/US20210278825A1

## CPC

- G05B 19/41865: {characterised by job scheduling, process planning, material flow}
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G05B 19/41885: {characterised by modeling, simulation of the manufacturing system}
- 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/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/092: Reinforcement learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems and methods provide real-time production scheduling by integrating deep reinforcement learning and Monte Carlo tree search. A manufacturing process simulator is used to train a deep reinforcement learning agent to identify the sub-optimal policies for a production schedule. A Monte Carlo tree search agent is implemented to speed up the search for near-optimal policies of higher quality from the sub-optimal policies.

## Claims

### Claim 1

A method for real time production scheduling, the method comprising:
identifying a current state of a manufacturing process in a manufacturing facility;
inputting the state into a neural network trained to generate a plurality of first scheduling policies given an input state of the production schedule;
identifying, using a Monte Carlo tree search, one or more second scheduling policies from the plurality of first scheduling policies; and
generating an updated production schedule using the one or more second scheduling policies.

### Claim 2 (depends on 1)

The method of claim 1, wherein the neural network is a deep neural network that is trained by integration of reinforcement learning and the Monte Carlo tree search.

### Claim 3 (depends on 2)

The method of claim 2, wherein the deep neural network comprises an auto-encoder network trained to generate a feature map comprising a compact representation of input state data, and a LSTM network trained to map the learned features into sub-optimal polices.

### Claim 4 (depends on 3)

The method of claim 3, wherein the deep neural network is trained using simulation data generated using a manufacturing process simulator.

### Claim 5 (depends on 4)

The method of claim 4, wherein the deep neural network is trained to identify rewarding actions from samples of the simulation data.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
generating the state of the production schedule using a manufacturing process simulator.

### Claim 7 (depends on 6)

The method of claim 6, wherein the state is generated using data relating to machine availability, product on machine, remaining execution time, machine input queue, and machine output queue.

### Claim 8 (depends on 1)

The method of claim 1, wherein a depth of the Monte Carlo tree search is reduced by position evaluation.

### Claim 9 (depends on 1)

The method of claim 1, wherein a depth of the Monte Carlo tree search is truncated by a time constraint.

### Claim 10 (depends on 1)

The method of claim 1, wherein a depth of the Monte Carlo tree search is truncated by a computational constraint.

### Claim 11

A method for generating a production schedule, the method comprising:
performing a plurality of simulations of production schedules using simulation data from a manufacturing process simulator;
sampling actions from the plurality of simulations using domain knowledge;
training a neural network using reinforcement learning and Monte Carlo tree search, the training identifies polices for a current state of a production schedule that lead to a positive reward;
outputting a trained neural network for use in generating sub-optimal scheduling policies;
optimizing output scheduling polices from the trained neural network using the Monte Carlo tree search; and
generating near-optimal scheduling polices for a manufacturing process in a manufacturing facility from the optimized output scheduling policies.

### Claim 12 (depends on 11)

The method of claim 11, wherein training the neural network comprises:
calculating a positional reward value and an outcome reward value for an action using a reward function.

### Claim 13 (depends on 11)

The method of claim 11, wherein for optimizing, the Monte Carlo tree search is truncated by a time constraint.

### Claim 14 (depends on 11)

The method of claim 11, wherein for optimizing, the Monte Carlo tree search is truncated by a computational constraint.

### Claim 15 (depends on 11)

The method of claim 11, wherein optimizing is performed in real time as the manufacturing process progresses.

### Claim 16 (depends on 11)

The method of claim 11, wherein the neural network comprises an encoder and a LSTM network.

### Claim 17

A system for real time production scheduling, the system comprising:
a production simulator configured to generate simulation data of operation of a manufacturing process over time;
a deep reinforcement learning agent configured to input the simulation data and output one or more sub-optimal scheduling policies; and
a Monte Carlo tree search agent configured to identify near optimal policies from the sub-optimal scheduling policies.

### Claim 18 (depends on 17)

The system of claim 17, wherein the production simulator is configured to insert random disturbances into the simulation data.

### Claim 19 (depends on 17)

The system of claim 17, wherein the deep reinforcement learning agent comprises an encoder network trained to compress high-dimensional state variables from the simulation data into low-dimensional features, and a LSTM network trained to map the learned features into sub-optimal polices.

### Claim 20 (depends on 17)

The system of claim 17, wherein the Monte Carlo tree search agent performs continuous rollout during implementation of a production schedule.
