Integrating Human Knowledge Through Action Masking in Reinforcement Learning for Operations Research

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Stappert, Mirko, Lutz, Bernhard, Goby, Niklas, Neumann, Dirk
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909563454750720
author Stappert, Mirko
Lutz, Bernhard
Goby, Niklas
Neumann, Dirk
author_facet Stappert, Mirko
Lutz, Bernhard
Goby, Niklas
Neumann, Dirk
contents Reinforcement learning (RL) provides a powerful method to address problems in operations research. However, its real-world application often fails due to a lack of user acceptance and trust. A possible remedy is to provide managers with the possibility of altering the RL policy by incorporating human expert knowledge. In this study, we analyze the benefits and caveats of including human knowledge via action masking. While action masking has so far been used to exclude invalid actions, its ability to integrate human expertise remains underexplored. Human knowledge is often encapsulated in heuristics, which suggest reasonable, near-optimal actions in certain situations. Enforcing such actions should hence increase trust among the human workforce to rely on the model's decisions. Yet, a strict enforcement of heuristic actions may also restrict the policy from exploring superior actions, thereby leading to overall lower performance. We analyze the effects of action masking based on three problems with different characteristics, namely, paint shop scheduling, peak load management, and inventory management. Our findings demonstrate that incorporating human knowledge through action masking can achieve substantial improvements over policies trained without action masking. In addition, we find that action masking is crucial for learning effective policies in constrained action spaces, where certain actions can only be performed a limited number of times. Finally, we highlight the potential for suboptimal outcomes when action masks are overly restrictive.
format Preprint
id arxiv_https___arxiv_org_abs_2504_02662
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Integrating Human Knowledge Through Action Masking in Reinforcement Learning for Operations Research
Stappert, Mirko
Lutz, Bernhard
Goby, Niklas
Neumann, Dirk
Machine Learning
Optimization and Control
Reinforcement learning (RL) provides a powerful method to address problems in operations research. However, its real-world application often fails due to a lack of user acceptance and trust. A possible remedy is to provide managers with the possibility of altering the RL policy by incorporating human expert knowledge. In this study, we analyze the benefits and caveats of including human knowledge via action masking. While action masking has so far been used to exclude invalid actions, its ability to integrate human expertise remains underexplored. Human knowledge is often encapsulated in heuristics, which suggest reasonable, near-optimal actions in certain situations. Enforcing such actions should hence increase trust among the human workforce to rely on the model's decisions. Yet, a strict enforcement of heuristic actions may also restrict the policy from exploring superior actions, thereby leading to overall lower performance. We analyze the effects of action masking based on three problems with different characteristics, namely, paint shop scheduling, peak load management, and inventory management. Our findings demonstrate that incorporating human knowledge through action masking can achieve substantial improvements over policies trained without action masking. In addition, we find that action masking is crucial for learning effective policies in constrained action spaces, where certain actions can only be performed a limited number of times. Finally, we highlight the potential for suboptimal outcomes when action masks are overly restrictive.
title Integrating Human Knowledge Through Action Masking in Reinforcement Learning for Operations Research
topic Machine Learning
Optimization and Control
url https://arxiv.org/abs/2504.02662