I'm sorry Dave, I'm afraid I can't do that, Deep Q-learning from forbidden action
Not on the map. Why?
Abstract (arXiv)
The use of Reinforcement Learning (RL) is still restricted to simulation or to enhance human-operated systems through recommendations. Real-world environments (e.g. industrial robots or power grids) are generally designed with safety constraints in mind implemented in the shape of valid actions masks or contingency controllers. For example, the range of motion and the angles of the motors of a robot can be limited to physical boundaries. Violating constraints thus results in rejected actions or entering in a safe mode driven by an external controller, making RL agents incapable of learning from their mistakes. In this paper, we propose a simple modification of a state-of-the-art deep RL algorithm (DQN), enabling learning from forbidden actions. To do so, the standard Q-learning update is enhanced with an extra safety loss inspired by structured classification. We empirically show that it reduces the number of hit constraints during the learning phase and accelerates convergence to near-optimal policies compared to using standard DQN. Experiments are done on a Visual Grid World Environment and Text-World domain.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 4 Oct 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 1; 2024: 1; 2025: 1.
4 papers.
- 2021Learning Natural Language Generation from Scratchcited by 2
- 2023Using Offline Data to Speed Up Reinforcement Learning in Procedurally Generated Environmentscited by 1
- 2024Safety through Permissibility: Shield Construction for Fast and Safe Reinforcement Learningcited by 1
- 2025Linear Bandits beyond Inner Product Spaces, the case of Bandit Optimal Transportcited by 0
- 2025Linear Bandits beyond Inner Product Spaces, the case of Bandit Optimal Transport11 Feb 2025
- 2024Safety through Permissibility: Shield Construction for Fast and Safe Reinforcement Learning29 May 2024
- 2023Using Offline Data to Speed Up Reinforcement Learning in Procedurally Generated Environments18 Apr 2023
- 2021Learning Natural Language Generation from Scratch20 Sep 2021