Back to AI News
arxiv

Epistemic Typestates Enforce Safety in Multi-Agent Reinforcement Learning

Researchers introduce epistemic typestates, a type discipline for safe multi-agent reinforcement learning in which an agent's type is a protocol over its beliefs and permits only actions safe in every world it cannot rule out. Agents learn within these types, which are built and checked one agent at a time and run without communication. The work proves type soundness and team safety, mechanises the proofs in Rocq, and shows that shields are a special case. Across nine benchmarks, typed learners caused no safety violations and matched two shielding methods on task performance, while types for ten agents were built in under a second where a contract-based method failed.

AI Brief

It offers a formally verified, policy-agnostic safety mechanism for multi-agent RL that scales better than a contract-based baseline on the reported benchmarks.

arXiv:2611.27631v1 Announce Type: new Abstract: 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.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!