A Neural Reinforcement Learning Approach to Learn Local Dispatching Policies in Production Scheduling

TL;DR

This paper introduces a novel approach to production scheduling by using neural reinforcement learning agents to learn local dispatching policies for individual machines. This method aims to achieve near-optimal global performance by autonomously learning sophisticated, situation-dependent rules, outperforming traditional heuristic methods.

What Problem Does This Paper Address?

Production scheduling, the allocation of limited resources to tasks over time to optimize objectives, is a notoriously difficult problem, often NP-hard. Traditional exact algorithms struggle with the computational complexity, especially when dealing with uncertainty and the need for frequent replanning due to unexpected events like machine breakdowns or new job arrivals. While human experts can devise good local dispatching heuristics, these rules are often suboptimal and may not generalize well to complex or novel situations. The paper addresses the challenge of finding efficient, adaptive, and near-optimal scheduling policies that can handle real-world complexities.

Methods

The core of the proposed solution is a multi-agent reinforcement learning framework. Each machine (resource) in the production plant is equipped with a learning agent. These agents make local dispatching decisions (which job to process next) based on a compressed, relevant view of the global plant state. The agents learn a local dispatching policy by iteratively improving a value function, specifically a Q-function, using a Q-learning-related rule. This rule relates local decisions to the global optimization goal (e.g., minimizing total job tardiness). The value function is implemented using a multi-layer perceptron neural network, allowing for generalization across different situations. The learning process involves autonomous optimization through repeated exposure to typical training cases, aiming to acquire policies that are robust and adaptable.

Datasets

The paper does not explicitly mention specific named datasets. Instead, it describes the experimental setup using generated production scenarios. For evaluation, they created:

  • Training Scenarios: 10 different production scenarios were used for training. These scenarios involved a varying number of jobs (5-8) with different processing times and due-dates. For single-resource cases, each job had one operation; for multi-resource cases, jobs had multiple operations, potentially involving cycles.
  • Test Scenarios: 10 additional test scenarios were generated, designed to differ from the training scenarios to evaluate generalization ability.

Key Insights and Ideas

  • Local Agents, Global Optimization: The key idea is to decompose the complex global scheduling problem into simpler local decision-making problems for individual machines, but to coordinate these local decisions towards a global optimization objective.
  • Learning vs. Hand-crafted Heuristics: Learned policies, even with limited input features, can outperform well-established heuristic dispatching rules by adapting to specific problem characteristics and learning more sophisticated decision logic.
  • Generalization is Crucial: The neural network's ability to generalize is vital. A well-trained agent can perform effectively on unseen scenarios without retraining, demonstrating that the learned features capture problem-independent characteristics.
  • Feature Engineering Matters: The performance of the learning system is highly dependent on the choice of input features. Carefully selected features, combining static and dynamic aspects of the situation, are essential for effective learning and generalization.
  • Autonomous Policy Improvement: The system can autonomously improve its decision policy with respect to the global goal, demonstrating the power of reinforcement learning in this domain.

Key Results

  • Outperforming Heuristics: In the single-resource case, the neural agent achieved an average tardiness of 5.2 on the test set, outperforming the best heuristic (SPT) at 6.5 and EDD at 6.6.
  • Learning from Experience: The learning agent's performance improved significantly over training runs, surpassing the EDD policy within approximately 500 production runs.
  • Effective Generalization: The trained agent demonstrated strong generalization capabilities, performing well on test scenarios not encountered during training.
  • Multi-Resource Success: In a three-resource scenario, the learning agent consistently outperformed fixed heuristic policies (FIFO, EDD, MS) on both training and test sets, achieving an average tardiness of 2.7 compared to the best fixed policy's 3.08 on the test set.

Limitations and Future Work

  • Single Agent Focus: The experiments in the paper primarily examined the case of a single learning agent, with other agents' policies fixed. The authors acknowledge that future work will involve examining situations with multiple agents learning simultaneously.
  • Feature Selection: While the paper shows the importance of feature selection, it doesn't provide a definitive method for optimal feature selection. The performance is shown to be sensitive to the input features used.
  • Exploration Strategy: The paper mentions a random exploration strategy with an exploration factor of 1 during training. Further optimization of exploration strategies could potentially improve learning speed and efficiency.
  • Computational Cost: While the learned policies are computationally efficient at runtime, the training process itself can be time-consuming. The paper notes that optimizing learning speed was not the primary goal.

Future work will likely focus on multi-agent learning scenarios, exploring more sophisticated feature selection techniques, and potentially investigating more advanced reinforcement learning algorithms to further enhance performance and efficiency.

Summary updated

BibTeX
@inproceedings{1999neural,
  title = {{A Neural Reinforcement Learning Approach to Learn Local Dispatching Policies in Production Scheduling}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1999},
}
Figure