arxiv: v1 [cs.ai] 20 Feb 2015

Similar documents
Logical Agents (AIMA - Chapter 7)

11/18/2015. Outline. Logical Agents. The Wumpus World. 1. Automating Hunt the Wumpus : A different kind of problem

Logic and Artificial Intelligence Lecture 18

Toward a General Logicist Methodology for Engineering Ethically Correct Robots

Modal logic. Benzmüller/Rojas, 2014 Artificial Intelligence 2

Hudson Turner Associate Professor of Computer Science. University of Minnesota, Duluth

18 Completeness and Compactness of First-Order Tableaux

MODALITY, SI! MODAL LOGIC, NO!

Decidability of the PAL Substitution Core

Presented By: Bikash Chandra ( ) Kaustav Das ( ) 14 November 2010

A DESIGN ASSISTANT ARCHITECTURE BASED ON DESIGN TABLEAUX

Introduction to Artificial Intelligence: cs580

Co-evolution of agent-oriented conceptual models and CASO agent programs

Multiagent Systems and RoboCup: Specification, Analysis, and Theoretical Results

Awareness and Understanding in Computer Programs A Review of Shadows of the Mind by Roger Penrose

Practical Aspects of Logic in AI

APPROXIMATE KNOWLEDGE OF MANY AGENTS AND DISCOVERY SYSTEMS

Collective decision-making process to compose divergent interests and perspectives

Towards a Reusable Unified Basis for Representing Business Domain Knowledge and Development Artifacts in Systems Engineering

15: Ethics in Machine Learning, plus Artificial General Intelligence and some old Science Fiction

On Formal Specification of Emergent Behaviours in Swarm Robotic Systems

Intelligent Agents. Introduction to Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 23.

Tableaux. Jiří Vyskočil 2017

elaboration K. Fur ut a & S. Kondo Department of Quantum Engineering and Systems

On the use of the Goal-Oriented Paradigm for System Design and Law Compliance Reasoning

The Multi-Mind Effect

Cambridge University Press Machine Ethics Edited by Michael Anderson and Susan Leigh Anderson Frontmatter More information

A State Equivalence and Confluence Checker for CHR

Common Core Structure Final Recommendation to the Chancellor City University of New York Pathways Task Force December 1, 2011

AI Day on Knowledge Representation and Automated Reasoning

COMP219: Artificial Intelligence. Lecture 2: AI Problems and Applications

A Model-Theoretic Approach to the Verification of Situated Reasoning Systems

Logicist Machine Ethics Can Save Us

Ethics in Artificial Intelligence

Theorem Proving and Model Checking

A Fractal which violates the Axiom of Determinacy

A review of Reasoning About Rational Agents by Michael Wooldridge, MIT Press Gordon Beavers and Henry Hexmoor

Design Rationale as an Enabling Factor for Concurrent Process Engineering

Capturing and Adapting Traces for Character Control in Computer Role Playing Games

CS:4420 Artificial Intelligence

Using Variability Modeling Principles to Capture Architectural Knowledge

Tool Support for Ontology Engineering

Product Configuration Strategy Based On Product Family Similarity


5.4 Imperfect, Real-Time Decisions

Artificial Intelligence

Computational Logic and Agents Miniscuola WOA 2009

CSC 550: Introduction to Artificial Intelligence. Fall 2004

Two Perspectives on Logic

arxiv: v2 [cs.ai] 15 Jul 2016

Artificial Intelligence

Lecture Notes in Artificial Intelligence. Lecture Notes in Computer Science

Artificial Intelligence

Add Another Blue Stack of the Same Height! : ASP Based Planning and Plan Failure Analysis

The Ontology Model and Reasoner to Build an Autonomic System for U-Health Smart Home

Integrating Verification Components

A new approach to termination analysis of CHR

Intelligent Systems. Lecture 1 - Introduction

CS 730/830: Intro AI. Prof. Wheeler Ruml. TA Bence Cserna. Thinking inside the box. 5 handouts: course info, project info, schedule, slides, asst 1

Notes for Recitation 3

Using Agent-Based Methodologies in Healthcare Information Systems

General Game Playing (GGP) Winter term 2013/ Summary

Changing and Transforming a Story in a Framework of an Automatic Narrative Generation Game

Artificial Intelligence: An overview

Planning and Optimization

Computer Science and Philosophy Information Sheet for entry in 2018

Fluxplayer: A Successful General Game Player

Artificial Intelligence

Examining the CARA Specification. Elsa L Gunter, Yi Meng NJIT

Defining Process Performance Indicators by Using Templates and Patterns

Formal Analysis of Privacy Requirements Specifications for Multi-tier Applications

Introduction to Artificial Intelligence. Department of Electronic Engineering 2k10 Session - Artificial Intelligence

Detecticon: A Prototype Inquiry Dialog System

Artificial Intelligence

Software Agent Reusability Mechanism at Application Level

A Representation Theorem for Decisions about Causal Models

A Complete Approximation Theory for Weighted Transition Systems

22c181: Formal Methods in Software Engineering. The University of Iowa Spring Propositional Logic

Artificial Intelligence

Appendices master s degree programme Artificial Intelligence

CS344: Introduction to Artificial Intelligence (associated lab: CS386)

Master Artificial Intelligence

Philosophy. AI Slides (5e) c Lin

EARIN Jarosław Arabas Room #223, Electronics Bldg.

Optimal Rhode Island Hold em Poker

Carnegie Mellon University, University of Pittsburgh

Improved Model Generation of AMS Circuits for Formal Verification

Artificial Intelligence

Verification and Validation for Safety in Robots Kerstin Eder

Sensor Robot Planning in Incomplete Environment

What is AI? AI is the reproduction of human reasoning and intelligent behavior by computational methods. an attempt of. Intelligent behavior Computer

1.1 What is AI? 1.1 What is AI? Foundations of Artificial Intelligence. 1.2 Acting Humanly. 1.3 Thinking Humanly. 1.4 Thinking Rationally

Leandro Chaves Rêgo. Unawareness in Extensive Form Games. Joint work with: Joseph Halpern (Cornell) Statistics Department, UFPE, Brazil.

Formal Verification. Lecture 5: Computation Tree Logic (CTL)

Robin Milner,

A Framework for Modeling and Analysis of Ambient Agent Systems: Application to an Emergency Case

CURRICULUM-VALENTINA GLIOZZI

On the Benefits of Enhancing Optimization Modulo Theories with Sorting Jul 1, Networks 2016 for 1 / MAXS 31

STUDY PLAN. Aerospace Control Engineering - master

Requirements Engineering Through Viewpoints

Transcription:

Automated Reasoning for Robot Ethics Ulrich Furbach 1, Claudia Schon 1 and Frieder Stolzenburg 2 1 Universität Koblenz-Landau, {uli,schon}@uni-koblenz.de 2 Harz University of Applied Sciences, fstolzenburg@hs-harz.de arxiv:1502.05838v1 [cs.ai] 20 Feb 2015 Abstract. Deontic logic is a very well researched branch of mathematical logic and philosophy. Various kinds of deontic logics are considered for different application domains like argumentation theory, legal reasoning, and acts in multi-agent systems. In this paper, we show how standard deontic logic can be used to model ethical codes for multi-agent systems. Furthermore we show how Hyper, a high performance theorem prover, can be used to prove properties of these ethical codes. 1 Introduction Deontic logic is a very well researched branch of mathematical logic and philosophy. Various kinds of deontic logics are considered for different application domains like argumentation theory, legal reasoning, and acts in multi-agent systems [8]. This paper applies automated reasoning in standard deontic logic (SDL) to a problem in multi-agent systems. For this, we follow the example from [5] where reasoning with ethical codes is presented. Instead of implementing a reasoning system for deontic logic directly, we rely on the first order reasoning system Hyper[14], which uses the hypertableau calculus from[3]. This has the advantage that reasoning in deontic logic can be embedded easily into other applications for which Hyper is already an inference system (e.g. the LogAnswer system [6]). SDL corresponds to the modal logic K with a seriality axiom. Due to the fact that modal logic K is (more or less) a notational variant of description logic ALC, deontic logic can be translated into it [7]. Since Hyper offers a decision procedure for various description logics, it can be employed for reasoning in SDL. In Section 2 we shortly depict the reasoning framework, and in Section 3 we show how to model our small example. This hopefully documents the applicability of reasoning with SDL in multi-agent systems. 2 Automated Reasoning for Standard Deontic Logic Standard deontic logic (SDL) is obtained from the well-known modal logic K by adding the seriality axiom D: P P. In this logic, the -operator is This is a short version of [7]. It is supported by the DFG grants FU 263/15-1 and STO 421/5-1 Ratiolog.

2 interpreted as it is obligatory that and the as it is permitted that. The -operator can be defined by P P. The seriality axiom in SDL states that, if a formula has to hold in all reachable worlds, then there exists such a world. With the deontic reading of and this means: Whenever the formula P ought to be, then there exists a world where it holds. In consequence, there is always a world, which is ideal in the sense that all the norms formulated by the ought to be -operator hold. Deontic logic is the logic of choice when formalizing knowledge about norms like the representation of legal knowledge or ethical codes for agents. However, there are only few automated theorem provers specially dedicated for deontic logic and used by deontic logicians (see [1,2]). Nonetheless, numerous approaches to translate modal logics into(decidable fragments of) first-order predicate logics are stated in the literature. A nice overview including many relevant references is given in [12]. In this paper, we use the first orderpredicate logic theorem proverhyper [14] to handle SDL knowledge bases. By using the well-known translation of modal logic into description logic [11] (called ϕ in the sequel) and the fact that Hyper offers a decision procedure for the description logic SHIQ [4], we are able to process SDL efficiently. In the following, SDL is translated into ALC, which is a subset of SHIQ. Transformation from SDL into ALC For a normative system consisting of the set of deontic logic formulae N = {F 1,...,F n }, the translation ϕ is defined as the conjunctive combination of the translation of all deontic logic formulae in N: ϕ(n) = ϕ(f 1 )... ϕ(f n ) Note that ϕ(n) does not yet contain the translation of the seriality axiom. As shown in [9], the seriality axiom can be translated into the TBox T = { r. } with r the atomic role introduced by the mapping ϕ. Forourapplication,the resultofthetranslationofanormativesystemn and the serialityaxiomisan ALC knowledgebase Φ(N) = (T,A), where the TBoxT consists of the translation of the seriality axiom and the ABox A = {(ϕ(n))(a)} for a new individual a. In description logics, performing a satisfiability test of a concept C w.r.t. a TBox is usually done by adding a new individual a together with the ABox assertion C(a). For the sake of simplicity, we do this construction already during the transformation of Φ by adding (ϕ(n))(a) to the ABox. An advantage of the translation of deontic logic formulae into an ALC knowledgebaseistheexistenceofatboxinalc.thismakesitpossibletoaddfurther axioms to the TBox. For example we can add certain norms that we want to be satisfied in all reachable worlds into the TBox.

3 Reasoning Tasks With the help of Hyper, we can solve the following interesting reasoning tasks: Consistency checking of normative systems: In practice, normative systems can be very large. Therefore it is not easy to see, if a given normative system is consistent. The Hyper theorem prover can be used to check consistency of a normative system N. Evaluation of normative systems: Given several normative systems, we use Hyper to find out for which normative system a desired outcome is guaranteed. 3 An Example from Multi-agent Systems In multi-agent systems, there is a challenging area of research, namely the formalization of robot ethics. It aims at defining formal rules for the behavior of agents and to prove certain properties. As an example consider Asimov s laws, which aim at regulating the relation between robots and humans. In [5], the authors depict a small example of two surgery robots obeying ethical codes concerning their work. These codes are expressed by means of MADL, which is an extension of standard deontic logic with two operators. In[10], an axiomatization of MADL is given. Further it is asserted, that MADL is not essentially different from standard deontic logic. This is why we use SDL to model the example. Formalization in SDL In our example, there are two robots ag1 and ag2 in a hospital. For the sake of simplicity, each robot can perform one specific action: ag1 can terminate a person s life support and ag2 can delay the delivery of pain medication. In [5], four different ethical codes J, J, O and O are considered: If ethical code J holds, then robot ag1 ought to take care that life support is terminated. This is formalized as: J act(ag1,term) If ethical code J holds, then code J holds, and robot ag2 ought to take care that the delivery of pain medication is delayed. This is formalized as: J J J act(ag2,delay) If ethical code O holds, then robot ag2 ought to take care that delivery of pain medication is not delayed. This is formalized as: O act(ag2,delay)

4 If ethical code O holds, then code O holds, and robot ag1 ought to take care that life support is not terminated. This is formalized as: O O O act(ag1,term) Further we give a slightly modified version of the evaluation of the acts of the robots, as stated in [5], where (+!!) denotes the most and (!!) the least desired outcome. Note that terms like (+!!) are just propositional atomic formulae here. act(ag1,term) act(ag2,delay) (!!) (1) act(ag1,term) act(ag2,delay) (!) (2) act(ag1,term) act(ag2,delay) ( ) (3) act(ag1,term) act(ag2,delay) (+!!) (4) These formulae evaluate the outcome of the robots actions. It makes sense to assume, that this evaluation is effective in all reachable worlds. This is why we add formulae stating that formulae (1) (4) hold in all reachable worlds. For example, for (1) we add: (act(ag1,term) act(ag2,delay) (!!)) (5) Since our example does not include nested modal operators, the formulae of the form (5) are sufficient to spread the evaluation formulae to all reachable worlds. The normative system N formalizing this example consists of the formalization ofthefourethicalcodesandtheformulaefortheevaluationofthe robotsactions. Reduction to a Satisfiability Test A possible query would be to ask if the most desirable outcome (+!!) will come to pass if ethical code O is operative. This query can be translated into a satisfiability test. If N O (+!!) is unsatisfiable, then ethical code O ensures outcome (+!!). Hyper can be used for this satisfiability test. We obtain the desired result namely that (only) ethical code O leads to the most desirable behavior (+!!). Experiment We formalized this example and tested it with the Hyper theorem prover as described above. Since all formalizations are available in ALC, we used the description logic reasoner Pellet [13] to compare the performance with Hyper. It took Pellet 2.548 seconds and Hyper 2.596 seconds to show the unsatisfiability. Additional experiments can be found in [7]. For the examples we considered, the runtimes of Pellet and Hyper are comparable. Further investigation and comparison with other modal and/or description logic reasoning tools is required and subject of future work.

5 4 Conclusion In this paper, we illustrated with the help of an example how to use standard deontic logic to model ethical codes for multi-agent systems. For normative systems described with deontic logic, there is a translation into description logic concepts. These concepts can be checked automatically by automated theorem provers. We used the Hyper theorem prover to prove that a specified desired outcome is guaranteed, if a certain ethical code is operative. References 1. A. Artosi, P. Cattabriga, and G. Governatori. KED: A deontic theorem prover. In On Legal Application of Logic Programming, ICLP 94, pages 60 76, 1994. 2. N. Bassiliades, E. Kontopoulos, G. Governatori, and G. Antoniou. A modal defeasible reasoner of deontic logic for the semantic web. Int. J. Semant. Web Inf. Syst., 7(1):18 43, Jan. 2011. 3. P. Baumgartner, U. Furbach, and I. Niemelä. Hyper tableaux. In J. J. Alferes, L. M. Pereira, and E. Orlowska, editors, JELIA, volume 1126 of Lecture Notes in Computer Science, pages 1 17. Springer, 1996. 4. M. Bender, B. Pelzer, and C. Schon. System description: E-KRHyper 1.4 - extensions for unique names and description logic. In M. P. Bonacina, editor, CADE-24, volume 7898 of LNCS, pages 126 134. Springer, 2013. 5. S. Bringsjord, K. Arkoudas, and P. Bello. Toward a general logicist methodology for engineering ethically correct robots. IEEE Intelligent Systems, 21(4):38 44, 2006. 6. U. Furbach, I. Glöckner, and B. Pelzer. An application of automated reasoning in natural language question answering. AI Commun., 23(2-3):241 265, 2010. 7. U. Furbach, C. Schon, and F. Stolzenburg. Automated reasoning in deontic logic. In M. N. Murty, X. He, C. R. Rao, and P. Weng, editors, Multi-disciplinary Trends in Artificial Intelligence - 8th International Workshop, MIWAI 2014, Bangalore, India, December 8-10, 2014. Proceedings, volume 8875 of Lecture Notes in Computer Science, pages 57 68. Springer, 2014. 8. J. F. Horty. Agency and Deontic Logic. Oxford University Press, Oxford, 2001. 9. S. Klarman and V. Gutiérrez-Basulto. Description logics of context. Journal of Logic and Computation, 2013. 10. Y. Murakami. Utilitarian deontic logic. In in Proceedings of the Fifth International Conference on Advances in Modal Logic (AiML 2004, pages 288 302, 2004. 11. K. Schild. A correspondence theory for terminological logics: Preliminary report. In In Proc. of IJCAI-91, pages 466 471, 1991. 12. R. A. Schmidt and U. Hustadt. First-order resolution methods for modal logics. In A. Voronkov and C. Weidenbach, editors, Programming Logics Essays in Memory of Harald Ganzinger, volume 7797 of LNCS, pages 345 391. Springer, 2013. 13. E. Sirin, B. Parsia, B. C. Grau, A. Kalyanpur, and Y. Katz. Pellet: A practical OWL-DL reasoner. Web Semantics: Science, Services and Agents on the World Wide Web, 5(2):51 53, June 2007. 14. C. Wernhard and B. Pelzer. System description: E-KRHyper. In F. Pfennig, editor, CADE-21, volume 4603 of LNAI, pages 503 513. Springer, 2007.