Skip to main content
QUICK REVIEW

[Paper Review] An actor-critic algorithm with deep double recurrent agents to solve the job shop scheduling problem.

Marta Monaci, Valerio Agasucci|arXiv (Cornell University)|Oct 18, 2021
Scheduling and Optimization AlgorithmsEngineering40 references5 citations
TL;DR

This paper proposes a deep reinforcement learning actor-critic algorithm using dual LSTM-based agents to solve the job shop scheduling problem (JSSP) by modeling it as a dynamic Markov Decision Process. The method learns greedy heuristics from diverse JSSP instances and achieves high-quality solutions quickly, generalizing effectively to larger or differently distributed problems, outperforming baseline heuristics and showing strong performance relative to CPLEX in benchmarks.

ABSTRACT

There is a growing interest in integrating machine learning techniques and optimization to solve challenging optimization problems. In this work, we propose a deep reinforcement learning methodology for the job shop scheduling problem (JSSP). The aim is to build up a greedy-like heuristic able to learn on some distribution of JSSP instances, different in the number of jobs and machines. The need for fast scheduling methods is well known, and it arises in many areas, from transportation to healthcare. We model the JSSP as a Markov Decision Process and then we exploit the efficacy of reinforcement learning to solve the problem. We adopt an actor-critic scheme, where the action taken by the agent is influenced by policy considerations on the state-value function. The procedures are adapted to take into account the challenging nature of JSSP, where the state and the action space change not only for every instance but also after each decision. To tackle the variability in the number of jobs and operations in the input, we modeled the agent using two incident LSTM models, a special type of deep neural network. Experiments show the algorithm reaches good solutions in a short time, proving that is possible to generate new greedy heuristics just from learning-based methodologies. Benchmarks have been generated in comparison with the commercial solver CPLEX. As expected, the model can generalize, to some extent, to larger problems or instances originated by a different distribution from the one used in training.

Motivation & Objective

  • Address the need for fast, scalable scheduling solutions in domains like healthcare and logistics, where traditional solvers are too slow for real-time use.
  • Develop a learning-based heuristic that generalizes across varying numbers of jobs and machines in JSSP instances.
  • Overcome the dynamic state and action space variability inherent in JSSP, where both change after each scheduling decision.
  • Design a reinforcement learning framework that adapts to instance-specific structural changes while maintaining learning efficiency.

Proposed method

  • Model the JSSP as a Markov Decision Process (MDP) with state and action spaces that evolve dynamically during scheduling.
  • Implement an actor-critic reinforcement learning framework where the policy (actor) is guided by the state-value function (critic) to improve decision quality.
  • Use two separate long short-term memory (LSTM) networks to encode the evolving state of jobs and machines, enabling handling of variable-sized inputs.
  • Design the action space to represent job selection for the next operation, with decisions made based on learned policy and value estimates.
  • Train the agent end-to-end using deep reinforcement learning on a distribution of JSSP instances with varying job and machine counts.
  • Adapt the network architecture and training procedure to manage the combinatorial complexity and dynamic structure of JSSP.

Experimental results

Research questions

  • RQ1Can a deep reinforcement learning agent learn effective, generalizable heuristics for the job shop scheduling problem across diverse instance sizes?
  • RQ2How well does the actor-critic framework with dual LSTMs perform in comparison to traditional heuristics and commercial solvers like CPLEX?
  • RQ3To what extent can the trained agent generalize to larger or distributionally different JSSP instances than those seen during training?
  • RQ4How effective is the method in producing high-quality solutions within a short inference time?

Key findings

  • The proposed method generates high-quality solutions for JSSP instances in a short inference time, demonstrating the feasibility of learning greedy heuristics via deep reinforcement learning.
  • The agent generalizes to larger JSSP instances and to instances drawn from a different distribution than the training set, indicating robust generalization capacity.
  • The model achieves competitive performance compared to the commercial solver CPLEX, particularly in terms of solution quality within limited time.
  • The dual LSTM architecture effectively captures the dynamic state of jobs and machines, enabling the agent to handle variable-sized inputs and evolving decision spaces.

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.