Overview. Knowledge in AI. The Knowledge Principle. The Role of Knowledge. What is Knowledge? COMP219: Artificial Intelligence

Similar documents
Rule-based Expert Systems

Foundations of Knowledge Representation in Cyc

Objectives. Chapter 2: The Representation of Knowledge. Expert Systems: Principles and Programming, Fourth Edition

AQUA: An Ontology-Driven Question Answering System

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

What s in a Step? Toward General, Abstract Representations of Tutoring System Log Data

GACE Computer Science Assessment Test at a Glance

Candidates must achieve a grade of at least C2 level in each examination in order to achieve the overall qualification at C2 Level.

Radius STEM Readiness TM

FUZZY EXPERT. Dr. Kasim M. Al-Aubidy. Philadelphia University. Computer Eng. Dept February 2002 University of Damascus-Syria

Knowledge based expert systems D H A N A N J A Y K A L B A N D E

Some Principles of Automated Natural Language Information Extraction

The College Board Redesigned SAT Grade 12

Visual CP Representation of Knowledge

Data Structures and Algorithms

Knowledge-Based - Systems

Software Development: Programming Paradigms (SCQF level 8)

An Interactive Intelligent Language Tutor Over The Internet

Unit 7 Data analysis and design

Fluency YES. an important idea! F.009 Phrases. Objective The student will gain speed and accuracy in reading phrases.

5. UPPER INTERMEDIATE

Compositional Semantics

A Case Study: News Classification Based on Term Frequency

The Strong Minimalist Thesis and Bounded Optimality

Chapter 2 Rule Learning in a Nutshell

Math-U-See Correlation with the Common Core State Standards for Mathematical Content for Third Grade

Learning Microsoft Publisher , (Weixel et al)

MYCIN. The MYCIN Task

Lecture 1: Basic Concepts of Machine Learning

Modeling user preferences and norms in context-aware systems

Concept Acquisition Without Representation William Dylan Sabo

Predicting Students Performance with SimStudent: Learning Cognitive Skills from Observation

CLASSIFICATION OF PROGRAM Critical Elements Analysis 1. High Priority Items Phonemic Awareness Instruction

Introduction to Simulation

National Literacy and Numeracy Framework for years 3/4

School of Innovative Technologies and Engineering

Focus of the Unit: Much of this unit focuses on extending previous skills of multiplication and division to multi-digit whole numbers.

Abstractions and the Brain

The Singapore Copyright Act applies to the use of this document.

Edexcel GCSE. Statistics 1389 Paper 1H. June Mark Scheme. Statistics Edexcel GCSE

Automating the E-learning Personalization

Online Marking of Essay-type Assignments

Guidelines for Writing an Internship Report

OFFICE SUPPORT SPECIALIST Technical Diploma

Intelligent Agents. Chapter 2. Chapter 2 1

A Minimalist Approach to Code-Switching. In the field of linguistics, the topic of bilingualism is a broad one. There are many

Laboratorio di Intelligenza Artificiale e Robotica

Introduction to Questionnaire Design

CONCEPT MAPS AS A DEVICE FOR LEARNING DATABASE CONCEPTS

University of Groningen. Systemen, planning, netwerken Bosman, Aart

Full text of O L O W Science As Inquiry conference. Science as Inquiry

Agents and environments. Intelligent Agents. Reminders. Vacuum-cleaner world. Outline. A vacuum-cleaner agent. Chapter 2 Actuators

BPS Information and Digital Literacy Goals

On Human Computer Interaction, HCI. Dr. Saif al Zahir Electrical and Computer Engineering Department UBC

Proof Theory for Syntacticians

POLA: a student modeling framework for Probabilistic On-Line Assessment of problem solving performance

Course Content Concepts

PAGE(S) WHERE TAUGHT If sub mission ins not a book, cite appropriate location(s))

Machine Learning from Garden Path Sentences: The Application of Computational Linguistics

Software Maintenance

CEFR Overall Illustrative English Proficiency Scales

Computerized Adaptive Psychological Testing A Personalisation Perspective

Parsing of part-of-speech tagged Assamese Texts

Individual Component Checklist L I S T E N I N G. for use with ONE task ENGLISH VERSION

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

(I couldn t find a Smartie Book) NEW Grade 5/6 Mathematics: (Number, Statistics and Probability) Title Smartie Mathematics

Task Tolerance of MT Output in Integrated Text Processes

Chamilo 2.0: A Second Generation Open Source E-learning and Collaboration Platform

Innovative Methods for Teaching Engineering Courses

Top US Tech Talent for the Top China Tech Company

The Conversational User Interface

MASTER OF SCIENCE (M.S.) MAJOR IN COMPUTER SCIENCE

SITUATING AN ENVIRONMENT TO PROMOTE DESIGN CREATIVITY BY EXPANDING STRUCTURE HOLES

Informatics 2A: Language Complexity and the. Inf2A: Chomsky Hierarchy

Action Models and their Induction

CAAP. Content Analysis Report. Sample College. Institution Code: 9011 Institution Type: 4-Year Subgroup: none Test Date: Spring 2011

Lecture 2: Quantifiers and Approximation

Quiz for Teachers. by Paul D. Slocumb, Ed.D. Hear Our Cry: Boys in Crisis

Introduction to Causal Inference. Problem Set 1. Required Problems

Introduction and survey

IAT 888: Metacreation Machines endowed with creative behavior. Philippe Pasquier Office 565 (floor 14)

The Curriculum in Primary Schools

A R "! I,,, !~ii ii! A ow ' r.-ii ' i ' JA' V5, 9. MiN, ;

Section 7, Unit 4: Sample Student Book Activities for Teaching Listening

Using Virtual Manipulatives to Support Teaching and Learning Mathematics

Loughton School s curriculum evening. 28 th February 2017

The Impact of the Multi-sensory Program Alfabeto on the Development of Literacy Skills of Third Stage Pre-school Children

An Experimental Comparison of Knowledge Representation Schemes

A Comparison of Standard and Interval Association Rules

Degree Qualification Profiles Intellectual Skills

A MULTI-AGENT SYSTEM FOR A DISTANCE SUPPORT IN EDUCATIONAL ROBOTICS

Clouds = Heavy Sidewalk = Wet. davinci V2.1 alpha3

Defining Numeracy the story continues David Kaye LLU+ London South Bank University

LITERACY ACROSS THE CURRICULUM POLICY

Organizational Knowledge Distribution: An Experimental Evaluation

Montana Content Standards for Mathematics Grade 3. Montana Content Standards for Mathematical Practices and Mathematics Content Adopted November 2011

SOFTWARE EVALUATION TOOL

Possessive have and (have) got in New Zealand English Heidi Quinn, University of Canterbury, New Zealand

Controlled vocabulary

Learning to Schedule Straight-Line Code

Transcription:

COMP219: Artificial Intelligence Lecture 13: Knowledge Representation Last time Game playing Minimax decisions Alpha-beta pruning Overview Today Introduce the need for explicit knowledge representation Describe means of knowledge representation Consider rules as one particular means of knowledge representation 1 2 Knowledge in AI Search is a universal method for problem solving But real problems require methods with more power, which comes from tailoring to the specific problem Heuristic searches Evaluation functions for game playing Solution templates In order to solve the complex problems encountered in AI, one generally needs a large amount of knowledge, and suitable mechanisms for representing and manipulating all that knowledge The Knowledge Principle Ed Feigenbaum:... power exhibited... is primarily a consequence of the specialist knowledge employed by the agent and only very secondarily related to... the power of the [computer] Our agents must be knowledge rich, even if they are methods poor 3 4 The Role of Knowledge Knowledge about a domain allows problem solving to be focused - it is not necessary to search exhaustively: useless branches need not be explored Explicit representations of knowledge allow a domain expert to understand the knowledge a system has, add to it, edit it, and so on Knowledge engineering Comparatively simple algorithms can be used to reason with the knowledge and derive new knowledge 5 What is Knowledge? Knowledge is information about some domain or subject area, or about how to do something Knowledge can take many forms. Some simple examples are: Eve is a female, Adam is a male Females with children are mothers Mothers are females, fathers are males cf. Prolog facts and rules 6 1

How to Represent Knowledge? Computer Language Why don t we use natural languages (e.g. English) to represent knowledge? Natural language is certainly expressive enough! But it is also too ambiguous for automated reasoning No clear semantics Syntactic ambiguities Fruit flies like bananas Semantic ambiguities bank can be river bank or financial bank What about computer languages? 7 8 Databases Simple databases are commonly used to good effect in computer science They can be use to store and manipulate virtually any kind of information But storage and display are not enough - we also need to manipulate the knowledge 9 Databases as a KR Advantages Databases are well suited to efficiently representing and processing large amounts of data (and derivation from a database is virtually independent of its size) We can build on traditional database systems to process more complex and more powerful representational devices (e.g. frames) 10 Databases as a KR Disadvantages Only simple aspects of the problem domain can be accommodated We can represent entities, and relationships between entities, but not much more Prolog facts Reasoning is very simple. Basically, the only reasoning possible is simple lookup, and we usually need more sophisticated processing than that 11 Knowledge Representation So, how we represent knowledge in a form amenable to computer manipulation? Desirable features of a KR scheme representational adequacy inferential adequacy inferential efficiency well-defined syntax and semantics naturalness 12 2

Representational Adequacy A KR scheme must be able to represent the knowledge appropriate to our problem E.g. Chess: must represent type of piece, colour of piece, position Cannot permit two pieces on same square Some KR schemes are better for particular sorts of knowledge than others There is no one ideal KR scheme Inferential Adequacy A KR scheme must allow us to make new inferences from old knowledge It must make inferences that are sound - the new knowledge really does follow from the old knowledge complete - it should make all the right inferences Soundness is usually easy, completeness is often very hard 13 14 Inferential Efficiency A KR scheme should be tractable - make inferences in reasonable (polynomial) time Unfortunately, any KR scheme with significant expressive power is not going to be efficient Often, the more general a KR scheme is, the less efficient it is Use KR schemes tailored to problem domain - less general, but more efficient KR scheme with expressive power: first-order logic, is undecidable Prolog uses Horn Clauses a tractable subset of first order logic Syntax and Semantics It should be possible to tell whether any construction is grammatically correct how to read any particular construction - no ambiguity Thus a KR scheme should have a well defined syntax It should be possible to precisely determine, for any given construction, exactly what its meaning is (the circumstances under which it is true) Thus a KR scheme should have well defined semantics Syntax is easy, semantics is hard! 15 16 Example Arithmetics Syntax The expression A + B > 3 is correct while A + B > is not Semantics A + B > 3 evaluates to either true or false depending on the values of A and B Java if(bepolite) System.out.println("Good morning"); else System.out.println("I am busy"); 17 Naturalness Ideally, KR scheme should closely correspond to our way of thinking, reading, and writing Allow knowledge engineer to read and check knowledge base Again, the more general a KR scheme is, the less likely it is to be readable and understandable People may have preferences: logic is natural to some; some people like diagrams or graphs while others do not 18 3

Basic Approaches Neither natural languages nor traditional computer formalisms are good enough for KR Some alternative basic approaches are Rule-based systems (a.k.a. production systems) Expert systems Semantic networks Graphical representation convenient for knowledge engineers Logic Formal semantics 19 Rule-Based Systems Knowledge is specified as a collection of rules Each rule has the form condition > action which may be read if condition then action The condition (antecedent) is a pattern The action (consequent) is an operation to be performed if the rule fires Rules are applied to facts - unconditional statements that are assumed to be correct (at the time they are used) A rule can fire if the condition matches the facts 20 Example Rule Base Action is ADD this fact Rule-Based System Architecture A collection of rules A collection of facts A rule fires if a fact matches the condition of the rule - Mechanism that fires rules is inference engine Suppose F1: kiwi has feathers R1 fires so add F2: kiwi is a bird R2 fires so add F3: kiwi can fly R3 fires so add F4: kiwi is not scared of heights 21 22 What can we do with rules? See what new facts can be derived, e.g. F3: kiwi is not scared of heights Ask whether a fact is implied by the knowledge base and already known facts, e.g. Can a giraffe fly? Rule-Based Systems as KR Advantages These systems are very expressive The rules lead to a degree of modularity Disadvantages There is a lack of precise semantics for the rules The systems are not always efficient What if several rules match the facts? 23 24 4

Relation to Search Using rules can be thought of as just another form of search The sets of facts are states Rules are the operations on states This suggests that there are schemes for applying rules that are similar to search techniques We will look at these in the next lecture Summary Discussed the need for explicit knowledge representation Properties of KR schemes Rules as one such scheme Next time Algorithms for reasoning with rules 25 26 5