Skip to main content
QUICK REVIEW

[Paper Review] On Automating the Doctrine of Double Effect

Naveen Sundar Govindarajulu, Selmer Bringsjord|arXiv (Cornell University)|Mar 27, 2017
Logic, Reasoning, and KnowledgeComputer Science15 references10 citations
TL;DR

This paper proposes a formal framework using first-order modal logic—specifically the deontic cognitive event calculus—to automate the Doctrine of Double Effect (DDE) in AI systems. It enables both the design of DDE-compliant autonomous agents and verification of existing AI systems for DDE compliance, successfully simulating classic moral dilemmas and demonstrating feasibility in planning and POMDP models.

ABSTRACT

The doctrine of double effect ($\mathcal{DDE}$) is a long-studied ethical principle that governs when actions that have both positive and negative effects are to be allowed. The goal in this paper is to automate $\mathcal{DDE}$. We briefly present $\mathcal{DDE}$, and use a first-order modal logic, the deontic cognitive event calculus, as our framework to formalize the doctrine. We present formalizations of increasingly stronger versions of the principle, including what is known as the doctrine of triple effect. We then use our framework to simulate successfully scenarios that have been used to test for the presence of the principle in human subjects. Our framework can be used in two different modes: One can use it to build $\mathcal{DDE}$-compliant autonomous systems from scratch, or one can use it to verify that a given AI system is $\mathcal{DDE}$-compliant, by applying a $\mathcal{DDE}$ layer on an existing system or model. For the latter mode, the underlying AI system can be built using any architecture (planners, deep neural networks, bayesian networks, knowledge-representation systems, or a hybrid); as long as the system exposes a few parameters in its model, such verification is possible. The role of the $\mathcal{DDE}$ layer here is akin to a (dynamic or static) software verifier that examines existing software modules. Finally, we end by presenting initial work on how one can apply our $\mathcal{DDE}$ layer to the STRIPS-style planning model, and to a modified POMDP model.This is preliminary work to illustrate the feasibility of the second mode, and we hope that our initial sketches can be useful for other researchers in incorporating DDE in their own frameworks.

Motivation & Objective

  • To formalize the Doctrine of Double Effect (DDE) in a way that enables automation for ethical AI systems.
  • To address limitations in prior formalizations that lack computational realizability or fail to handle intensional states like belief and intention.
  • To enable two modes of application: (1) building DDE-compliant systems from scratch, and (2) verifying compliance of existing AI systems via a DDE layer.
  • To demonstrate the framework’s feasibility in standard AI models such as STRIPS and POMDPs.
  • To support ethical reasoning in autonomous agents by encoding intention, consequence, and utility trade-offs in a logically rigorous way.

Proposed method

  • Employing the deontic cognitive event calculus (DCEC), a first-order modal logic with epistemic, doxastic, and deontic operators, to formalize DDE.
  • Encoding DDE conditions: non-intended harm, harm as side effect, and benefit-to-harm ratio exceeding a threshold using quantified utility expressions.
  • Introducing a DDE layer that can be applied to any AI system (planners, neural networks, Bayesian networks) by exposing key parameters for verification.
  • Using inference rules (R1–R14) to model temporal, intentional, and causal relationships, including counterfactual reasoning and belief propagation.
  • Formalizing the doctrine of triple effect as an extension, capturing more nuanced ethical distinctions.
  • Applying the framework to STRIPS-style planning and modified POMDP models to illustrate verification and integration in real-world AI architectures.

Experimental results

Research questions

  • RQ1How can the Doctrine of Double Effect be formally encoded in a way that supports automation in AI systems?
  • RQ2Can a logic-based framework handle the intensional states (e.g., belief, intention) crucial to DDE while avoiding inconsistencies common in extensional systems?
  • RQ3To what extent can a DDE-compliant layer be retrofitted onto existing AI systems regardless of their underlying architecture?
  • RQ4How can the framework be applied to standard AI planning and decision-making models like STRIPS and POMDPs?
  • RQ5What is the feasibility of verifying ethical compliance in AI systems using a formal, logic-based verification layer?

Key findings

  • The deontic cognitive event calculus successfully formalizes DDE with full support for intensional operators and quantified utilities, overcoming limitations of prior logic-programming approaches.
  • The framework enables both the construction of DDE-compliant agents and the verification of existing AI systems via a plug-in DDE layer, regardless of the underlying AI architecture.
  • The system correctly simulates classic moral dilemmas used in human ethical judgment studies, aligning with empirical findings on human DDE use.
  • The framework supports the doctrine of triple effect as a stronger variant, demonstrating its capacity for nuanced ethical reasoning.
  • Initial integration with STRIPS and POMDP models shows that DDE verification is feasible in standard AI planning and decision-making frameworks.
  • The use of modal logic with temporal and epistemic operators allows for rigorous modeling of intention, belief, and causal chains essential to ethical reasoning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.