Knowledge Representation

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

1 Knowledge Representation Introduction KR and Logic.
Modelling with expert systems. Expert systems Modelling with expert systems Coaching modelling with expert systems Advantages and limitations of modelling.
Semantics Static semantics Dynamic semantics attribute grammars
Logic.
Knowledge Representation
Chapter 4 Knowledge Representation Artificial Intelligence ดร. วิภาดา เวทย์ประสิทธิ์ ภาควิชาวิทยาการคอมพิวเตอร์ คณะ วิทยาศาสตร์ มหาวิทยาลัยสงขลานครินทร์
CPSC 322 Introduction to Artificial Intelligence November 5, 2004.
Knowledge Representation Chapter 4. 2 What is KR? R. Davis, H. Schrobe, P. Szolovits (1993): 1.A surrogate 2.A set of ontological commitments 3.A fragmentary.
1 Knowledge Representation We’ve discussed generic search techniques. Usually we start out with a generic technique and enhance it to take advantage of.
An Introduction to Artificial Intelligence. Introduction Getting machines to “think”. Imitation game and the Turing test. Chinese room test. Key processes.
Intelligent systems Lecture 6 Rules, Semantic nets.
Best-First Search: Agendas
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Knowledge Representation & Reasoning.  Introduction How can we formalize our knowledge about the world so that:  We can reason about it?  We can do.
© C. Kemke1Reasoning - Introduction COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
EXPERT SYSTEMS Part I.
Logical Agents Chapter 7 Feb 26, Knowledge and Reasoning Knowledge of action outcome enables problem solving –a reflex agent can only find way from.
Describing Syntax and Semantics
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
GENERAL CONCEPTS OF OOPS INTRODUCTION With rapidly changing world and highly competitive and versatile nature of industry, the operations are becoming.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
 Knowledge Acquisition  Machine Learning. The transfer and transformation of potential problem solving expertise from some knowledge source to a program.
Some Thoughts to Consider 1 What is so ‘artificial’ about Artificial Intelligence? Just what are ‘Knowledge Based Systems’ anyway? Why would we ever want.
11 C H A P T E R Artificial Intelligence and Expert Systems.
Artificial Intelligence
110/19/2015CS360 AI & Robotics AI Application Areas  Neural Networks and Genetic Algorithms  These model the structure of neurons in the brain  Humans.
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Dr. Shazzad Hosain Department of EECS North South Universtiy Lecture 04 – Part A Knowledge Representation and Reasoning.
Problem Solving Techniques. Compiler n Is a computer program whose purpose is to take a description of a desired program coded in a programming language.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
3.2 Semantics. 2 Semantics Attribute Grammars The Meanings of Programs: Semantics Sebesta Chapter 3.
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
© 2006 Pearson Addison-Wesley. All rights reserved 2-1 Chapter 2 Principles of Programming & Software Engineering.
Chapter 2: The Representation of Knowledge
Expert System Seyed Hashem Davarpanah University of Science and Culture.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
Artificial Intelligence Knowledge Representation.
16 April 2011 Alan, Edison, etc, Saturday.. Knowledge, Planning and Robotics 1.Knowledge 2.Types of knowledge 3.Representation of knowledge 4.Planning.
Artificial Intelligence Logical Agents Chapter 7.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Knowledge Representation Techniques
Pertemuan 5 Knowledge Representation Issues
Chapter 3: Methods of Inference
Unit - 3 OBJECT ORIENTED DESIGN PROCESS AND AXIOMS
Algorithms and Problem Solving
Knowledge and reasoning – second part
Chapter 3: Methods of Inference
Architecture Components
Chapter 6: Design of Expert Systems
A.I. – Knowledge Representation
Knowledge Representation
Introduction Artificial Intelligent.
Issues in Knowledge Representation
KNOWLEDGE REPRESENTATION
Thought and Language Chapter 11.
Abstraction and Repetition
Knowledge and reasoning – second part
Algorithms and Problem Solving
Knowledge Representation I (Propositional Logic)
Structured Knowledge Representation
Subject : Artificial Intelligence
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
ONTOMERGE Ontology translations by merging ontologies Paper: Ontology Translation on the Semantic Web by Dejing Dou, Drew McDermott and Peishen Qi 2003.
Representations & Reasoning Systems (RRS) (2.2)
Abstraction and Repetition
Habib Ullah qamar Mscs(se)
Logical Agents Prof. Dr. Widodo Budiharto 2018
Presentation transcript:

Knowledge Representation CSE 402 K3R20/K3R23

Knowledge Representation Earlier it was believed that the best approach to solutions was through the development of General Purpose Problem Solver, that is, systems powerful to prove a theorem in geometry, perform a complex robotic task, or to develop a plan to complete a sequence of operations. But it was deduced that the systems became effective only when the solution methods incorporated domain specific rules and facts, i.e. after gaining specific knowledge. It eventually led to knowledge based systems. 16.09.2018

Knowledge Representation Importance of Knowledge Knowledge can be defined as the body of facts and principles accumulated by human-kind or the act, fact or state of knowing. In actuality it is more than this, it also includes having a familiarity with language, concepts, procedures, rules, ideas, abstractions , places, customs, facts associations along with ability to use these notions effectively in modeling different aspects of the world. How is knowledge stored in biological organisms and computers? Human brain weighs 3.3 pounds - estimated number of neurons 1012 - potential storage – 1014 In computers, knowledge is also stored as symbolic structures, in the form of collections of magnetic spots and voltage states. 16.09.2018

Knowledge Representation Let’s take the following examples A is tall. A Loves B.  C has learned to use recursion to manipulate linked lists in several programming languages. 1st one represents a fact, an attribute possessed by a person. 2nd expresses a complex binary relation between two persons. 3rd is most complex, expressing relations between a person and more abstract programming concepts. 16.09.2018

Knowledge Representation Knowledge can be of following types Declarative (statements) Procedural (facts) Heuristics (rule of thumb / experience) We should not confuse Knowledge with data. – Physician example Belief v/s Hypothesis Belief is any meaningful and coherent expression that can be represented. Hypothesis is a justified belief that is not known to be true. Epistemology – study of nature of knowledge. Metaknowldge – knowledge about knowledge. 16.09.2018

Knowledge Representation Now, we can package specialized knowledge and sell it with a system that can use it to reason and draw conclusions. Knowledge alone cannot serve the purpose, we need to include understanding, learning, thinking, remembering & reasoning. Knowledge based systems get their power from expert knowledge that has been coded into facts, rules, heuristics and procedures. Knowledge is stored in a knowledge base separate from the control and inferencing components , this makes it possible to add new knowledge or refine existing knowledge without recompiling the control and inferencing programs. This simplifies the construction and maintenance of knowledge-based systems. 16.09.2018

Mappings between Facts and Representation Facts: Truths in some relevant world. These are the things we want to represent Representation of fact in some chosen formalism. These are the things we will actually be able to manipulate

Knowledge Representation Some mathematical ways of representing the representing sentences Spot is a dog.  dog(spot) All dogs have tails.  Vx : dog(x)  hastail(x) Then using the deduction method of logic, we may generate they new representation object : hastail(spot) So we can , using backward mapping function : Spot has a tail. 16.09.2018

Representation of Facts

Knowledge Representation Approaches to Knowledge representation A good system for the representation of knowledge in a particular domain should possess the following properties : Representational Adequacy – the ability to represent all of the kinds of knowledge that are needed in that domain Inferential Adequacy – The ability to manipulate the representational structures in such a way as to derive new structures corresponding to new knowledge inferred from old. Inferential Efficiency – The ability to incorporate into the knowledge structure additional information that can be used to focus the attention of the inference mechanisms in the most promising direction. Acquisitional Efficiency - Acquiring new information easily. 16.09.2018

Knowledge Representation Simple Relational Knowledge Player Height Weight Runs Dhoni 6-0 150 3000 Sachin 5-4 140 15000 Zaheer 6-2 160 1000 This even does not tell us that who is the heaviest player? A procedure should be defined to figure out the result. 16.09.2018

Knowledge Representation Inheritable Knowledge It is possible to enhance the basic representation with inference mechanism that operate on the structure of the representation. The most useful form of inference is Property Inheritance, in which elements of specific classes inherit attributes and values from ore general classes in which they are included. In order to do this, objects must be organized into classes, classes must be arranged into generalization hierarchy. 16.09.2018

Inheritable Knowledge

Algorithm : Property Inheritance 1. Find O in the knowledge base. 2. If there is a value there for the attribute A, report that value. 3. Otherwise, see if there is a value for the attribute instance. If not, then fail. 4. Otherwise, move to the node corresponding to that value and look for a value for the attribute A. If one is found, report it. 5. Otherwise, do until there is no value for the is a attribute or until an answer is found: Get the value of the is a attribute and move to that node. (b) See if there is a value for the attribute A. If there is, report it. 85

Knowledge Representation Inferential Knowledge Sometimes all the power of traditional logic is necessary to describe he inferences that are needed.We can represent inferential knowledge about a domain using first order predicate-logic. But all this knowledge is useless unless there is also an inference procedure that can exploit it.The required inference procedure now is one that implements the standard logical rules of inference. There are many procedures, some of which reason forward from given facts to conclusions, some reason backward from desired conclusions to given facts. One most common procedure is RESOLUTION, which uses contradiction strategy. 16.09.2018

Knowledge Representation Procedural Knowledge The previous forms deal with Static, Declarative facts. This knowledge specifies what to do and when. This knowledge can be represented in programs in many ways. The most common way is simply as code for doing something. The machine uses the knowledge when it executes the code to perform a task. Eg : If – then else etc. 16.09.2018

Thank You!!! 16.09.2018