Vorlesung Grundlagen der Künstlichen Intelligenz

Similar documents
Artificial Intelligence I: knowledge repre- sentation

Knowledge Representation defined. Ontological Engineering. The upper ontology of the world. Knowledge Representation

Foundations of AI. 10. Knowledge Representation: Modeling with Logic. Concepts, Actions, Time, & All the Rest

Vorlesung Grundlagen der Künstlichen Intelligenz

Chapter 2. Knowledge Representation: Reasoning, Issues, and Acquisition. Teaching Notes

Stepwise Knowledge Acquisition in a Fuzzy Knowledge Representation Framework

Part I - Multiple Choice. 10 points total.

A Computational Theory of Belief Introspection

Artificial Intelligence Programming Probability

Incorporating Action into Diagnostic Problem Solving (An Abridged Report)

Grounding Ontologies in the External World

Iterated Belief Change and Exogenous Actions in the Situation Calculus

What Is A Knowledge Representation? Lecture 13

Minimal Change and Maximal Coherence: A Basis for Belief Revision and Reasoning about Actions

International Journal of Software and Web Sciences (IJSWS)

Causal Knowledge Modeling for Traditional Chinese Medicine using OWL 2

CISC453 Winter Probabilistic Reasoning Part B: AIMA3e Ch

APPROVAL SHEET. Uncertainty in Semantic Web. Doctor of Philosophy, 2005

Including Quantification in Defeasible Reasoning for the Description Logic EL

ARTIFICIAL INTELLIGENCE

Representation of Part-Whole Relationships in SNOMED CT

ORC: an Ontology Reasoning Component for Diabetes

RELYING ON TRUST TO FIND RELIABLE INFORMATION. Keywords Reputation; recommendation; trust; information retrieval; open distributed systems.

STIN2103. Knowledge. engineering expert systems. Wan Hussain Wan Ishak. SOC 2079 Ext.: Url:

Wason's Cards: What is Wrong?

Deliberating on Ontologies: The Present Situation. Simon Milton Department of Information Systems, The University of Melbourne

EEL-5840 Elements of {Artificial} Machine Intelligence

Belief Management for Autonomous Robots using History-Based Diagnosis

An Interval-Based Representation of Temporal Knowledge

Binding Ontologies and Coding Systems to Electronic Health Records and Message

Models for Inexact Reasoning. Imprecision and Approximate Reasoning. Miguel García Remesal Department of Artificial Intelligence

LECTURE 5: REACTIVE AND HYBRID ARCHITECTURES

A FRAMEWORK FOR CLINICAL DECISION SUPPORT IN INTERNAL MEDICINE A PRELIMINARY VIEW Kopecky D 1, Adlassnig K-P 1

Appendix I Teaching outcomes of the degree programme (art. 1.3)

Answers to end of chapter questions

Chapter 7. Mental Representation

Harvard-MIT Division of Health Sciences and Technology HST.952: Computing for Biomedical Scientists. Data and Knowledge Representation Lecture 6

Artificial Intelligence: Its Scope and Limits, by James Fetzer, Kluver Academic Publishers, Dordrecht, Boston, London. Artificial Intelligence (AI)

Programming with Goals (3)

Intelligent Agents. CmpE 540 Principles of Artificial Intelligence

Negotiation Frames. Michael Rovatsos. February 5, 2004

Visual book review 1 Safe and Sound, AI in hazardous applications by John Fox and Subrata Das

Coherence Theory of Truth as Base for Knowledge Based Systems

A Unified View of Consequence Relation, Belief Revision and Conditional Logic

High-level Vision. Bernd Neumann Slides for the course in WS 2004/05. Faculty of Informatics Hamburg University Germany

Integrating Cognition, Perception and Action through Mental Simulation in Robots

Chapter 12 Conclusions and Outlook

2. Americans now insist much more strongly that jobs become more impersonal. True False

What can Ontology Contribute to an Interdisciplinary Project?

Hypothesis-Driven Research

INFERENCING STRATEGIES

Postgraduate Diploma in Marketing June 2017 Examination Exploring Consumer Behaviour (ECB)

Support system for breast cancer treatment

WP3 Theories and Models of emotion

Defined versus Asserted Classes: Working with the OWL Ontologies. NIF Webinar February 9 th 2010

Fodor on Functionalism EMILY HULL

Diversity of Preferences

On the Combination of Collaborative and Item-based Filtering

Artificial Intelligence and Human Thinking. Robert Kowalski Imperial College London

Survey of Knowledge Base Content

Enhancing Inference in Relational Reinforcement Learning via Truth Maintenance Systems

Representation Theorems for Multiple Belief Changes

Cognition. Prof. Mike Dillinger

Inferencing in Artificial Intelligence and Computational Linguistics

ICS 606. Intelligent Autonomous Agents 1. Intelligent Autonomous Agents ICS 606 / EE 606 Fall Reactive Architectures

Analysis of Competing Hypotheses using Subjective Logic (ACH-SL)

The interplay of domain-specific and domain general processes, skills and abilities in the development of science knowledge

Insight Assessment Measuring Thinking Worldwide

Chapter 2: Intelligent Agents

The eight steps to resilience at work

Integrative Thinking Rubric

Conceptual Spaces. A Bridge Between Neural and Symbolic Representations? Lucas Bechberger

Indices, Meaning and Topic Maps: Some Observations

Running Head: NARRATIVE COHERENCE AND FIDELITY 1

Measurement and meaningfulness in Decision Modeling

Handling Partial Preferences in the Belief AHP Method: Application to Life Cycle Assessment

Ontological Queries Supporting Decision Process in KaSeA System

Whose psychological concepts?

How do Categories Work?

Explanation-Boosted Question Selection in Conversational CBR

Over the years, philosophers, psychoanalysts, psychologists, psychiatrists,

Clinical Decision Support Systems. 朱爱玲 Medical Informatics Group 24 Jan,2003

Identity theory and eliminative materialism. a) First trend: U. T. Place and Herbert Feigl- mental processes or events such as

How Does Analysis of Competing Hypotheses (ACH) Improve Intelligence Analysis?

Intelligent Machines That Act Rationally. Hang Li Bytedance AI Lab

DEVELOPING THE RESEARCH FRAMEWORK Dr. Noly M. Mascariñas

Supplementary notes for lecture 8: Computational modeling of cognitive development

Causal Inference in Statistics A primer, J. Pearl, M Glymur and N. Jewell

Functionalism. (1) Machine Functionalism

Scientific Research Overview. Rolfe A. Leary 1

Lesson 1 Understanding Science

My Notebook. A space for your private thoughts.

Recognizing Scenes by Simulating Implied Social Interaction Networks

On the Collaborative Development of Para-consistent Conceptual Models

Perception, Biology, Action, and Knowledge

AN INFERENCE TECHNIQUE FOR INTEGRATING KNOWLEDGE FROM DISPARATE SOURCES. Thomas D. Garvey, John D. Lowrance, and Martin A.

Improving the Accuracy of Neuro-Symbolic Rules with Case-Based Reasoning

Implementation of Inference Engine in Adaptive Neuro Fuzzy Inference System to Predict and Control the Sugar Level in Diabetic Patient

Chapter 3 Software Packages to Install How to Set Up Python Eclipse How to Set Up Eclipse... 42

Transcription:

Vorlesung Grundlagen der Künstlichen Intelligenz Reinhard Lafrenz / Prof. A. Knoll Robotics and Embedded Systems Department of Informatics I6 Technische Universität München www6.in.tum.de lafrenz@in.tum.de 089-289-18136 Room 03.07.055 Wintersemester 2012/13 7.1.2013

Grundlagen der Künstlichen Intelligenz Techniques in Artificial Intelligence Chapter 12 Knowledge representation R. Lafrenz Wintersemester 2012/13 7.1.2013

Outline Ontological engineering Categories and objects Actions, situations and events Mental events and mental objects The internet shopping world Reasoning systems for categories Reasoning with default information Truth maintenance systems 3

Ontological engineering How to create more general and flexible representations. Concepts like actions, time, physical object and beliefs Operates on a bigger scale than K.E. Define general framework of concepts Upper ontology Limitations of logic representation Red, green and yellow tomatoes: exceptions and uncertainty 4

The upper ontology of the world 5

Difference with special-purpose ontologies A general-purpose ontology should be applicable in more or less any special-purpose domain. Add domain-specific axioms In any sufficiently demanding domain different areas of knowledge need to be unified. Reasoning and problem solving could involve several areas simultaneously What do we need to express? Categories, Measures, Composite objects, Time, Space, Change, Events, Processes, Physical Objects, Substances, Mental Objects, Beliefs 6

Categories and objects KR requires the organisation of objects into categories Interaction at the level of the object Reasoning at the level of categories Categories play a role in predictions about objects Based on perceived properties Categories can be represented in two ways by FOL Predicates: apple(x) Reification of categories into objects: apples Category = set of its members 7

Category organization Relation = inheritance: All instance of food are edible, fruit is a subclass of food and apples is a subclass of fruit then an apple is edible. Defines a taxonomy 8

Semantic Networks Logic vs. semantic networks Many variations All represent individual objects, categories of objects and relationships among objects. Allows for inheritance reasoning Female persons inherit all properties from person. Cfr. OO programming. Inference of inverse links SisterOf vs. HasSister 9

Semantic network example 10

Semantic networks Drawbacks Links can only assert binary relations Can be resolved by reification of the proposition as an event Representation of default values Enforced by the inheritance mechanism. 11

FOL and categories An object is a member of a category MemberOf(BB 12,Basketballs) A category is a subclass of another category SubsetOf(Basketballs,Balls) All members of a category have some properties x (MemberOf(x,Basketballs) Round(x)) All members of a category can be recognized by some properties x (Orange(x) Round(x) Diameter(x)=9.5in MemberOf(x,Balls) MemberOf(x,BasketBalls)) A category as a whole has some properties MemberOf(Dogs,DomesticatedSpecies) 12

Relations between categories Two or more categories are disjoint if they have no members in common: Disjoint(s) ( c 1,c 2 c 1 s c 2 s c 1 c 2 Intersection(c 1,c 2 ) ={}) Example; Disjoint({animals, vegetables}) A set of categories s constitutes an exhaustive decomposition of a category c if all members of the set c are covered by categories in s: E.D.(s,c) ( i: i c c 2 : c 2 s i c 2 ) Example: ExhaustiveDecomposition({Americans, Canadians, Mexicans},NorthAmericans). 13

Relations between categories A partition is a disjoint exhaustive decomposition: Partition(s,c) Disjoint(s) E.D.(s,c) Example: Partition({Males,Females},Persons). Is ({Americans,Canadians, Mexicans},NorthAmericans) a partition? Categories can be defined by providing necessary and sufficient conditions for membership x Bachelor(x) Male(x) Adult(x) Unmarried(x) 14

Natural kinds Many categories have no clear-cut definitions (chair, bush, book). Tomatoes: sometimes green, red, yellow, black. Mostly round. One solution: category Typical(Tomatoes). x: x Typical(Tomatoes) Red(x) Spherical(x). We can write down useful facts about categories without providing exact definitions. What about bachelor? Quine challenged the utility of the notion of strict definition. We might question a statement such as the Pope is a bachelor. 15

Physical composition One object may be part of another: PartOf(Bucharest,Romania) PartOf(Romania,EasternEurope) PartOf(EasternEurope,Europe) The PartOf predicate is transitive (and irreflexive), so we can infer that PartOf(Bucharest,Europe) More generally: x PartOf(x,x) x,y,z PartOf(x,y) PartOf(y,z) PartOf(x,z) Often characterized by structural relations among parts. E.g. Biped(a) 16

Measurements Objects have height, mass, cost,... Values that we assign to these are measures Combine Unit functions with a number: Length(L 1 ) = Inches(1.5) = Centimeters(3.81). Conversion between units: i Centimeters(2.54 x i)=inches(i). Some measures have no scale: Beauty, Difficulty, etc. Most important aspect of measures: is that they are orderable. Don't care about the actual numbers. (An apple can have deliciousness.9 or.1.) 17

Actions, events and situations Reasoning about outcome of actions is central to KB-agent. How can we keep track of location in FOL? Remember the multiple copies in PL. Representing time by situations (states resulting from the execution of actions). Situation calculus TLo (IRIDIA) 18

Actions, events and situations Situation calculus: Actions are logical terms Situations are logical terms consiting of The initial situation I All situations resulting from the action on I (=Result(a,s)) Fluent are functions and predicates that vary from one situation to the next. E.g. Holding(G 1, S 0 ) Eternal predicates are also allowed E.g. Gold(G 1 ) TLo (IRIDIA) 19

Actions, events and situations Results of action sequences are determined by the individual actions. Projection task: an SC agent should be able to deduce the outcome of a sequence of actions. Planning task: find a sequence that achieves a desirable effect TLo (IRIDIA) 20

Actions, events and situations 21

Describing change Simples Situation calculus requires two axioms to describe change: Possibility axiom: when is it possible to do the action At(Agent,x,s) Adjacent(x,y) Poss(Go(x,y),s) Effect axiom: describe changes due to action Poss(Go(x,y),s) At(Agent,y,Result(Go(x,y),s)) What stays the same? Frame problem: how to represent all things that stay the same? Frame axiom: describe non-changes due to actions At(o,x,s) (o Agent) Holding(o,s) At(o,x,Result(Go(y,z),s)) 22

Time relations and time logic To overcome limitations in the situation calculus, event calculus can be used. E.g. predicate HoldsAt (fluent, time) describes that a specific sentence f is true at time t. Time relations can be as follows: 23

Representational frame problem If there are F fluents and A actions then we need AF frame axioms to describe other objects are stationary unless they are held. We write down the effect of each actions Solution; describe how each fluent changes over time Successor-state axiom: Pos(a,s) (At(Agent,y,Result(a,s)) (a = Go(x,y)) (At(Agent,y,s) a Go(y,z)) Note that next state is completely specified by current state. Each action effect is mentioned only once. 24

Other problems How to deal with secondary (implicit) effects? If the agent is carrying the gold and the agent moves then the gold moves too. Ramification problem How to decide EFFICIENTLY whether fluents hold in the future? Inferential frame problem. Extensions: Event calculus (when actions have a duration) Process categories 25

Mental events and objects So far, KB agents can have beliefs and deduce new beliefs What about knowledge about beliefs? What about knowledge about the inference process? Requires a model of the mental objects in someone s head and the processes that manipulate these objects. Relationships between agents and mental objects: believes, knows, wants, Believes(Lois,Flies(Superman)) with Flies(Superman) being a function a candidate for a mental object (reification). Agent can now reason about the beliefs of agents. 26

The internet shopping world A Knowledge Engineering example An agent that helps a buyer to find product offers on the internet. IN = product description (precise or precise) OUT = list of webpages that offer the product for sale. Environment = WWW Percepts = web pages (character strings) Extracting useful information required. 27

The internet shopping world Find relevant product offers RelevantOffer(page,url,query) Relevant(page, url, query) Offer(page) Write axioms to define Offer(x) Find relevant pages: Relevant(x,y,z)? Start from an initial set of stores. What is a relevant category? What are relevant connected pages? Require rich category vocabulary. Synonymy and ambiguity How to retrieve pages: GetPage(url)? Procedural attachment Compare offers (information extraction). 28

Reasoning systems for categories How to organise and reason with categories? Semantic networks Visualize knowledge-base Efficient algorithms for category membership inference Description logics Formal language for constructing and combining category definitions Efficient algorithms to decide subset and superset relationships between categories. 29

Description logics Are designed to describe defintions and properties about categories A formalization of semantic networks Principal inference task is Subsumption: checking if one category is the subset of another by comparing their definitions Classification: checking whether an object belongs to a category. Consistency: whether the category membership criteria are logically satisfiable. TLo (IRIDIA) 30

Reasoning with Default Information The following courses are offered: CS101, CS102, CS106, EE101 Four (data base semantics) Assume that this information is complete (not asserted ground atomic sentences are false) = CLOSED WORLD ASSUMPTION Assume that distinct names refer to distinct objects = UNIQUE NAMES ASSUMPTION Between one and infinity (logic) Does not make these assumptions Requires completion. TLo (IRIDIA) 31

Truth maintenance systems Many of the inferences have default status rather than being absolutely certain Inferred facts can be wrong and need to be retracted = BELIEF REVISION. Assume KB contains sentence P and we want to execute TELL(KB, P) To avoid contradiction: RETRACT(KB,P) But what about sentences inferred from P? Truth maintenance systems are designed to handle these complications. TLo (IRIDIA) 32

Summary Knowledge representation is crucial for efficient reasoning Ontologies are a widely used way for representing knowledge Upper ontology to describe main concepts and object classes of the world Individual ontologies for specific domains needed Different ways of reasoning Navigation in semantic networks Formal reasoning using logical representations Problem: Handling of default values 33