Practical Aspects of Logic in AI

Similar documents
c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 First-order logic Slide 87

Artificial Intelligence

First-order logic. Artificial Intelligence. Topic 13. Reading: Russell and Norvig, Chapter 8

A DESIGN ASSISTANT ARCHITECTURE BASED ON DESIGN TABLEAUX

First-order logic. Chapter 8, Sections 1 3

Description Logic in a nutshell

Logical Agents (AIMA - Chapter 7)

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

Elements of Artificial Intelligence and Expert Systems

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

Additional information >>> HERE <<<

First Order Logic. Dr. Richard J. Povinelli. Copyright Richard J. Povinelli rev 1.0, 10/1/2001 Page 1

AI Day on Knowledge Representation and Automated Reasoning

COMP219: Artificial Intelligence. Lecture 17: Semantic Networks

CS 380: ARTIFICIAL INTELLIGENCE INTRODUCTION. Santiago Ontañón

5.4 Imperfect, Real-Time Decisions

Human-Computer Interaction based on Discourse Modeling

CS 380: ARTIFICIAL INTELLIGENCE

arxiv: v1 [cs.ai] 20 Feb 2015

Knights, Knaves, and Logical Reasoning

SNOMED CT January 2018 International Edition. SNOMED International Management Release Note

Component Based Mechatronics Modelling Methodology

First-order logic. Chapter 7. AIMA Slides c Stuart Russell and Peter Norvig, 1998 Chapter 7 1

Chapter 1 The Field of Computing. Slides Modified by Vicky Seno

Product Configuration Strategy Based On Product Family Similarity

An open assertion and evidence exchange and query language requirements and abstract syntax

Automatic Generation of Web Interfaces from Discourse Models

Intelligent Modelling of Virtual Worlds Using Domain Ontologies

Making Simple Decisions CS3523 AI for Computer Games The University of Aberdeen

Bricken Technologies Corporation Presentations: Bricken Technologies Corporation Corporate: Bricken Technologies Corporation Marketing:

Gameplay as On-Line Mediation Search

Automated Reasoning. Satisfiability Checking

COMP219: Artificial Intelligence. Lecture 17: Semantic Networks

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

Constraint Satisfaction Problems: Formulation

Heuristics & Pattern Databases for Search Dan Weld

Master Artificial Intelligence

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

A Modular and Generic Virtual Reality Training Framework for Micro-Robotic Cell Injection Systems

Paresh Virparia. Department of Computer Science & Applications, Sardar Patel University. India.

22c:145 Artificial Intelligence

TITLE OF PRESENTATION. Elsevier s Challenge. Dynamic Knowledge Stores and Machine Translation. Presented By Marius Doornenbal,, Anna Tordai

Introduction to Spring 2009 Artificial Intelligence Final Exam

Philosophy. AI Slides (5e) c Lin


How to AI COGS 105. Traditional Rule Concept. if (wus=="hi") { was = "hi back to ya"; }

Computational Logic and Agents Miniscuola WOA 2009

CS 540: Introduction to Artificial Intelligence

Evaluation commissioner:

CONTEXT-DRIVEN PROGRAMMING MODEL FOR PERVASIVE SPACES

Artificial Intelligence

15-381: Artificial Intelligence Assignment 3: Midterm Review

MSc(CompSc) List of courses offered in

Deep Dives into TopBraid EVN, Part 1: Automated Tagging with the New AutoClassifier October 15, 2015

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

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

Conversion Masters in IT (MIT) AI as Representation and Search. (Representation and Search Strategies) Lecture 002. Sandro Spina

Artificial Intelligence 125 (2001) Book Review

Catholijn M. Jonker and Jan Treur Vrije Universiteit Amsterdam, Department of Artificial Intelligence, Amsterdam, The Netherlands

Problem Solving and Search

Artificial Intelligence: An overview

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

Keynote speaker. Artificial-intelligence-augmented clinical medicine

OVERVIEW OF ARTIFICIAL INTELLIGENCE (AI) TECHNOLOGIES. Presented by: WTI

Communication: A Specific High-level View and Modeling Approach

: Principles of Automated Reasoning and Decision Making Midterm

Mephisto I Towards a Formal Theory

CS 188: Artificial Intelligence Spring 2007

Introduction to Artificial Intelligence

COMP9414: Artificial Intelligence Adversarial Search

Natural Language Processing for Knowledge Representation and Reasoning

Artificial Intelligence. Topic 5. Game playing

CSE 473 Artificial Intelligence (AI) Outline

Using Agent-Based Methodologies in Healthcare Information Systems

IT and Systems Science Transformational Impact on Technology, Society, Work, Life, Education, Training

General Game Playing (GGP) Winter term 2013/ Summary

Demonstration of DeGeL: A Clinical-Guidelines Library and Automated Guideline-Support Tools

CSEP 573 Adversarial Search & Logic and Reasoning

Appendices master s degree programme Artificial Intelligence

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

e-science Acknowledgements

COMP310 Multi-Agent Systems Chapter 3 - Deductive Reasoning Agents. Dr Terry R. Payne Department of Computer Science

OWL and Rules for Cognitive Radio

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

Requirements for Successful Verification in Practice

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

PAPER. Connecting the dots. Giovanna Roda Vienna, Austria

Digital image processing vs. computer vision Higher-level anchoring

Applying Text Analytics to the Patent Literature to Gain Competitive Insight

CORS/INFORS From Nego to Invite. 20 years of developing software to support negotiators. Gregory Kersten

Foundations of Artificial Intelligence

GENETIC PROGRAMMING. In artificial intelligence, genetic programming (GP) is an evolutionary algorithmbased

UMBC CMSC 671 Midterm Exam 22 October 2012

Lecture 3 Version WS 2013/14 Structured Data: Coding, Classification (ICD, SNOMED, MeSH, UMLS)

COMP9414: Artificial Intelligence Problem Solving and Search

ARTIFICIAL INTELLIGENCE

Intelligent Agents & Search Problem Formulation. AIMA, Chapters 2,

EXERGY, ENERGY SYSTEM ANALYSIS AND OPTIMIZATION Vol. III - Artificial Intelligence in Component Design - Roberto Melli

CPS331 Lecture: Intelligent Agents last revised July 25, 2018

5.4 Imperfect, Real-Time Decisions

Transcription:

Artificial Intelligence Topic 15 Practical Aspects of Logic in AI Reading: Russell and Norvig, Chapter 10 Description Logics as Ontology Languages for the Semantic Web, F. Baader, I. Horrocks and U.Sattler, LNCS 2605, 2005. c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 164

Outline The problem with logic... Temporal and Epistemic Logic Ontologys Description Logics The Semantic Web Very Large Knowledge Bases c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 165

The problem with logic... The problem with using logic in AI is: logic s useful to reason about arbitrary scenarios to reason about arbitrary scenarios you need to be able to express arbitrary scenarios logics that can express arbitrary scenarios have very difficult (impossible) decision problems to reason with a logic you need to solve its decision problem... The more useful a logic becomes, the harder to use it becomes! Modern research in logic in AI is a constant trade-off between expressivity and complexity. c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 166

Temporal and Epistemic Logic One successful approach to applying logic in AI has been to tailor the logic to a fixed domain. Two common domains are Time (temporal logic) and Knowledge (epistemic logic). Temporal and epistemic logic extend propositional logic (so they throw away all the unwanted expressivity and complexity of first order logic). Temporal logic adds operators for at the next moment of time, and at some future moment of time. For each agent a, epistemic logic adds an operator for agent a knows c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 167

Temporal Logic Sentences of tenmporal logic are build from atomic propositions (P ), logical connectives ( and ), and temporal operators next (X) and future (F ). It is always the case that if P is true, then Q will be true at the next state is expressed by: F (P XQ) Models of temporal logic can be as simple as a sequence of sets of propositions, S 0, S 1, S 2,... where S i is the set of propositions true at time i. Temporal logics have been very useful for reasoning about the properties of programmes, and are useed in the automatic verification of software and hardware. c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 168

Epistemic Logic Sentences of epistemic logic are build from atomic propositions (P ), logical connectives ( and ), and for each agent a, an operator a-knows (K a ). Alice does not know that Bob knows it s her Birthday is expressed by: K Alice K Bob AlicesBirthday Models for epistemic logic consist of possible worlds, where each agent considers a set of possible worlds. Each possible world could be an accurate description of the true world, so an agent knows something is true if it is true in every world that the agent considers possible. Epistemic logic is often used for reasoning about knowledge bases, AI and multi-agent systems, rather than reasoning in knowledge bases, AI and multagent systems. c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 169

Ontologies An alternative to making logics very domain specific is to make them very flexible, but with a restricted syntax. Ontology means the study of existence, the things that are. In the field of philosophy this is a branch or metaphisic, but in information sciences the study of ontologies has come to mean the way we can describe concepts. Representing abstract concepts is referred to as ontological engineering or knowledge engineering. c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 170

Examples Concepts Concepts are descriptions, and objects may satisfying concepts. For example Basketball is a concept, corresponding to large, orange, rubber balls. An object (my son s ball) may satisfy the concept of BasketBall Ontological Engineering involves describing the relationships between concepts: Every basketball is a ball; every basketball bounces; some things that bounce are not basket balls. There are even meta-concepts to define properties of concepts. For example individuation is the property that objects satisfying a concept are individuals (like basketballs) rather than conglomerates (like butter). c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 171

Description Logics First order logic can be used very effectively for describing ontologies, but the complexity is often prohibitive. Description Logic is a fragment of first-order logic specifically for describing ontologies. An Introduction to Description Logics 9 Person v/r haschild (1,NIL) Female Parent Woman Mother Fig. 1.1. An example network. c Cara MacNish. Includes Typically, material c nodes S. Russell are & P. used Norvigto 1995,2003 characterize with permission. concepts, i.e., CITS4211 sets or Practical classesaspects of individual objects, and links are used to characterize relationships among them. In some of Logic in AI Slide 172 cases, more complex relationships are themselves represented as nodes; these are

T-Boxes and A-Boxes Description logic consists of T-Boxes for describing relationships between concepts (or terms) and A-Boxes for describing whetehr an object belongs to a concept. T-Boxes are built from unary and binary predicates: W oman P erson F emale, Mother haschild.p erson A-Boxes assign conepts to objects:. M other(diane), P erson(isaac) The logical operators used are,,, but the quantifiers, and are very restricted in their use. c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 173

Applications of DL Description logic is a fragment of first-order logic that can represent simple properties of complex and general ontologies. It should be clear that it is a very natural representation for Knowledge bases, and conducive to reasoning techniques such as resolution and backwards chaining. Two specific examples we will look at are: 1. The semantic web: The semantic web is an ambitious ongoing project which is attempting to associate meaning to concepts with webpages. 2. Medical ontologies: To help standaridize medicine and pharacology, several databases have been established to standardize all medical terminology. c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 174

The Semantic Web The semantic web is an extension of the current html standard for web-pages. It uses XML to incorporate meta-data into web-pages and allows for websearch and information synthesis based on more than just word frequencies. The main components are: 1. XML: the base layer as a standard for passing information 2. RDF: a simple language for expressing data models 3. OWL: an ontology language for describing relationships between classes, based on descritpion logic. 4. SPARQL: a protocol and query language. It is hope that semantic web resources will enable intelligent agents to synthesise information and execute plans in the web domain. For example, imagine being able to deploy an agent to book you the cheapest tickets to London for two week during July or August. c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 175

Medical Ontologies SNoMed-CT is the Systemized Nomeclature of Medicine-Clinical Terms. It is a systematic definition of over 1 million medical terms and concepts, and is organized for automated searching and deduction. Concepts in the database are either primitive (eg. virus) or defined using Description Logic (e.g. juevinille diabetes is the interesction of the disease diabetes and state of being a child). In addition to storing medical conditions, it also contains information on drugs, biology, topography, occupations etc to allow for comprehensive knowledge base. SNoMed-CT requires that concept definitions form a Directed Acyclic Graph. c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 176

Snomed Example Eg. SNOMED-CT enables the following set of associations for tuberculosis pneumonia: A kind of lung infection A kind of pneumonia Caused by mycobacterium tuberculosis Site of infection: the lung How is it organized? A morphology inflammation!"#$%&%&'(%)*(*&+(*,,-%$.,/(-/0*,%"&)1%2) 5)"4+,'*$-*$!"#$%&'()*+,'*$-*$!"#$%&'()*+-4$"&."$)/("'-!"#$%&'()*+0"$)/("'- 1'2-3+0"$)/("'- 1'2)* :;<=>?(34(>/@(6778 94 3453656778 c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 177

The End The End. Good luck in the exam... c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Practical Aspects of Logic in AI Slide 178