Limitations of First-Order Logic

Slides:



Advertisements
Similar presentations
Limitations of First-Order Logic higher-order logics – quantify over predicates –define reflexive properties: all properties P for which x P(x,x) –induction:
Advertisements

Logic: The Big Picture Propositional logic: atomic statements are facts –Inference via resolution is sound and complete (though likely computationally.
Big Ideas in Cmput366. Search Blind Search State space representation Iterative deepening Heuristic Search A*, f(n)=g(n)+h(n), admissible heuristics Local.
Introduction to Truth Maintenance Systems A Truth Maintenance System (TMS) is a PS module responsible for: 1.Enforcing logical relations among beliefs.
Logic Programming Automated Reasoning in practice.
Truth Maintenance Systems. Outline What is a TMS? Basic TMS model Justification-based TMS.
Uncertainty in Expert Systems (Certainty Factors).
Default Reasoning the problem: in FOL, universally-quantified rules cannot have exceptions –  x bird(x)  can_fly(x) –bird(tweety) –bird(opus)  can_fly(opus)
1 DCP 1172 Introduction to Artificial Intelligence Chang-Sheng Chen Topics Covered: Introduction to Nonmonotonic Logic.
The ancestor problem For the ancestor problem we have the following rules in AnsProlog: anc(X,Y)
Converting formulas into a normal form Consider the following FOL formula stating that a brick is an object which is on another object which is not a pyramid,
Knowledge Representation CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Agents That Reason Logically Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 7 Spring 2004.
Logic.
Knowledge Representation
Everything You Need to Know (since the midterm). Diagnosis Abductive diagnosis: a minimal set of (positive and negative) assumptions that entails the.
For Friday Finish chapter 10 No homework (get started on program 2)
1 Chapter 13 Uncertainty Types of uncertainty Predicate logic and uncertainty Nonmonotonic logics Truth Maintenance Systems Fuzzy sets.
Intelligent systems Lecture 6 Rules, Semantic nets.
Extensions to FOL. When the form of the statements provides useful information Rule-based systems Frame systems When FOL isn’t enough Default reasoning.
Cs774 (Prasad)L7Negation1 Negation by Failure
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
A Probabilistic Framework for Information Integration and Retrieval on the Semantic Web by Livia Predoiu, Heiner Stuckenschmidt Institute of Computer Science,
1 Reasoning in Uncertain Situations 8a 8.0Introduction 8.1Logic-Based Abductive Inference 8.2Abduction: Alternatives to Logic 8.3The Stochastic Approach.
Knowledge Representation I (Propositional Logic) CSE 473.
CS 561, Sessions 28 1 Uncertainty Probability Syntax Semantics Inference rules.
Objects Objects are at the heart of the Object Oriented Paradigm What is an object?
Intro to AI Fall 2002 © L. Joskowicz 1 Introduction to Artificial Intelligence LECTURE 11: Nonmonotonic Reasoning Motivation: beyond FOL + resolution Closed-world.
KNOWLEDGE REPRESENTATION, REASONING AND DECLARATIVE PROBLEM SOLVING Chitta Baral Arizona State University Tempe, AZ
Uncertainty Chapter 13.
NONMONOTONIC LOGIC AHMED SALMAN MALIK. OVERVIEW Monotonic Logic Nonmonotonic Logic Usage and Applications Comparison with other forms of logic Related.
Knowledge representation methods جلسه سوم. KR is AI bottleneck The most important ingredient in any expert system is knowledge. The power of expert systems.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
Uncertainty1 Uncertainty Russell and Norvig: Chapter 14 Russell and Norvig: Chapter 13 CS121 – Winter 2003.
For Friday Exam 1. For Monday No reading Take home portion of exam due.
Learning by Answer Sets Chiaki Sakama Wakayama University, Japan Presented at AAAI Spring Symposium on Answer Set Programming, March 2001.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
Logical Agents Logic Propositional Logic Summary
Semantic Nets, Frames, World Representation CS – W February, 2004.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
The AI War LISP and Prolog Basic Concepts of Logic Programming
For Friday Read Homework: –Chapter 10, exercise 22 I strongly encourage you to tackle this together. You may work in groups of up to 4 people.
Uncertainty in AI. Birds can fly, right? Seems like common sense knowledge.
For Friday Read Chapter 11, sections 1 and 2 Homework: –Chapter 10, exercises 1 and 5.
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?
1 Knowledge Based Systems (CM0377) Introductory lecture (Last revised 28th January 2002)
For Wednesday Read chapter 13 No homework. Program 2 Any questions?
Artificial Intelligence Knowledge Representation.
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
Definition and Technologies Knowledge Representation.
CHAPTER 5 Handling Uncertainty BIC 3337 EXPERT SYSTEM.
Recursive stack-based version of Back-chaining using Propositional Logic
Knowledge Representation
Symbolic Reasoning under uncertainty
Uncertainty Chapter 13.
Rules, RIF and RuleML.
Artificial Intelligence (CS 370D)
Interval Logic Axioms Meet(i, j)  End(i)= Begin(j)
Uncertainty in AI.
Reasoning with Uncertainty
Knowledge Representation and Inference
Probabilistic Reasoning; Network-based reasoning
Logic Use mathematical deduction to derive new knowledge.
Weak Slot-and-Filler Structures
Reasoning with Uncertainty Piyush Porwal ( ) Rohit Jhunjhunwala ( ) Srivatsa R. ( ) Under the guidance of Prof. Pushpak Bhattacharyya.
Logical reasoning systems
Answer Set Programming
Logical Inference 4 wrap up
Logical reasoning systems
Presentation transcript:

Limitations of First-Order Logic FOL is very expressive, but... consider how to translate these: "most students graduate in 4 years" x student(x) → duration(undergrad)years(4) ??? "only a few students switch majors" s,m1,m2,t1,t2 student(s)^major(s,m1,t1)major(s,m2,t2) m1m2  t1t2 ??? "all students must take Communications, except Joe" The problems involve: default rules & exceptions degrees of truth strength of rules

Solutions Closed-World Assumption in PROLOG Non-monotonic logics Semantic Networks Fuzzy Logic Bayesian Probability

Closed-World Assumption (CWA) in PROLOG every fact that is not asserted is assumed to be false - very handy example facts: query with negation: how is this implemented? how does this affect reasoning/inference? modify back-chaining to handle negative antecedents: "Negation-as-failure" when trying to prove ¬P(X) on goal stack, try proving P(X) and if fail then ¬P(X) succeeds

Non-monotonic Logics allow retractions later (popular for truth- maintenance systems) "birds fly", "penguins are birds that don't fly" x bird(x)→fly(x) x penguin(x)→bird(x), x penguin(x)→¬fly(x) bird(tweety), bird(opus) |= fly(opus) later, add that opus is a penguin, change inference penguin(opus) |= ¬fly(opus) Definition: A logic is monotonic if everything that is entailed by a set of sentences a is entailed by any superset of sentences ab opus example is non-monotonic

example syntax of default rule bird(x): fly(x) / fly(x) or bird(x) ≻ fly(x) semantics: "if PRECOND is satisfied and it is not inconsistent to believe CONSEQ, then CONSEQ" Circumscription add abnormal predicates to rules x bird(x)¬abnormal1(x)→fly(x) x penguin(x) ¬abnormal2(x) →bird(x) x penguin(x) ¬abnormal3(x) →¬fly(x) algorithm: minimize number of abnormals needed to make KB consistent {bird(tweety),fly(tweety),bird(opus),penguin(opus), ¬fly(opus)} is INCONSISTENT {bird(tweety),fly(tweety),bird(opus),penguin(opus), ¬fly(opus), abnormal1(opus)} is CONSISTENT

Semantic Networks graphical representation of knowledge nodes, slots, edges, "isa" links procedural mechanism for answering queries follow links different than formal definition of "entailment" inheritance can override defaults related to Description Logics popular for large medical knowledge bases of anatomy, diseases, injuries, procedures...

Fuzzy Logic some expressions involve "degrees" of truth, like "John is tall" membership function "most students with high SATs have high GPAs" inference by computing with membership funcs. "only days that are warm and not windy are good for playing frisbee" suppose today is 85 and the wind is 15 kts NE T(A^B) = min(T(A),T(B)) T(AvB) = max(T(A),T(B)) popular for control applications (like thermostats...)

warm not windy windy 1.0 wind speed 0.4 15 85 temp: 30 100 0kts 50 kts wind: speed temp

Probability conditional probabilities play role of rules people with a toothache are likely to have a cavity p(cavity|toothache) = 0.6 joint probabilities, priors Bayes Rule

Bayesian Networks graphical models where edges represent conditional probabilities popular for modern AI systems (expert systems) important for handling uncertainty =