Demystifying Reinforcement Learning in Production Scheduling via Explainable AI
Daniel Fischer, Hannah M. Hüsener, Felix Grumbach, Lukas Vollenkemper, Arthur Müller, Pascal Reusch
TL;DR
The paper investigates how to render DRL-based production scheduling decisions explainable to domain experts. It systematically applies two xAI methods, SHAP (DeepSHAP) and Captum (Input X Gradient), within a hypotheses-based workflow that fuses domain knowledge with the agent's reward structure to generate falsifiable explanations. The study finds that while both methods can illuminate decision factors, DeepSHAP typically yields clearer, more consistent attributions, and that a structured workflow with hypotheses verification improves trust and communication with stakeholders. The proposed approach offers a practical blueprint for deploying explainable DRL in real-world scheduling and emphasizes iterative validation, robustness checks, and audience-tailored interpretations to bridge the gap between AI reasoning and domain expertise.
Abstract
Deep Reinforcement Learning (DRL) is a frequently employed technique to solve scheduling problems. Although DRL agents ace at delivering viable results in short computing times, their reasoning remains opaque. We conduct a case study where we systematically apply two explainable AI (xAI) frameworks, namely SHAP (DeepSHAP) and Captum (Input x Gradient), to describe the reasoning behind scheduling decisions of a specialized DRL agent in a flow production. We find that methods in the xAI literature lack falsifiability and consistent terminology, do not adequately consider domain-knowledge, the target audience or real-world scenarios, and typically provide simple input-output explanations rather than causal interpretations. To resolve this issue, we introduce a hypotheses-based workflow. This approach enables us to inspect whether explanations align with domain knowledge and match the reward hypotheses of the agent. We furthermore tackle the challenge of communicating these insights to third parties by tailoring hypotheses to the target audience, which can serve as interpretations of the agent's behavior after verification. Our proposed workflow emphasizes the repeated verification of explanations and may be applicable to various DRL-based scheduling use cases.
