Artificial Intelligence Lecture No. 11

Slides:



Advertisements
Similar presentations
Knowledge Representation using First-Order Logic
Advertisements

Artificial Intelligence
First-Order Logic Chapter 8.
Modelling with expert systems. Expert systems Modelling with expert systems Coaching modelling with expert systems Advantages and limitations of modelling.
Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Knowledge Representation
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
Knowledge Representation using First-Order Logic (Part III) This lecture: R&N Chapters 8, 9 Next lecture: Chapter 13; Chapter (Please read lecture.
Building Knowledge-Driven DSS and Mining Data
First-Order Logic Knowledge Representation Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read:
Knowledge representation methods جلسه سوم. KR is AI bottleneck The most important ingredient in any expert system is knowledge. The power of expert systems.
Some Thoughts to Consider 6 What is the difference between Artificial Intelligence and Computer Science? What is the difference between Artificial Intelligence.
Critical Thinking and Argumentation
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Artificial Intelligence Lecture No. 28 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Artificial Intelligence Lecture No. 9 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Knowledge representation
Artificial Intelligence
Cognitive Psychology: Thinking, Intelligence, and Language
1 Artificial Intelligence Introduction. 2 What is AI? Various definitions: Building intelligent entities. Getting computers to do tasks which require.
Educational Objectives
Knowledge Representation of Statistic Domain For CBR Application Supervisor : Dr. Aslina Saad Dr. Mashitoh Hashim PM Dr. Nor Hasbiah Ubaidullah.
Knowledge Representation using First-Order Logic 부산대학교 전자전기컴퓨터공학과 인공지능연구실 김민호
First-Order Logic Chapter 8. Outline Why FOL? Syntax and semantics of FOL Using FOL Wumpus world in FOL Knowledge engineering in FOL.
 Dr. Syed Noman Hasany 1.  Review of known methodologies  Analysis of software requirements  Real-time software  Software cost, quality, testing.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
Artificial Intelligence Lecture No. 26 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
KNOWLEDGE BASED SYSTEMS
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
Chapter 10 Algorithmic Thinking. Learning Objectives Explain similarities and differences among algorithms, programs, and heuristic solutions List the.
Lecture №1 Role of science in modern society. Role of science in modern society.
Artificial Intelligence: Research and Collaborative Possibilities a presentation by: Dr. Ernest L. McDuffie, Assistant Professor Department of Computer.
Of An Expert System.  Introduction  What is AI?  Intelligent in Human & Machine? What is Expert System? How are Expert System used? Elements of ES.
1 First Order Logic CS 171/271 (Chapter 8) Some text and images in these slides were drawn from Russel & Norvig’s published material.
1 UNIT-3 KNOWLEDGE REPRESENTATION. 2 Agents that reason logically(Logical agents) A Knowledge based Agent The Wumpus world environment Representation,
First-Order Logic Chapter 8. Problem of Propositional Logic  Propositional logic has very limited expressive power –E.g., cannot say "pits cause breezes.
Lecture 5 Frames. Associative networks, rules or logic do not provide the ability to group facts into associated clusters or to associate relevant procedural.
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.
Artificial Intelligence Lecture No. 14 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Decision Support and Business Intelligence Systems (9 th Ed., Prentice Hall) Chapter 12: Artificial Intelligence and Expert Systems.
Knowledge Representation Part I Ontology Jan Pettersen Nytun Knowledge Representation Part I, JPN, UiA1.
Knowledge Representation Techniques
First-Order Logic Knowledge Representation
First-Order Logic Chapter 8.
Artificial Intelligence
First-Order Logic Knowledge Representation
Knowledge Representation
Knowledge Representation
First-Order Logic Knowledge Representation
Introduction Artificial Intelligent.
First-Order Logic Knowledge Representation
First-Order Logic Chapter 8.
Introduction to Artificial Intelligence
Data Information Knowledge and Processing
KNOWLEDGE REPRESENTATION
TA : Mubarakah Otbi, Duaa al Ofi , Huda al Hakami
Knowledge Representation using First-Order Logic (Part III)
First-Order Logic Knowledge Representation
Semantic Nets and Frames
First-Order Logic Chapter 8.
Deniz Beser A Fundamental Tradeoff in Knowledge Representation and Reasoning Hector J. Levesque and Ronald J. Brachman.
Representations & Reasoning Systems (RRS) (2.2)
Habib Ullah qamar Mscs(se)
Presentation transcript:

Artificial Intelligence Lecture No. 11 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science,  COMSATS Institute of Information Technology (CIIT) Islamabad, Pakistan.

Summary of Previous Lecture Logic Propositional logic Pros and cons of propositional logic First-order logic Syntax of FOL: Basic elements Atomic/complex sentences Connections between Quantifiers

Today’s Lecture Using FOL Knowledge engineering in FOL Knowledge Transfer of knowledge  Types of knowledge Organizing the Knowledge Frames

Using FOL We want to TELL things to the KB, e.g. TELL(KB, ) TELL(KB, King(John) ) These sentences are assertions We also want to ASK things to the KB, ASK(KB, ) these are queries or goals The KB should return the list of x’s for which Person(x) is true: {x/John,x/Richard,...}

FOL Version of Wumpus World Typical percept sentence: Percept([Stench,Breeze,Glitter,None,None],5) Actions: Turn(Right), Turn(Left), Forward, Shoot, Grab, Release, Climb To determine best action, construct query:  a BestAction(a,5) ASK solves this and returns {a/Grab} And TELL about the action.

Knowledge Base for Wumpus World Perception b,g,t Percept([Breeze,b,g],t)  Breeze(t) s,b,t Percept([s,b,Glitter],t)  Glitter(t) Reflex t Glitter(t)  BestAction(Grab,t)

Knowledge engineering in FOL Identify the task Assemble the relevant knowledge Encode a description of the specific problem instance Pose queries to the inference procedure and get answers Debug the knowledge base

WHAT IS KNOWLEDGE? Knowledge is the body of facts and principles. Knowledge can be language, concepts, procedures, rules, ideas, abstractions, places, customs, and so on. In philosophy, the study of knowledge is called epistemology. The philosopher Plato famously defined knowledge as "justified true belief." However, no single agreed definition of knowledge exists, though there are numerous theories to explain it.

Knowledge Knowledge is a familiarity with someone or something, which can include facts, information, descriptions, or skills acquired through experience or education. It can refer to the theoretical or practical understanding of a subject. It can be implicit (as with practical skill or expertise) Or explicit (as with the theoretical understanding of a subject); it can be more or less formal or systematic. http://oxforddictionaries.com/view/entry/m_en_

Data, Information, Knowledge and Wisdom

Data The data might concern numerical quantities of process elements that could include bottle weight, data about the soft drink colour. Only when these sets of data are put in the right order or in a more specific and more organized framework will they have a meaning.

Information In this example information could be an excel data sheet that describes several production elements of a specific drink lot. For example, the title of the sheet could be: Weight of bottles for Coke, Lot No 12445, produced on 29/11/2013. It is obvious that this sheet with organized information has a specific purpose (to control) and it is associated to a particular production element or object (Coke) and production event (bottles filled for lot No 12445 on 29/11/2013).

Knowledge When the particular knowledge associated with the above data and information is discussed it could be easily realized that:  1. Someone, who is expert in quality statistical control, must interpret the data sheet 2. In addition, this person, in order to make his decision, needs a framework for evaluating this information. The final decision of the quality manager could be to send the bottles back for refilling or to rank the lot as quality A or quality B and then decide to which markets the lot should be pushed to. 3. Only this expert was able to decide how the drinks lot in question varied from the past lots and from the quality standards and why this lot should be pushed to market A (more strict customers) or to market B (not so strict customers).

Wisdom In this example the corresponding wisdom could be described as the ability of the quality expert or quality department to improve the whole quality control process by reviewing the quality standards again as well as by reviewing the required control process taking into consideration previous knowledge and experience. In any of the above-mentioned cases the company will improve the quality control process.

Transfer of knowledge  Symbolic representations can be used to indicate meaning and can be thought of as a dynamic process.  Other forms of communication include observation and imitation, verbal exchange, and audio and video recordings.

Transfer of knowledge Philosophers of language construct and analyze theories of knowledge transfer or communication. While many would agree that one of the most universal and significant tools for the transfer of knowledge is writing and reading, argument over the usefulness of the written word exists.

Types of knowledge The types of knowledge include procedural knowledge, declarative knowledge and heuristic knowledge.

Procedural knowledge Procedural knowledge is compiled or processed form of information. Procedural knowledge is related to the performance of some task. For example, sequence of steps to solve a problem is procedural knowledge. This knowledge is formed by doing

Procedural knowledge In some legal systems, such procedural knowledge has been considered the intellectual property of a company, and can be transferred when that company is purchased. One advantage of procedural knowledge is that it can involve more senses, such as hands-on experience, practice at solving problems, understanding of the limitations of a specific solution, etc.

Declarative knowledge Declarative knowledge is passive knowledge in the form of statements of facts about the world. the type of knowledge that is, by its very nature, expressed in declarative sentences or indicative propositions.  For example, mark statement of a student is declarative knowledge.

Heuristic knowledge Heuristics knowledge are rules of thumb or tricks. Heuristic knowledge is used to make judgments and also to simplify solution of problems. It is acquired through experience. An expert uses his knowledge that he has gathered due to his experience and learning.

Heuristic knowledge experience-based techniques for problem solving, learning, and discovery that give a solution which is not guaranteed to be optimal. Where the exhaustive search is impractical, heuristic methods are used to speed up the process of finding a satisfactory solution via mental shortcuts to ease the cognitive load of making a decision. Examples of this method include using a rule of thumb, an educated guess, an intuitive judgment, stereotyping, or common sense.

Importance of knowledge Intelligence requires knowledge. That is, to exhibit intelligence, knowledge is required. Knowledge plays a major role in building intelligent systems.

Organizing the Knowledge Representing the knowledge Frames Semantic Networks Rules Propositional and Predicate Logic

FRAMES Natural language understanding requires inference i.e., assumptions about what is typically true of the objects or situations under consideration. Such information can be coded in structures known as frames.

Need of frames Frame is a type of schema used in many AI applications including vision and natural language processing. Frames provide a convenient structure for representing objects that are typical to a stereotypical situations. The situations to represent may be visual scenes, structure of complex physical objects, etc. Frames are also useful for representing commonsense knowledge. As frames allow nodes to have structures they can be regarded as three-dimensional representations of knowledge.

A frame is similar to a record structure and corresponding to the fields and values are slots and slot fillers. Basically it is a group of slots and fillers that defines a conventional object. A single frame is not much useful. Frame systems usually have collection of frames connected to each other. Value of an attribute of one frame may be another frame.

A frame for a book is given below. Slots Fillers publisher Thomson title Expert Systems author Giarratano edition Third year 1998 pages 600 The above example is simple one but most of the frames are complex. Moreover with filler slots and inheritance provided by frames powerful knowledge representation systems can be built.

Frames can represent either generic or frame Frames can represent either generic or frame. Following is the example for generic frame. The fillers may values such as computer in the name slot or a range of values as in types slot. The procedures attached to the slots are called procedural attachments.  Slot Fillers name computer specialization_of a_kind_of machine types (desktop, laptop,mainframe,super) if-added: Procedure ADD_COMPUTER speed default: faster if-needed: Procedure FIND_SPEED location (home,office,mobile) under_warranty (yes, no)

There are mainly three types of procedural attachments: I if-needed, default and if-added. As the name implies if-needed types of procedures will be executed when a filler value is needed. Default value is taken if no other value exists. Defaults are used to represent commonsense knowledge. Commonsense is generally used when no more situation specific knowledge is available.

The if-added type is required if any value is to be added to a slot The if-added type is required if any value is to be added to a slot. In the above example, if a new type of computer is invented ADD_COMPUTER procedure should be executed to add that information. An if-removed type is used to remove a value from the slot.

Summery of Today’s Lecture Using FOL Knowledge engineering in FOL Knowledge Transfer of knowledge  Types of knowledge Organizing the Knowledge Frames