Probabilistic Representation and Reasoning

Similar documents
PROBABILISTIC REASONING SYSTEMS

Quantifying uncertainty & Bayesian networks

Bayesian networks. Chapter 14, Sections 1 4

Bayesian Networks. Semantics of Bayes Nets. Example (Binary valued Variables) CSC384: Intro to Artificial Intelligence Reasoning under Uncertainty-III

CS 5522: Artificial Intelligence II

Directed Graphical Models

CS 188: Artificial Intelligence Fall 2009

12. Vagueness, Uncertainty and Degrees of Belief

Probabilistic Reasoning Systems

CS 343: Artificial Intelligence

Objectives. Probabilistic Reasoning Systems. Outline. Independence. Conditional independence. Conditional independence II.

Probabilistic Reasoning. (Mostly using Bayesian Networks)

Informatics 2D Reasoning and Agents Semester 2,

Bayesian networks. Chapter Chapter

CS 188: Artificial Intelligence Spring Announcements

Reasoning Under Uncertainty

COMP5211 Lecture Note on Reasoning under Uncertainty

Bayesian networks. Soleymani. CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2018

Uncertainty. Logic and Uncertainty. Russell & Norvig. Readings: Chapter 13. One problem with logical-agent approaches: C:145 Artificial

Quantifying Uncertainty & Probabilistic Reasoning. Abdulla AlKhenji Khaled AlEmadi Mohammed AlAnsari

Probabilistic representation and reasoning

CS 2750: Machine Learning. Bayesian Networks. Prof. Adriana Kovashka University of Pittsburgh March 14, 2016

Uncertainty. Introduction to Artificial Intelligence CS 151 Lecture 2 April 1, CS151, Spring 2004

CSE 473: Artificial Intelligence Autumn 2011

Probability. CS 3793/5233 Artificial Intelligence Probability 1

Bayesian Networks. Vibhav Gogate The University of Texas at Dallas

Graphical Models - Part I

Uncertainty. Russell & Norvig Chapter 13.

Bayesian Networks BY: MOHAMAD ALSABBAGH

Review: Bayesian learning and inference

Probabilistic Models

Y. Xiang, Inference with Uncertain Knowledge 1

Bayesian Networks. Vibhav Gogate The University of Texas at Dallas

Probabilistic Reasoning. Kee-Eung Kim KAIST Computer Science

CS 188: Artificial Intelligence Fall 2008

Announcements. CS 188: Artificial Intelligence Spring Probability recap. Outline. Bayes Nets: Big Picture. Graphical Model Notation

Outline. CSE 573: Artificial Intelligence Autumn Bayes Nets: Big Picture. Bayes Net Semantics. Hidden Markov Models. Example Bayes Net: Car

Reasoning Under Uncertainty

CS 484 Data Mining. Classification 7. Some slides are from Professor Padhraic Smyth at UC Irvine

Probabilistic Models. Models describe how (a portion of) the world works

Introduction to Artificial Intelligence Belief networks

Bayesian Networks. Material used

Introduction to Probabilistic Reasoning. Image credit: NASA. Assignment

School of EECS Washington State University. Artificial Intelligence

Foundations of Artificial Intelligence

CS 380: ARTIFICIAL INTELLIGENCE UNCERTAINTY. Santiago Ontañón

Probabilistic representation and reasoning

Ch.6 Uncertain Knowledge. Logic and Uncertainty. Representation. One problem with logical approaches: Department of Computer Science

COS402- Artificial Intelligence Fall Lecture 10: Bayesian Networks & Exact Inference

Inference in Bayesian Networks

Uncertainty. 22c:145 Artificial Intelligence. Problem of Logic Agents. Foundations of Probability. Axioms of Probability

Artificial Intelligence

A Partition-Based First-Order Probabilistic Logic to Represent Interactive Beliefs

COMP9414: Artificial Intelligence Reasoning Under Uncertainty

Axioms of Probability? Notation. Bayesian Networks. Bayesian Networks. Today we ll introduce Bayesian Networks.

Brief Intro. to Bayesian Networks. Extracted and modified from four lectures in Intro to AI, Spring 2008 Paul S. Rosenbloom

CS 5522: Artificial Intelligence II

Uncertainty and Bayesian Networks

Artificial Intelligence Bayes Nets: Independence

Quantifying Uncertainty

Bayesian Networks. Motivation

Bayesian Network. Outline. Bayesian Network. Syntax Semantics Exact inference by enumeration Exact inference by variable elimination

14 PROBABILISTIC REASONING

Probabilistic Reasoning

Uncertainty. Outline

Introduction to Artificial Intelligence. Unit # 11

CS 561: Artificial Intelligence

This lecture. Reading. Conditional Independence Bayesian (Belief) Networks: Syntax and semantics. Chapter CS151, Spring 2004

Bayesian belief networks

Lecture 10: Introduction to reasoning under uncertainty. Uncertainty

Bayesian networks. Chapter AIMA2e Slides, Stuart Russell and Peter Norvig, Completed by Kazim Fouladi, Fall 2008 Chapter 14.

last two digits of your SID

Uncertainty and Belief Networks. Introduction to Artificial Intelligence CS 151 Lecture 1 continued Ok, Lecture 2!

Bayes Networks 6.872/HST.950

Recall from last time: Conditional probabilities. Lecture 2: Belief (Bayesian) networks. Bayes ball. Example (continued) Example: Inference problem

Artificial Intelligence Uncertainty

Artificial Intelligence Bayesian Networks

Logic and Bayesian Networks

Probabilistic Graphical Models and Bayesian Networks. Artificial Intelligence Bert Huang Virginia Tech

Bayes Nets: Independence

Defining Things in Terms of Joint Probability Distribution. Today s Lecture. Lecture 17: Uncertainty 2. Victor R. Lesser

COMP9414/ 9814/ 3411: Artificial Intelligence. 14. Uncertainty. Russell & Norvig, Chapter 13. UNSW c AIMA, 2004, Alan Blair, 2012

Bayesian Belief Network

Where are we? Knowledge Engineering Semester 2, Reasoning under Uncertainty. Probabilistic Reasoning

An AI-ish view of Probability, Conditional Probability & Bayes Theorem

10/18/2017. An AI-ish view of Probability, Conditional Probability & Bayes Theorem. Making decisions under uncertainty.

Basic Probability and Statistics

Probabilistic Models Bayesian Networks Markov Random Fields Inference. Graphical Models. Foundations of Data Analysis

CS 188: Artificial Intelligence. Bayes Nets

Bayesian Networks. Machine Learning, Fall Slides based on material from the Russell and Norvig AI Book, Ch. 14

Outline } Conditional independence } Bayesian networks: syntax and semantics } Exact inference } Approximate inference AIMA Slides cstuart Russell and

Reasoning under Uncertainty

Bayesian networks (1) Lirong Xia

CMPSCI 240: Reasoning about Uncertainty

Uncertainty. Chapter 13

p(x) p(x Z) = y p(y X, Z) = αp(x Y, Z)p(Y Z)

CS 188: Artificial Intelligence Spring Announcements

COMP538: Introduction to Bayesian Networks

CSE 473: Artificial Intelligence

Machine learning: lecture 20. Tommi S. Jaakkola MIT CSAIL

Transcription:

Probabilistic Representation and Reasoning Alessandro Panella Department of Computer Science University of Illinois at Chicago May 4, 2010 Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 1 / 21

Sources R.J. Brachman and H.J. Levesque, Knowledge Representation and Reasoning, Elsevier, 2003 S. Russell and P. Norvig, Artificial Intelligence: A Modern Approach, 2nd ed., Prentice Hall, 2003 Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 2 / 21

Outline 1 Introduction Motivations General Concepts 2 Probability and Probability Theory Beyond BNs: FOL of probability Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 3 / 21

What is the problem? Introduction Motivations Commonsense knowledge is not always categorical. x(bird(x) = Flies(x)) fails to capture much of what we could think and/or say about the world....the world is non-categorical! Statistical information. Personal belief. Imperfect measure tools. Unreliable information. Fuzzy concepts (vagueness).... Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 5 / 21

Introduction Uncertainty Vagueness General Concepts John is probably tall vs. John is quite tall. Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 6 / 21

Introduction Different flavors of probability General Concepts Statistical information about the domain. Things are usually (rarely, almost always,...) a certain way. "90% of birds fly" x(p(bird(x) = Flies(x)) = 0.9) Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 7 / 21

Introduction General Concepts Different flavors of probability (Cont d) Degree of belief. Laziness, ignorance. P(Flies(Tweety)) = 0.75 P( x(bird(x) = Flies(x))) = 0.6 Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 8 / 21

Introduction From statistics to beliefs General Concepts Going from statistical information to a degree of belief. e.g. "90% of birds fly" P(Flies(Tweety)) = 0.9 Usual procedure (Direct Inference): Find a reference class. Use statistics for that class to compute degree of belief. Problem: multiple reference classes. Example: what is the probability that Eric is tall? A 20% of American males are tall. B 25% of Californian males are tall. C Eric is from California. D 13% of computer scientists are tall. Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 9 / 21

Introduction General Concepts Objective vs. Subjective probability A philosophical debate Objectivistic view Probabilities are real aspects of the universe, propensities of objects to be a certain way. Independent on who is assessing the probability. Philosophical position supporting frequentist statistics. Subjectivistic view Probability is the degree of belief of the observer, no physical significance. Philosophical position supporting Bayesian statistics. In the end, this distinction has little practical significance. Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 10 / 21

Probability Theory Preliminary Concepts Sample space U: every possible outcome Events a i U B set of all possible events Probability function Pr : B [0, 1] Axioms of probability 0 Pr(a) 0 1 Pr(U) = 1 2 If a 1,..., a n are disjoint events, then Pr(a 1... a n ) = n i=0 Pr(a i) It follows 3 Pr(a) = 1 Pr(a) 4 Pr( ) = 0 Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 12 / 21

Conditioning and Bayes Rule Probability Theory 1 Conditional probability: Pr(a b) = Pr(a b) Pr(b) 2 Conditional independence: Pr(a s) = Pr(a s, b) Independece: S = 3 Conjunction: Pr(ab) = Pr(a b) Pr(b) 4 If {b 1,..., b n } is a partitioning of U then Pr(a) = n i=0 Pr(a b i) Pr(b i ) 5 Bayes Rule Pr(a b) = Pr(b a) Pr(a) Pr(b) Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 13 / 21

Probability Theory Random Variables and Joint Probability (Propositional) random variable (r.v.): "feature" of the world whose value is uncertain. e.g. X 1 outcome of the first coin toss. Might be discrete or continue. Interpretation I U: specification of the value for every r.v. Joint probability distribution J(I): degree of belief the agent assigns to interpretation I. 0 J(I) 1 and J(I) = 1 I For any event a, Pr(a) = I =a J(I) Not useful for calculation: exponential number of interpretations. Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 14 / 21

A Bayesian (or belief) Network (BN) is a direct acyclic graph where: nodes P i are r.v.s arcs represent (intuitively) direct dependency relations each node has a conditional probability distribution Pr(P i Parents(P i )) Weather Cavity Toothache Catch (from AIMA, 2ed) Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 15 / 21

Basic property A node is conditionally independent from its non-descendants, given its parents. U 1... U m X Z 1j Z nj Y 1... Y n Full joint distribution. Pr(I) = Pr(p 1,..., p n ) = Usually requires much less space. (from AIMA, 2ed) n Pr(p i Parents(P i )) Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 16 / 21 i=1

An example Burglary P(B).001 Earthquake P(E).002 Alarm B T T F F E T F T F P(A).95.94.29.001 JohnCalls A T F P(J).90.05 MaryCalls A T F P(M).70.01 (from AIMA, 2ed) Pr(j m a b e) = Pr(j a) Pr(m a) Pr(a b e) Pr( b) Pr( e) = 0.9 0.7 0.001 0.999 0.998 = 0.00062 Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 17 / 21

Queries in BNs Query variable X X Set of evidence variables E Set of nonevidence variables Y = X \ (X E) Pr(X e) = α Pr(X, e) = α y Pr(X, e, y) Example Pr(b j, m) = α e = α e Pr(b, e, a, j, m) a Pr(b) Pr(e) Pr(a b, e) Pr(j a) Pr(m a) a Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 18 / 21

Computational complexity of BN inference Naive computation: O(n2 n ) Depth-first computation: O(2 n ) Some terms are recurrent Dynamic programming approach (Variable Elimination) Linear time for polytrees (at most one path between any two nodes) Exponential complexity in general Join tree algorithms are usually used in commercial tools. Not surprising: BN Propositional Logic Inference is #P-hard Need for approximate techniques Many forms of sampling algorithms. Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 19 / 21

Beyond BNs FOL BNs are essentially propositional. Finite and fixed set of variables, with a fixed domain. Don t capture regularities of the domain. Extend probability to First-Order First-Order Probabilistic Languages (FOPL). Theoretical difficulties [Halpern 1990]. Need to restrict the semantics. Several approaches Bayesian Logic (BLOG) [Milch et al.] Markov Logic Networks [Domingos et al.] Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 20 / 21

FOL Alessandro Panella (CS Dept. - UIC) Probabilistic Representation and Reasoning May 4, 2010 21 / 21