Knowledge Representation. Knowledge Representation Hypothesis Knowledge representation is an essential problem of symbolic-based artificial intelligence.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

1 Knowledge Representation Introduction KR and Logic.
Artificial Intelligence 4. Knowledge Representation
SLD-resolution Introduction Most general unifiers SLD-resolution
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
Inference and Reasoning. Basic Idea Given a set of statements, does a new statement logically follow from this. For example If an animal has wings and.
We have seen that we can use Generalized Modus Ponens (GMP) combined with search to see if a fact is entailed from a Knowledge Base. Unfortunately, there.
Logic Use mathematical deduction to derive new knowledge.
Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Logic.
Knowledge Representation
Logic Concepts Lecture Module 11.
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
CSE (c) S. Tanimoto, 2008 Propositional Logic
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
Knowledge Representation I (Propositional Logic) CSE 473.
Knoweldge Representation & Reasoning
Knowledge Representation
Artificial Intelligence
Review Topics Test 1. Background Topics Definitions of Artificial Intelligence & Turing Test Physical symbol system hypothesis vs connectionist approaches.
Lectures 5,6 MACHINE LEARNING EXPERT SYSTEMS. Contents Machine learning Knowledge representation Expert systems.
Inference is a process of building a proof of a sentence, or put it differently inference is an implementation of the entailment relation between sentences.
Proof Systems KB |- Q iff there is a sequence of wffs D1,..., Dn such that Dn is Q and for each Di in the sequence: a) either Di is in KB or b) Di can.
Artificial Intelligence 4. Knowledge Representation Course V231 Department of Computing Imperial College, London © Simon Colton.
1 Knowledge Based Systems (CM0377) Lecture 4 (Last modified 5th February 2001)
110/19/2015CS360 AI & Robotics AI Application Areas  Neural Networks and Genetic Algorithms  These model the structure of neurons in the brain  Humans.
Pattern-directed inference systems
Logical Agents Logic Propositional Logic Summary
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Tasks Task 41 Solve Exercise 12, Chapter 2.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 8.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Automated Reasoning Early AI explored how to automate several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Intelligent Control Methods Lecture 7: Knowledge representation Slovak University of Technology Faculty of Material Science and Technology in Trnava.
KNOWLEDGE BASED SYSTEMS
Artificial Intelligence 7. Making Deductive Inferences Course V231 Department of Computing Imperial College, London Jeremy Gow.
Knowledge Representation
Propositional Logic Predicate Logic
1 CS 385 Fall 2006 Chapter 7 Knowledge Representation 7.1.1, 7.1.5, 7.2.
Artificial Intelligence Knowledge Representation Department of Computer Science & Enggineering V. R. Palekar.
Resolution Theorem Proving in Predicate Calculus Lecture No 10 By Zahid Anwar.
Artificial Intelligence Knowledge Representation.
Knowledge Representation
Definition and Technologies Knowledge Representation.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
Knowledge Representation Lecture 2 out of 5. Last Week Intelligence needs knowledge We need to represent this knowledge in a way a computer can process.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Artificial Intelligence 4. Knowledge Representation
Knowledge Representation Techniques
Chapter 7. Propositional and Predicate Logic
Conceptual Graphs(1) A CG is a finite, connected, bipartite graph.
Knowledge Representation and Reasoning
Knowledge Representation
Knowledge Representation
Knowledge Representation
Logic Use mathematical deduction to derive new knowledge.
KNOWLEDGE REPRESENTATION
CS 220: Discrete Structures and their Applications
Back to “Serious” Topics…
Chapter 7. Propositional and Predicate Logic
CSNB234 ARTIFICIAL INTELLIGENCE
Semantic Nets and Frames
RESOLUTION.
Resolution Proof System for First Order Logic
Representations & Reasoning Systems (RRS) (2.2)
Habib Ullah qamar Mscs(se)
Presentation transcript:

Knowledge Representation

Knowledge Representation Hypothesis Knowledge representation is an essential problem of symbolic-based artificial intelligence Knowledge Representation Hypothesis (Smith): Any mechanically embodied intelligent process will comprise of structural ingredients, that –will represent the propositional account of knowledge the overall process exhibits –independently of such a formal semantics will play formal and causal role in performing the behavior that manifests the knowledge

Knowledge Representation In symbolic functionalism we represent intelligence via manipulation of our beliefs about the surrounding world and knowledge we know. Therefore we have to address two fundamental issues –how to represent knowledge –how to implement the process of reasoning State space is a space of possible courses of inference when combining –actual beliefs about current world –general knowledge –rules of inference

The Knowledge Level Three levels of the Knowledge-based System conceptualization: - system engineering level – physical realization of the system - symbol level – symbol system (program ) specification - knowledge level – knowledge (to be represented) specification Knowledge Level Hypothesis –There is a distinct computer level lying immediately above the program (symbol level), which is characterized by knowledge as the medium and principle of rationality as the law of behavior.

AI research × Software Engineering Knowledge Level Symbol LevelSystem Level Intelligent Behaviour Requirements Specification Functional Specification System Implementation

What is Knowledge? data – primitive verifiable facts, of any representation. Data reflects current world,often voluminous frequently changing. information – interpreted data knowledge – relation among sets of data (information), that is very often used for further information deduction. Knowledge is (unlike data) general. Knowledge contains information about behavior of abstract models of the world. Knowledge Classification: –according to source : empirical, theoretical –according to orientation : domain, heuristic, inference –according to type : declarative, procedural

Knowledge Representation Schemas Logic based representation – first order predicate logic, Prolog Procedural representation – rules, production system Network representation – semantic networks, conceptual graphs Structural representation – scripts, frames, objects

Mathematical Logic Propositional Logic – –syntactical primitives: , , , , symbols, true, false –rule of inference: de Morgan rule, modus ponens, … –semantic interpretation rains  blows-wind  sun-will-shine First Order Predicate Logic – –enriched by variables, predicates, functions –quantifiers ,  friends(father(david),father(andrew))  Y friends(Y, petr)  X likes(X,ice_cream)  X  Y  Z parent(X,Y)  parent(X,Z)  siblings(Y,Z)

Mathematical Logic cont’ inference representation – proof system rules of inference – example: modus ponens –if p is true and p  q is true, then mp infers q to be true  X(man(X)  mortal(X)) man(socrates) (man(socrates)  mortal(socrates)) mortal(socrates) rules of inference can be – sound if all conclusions the rule infers logically follows – complete if it infers all conclusions that logically follows modus ponens is sound but not complete

Mathematical Logic cont’ inference representation – resolution theorem proving –transform the knowledge system into clausal normal form (conjunction of disjunction of literals) –add negation of what has to be proved –keep resolve new disjuncts unless you produce an empty set dog(X)  animal(X)   dog(X)  animal(X) (  dog(X)  animal(X))  (  animal(Y)  die(Y))  (dog(fido))) (  die(fido) (  dog(Y)  die(Y)) 1+2 (die(fido)) 

Logic Based Financial Advisor savings(inadequate)  investment(savings) savings(adequate)  income(adequate)  investment(stocks) savings(adequate)  income(inadequate)  investment(combined)  X saved(X)   Y dependents(Y)  greater(X,5000*Y)  savings(adequate)  X saved(X)   Y dependents(Y)   greater(X, 5000*Y)  savings(inadequate)  X earnings(X,steady)   Y dependents(Y)  greater(X,(15000+(4000*X))  income(adequate)  X earnings(X,steady)   Y dependents(Y)   greater(X,(15000+(4000*X))  income(inadequate)  X earnings(X,unsteady)  income(inadequate) saved(22000) earnings(25000,steady) dependents(3) prolog code example

Production System procedural representation of knowledge in the form of if – then rules inference mechanism is firing the rules subject of Expert System lecture ‘jug problem’ example if small=0 then small=3 if big=0 and small=3 then big=3 and small= 0 5l 3l

Conceptual Graphs network knowledge representation schema rooted in association theory of meaning very much used in the problem of natural language processing Conceptual Graph is complete bipartite oriented graph, where each node is either a concept or a relation between two concepts, there is one or two edges each going to concepts, and each concept may represent another conceptual graph dogbrown colour

Conceptual Graphs A monkey scratches its ear with a pawn monkeyscratch agentobject ear instrument paw part of

Conceptual Graphs each concept has got its type and an instance general concept – a concept with a wildcard instance specific concept – a concept with a concrete instance there exists a hierarchy of types subtype: concept w is specialisation of concept v if type(v)>type(w) or instance(w)::type(v) dog:Emmabrown colour dog:*Xbrown colour animal dogcat

Conceptual Graphs canonic conceptual graph is sensible representation of knowledge that can be but does not necessary need to be true canonic formation rules formalise rules of inference between two graph for while preserving canonicity – copy – identical cloning of a graph – restriction – substituting a concept in a graph with its specialisation – join – joining two graphs via shared concept – simplification – deleting identical relations

Restriction of Concepts personeat agentobject pie girleat agentobject pie person:Sueeat agentobject pie girl:Sueeat agentobject pie person

Joining Concepts personeat agentobject pie girl:Sue personeat agentmanner pie fastgirl:Sue person eat agentobject pie agent manner fast

Simplification of Concepts personeat agentobject pie agent manner fast personeat agent object pie manner fast

Conceptual Graphs FOPL transformation to CG –for each node  predicate –general concept  variable, specific concept  atom type:instance  type(instance) –relation  n-ary predicat relation(in1, in2, …, inn) with arguments conncecting neighbouring concepts –CG is existencionally quantified conjunction of these predicates  X (dog(emma)  color(emma,X)  brown(X)) dog:Emmabrown colour

Frames instance of structured representation (schemes) static data-structure representing stereotyped situation predecessor of object-oriented systems hotel bed superclass:bed use:sleeping size:king part:mattress frame mattress superclass:cushion firmness:firm hotel room special of:room location:hotel contains: hotel chair hotel phone hotel bed hotel phone special of:phone use: calling room service billing: through room hotel chair special of:chair legs:four use:sitting default slots daemons – procedural attachment (infoseek)

Scripts Schank’s formalisation of stereotyped sequence of events in a particular context knowledge base representation in terms of the situations that the system is supposed to understand a restaurant script