Abstract
We present Pure-Past Action Masking (PPAM), a lightweight approach to action masking for safe reinforcement learning. In PPAM, actions are disallowed (“masked”) according to specifications expressed in Pure-Past Linear Temporal Logic (PPLTL). PPAM can enforce non-Markovian constraints, i.e., constraints based on the history of the system, rather than just the current state of the (possibly hidden) MDP. The features used in the safety constraint need not be the same as those used by the learning agent, allowing a clear separation
of concerns between the safety constraints and reward specifications of the (learning) agent. We prove formally that an agent trained with PPAM can learn any optimal policy that satisfies the safety constraints, and that they are as expressive as shields, another approach to enforce non-Markovian constraints in RL. Finally, we provide empirical results showing how PPAM can guarantee constraint satisfaction in practice.
of concerns between the safety constraints and reward specifications of the (learning) agent. We prove formally that an agent trained with PPAM can learn any optimal policy that satisfies the safety constraints, and that they are as expressive as shields, another approach to enforce non-Markovian constraints in RL. Finally, we provide empirical results showing how PPAM can guarantee constraint satisfaction in practice.
Original language | English |
---|---|
Title of host publication | AAAI Conference and Symposium Proceedings |
Publisher | AAAI Press |
Pages | 21646-21655 |
Number of pages | 10 |
Volume | 38 |
Edition | 19 |
ISBN (Electronic) | 978-1-57735-887-9 |
DOIs | |
Publication status | Published - 25 Mar 2024 |
Event | The 38th Annual AAAI Conference on Artificial Intelligence - Vancouver Convention Centre, Vancouver, Canada Duration: 20 Feb 2024 → 27 Feb 2024 Conference number: 38 https://aaai.org/aaai-conference/ |
Publication series
Name | Proceedings of the AAAI Conference on Artificial Intelligence |
---|---|
ISSN (Print) | 2159-5399 |
ISSN (Electronic) | 2374-3468 |
Conference
Conference | The 38th Annual AAAI Conference on Artificial Intelligence |
---|---|
Abbreviated title | AAAI |
Country/Territory | Canada |
City | Vancouver |
Period | 20/02/24 → 27/02/24 |
Internet address |
Funding
This work was supported by PNRR MUR project PE0000013-FAIR, partially supported by ERC Advanced Grant WhiteMech (No. 834228), EU ICT-48 2020 project TAILOR (No. 952215), the ONRG project N62909-22-1- 2005, the InDAM-GNCS project “Strategic Reasoning in Mechanism Design”, and the project OCENW.M.21.377 funded by the Dutch Research Council (NWO). For the purpose of open access, the authors have applied a Creative Commons Attribution (CC BY) licence to any Author Accepted Manuscript version arising from this submission.
Funders | Funder number |
---|---|
Ministero dell'Università e della Ricerca | PE0000013-FAIR |
European Research Council | 834228 |
European Commission | 952215 |
Office of Naval Research Global | N62909-22-1- 2005 |
Gruppo Nazionale per il Calcolo Scientifico | |
Istituto Nazionale di Alta Matematica | |
The Dutch Research Council | OCENW.M.21.377 |
Keywords
- General