Abstract
The Job Shop Scheduling Problem (JSP) is a classic NP-hard combinatorial optimization challenge where the objective is to minimize the makespan of jobs across multiple machines. While recent research has focused heavily on Deep Reinforcement Learning (DRL) to automate scheduling, these methods often struggle with training stability and convergence. This paper proposes a supervised learning alternative: a deep learning "oracle" designed to predict the quality of specific machine permutations. By integrating this oracle into a Tabu Search (TS) framework, the authors demonstrate a significant pruning of the search space. The resulting oracle-enhanced Tabu Search (oTS) outperforms state-of-the-art DRL methods on standard benchmarks, maintaining an optimality gap of 0% to 6%.
Introduction
In the Job Shop Scheduling Problem (JSP), a set of jobs must be processed on a set of machines, with each job following a strict sequence of operations. The goal is to find a schedule that minimizes the total completion time, or makespan. As the number of jobs and machines increases, the solution space expands factorially, making exact solutions computationally prohibitive.
While metaheuristics like Tabu Search have long been the standard, the recent trend has shifted toward Deep Reinforcement Learning (DRL). However, DRL approaches are often difficult to reproduce and slow to converge. This research explores an overlooked paradigm in combinatorial optimization: supervised learning. By defining a clear metric for "permutation quality," the authors train a model to identify high-quality sequences, effectively acting as a filter for traditional optimization algorithms.
Methodology
Defining Permutation Quality
The core of the supervised approach lies in the definition of a quality label ($y_k$) for a machine permutation (the specific order of jobs on a single machine). This quality is determined by how closely a specific sequence aligns with the global optimal makespan. The authors utilize a $tanh$-based formula to scale this quality metric between 0 and 1, providing a continuous target for the learning model.
The Oracle Architecture
The "oracle" is a sequential deep learning model designed to process operation sequences. Its architecture consists of:
- Gated Recurrent Units (GRUs): Two layers of GRUs process the sequence of operations, capturing the temporal dependencies and the importance of job ordering.
- Warm Starting: To provide the model with context, the initial state of the GRU is "warm-started" using the mean of the operation features. This gives the model a global view of the machine's total workload before it analyzes the specific sequence.
- Feedforward Neural Network (FNN): The output of the GRUs is passed through an FNN to produce the final quality prediction.
Integration: Oracle-Enhanced Tabu Search (oTS)
The oracle is integrated into a standard Tabu Search (sTS) algorithm. During the search process, when the algorithm explores neighboring solutions, the oracle predicts the quality of the resulting permutations. If a neighbor is predicted to have low-quality permutations, the algorithm prunes it from the search, focusing computational resources only on the most promising regions of the solution space.
Experimental Setup
Data Generation and Training
To train the oracle, the authors generated 200 synthetic JSP instances (8 jobs × 8 machines) based on Taillard guidelines. For each machine, they generated 136 sequences: one optimal sequence (identified via a Mixed-Integer Linear Programming solver), 128 random sequences, and 7 suboptimal variations. This resulted in a robust, labeled dataset of thousands of permutations where the "ground truth" quality was established by the MILP solver.
Benchmarking
The performance of the oTS was evaluated against classic benchmark sets, including Orb01-09 and Ta01-10, and compared against both standard Tabu Search and recent DRL-based scheduling agents.
Key Results and Discussion
Prediction Accuracy and Optimization
The oracle model achieved a binary classification accuracy of over 95% in distinguishing between high-quality and low-quality permutations. This high fidelity translated directly into optimization performance. In comparative tests, the oTS found 465 optimal solutions, whereas the standard sTS found only 335.
Comparison with Deep Reinforcement Learning
The oTS method significantly outperformed state-of-the-art DRL methods. While many DRL approaches exhibit an optimality gap of approximately 20% on standard benchmarks, the oTS method maintained a gap between 0% and 6%. This suggests that supervised learning, when properly framed as a quality-prediction task, can be more effective than current reinforcement learning paradigms for JSP.
Computational Trade-offs
The primary limitation of the oTS approach is computational overhead. Invoking a deep learning model within the inner loop of an optimization algorithm is expensive; the execution time for oTS was 5x to 10x higher than that of sTS. However, the authors argue that the gain in solution quality justifies the increased time, particularly for complex scheduling environments where makespan reduction translates to significant cost savings.
Conclusion
This research demonstrates that supervised learning can serve as a powerful "oracle" to guide traditional metaheuristics. By pruning the search space based on predicted permutation quality, the oTS algorithm achieves superior results compared to both standard heuristics and modern DRL methods. Future work will focus on reducing computational overhead through faster architectures, such as Transformers or CNNs, and testing the scalability of the oracle on industrial-sized problems (e.g., 100x100 instances).
Summary updated