Skip to main content
QUICK REVIEW

[Paper Review] Graph neural networks-based Scheduler for Production planning problems using Reinforcement Learning

Mohammed Sharafath Abdul Hameed, Andreas Schwung|arXiv (Cornell University)|Sep 8, 2020
Scheduling and Optimization AlgorithmsEngineering4 citations
TL;DR

This paper proposes GraSP-RL, a graph neural network (GNN)-enhanced reinforcement learning framework for job shop scheduling that models production systems as bipartite graphs of machines and buffers. By using GNNs to extract localized, order-invariant features and enabling decentralized, distributed RL agents per machine, the method achieves superior makespan performance on 30-job JSSP, generalizes effectively to unseen OSS and RJSSP scenarios, and generates plans instantly—outperforming FIFO, TS, and GA without retraining.

ABSTRACT

Reinforcement learning (RL) is increasingly adopted in job shop scheduling problems (JSSP). But RL for JSSP is usually done using a vectorized representation of machine features as the state space. It has three major problems: (1) the relationship between the machine units and the job sequence is not fully captured, (2) exponential increase in the size of the state space with increasing machines/jobs, and (3) the generalization of the agent to unseen scenarios. We present a novel framework - GraSP-RL, GRAph neural network-based Scheduler for Production planning problems using Reinforcement Learning. It represents JSSP as a graph and trains the RL agent using features extracted using a graph neural network (GNN). While the graph is itself in the non-euclidean space, the features extracted using the GNNs provide a rich encoding of the current production state in the euclidean space, which is then used by the RL agent to select the next job. Further, we cast the scheduling problem as a decentralized optimization problem in which the learning agent is assigned to all the production units and the agent learns asynchronously from the data collected on all the production units. The GraSP-RL is then applied to a complex injection molding production environment with 30 jobs and 4 machines. The task is to minimize the makespan of the production plan. The schedule planned by GraSP-RL is then compared and analyzed with a priority dispatch rule algorithm like first-in-first-out (FIFO) and metaheuristics like tabu search (TS) and genetic algorithm (GA). The proposed GraSP-RL outperforms the FIFO, TS, and GA for the trained task of planning 30 jobs in JSSP. We further test the generalization capability of the trained agent on two different problem classes: Open shop system (OSS) and Reactive JSSP (RJSSP) where our method produces results better than FIFO and comparable results to TS and GA.

Motivation & Objective

  • To address the scalability and generalization limitations of existing reinforcement learning (RL) approaches in job shop scheduling (JSSP), which rely on vectorized state representations.
  • To model the inherent structural relationships between machines, jobs, and buffers in JSSP using a bipartite graph structure.
  • To enable decentralized, distributed RL learning at the machine level using local GNN-processed features, improving scalability and adaptability.
  • To evaluate the generalization capability of the trained RL agent on unseen problem classes such as open shop systems (OSS) and reactive JSSP (RJSSP).
  • To achieve instant scheduling decisions compared to time-consuming metaheuristics like tabu search and genetic algorithms.

Proposed method

  • The production environment is modeled as a bipartite graph with machines and machine buffers as nodes, capturing interdependencies between jobs and resources.
  • A custom message-passing algorithm is applied within a graph neural network (GNN) to extract rich, order-invariant features from each machine node based on local and neighboring information.
  • The GNN-processed node features are used as input to a decentralized RL agent that operates independently on each machine, selecting the next job to process based on local state.
  • The RL agent is trained end-to-end using a reward signal proportional to the inverse of the makespan, with curriculum learning applied in the first 5000 episodes.
  • The framework enables linear scalability: new machines can be added without retraining the entire model, and agents generalize across different problem configurations.
  • The method is evaluated on a real-world injection molding production system with 30 jobs and 4 machines, and tested for generalization on OSS and RJSSP with varying job counts and dynamic perturbations.

Experimental results

Research questions

  • RQ1Can a GNN-based representation capture the structural inductive bias of JSSP more effectively than vectorized state representations in RL?
  • RQ2Does decentralized, machine-level RL with GNN-processed features improve scalability and generalization in large-scale JSSP?
  • RQ3How does the performance of the GraSP-RL agent compare to classical dispatch rules (e.g., FIFO) and metaheuristics (e.g., TS, GA) in terms of makespan and planning time?
  • RQ4Can the trained RL agent generalize to unseen problem classes like OSS and RJSSP without further fine-tuning?
  • RQ5Does the proposed method achieve real-time scheduling performance compared to computationally heavy metaheuristics?

Key findings

  • GraSP-RL outperforms FIFO, tabu search (TS), and genetic algorithm (GA) in minimizing makespan for the 30-job, 4-machine JSSP task, achieving the best plan among all baselines.
  • The RL agent generalizes effectively to open shop systems (OSS) and reactive JSSP (RJSSP) without retraining, producing better results than FIFO and comparable results to TS and GA.
  • In all tested OSS and RJSSP scenarios, the agent’s average makespan was within 1% of the best-performing metaheuristics, with standard deviations below 0.01.
  • The agent generates schedules instantaneously—100x faster than TS and GA, which required ~100x more time per plan, as shown in Table 3.
  • The GNN-based approach significantly outperforms a non-graph baseline using a multilayer perceptron (MLP), demonstrating the importance of graph structure in modeling JSSP.
  • The framework maintains performance across varying job counts (14 to 24 jobs) and machine counts (up to 8 machines), confirming robustness and scalability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.