Learning Inside Types: Epistemic Typestates for Safe Multi-Agent Reinforcement Learning
On the map: Deep reinforcement learning methods → Interpretable and logic-guided RL
Abstract (arXiv)
Type disciplines make programs safe by construction: components checked against each other's types compose into programs that cannot go wrong in the ways the types exclude. Types suit reinforcement learning: a type constrains what an agent may choose, not how it chooses, so the guarantee holds for every policy a learner produces. We introduce epistemic typestates, a type discipline for safe multi-agent reinforcement learning. An agent's type is a protocol whose states record its beliefs, the worlds it cannot rule out from its own observations and actions, and permits only actions that are safe in every world of the belief, whatever the others do within their public types. Agents learn inside their types, which are built and checked one agent at a time and run without communication. We prove type soundness and team safety, give a synthesis that is sound and complete, build types from guards when worlds are infinite, and show that shields are a special case. All proofs are mechanised in Rocq. On nine benchmarks, no typed learner causes a safety violation, and task performance does not differ significantly from that of two recent multi-agent shielding methods. Where a contract-based method fails at five and ten agents, types for ten agents are built in under a second. In the two continuous benchmarks, Lagrangian learners cause thousands of violations in every training run.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Interpretable and logic-guided RL, one of 15 directions in Deep reinforcement learning methods. Builds on 24 of its 63 references that are in the map. Submitted 20 Nov 2026, announced 23 Nov 2026.
Builds on
24 of 63 references.
References · 24
- 2017Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environmentscited by 1,601
- 2017Constrained Policy Optimizationcited by 1,029
- 2016Learning to Communicate with Deep Multi-Agent Reinforcement Learningcited by 596
- 2017Safe Reinforcement Learning via Shieldingcited by 482
- 2021Safe Learning in Robotics: From Learning-Based Control to Safe Reinforcement Learningcited by 381
- 2016Learning Multiagent Communication with Backpropagationcited by 377
- 2020Is Independent Learning All You Need in the StarCraft Multi-Agent Challenge?cited by 319
- 2013The Complexity of Decentralized Control of Markov Decision Processescited by 240
- 2020A Closer Look at Invalid Action Masking in Policy Gradient Algorithmscited by 184
- 2018Learning when to Communicate at Scale in Multiagent Cooperative and Competitive Taskscited by 131
- 2020Shared Experience Actor-Critic for Multi-Agent Reinforcement Learningcited by 120
- 2021Learning Safe Multi-Agent Control with Decentralized Neural Barrier Certificatescited by 79
12 more
- 2022VMAS: A Vectorized Multi-Agent Simulator for Collective Robot Learningcited by 73
- 2021Safe Multi-Agent Reinforcement Learning via Shieldingcited by 65
- 2022Safe Reinforcement Learning via Shielding under Partial Observabilitycited by 61
- 2015Shield Synthesis: Runtime Enforcement for Reactive Systemscited by 47
- 2022Provably Safe Reinforcement Learning: Conceptual Analysis, Survey, and Benchmarkingcited by 40
- 2020Flatland-RL : Multi-Agent Reinforcement Learning on Trainscited by 33
- 2020Enforcing Almost-Sure Reachability in POMDPscited by 15
- 2023Model-based Dynamic Shielding for Safe and Efficient Multi-Agent Reinforcement Learningcited by 14
- 2024Compositional Shielding and Reinforcement Learning for Multi-Agent Systemscited by 10
- 2024A Knowledge-Based Analysis of Intersection Protocolscited by 1
- 2026Generating Local Shields for Decentralised Partially Observable Markov Decision Processescited by 1
- 2026Contract-Based Compositional Shielding for Safe Multi-Agent Reinforcement Learningcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026EpiAgent: Epistemic Self-Play for LLM Agents
- 2026VESPA: Verifiable Symbolic Policy Adaptation for Safe Reinforcement Learning
- 2026Epistemic-Probabilistic Model for Guarded Multi-Agent LLM Coordination
- 2024Think Smart, Act SMARL! Analyzing Probabilistic Logic Shields for Multi-Agent Reinforcement Learning
- 2026AutoRefine: Compiling Trajectories into Validated Typed Agent Artifacts
- 2024Safe Multi-agent Reinforcement Learning with Natural Language Constraints
- 2026Safe Meta-Reinforcement Learning via Information Space Reachability
- 2026Agentic Safety is an Epistemic Property, Not a Behavioral One