[Paper Review] Two-Stage Learning For the Flexible Job Shop Scheduling Problem
This paper proposes 2SL-FJSP, a two-stage deep learning framework that models the hierarchical structure of the Flexible Job Shop Scheduling Problem (FJSP) by first predicting task-to-machine assignments and then scheduling them using a confidence-aware branching scheme. It achieves sub-millisecond inference times and outperforms state-of-the-art reinforcement learning and heuristic methods with up to 10× lower optimality gaps on benchmark instances, using a novel symmetry-breaking data generation approach to improve model learnability and solution quality.
The Flexible Job-shop Scheduling Problem (FJSP) is an important combinatorial optimization problem that arises in manufacturing and service settings. FJSP is composed of two subproblems, an assignment problem that assigns tasks to machines, and a scheduling problem that determines the starting times of tasks on their chosen machines. Solving FJSP instances of realistic size and composition is an ongoing challenge even under simplified, deterministic assumptions. Motivated by the inevitable randomness and uncertainties in supply chains, manufacturing, and service operations, this paper investigates the potential of using a deep learning framework to generate fast and accurate approximations for FJSP. In particular, this paper proposes a two-stage learning framework 2SLFJSP that explicitly models the hierarchical nature of FJSP decisions, uses a confidence-aware branching scheme to generate appropriate instances for the scheduling stage from the assignment predictions and leverages a novel symmetry-breaking formulation to improve learnability. 2SL-FJSP is evaluated on instances from the FJSP benchmark library. Results show that 2SL-FJSP can generate high-quality solutions in milliseconds, outperforming a state-of-the-art reinforcement learning approach recently proposed in the literature, and other heuristics commonly used in practice.
Motivation & Objective
- To address the challenge of generating fast, high-quality approximate solutions for large-scale FJSP instances under real-time constraints.
- To improve model learnability in FJSP by addressing symmetry and solution redundancy in training data.
- To overcome the limitations of end-to-end deep learning models in handling the hierarchical decision structure of FJSP.
- To enable real-time replanning in uncertain manufacturing and service environments by providing low-latency, near-optimal solutions.
- To develop a scalable, differentiable proxy for FJSP that supports rapid inference and robustness to distribution shifts.
Proposed method
- 2SL-FJSP employs a two-stage deep learning architecture: first predicting machine assignments, then scheduling tasks on assigned machines.
- A confidence-aware branching scheme generates diverse scheduling instances based on assignment predictions, improving robustness to prediction errors.
- A novel symmetry-breaking formulation is introduced to eliminate redundant solutions during data generation, enhancing model generalization and training efficiency.
- The framework uses a differentiable LP-based feasibility recovery step to ensure predicted solutions are feasible, with solvers like Gurobi used in presolve mode for speed.
- Training data is generated via symmetry-breaking to reduce solution equivalence, and constraint regularization is applied to enforce scheduling feasibility.
- The model is trained on a distribution of processing times to simulate real-world uncertainty and improve generalization to unseen instances.
Experimental results
Research questions
- RQ1Can a two-stage deep learning framework effectively model the hierarchical decision structure of the FJSP to improve solution quality and inference speed?
- RQ2How does confidence-aware branching in the scheduling stage impact robustness to errors in assignment predictions?
- RQ3To what extent does symmetry-breaking data generation reduce optimality gaps and improve model learnability in FJSP?
- RQ4How does 2SL-FJSP compare to state-of-the-art reinforcement learning and heuristic methods in terms of solution quality and inference time?
- RQ5Can the framework generalize to both low- and high-flexibility FJSP instances under realistic uncertainty conditions?
Key findings
- 2SL-FJSP achieves an optimality gap up to 10 times smaller than the best heuristic methods on both low- and high-flexibility FJSP instances.
- The framework generates feasible solutions in under a millisecond, outperforming the IBM CP optimizer (1,800s time limit) and being over 10× faster than the state-of-the-art DRL method.
- Symmetry-breaking data generation reduces the optimality gap by up to 5× for 2SL-FJSP and up to 20× for one-stage models, demonstrating its critical role in improving model performance.
- The confidence-aware branching scheme consistently reduces the optimality gap across all instances, except for the low-flexibility instance la22, indicating improved robustness to assignment errors.
- Ablation studies confirm that the two-stage design, symmetry-breaking, and constraint regularization are all essential components, with 2SL-FJSP significantly outperforming one-stage baselines.
- The framework maintains high performance across diverse FJSP instances, including those with complex machine-job relationships and realistic processing time variations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.