Chapter 6

 

Knowledge-Based Agent

Agents that know about their world and reason about possible courses of action.

 

May be able to accept new tasks in the form of explicitly described goals.  Can learn new knowledge about environment.  Needs to know:

 

Design of Knowledge-Based Agent

 

3 levels of description of KB agent:

 

Declarative approach: build knowledge from sentences.  Not procedural.  May also include a learning approach, for acquiring new sentences.  (easier than learning new procedural knowledge?)

 

153-157 Wumpus Example Interesting

 

Representation, Reasoning and Logic

 

Goal of knowledge representation: express knowledge in computer-tractable form so it can be used to help agent perform well.  Two aspects:

 

If syntax and semantics are defined precisely, call the language a logic.

 

Fact is part of world, representation is inside computer.

Proper reasoning ensures that representation-entails->rep only when facts -follow-> facts (i.e., correspondence between logical entailment in representation and real world).

 

Goal of KB is to generate new sentences that are necessarily true, given that the old sentences are true.  This relation is called entailment.  Two ways for inference procedure to operate:

 

Inference procedure that generates only entailed sentences is called sound or truth preserving. 

 

In the inference procedure:

 

Representation

Programming language

Natural language

Goals for representation

 

First-order logic forms basis of most representation schemes in AI.  - Specifics of logical notation not important, main thing is how a precise formal language represents knowledge and how mechanical procedures can operate on knowledge to perform

reasoning.

 

Semantics

 

Inference

 

Computer inference

 

Logic

 

Propositional logic

 

First-order logic

 

Ontology - nature of reality... True or False in propositional.  Properties of objects and relationships between them in first-order.

 

Temporal logic - set of time points, can reason about time.

 

Epistemology - states of knowledge.  What can we know?  For these logics, have three states of belief: believe true, believe false, or be unable to conclude.  Some systems will have degrees of belief or assign a degree of truth (fuzzy).

 

 

Propositional Logic

Syntax:

A sentence consists of:

 

 

Semantics

 

Validity and Inference

 

Models

Any world in which a sentence is true under a particular interpretation is called a model of that sentence under that interpretation

May be many models for given sentence

More claims -> fewer models

 

Rules of inference for prepositional logic

 

7 common inference rules (Figure 6.13)

 

Complexity

 

How to represent problems in prepositional logic

Read Wumpus World example

 

Limitations of propositional logic