Learning to Adapt Genetic Algorithms for Multi-Objective Flexible Job Shop Scheduling Problems

Robbert Reijnen, Yingqian Zhang, Zaharah Allah Bukhsh, Mateusz Guzek

Abstract

Genetic Algorithms (GAs) are widely used for solving complex optimization problems, but their performance is highly sensitive to hyperparameter settings such as mutation and crossover rates. Traditionally, these parameters are tuned via computationally expensive grid searches. This paper presents DEMOCA (DEep reinforcement learning Multi-Objective Control Algorithm), a Deep Reinforcement Learning (DRL) framework that dynamically adjusts GA parameters in real-time. Applied to the Multi-Objective Flexible Job Shop Scheduling Problem (FJSP), DEMOCA achieves performance parity with exhaustive grid search while requiring five times fewer computations. Our results demonstrate that DRL-based controllers can effectively generalize across diverse scheduling instances, offering a significant leap in optimization efficiency.

Introduction

Evolutionary Algorithms (EAs) are essential for addressing NP-hard optimization problems where traditional mathematical methods struggle. However, EAs face a significant challenge: the "Goldilocks" problem of hyperparameter tuning. If mutation or crossover rates are set too high or too low, the algorithm may converge prematurely or fail to explore the solution space effectively.

Finding the optimal static parameters typically involves exhaustive grid searches, which are time-consuming and computationally prohibitive. Moreover, the ideal parameter values often shift during the search process. While Reinforcement Learning has been applied to single-objective problems, extending this to Multi-Objective Optimization Problems (MOOPs)—where conflicting goals like makespan and workload must be balanced—remains a frontier in the field.

Methodology

The authors introduce DEMOCA, which integrates a DRL agent (using the Proximal Policy Optimization algorithm) as a real-time controller for the NSGA-II Genetic Algorithm.

Problem Representation

The target problem is the Flexible Job Shop Scheduling Problem (FJSP). In this context, a solution is represented as a chromosome consisting of two parts: machine selection and operation sequence.

Figure 3: Chromosome representation for the Flexible Job Shop Scheduling Problem (FJSP), showing the mapping between operations and machine selection.

The DRL Controller

  1. State Space: The agent monitors five metrics describing the current Pareto front, including solution distribution (Spacing), cardinality, and remaining computational budget.
  2. Actions: Every few generations, the agent selects continuous values for mutation and crossover probabilities.
  3. Reward Function: The agent is rewarded based on improvements in Hypervolume (HV), a metric that captures both the proximity to the theoretical optimum and the diversity of the trade-off solutions.

Experimental Setup and Results

The study utilized 41 publicly available FJSP instances, with 34 used for training and 7 diverse benchmarks (e.g., Mk08–Mk10, MFJS8–10) reserved for testing generalization.

Performance and Efficiency

DEMOCA was compared against a version of the algorithm tuned via exhaustive grid search (GS-MOGA). As shown in the table below, DEMOCA achieved nearly identical Hypervolume scores while often discovering a greater number of non-dominated solutions.

Figure 5: Comparison of Hypervolume (HV) and the number of solutions found by GS-MOGA and DEMOCA across various benchmark instances.

Key findings include:

  • Computational Savings: DEMOCA reached expert-level tuning with 80% less computational effort than traditional grid search.
  • Generalization: The agent successfully adapted to larger, more complex scheduling tasks it had not encountered during training.
  • Solution Diversity: For complex instances like MFJS8, DEMOCA significantly outperformed static tuning in finding a diverse set of trade-off solutions.

Conclusion

DEMOCA demonstrates that DRL-based parameter control is a viable and highly efficient alternative to manual or grid-search tuning for multi-objective problems. While currently focused on FJSP and Genetic Algorithms, future work will explore the application of this framework to other metaheuristics, such as Particle Swarm Optimization, and investigate more refined reward functions to further enhance performance in unknown environments.

Summary updated

BibTeX
@inproceedings{reijnen2023learning,
  author = {Robbert Reijnen and Yingqian Zhang and Zaharah Allah Bukhsh and Mateusz Guzek},
  title = {{Learning to Adapt Genetic Algorithms for Multi-Objective Flexible Job Shop Scheduling Problems}},
  booktitle = {GECCO Companion},
  year = {2023},
  doi = {10.1145/3583133.3590700},
}
Figure