Formal Ethical Obligations in Reinforcement Learning Agents: Verification and Policy Updates
Colin Shea-Blymyer, Houssam Abbas
TL;DR
The paper introduces a formal method to enforce ethical obligations in reinforcement learning by extending Expected Act Utilitarian deontic logic ($EAU$) with strategic obligations. It provides a two-part toolkit: a model-checker that verifies whether a given policy satisfies obligations and a gradient-based policy updater that guides policies toward obligation satisfaction without changing the reward function. Using DAC-MDP abstractions and toy gridworlds (windy-drone) and a large CartPole DAC-MDP, the results show scalable verification and effective synthesis under $P_{\geq \rho}\phi$ constraints and related CTD structures. The work enables transparent safety trade-offs, guiding designers to specify normative constraints and refine policies accordingly.
Abstract
When designing agents for operation in uncertain environments, designers need tools to automatically reason about what agents ought to do, how that conflicts with what is actually happening, and how a policy might be modified to remove the conflict. These obligations include ethical and social obligations, permissions and prohibitions, which constrain how the agent achieves its mission and executes its policy. We propose a new deontic logic, Expected Act Utilitarian deontic logic, for enabling this reasoning at design time: for specifying and verifying the agent's strategic obligations, then modifying its policy from a reference policy to meet those obligations. Unlike approaches that work at the reward level, working at the logical level increases the transparency of the trade-offs. We introduce two algorithms: one for model-checking whether an RL agent has the right strategic obligations, and one for modifying a reference decision policy to make it meet obligations expressed in our logic. We illustrate our algorithms on DAC-MDPs which accurately abstract neural decision policies, and on toy gridworld environments.
