Production systems The Production System Cycle Conflict resolution Thermostat’s input-output behaviour Passenger input-output behaviour on the underground.

Slides:



Advertisements
Similar presentations
1 Knowledge Representation Introduction KR and Logic.
Advertisements

Rule-based representation
Russell and Norvig Chapter 7
Inference Rules Universal Instantiation Existential Generalization
Rulebase Expert System and Uncertainty. Rule-based ES Rules as a knowledge representation technique Type of rules :- relation, recommendation, directive,
Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
1 Computational Logic in Human Reasoning Robert Kowalski (Imperial College, United Kingdom) Formal logic was originally developed as a normative model.
Methods of Proof Chapter 7, Part II. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound) generation.
Logic.
Consciousness as awareness Levels of consciousness can be compiled and sometimes decompiled from one to another Compiling conscious into subconscious thought.
Intelligent systems Lecture 6 Rules, Semantic nets.
Logic programming  Combining declarative and procedural representations: Emergencies on the London Underground  Logic programming for proactive rather.
FT228/4 Knowledge Based Decision Support Systems Rule-Based Systems Ref: Artificial Intelligence A Guide to Intelligent Systems Michael Negnevitsky – Aungier.
Proof methods Proof methods divide into (roughly) two kinds: –Application of inference rules Legitimate (sound) generation of new sentences from old Proof.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
Class Project Due at end of finals week Essentially anything you want, so long as its AI related and I approve Any programming language you want In pairs.
1 5.0 Expert Systems Outline 5.1 Introduction 5.2 Rules for Knowledge Representation 5.3 Types of rules 5.4 Rule-based systems 5.5 Reasoning approaches.
Lecture 04 Rule Representation
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin.
1 Pertemuan 6 RULE-BASED SYSTEMS Matakuliah: H0383/Sistem Berbasis Pengetahuan Tahun: 2005 Versi: 1/0.
1 Chapter 9 Rules and Expert Systems. 2 Chapter 9 Contents (1) l Rules for Knowledge Representation l Rule Based Production Systems l Forward Chaining.
Rules and Expert Systems
Methods of Proof Chapter 7, second half.
Production Rules Rule-Based Systems. 2 Production Rules Specify what you should do or what you could conclude in different situations. Specify what you.
Knoweldge Representation & Reasoning
EXPERT SYSTEMS Part I.
Let remember from the previous lesson what is Knowledge representation
Chapter 3 Propositional Logic
Logical and Rule-Based Reasoning Part I. Logical Models and Reasoning Big Question: Do people think logically?
Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems (sections 2.7, 2.8,
Towards a Unifying Logic-Based Framework (TUF) for Computing Robert Kowalski Imperial College London joint work with Fariba Sadri (There is a paper with.
Propositional Resolution Computational LogicLecture 4 Michael Genesereth Spring 2005.
Knowledge based Humans use heuristics a great deal in their problem solving. Of course, if the heuristic does fail, it is necessary for the problem solver.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes Jan 19, 2012.
Chapter 9: Rules and Expert Systems Lora Streeter.
Logical Inference 2 rule based reasoning
Pattern-directed inference systems
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Logical Agents Logic Propositional Logic Summary
Logical Agents Chapter 7. Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic Equivalence,
Jess: A Rule-Based Programming Environment Reporter: Yu Lun Kuo Date: April 10, 2006 Expert System.
An Introduction to Artificial Intelligence – CE Chapter 7- Logical Agents Ramin Halavati
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes Jan 17, 2012.
Logical Agents Chapter 7. Knowledge bases Knowledge base (KB): set of sentences in a formal language Inference: deriving new sentences from the KB. E.g.:
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 15 of 41 Friday 24 September.
Inferencing in rule-based systems: forward and backward chaining.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
Reasoning with Propositional Logic automated processing of a simple knowledge base CD.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
1 UNIT-3 KNOWLEDGE REPRESENTATION. 2 Agents that reason logically(Logical agents) A Knowledge based Agent The Wumpus world environment Representation,
Forward and Backward Chaining
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.
Proof Methods for Propositional Logic CIS 391 – Intro to Artificial Intelligence.
Intelligent Agents Chapter 2. How do you design an intelligent agent? Definition: An intelligent agent perceives its environment via sensors and acts.
Conditionals in Computational Logic Bob Kowalski Imperial College London with acknowledgements to Fariba Sadri Keith Stenning Michiel van Lambalgen.
Artificial Intelligence: Applications
Artificial Intelligence Logical Agents Chapter 7.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
ECE457 Applied Artificial Intelligence Fall 2007 Lecture #6
EA C461 Artificial Intelligence
By P. S. Suryateja Asst. Professor, CSE Vishnu Institute of Technology
Chapter 9. Rules and Expert Systems
Logical Agents Chapter 7 Selected and slightly modified slides from
Artificial Intelligence
Chapter 9. Rules and Expert Systems
Methods of Proof Chapter 7, second half.
Presentation transcript:

Production systems The Production System Cycle Conflict resolution Thermostat’s input-output behaviour Passenger input-output behaviour on the underground Fox’s input-output behaviour Confusion between production rules and logical implications:

The world Agent ObservationsActions forward chaining The production system view of the relationship between an agent and the world ???

Production systems Declarative memory consisting of atomic sentences, and Procedures consisting of condition-action rules: If conditions C, then do actions A. look like logical implications, but do not have a logical semantics. Production system cycle: read a current input, use forward chaining to match the input against the conditions C of production rules, perform conflict-resolution to choose a single rule if more than one rule is satisfied, and execute the associated actions A.

Production systems Condition-action rules are similar to the behavioural psychologist’s descriptions of behaviour. but are used instead to generate behaviour. Conclusions are often expressed in the imperative, rather than in the declarative mood: If conditions then do actions. Hence the need for “conflict resolution”. (But they can also be expressed as recommendations for actions.)

Conflict resolution Several conflicting actions can be derived at the same time. For example: If someone attacks me, then attack them back. If someone attacks me, then get help. If someone attacks me, then try to escape. The agent needs to use “conflict resolution” to decide what to do. Decision strategies can use: Order in which rules are written Priority to more specific rules over more general rules Decision theoretic computation of utilities and probabilites, choosing the action(s) that have highest expected utility.

Thermostat’s input-output behaviour can be described in condition-action terms: If current temperature is T degrees and target temperature is T’ degrees and T < T’ - 2° then the thermostat turns on the heat. If current temperature is T degrees and target temperature is T’ degrees and T > T’ + 2° then the thermostat turns off the heat.

Thermostat’s input-output behaviour generated by condition-action rules: If current temperature is T degrees and target temperature is T’ degrees and T < T’ - 2° then turn on the heat. If current temperature is T degrees and target temperature is T’ degrees and T > T’ + 2° then turn off the heat.

Passenger behaviour can be described in condition-action terms: If a passenger observes an emergency on the underground, then the passenger presses the alarm signal button. Passenger behaviour can be generated by condition-action rules: If I observe an emergency on the underground, then I press the alarm signal button.

Fox’s behaviour can described in condition-action terms: If the fox sees that the crow has cheese, then the fox praises the crow. If the fox is near the cheese, then the fox picks up the cheese. Fox’s behaviour can be generated by condition-action rules: If I see that the crow has cheese, then the I praise the crow. If I am near the cheese, then I pick up the cheese.

Three kinds of production rules Logical rules that are used to reason forward (modus ponens). Reactive rules that implement stimulus-response associations. Pro-active rules that simulate goal-reduction: If goal G and conditions C then add H as a sub-goal. Production rules have an operational, but not a logical semantics.

Reactive rules typically have implicit goals (i.e. emergent goals) If it’s raining, then carry an umbrella. Implicit goal:Stay dry If it’s clear ahead, then step forward. If there’s an obstacle ahead, then turn right. Implicit goal: Explore? If a car is rushing towards you, then jump out of its way. Implicit goal: Avoid an accident

The use of production systems to simulate goal-reduction The fox’s reduction of the goal of having an object can be simulated by the condition-action rule: If I want to have an object then add to my beliefs that I want to be near the object and pick up the object. The simulation approach looses the connection with the belief: I have an object if I am near the object and I pick up the object.

Forward chaining with pro-active rules is ad-hoc and potentially incomplete does not distinguish between conjunction and disjunction of sub-goals. Production rules have an operational, but not a logical semantics. Abductive logic programming (ALP) gives a logical semantics to production systems.

Example (Thagard, page 45) “Unlike logic, rule-based systems can also easily represent strategic information about what to do”: If you want to go home and you have the bus fare, then you can catch a bus. Forward reasoning with the rule simulates backward reasoning with the belief: You go home if you have the bus fare and you catch a bus.