Uncertainty. Logic and Uncertainty. Russell & Norvig. Readings: Chapter 13. One problem with logical-agent approaches: C:145 Artificial
|
|
- Hope Hubbard
- 5 years ago
- Views:
Transcription
1 C:145 Artificial Uncertainty Readings: Chapter 13 Russell & Norvig. Artificial Intelligence p.1/43 Logic and Uncertainty One problem with logical-agent approaches: Agents almost never have access to the whole truth about their environments. Very often, even in simple worlds, there are important questions for which there is no boolean answer. In that case, an agent must reason under uncertainty. Uncertainty also arises because of an agent s incomplete or incorrect understanding of its environment.
2 Uncertainty Let action L t = leave for airport t minutes before flight. Will L t get me there on time? Problems partial observability (road state, other drivers plans, etc.) noisy sensors (unreliable traffic reports) uncertainty in action outcomes (flat tire, etc.) immense complexity of modelling and predicting traffic Hence a purely logical approach either 1. risks falsehood ( A 25 will get me there on time ), or 2. leads to conclusions that are too weak for decision making ( A 25 will get me there on time if there s no Artificial Intelligence p.3/43 accident on the way, it doesn t rain, my tires remain intact, Reasoning under Uncertainty A rational agent is one that makes rational decisions (in order to maximize its performance measure). A rational decision depends on the relative importance of various goals, the likelihood they will be achieved the degree to which they will be achieved.
3 Handling Uncertain Knowledge Reasons FOL-based approaches fail to cope with domains like medical diagnosis: Laziness: too much work to write complete axioms, or too hard to work with the enormous sentences that result. Theoretical Ignorance: The available knowledge of the domain is incomplete. Practical Ignorance: The theoretical knowledge of the domain is complete but some evidential facts are missing. Artificial Intelligence p.5/43 Degrees of Belief In several real-world domains the agent s knowledge can only provide a degree of belief in the relevant sentences. The agent cannot say whether a sentence is true, but only that is true x% of the times. The main tool for handling degrees of belief is Probability Theory. The use of probability summarizes the uncertainty that stems from our laziness or ignorance about the domain.
4 Probability Theory Probability Theory makes the same ontological commitments as FOL: Every sentence ϕ is either true or false. The degree of belief that ϕ is true is a number P between 0 and 1. P(ϕ) = 1 ϕ is certainly true. P(ϕ) = 0 ϕ is certainly not true. P(ϕ) = 0.65 ϕ is true with a 65% chance. Artificial Intelligence p.7/43 Probability of Facts Let A be a propositional variable, a symbol denoting a proposition that is either true or false. P(A) denotes the probability that A is true in the absence of any other information. Similarly, P( A) = probability that A is false P(A B) = P(A B) = probability that both A and B are true probability that either A or B (or both) are true Examples: P( Blonde) P(Blonde BlueEyed) P(Blonde BlueEyed)
5 Conditional/Unconditional Probability P(A) is the unconditional (or prior) probability of fact A. An agent can use unconditional probability of A to reason about A only in the absence of no further information. If some further evidence B becomes available, the agent must use the conditional (or posterior) probability: P(A B) the probability of A given that all the agent knows is B. Note: P(A) can be thought as the conditional probability of A with respect to the empty evidence: P(A) = P(A ). Artificial Intelligence p.9/43 Conditional Probabilities The probability of a fact may change as the agent acquires more, or different, information: 1. P(Blonde) 2. P(Blonde Swedish) 3. P(Blonde Kenian) 4. P(Blonde Kenian EuroDescent) 1. If we know nothing about a person, the probability that he/she is blonde equals a certain value, say If we know that a person is Swedish the probability that s/he is blonde is much higher, say If we know that the person is Kenyan, the probability s/he is blonde much lower, say If we know that the person is Kenyan and not of European descent, the probability s/he is blonde is
6 The Axioms of Probability Probability Theory is governed by the following axioms: 1. All probabilities are between 0 and 1. for all ϕ, 0 P(ϕ) 1 2. Valid propositions have probability 1. Unsatisfiable propositions have probability 0. P(α α) = 1 P(α α) = 0 3. The probability of disjunction is defined as follows. P(α β) = P(α)+P(β) P(α β) Artificial Intelligence p.11/43 Understanding Axiom 3 P(A B) = P(A)+P(B) P(A B)
7 Conditional Probabilities Conditional probabilities are defined in terms of unconditional ones, whenever P(B) > 0, P(A B) = P(A B) P(B) The same thing can be written as the product rule: P(A B) = P(A B)P(B) = P(B A)P(A) A and B are independent iff P(A B) = P(A) (or P(B A) = P(B), or P(A B) = P(A)P(B)). Artificial Intelligence p.13/43 Random Variable A random variable is a variable ranging over a certain domain of values. It is discrete if it ranges over a discrete (that is, countable) domain. continuous if it ranges over the real numbers. We will only consider discrete random variables with finite domains. Propositional variables can be seen as random variables over the Boolean domain.
8 Variable Random Variables Domain Age {1,2,...,120} W eather {sunny, dry, cloudy, rain, snow} Size {small, medium, large} Blonde {true, f alse} The probability that a random variable X has value val a is written as P(X = val) Note: P(X = true) is written simply as P(X). P(X = false) is written as P( X). a In Probability Theory, contrary to First-Order Logic, variables are capitalized and constant values are not. Artificial Intelligence p.15/43 Probability Distribution If X is a random variable, we use the bold case P(X) to denote a vector of values for the probabilites of each individual element that X can take. Example: P(Weather = sunny) = 0.6 P(Weather = rain) = 0.2 P(Weather = cloudy) = 0.18 P(Weather = snow) = 0.02 Then P(W eather) = 0.6, 0.2, 0.18, 0.02 (the value order of sunny, rain, cloudy, snow is assumed). P(Weather) is called a probability distribution for the random
9 Joint Probability Distribution If X 1,...,X n are random variables, P(X 1,...,X n ) denotes their joint probability distribution (JPD), an n-dimensional matrix specifying the probability of every possible combination of values for X 1,...,X n. Example Sky : {sunny, cloudy, rain, snow} Wind : {true,false} P(W ind, Sky) = sunny cloudy rain snow true f alse Artificial Intelligence p.17/43 Joint Probability Distribution All relevant probabilities about a vector X 1,...,X n of random variables can be computed from P(X 1,...,X n ). S = sunny S = cloudy S = rain S = snow P(W) W W P(S) P(S = rain W) = 0.17 P(W) = = 0.63 P(S = rain) = = 0.18 P(S = rain W) = P(S = rain W)/P(W) = 0.17/0.63 = 0.27
10 Joint Probability Distribution A joint probability distribution P(X 1,...,X n ) provides complete information about the probabilities of its random variables. However, JPD s are often hard to create (again because of incomplete knowledge of the domain). Even when available, JPD tables are very expensive, or impossible, to store because of their size. A JPD table for n random variables, each ranging over k distinct values, has k n entries! A better approach is to come up with conditional probabilities as needed and compute the others from them. Artificial Intelligence p.19/43 An alternative to JPD: The Bayes Rule Recall that for any fact A and B, P(A B) = P(A B)P(B) = P(B A)P(A) From this we obtain the Bayes Rule: P(B A) = P(A B)P(B) P(A) The rule is useful in practice because it is often easier to figure out P(A B), P(B), P(A) than to figure out P(B A) directly.
11 Applying the Bayes Rule What is the probability that a patient has meningitis (M) given that he has a stiff neck (S)? P(M S) = P(S M)P(M) P(S) P(S M) is easier to estimate than P(M S) because it refers to causal knowledge: meningitis typically causes stiff neck. P(S M) can be estimated from past medical cases and the knowledge about how meningitis works. Similarly, P(M),P(S) can be estimated from statistical information. Artificial Intelligence p.21/43 Applying the Bayes Rule The Bayes rule is helpful even in absence of (immediate) causal relationships. What is the probability that a blonde (B) is Swedish (S)? P(S B) = P(B S)P(S) P(B) All P(B S),P(S),P(B) are easily estimated from statistical information. P(B S) P(S) P(B) # of blonde Swedish Swedish population = 9 10 Swedish population world population =... # of blondes world population =...
12 Conditional Independence In terms of exponential explosion, conditional probabilities do not seem any better than JPD s for computing the probability of a fact, given n > 1 pieces of evidence. P(Meningitis StiffNeck Nausea DoubleVision) However, certain facts do not always depend on all the evidence. P(Meningitis StiffNeck Astigmatic) = P(Meningitis StiffNeck) Meningitis and Astigmatic are conditionally independent, given StiffNeck. Artificial Intelligence p.23/43 Bayesian Networks Conditional independence information is crucial to making (automated) probabilistic reasoning feasible. Bayesian Networks are a successful example of probabilistic systems that exploit conditional independence to reason effectively under uncertainty.
13 Making Probabilistic Reasoning Feasible A joint probability distribution (JPD) contains all the relevant information to reason about the various kinds of probabilities of a set {X 1,...,X n } of random variables. Unfortunately, JPD tables are difficult to create and also very expensive to store. One possibility is to work with conditional probabilities and exploit the fact that many random variables are conditionally independent. Belief Networks are a successful example of probabilistic systems that exploit conditional independence to reason effectively under uncertainty. Artificial Intelligence p.25/43 Review of Some Concepts JPD is a collection of probabilties: P(X 1,...,X n ) = {P(X 1 = x 1 X n = x n ) x i Domain(X i )} Conditional Probability: P(X 1 = x 1 X 2 = x 2 ) = P(X 1=x 1 X 2 =x 2 ) P(X 2 =x 2 ) P(X 1 = x 1 X 2 = x 2 ) = P(X 1 = x 1 X 2 = x 2 )P(X 2 = x 2 ) or P(X 1 = x 1 X 2 = x 2,...,X n = x n ) = P(X 1=x 1 X 2 =x 2 X n =x n ) P(X 2 =x 2 X n =x n ) P(X 1 = x 1 X 2 = x 2 X n = x n ) or = P(X 1 = x 1 X 2 = x 2,...,X n = x n )P(X 2 = x 2 X n = x n ) = n i=1 P(X i = x i X i+1 = x i+1,...,x n = x n )
14 Review of Some Concepts (2) Conditional Independence: If P(X 1 = x 1 X 2 = x 2,...,X n = x n ) = P(X 1 = x 1 X 2 = x 2,...,X n 1 = x n 1 ) then we say X 1 = x 1 is conditionally indepedent of X n = x n given the evidence of X 2 = x 2,...,X n 1 = x n 1. Artificial Intelligence p.27/43 Belief Networks Let X 1,...,X n be random variables. A belief network (or Bayesian network) for X 1,...,X n is a graph with m nodes such that there is a node for each X i, all the edges between two nodes are directed, there are no cycles, each node has a conditional probability table (CPT), given in terms of the node s parents. The intuitive meaning of an edge from a node X i to a node X j is that X i has a direct influence on X j.
15 Conditional Probability Tables Each node X i in a belief network has a CPT expressing the probability of X i, given its parents as evidence. CPT for Alarm: Alarm Burglary Earthquake T F T T T F F T F F For instance, the value of P(Alarm Burglary Earthquake) is given in position (1,1) of the table; the value of P( Alarm Burglary Earthquake) is given in position (3,2) of the table. Artificial Intelligence p.29/43 A Belief Network with CPTs Note: The tables only show P(X) here because P( X) = 1 P(X).
16 The Semantics of Belief Networks There are two, equivalent, ways to interpret a belief network for the variables X 1,...,X n : 1. The network is a representation of the JPD P(X 1,...,X n ). 2. The network is a collection of conditional dependence statements about X 1,...,X n. Interpretation 1 is helpful in understanding how to construct belief networks. Interpretation 2 is helpful in designing inference procedures on top of them. Artificial Intelligence p.31/43 Belief Network as Joints The whole joint P(X 1,...,X n ) can be computed from a belief network for X 1,...,X n and its CPTs. For each tuple x 1,...,x n of possible values for X 1,...,X n, n P(X 1 = x 1 X n = x n ) = P(X i = x i Parents(X i )) i=1 Notation: Parents(X i ) is a subset of {X i = x i 1 i n}, that is, each parent of X i takes the value specified in x 1,...,x n. n P(X 1 = x 1 X 2 = x 2 X n = x n ) = P(X i = x i X i+1 = x i+1,...,x n = x n ) tells us that Parents(X i ) may be {X i+1 = x i+1,...,x n = x n }. i=1
17 Belief Network as Joints P(X 1 = x 1 X n = x n ) = n P(X i = x i Parents(X i )) i=1 P(J M A B E) = P(J A)P(M A)P(A B E)P( B)P( E) = = Artificial Intelligence p.33/43 BN and Conditional Independence Let {X 1,X 2,...,X n } be any set of nodes in the network so that all the parents of X 1 are in {X 2,...,X n }, no node in {X 2,...,X n } is a descendant of X 1. Let x 1,...,x n be a value assignment for X 1,...,X n. From equation (1) we can show that, P(X 1 = x 1 X 2 = x 2 X n = x n ) = P(X 1 = x 1 Parents(X 1 )) Given its parents as evidence, each node is conditionally independent from any node other than itself and its parents in the network.
18 BN and Conditional Independence P(X 1 = x 1 X 2 = x 2 X n = x n ) = P(X 1 = x 1 Parents(X 1 )) Examples P(B E) = P(B) P(J M A) = P(J A) P(J A E) = P(J A) P(J A B E) = P(J A) P(J M A B E) = P(J A) Exercise: Find all the conditional independences holding in this network. Artificial Intelligence p.35/43 Constructing BN: General Procedure 1. Choose a set of random variables X i that describe the domain. 2. Order the variables into a list L. 3. Start with an empty network. 4. While there are variables left in L: (a) Remove the first variable X i of L and add a node for it to the network. (b) Choose a minimal set of nodes already in the network which satisfy the conditional dependence property with X i. (c) Make these nodes the parents of X i. (d) Fill in the CPT for X i.
19 Ordering the Variables The order in which add the variables to the network is important. Wrong orderings produces more complex networks. Artificial Intelligence p.37/43 Ordering the Variables Right A general, effective heuristic for constructing simpler belief networks is to exploit causal links between random variables whenever possible. That is, add the variables to the network so that causes get added before effects.
20 Locally Structured Systems In addition to being a complete and non-redundant representation of the domain, a belief network is often more compact than a full joint. The reason is that probabilistic domains are often representable as a locally structured system. In a locally structured system, each subcomponent interacts with only a bounded number of other components, regardless of the size of the system. The complexity of local structures generally grows linearly, instead of exponentially. Artificial Intelligence p.39/43 BN and Locally Structured Systems In many real-world domains, each random variable is influenced by at most k others, for some fixed constant k. Assuming that we have n variables and, for simplicity, that they are all Boolean, a joint table will have 2 n entries. In a well constructed belief network, each node will have at most k parents. This means that each node will have a CPT with at most 2 k entries, for a total of 2 k n entries. Example: n=20, k=5. entries in network CPTs = 640
21 Inference in Belief Networks Main task of a belief network: Compute the conditional probability of a set of query variables, given exact values for some evidence variables. P(Query Evidence) Belief networks are flexible enough so that any node can serve as either a query or an evidence variable. In general, to decide what actions to take, an agent 1. first gets values for some variables from its percepts, or from its own reasoning, 2. then asks the network about the possible values of the other variables. Artificial Intelligence p.41/43 Probabilistic Inference with BN Belief networks are a very flexible tool for probabilistic inference because they allow several kinds of inference: Diagnostic inference (from effects to causes) Example: Infer P(Burglary JohnCalls) Causal inference (from causes to effects) Infer P(JohnCalls Burglary) Example: Intercausal inference (between causes of a common effect) Example: Infer P(Burglary Alarm Earthquake) Mixed inference (combination of the above) Example: Infer P(Alarm JohnCalls Earthquake)
22 Types of Inference in Belief Networks Q = query variable E = evidence variable Artificial Intelligence p.43/43
Ch.6 Uncertain Knowledge. Logic and Uncertainty. Representation. One problem with logical approaches: Department of Computer Science
Ch.6 Uncertain Knowledge Representation Hantao Zhang http://www.cs.uiowa.edu/ hzhang/c145 The University of Iowa Department of Computer Science Artificial Intelligence p.1/39 Logic and Uncertainty One
More informationUncertainty. 22c:145 Artificial Intelligence. Problem of Logic Agents. Foundations of Probability. Axioms of Probability
Problem of Logic Agents 22c:145 Artificial Intelligence Uncertainty Reading: Ch 13. Russell & Norvig Logic-agents almost never have access to the whole truth about their environments. A rational agent
More informationUncertainty and Bayesian Networks
Uncertainty and Bayesian Networks Tutorial 3 Tutorial 3 1 Outline Uncertainty Probability Syntax and Semantics for Uncertainty Inference Independence and Bayes Rule Syntax and Semantics for Bayesian Networks
More informationUncertainty. Chapter 13
Uncertainty Chapter 13 Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes Rule Uncertainty Let s say you want to get to the airport in time for a flight. Let action A
More informationQuantifying uncertainty & Bayesian networks
Quantifying uncertainty & Bayesian networks CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2016 Soleymani Artificial Intelligence: A Modern Approach, 3 rd Edition,
More informationCOMP9414: Artificial Intelligence Reasoning Under Uncertainty
COMP9414, Monday 16 April, 2012 Reasoning Under Uncertainty 2 COMP9414: Artificial Intelligence Reasoning Under Uncertainty Overview Problems with Logical Approach What Do the Numbers Mean? Wayne Wobcke
More informationUncertainty. Introduction to Artificial Intelligence CS 151 Lecture 2 April 1, CS151, Spring 2004
Uncertainty Introduction to Artificial Intelligence CS 151 Lecture 2 April 1, 2004 Administration PA 1 will be handed out today. There will be a MATLAB tutorial tomorrow, Friday, April 2 in AP&M 4882 at
More informationArtificial Intelligence
Artificial Intelligence Dr Ahmed Rafat Abas Computer Science Dept, Faculty of Computers and Informatics, Zagazig University arabas@zu.edu.eg http://www.arsaliem.faculty.zu.edu.eg/ Uncertainty Chapter 13
More informationResolution or modus ponens are exact there is no possibility of mistake if the rules are followed exactly.
THE WEAKEST LINK Resolution or modus ponens are exact there is no possibility of mistake if the rules are followed exactly. These methods of inference (also known as deductive methods) require that information
More informationCOMP5211 Lecture Note on Reasoning under Uncertainty
COMP5211 Lecture Note on Reasoning under Uncertainty Fangzhen Lin Department of Computer Science and Engineering Hong Kong University of Science and Technology Fangzhen Lin (HKUST) Uncertainty 1 / 33 Uncertainty
More informationArtificial Intelligence Uncertainty
Artificial Intelligence Uncertainty Ch. 13 Uncertainty Let action A t = leave for airport t minutes before flight Will A t get me there on time? A 25, A 60, A 3600 Uncertainty: partial observability (road
More informationCOMP9414/ 9814/ 3411: Artificial Intelligence. 14. Uncertainty. Russell & Norvig, Chapter 13. UNSW c AIMA, 2004, Alan Blair, 2012
COMP9414/ 9814/ 3411: Artificial Intelligence 14. Uncertainty Russell & Norvig, Chapter 13. COMP9414/9814/3411 14s1 Uncertainty 1 Outline Uncertainty Probability Syntax and Semantics Inference Independence
More informationUncertainty. Outline
Uncertainty Chapter 13 Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes' Rule 1 Uncertainty Let action A t = leave for airport t minutes before flight Will A t get
More informationUncertainty. Chapter 13, Sections 1 6
Uncertainty Chapter 13, Sections 1 6 Artificial Intelligence, spring 2013, Peter Ljunglöf; based on AIMA Slides c Stuart Russel and Peter Norvig, 2004 Chapter 13, Sections 1 6 1 Outline Uncertainty Probability
More informationPengju XJTU 2016
Introduction to AI Chapter13 Uncertainty Pengju Ren@IAIR Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes Rule Wumpus World Environment Squares adjacent to wumpus are
More informationProbabilistic Reasoning. Kee-Eung Kim KAIST Computer Science
Probabilistic Reasoning Kee-Eung Kim KAIST Computer Science Outline #1 Acting under uncertainty Probabilities Inference with Probabilities Independence and Bayes Rule Bayesian networks Inference in Bayesian
More informationLecture 10: Introduction to reasoning under uncertainty. Uncertainty
Lecture 10: Introduction to reasoning under uncertainty Introduction to reasoning under uncertainty Review of probability Axioms and inference Conditional probability Probability distributions COMP-424,
More informationProbabilistic Reasoning
Probabilistic Reasoning Philipp Koehn 4 April 2017 Outline 1 Uncertainty Probability Inference Independence and Bayes Rule 2 uncertainty Uncertainty 3 Let action A t = leave for airport t minutes before
More informationUncertainty (Chapter 13, Russell & Norvig) Introduction to Artificial Intelligence CS 150 Lecture 14
Uncertainty (Chapter 13, Russell & Norvig) Introduction to Artificial Intelligence CS 150 Lecture 14 Administration Last Programming assignment will be handed out later this week. I am doing probability
More informationProbabilistic Robotics
Probabilistic Robotics Overview of probability, Representing uncertainty Propagation of uncertainty, Bayes Rule Application to Localization and Mapping Slides from Autonomous Robots (Siegwart and Nourbaksh),
More informationUncertainty. Chapter 13. Chapter 13 1
Uncertainty Chapter 13 Chapter 13 1 Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes Rule Chapter 13 2 Uncertainty Let action A t = leave for airport t minutes before
More informationAn AI-ish view of Probability, Conditional Probability & Bayes Theorem
An AI-ish view of Probability, Conditional Probability & Bayes Theorem Review: Uncertainty and Truth Values: a mismatch Let action A t = leave for airport t minutes before flight. Will A 15 get me there
More information10/18/2017. An AI-ish view of Probability, Conditional Probability & Bayes Theorem. Making decisions under uncertainty.
An AI-ish view of Probability, Conditional Probability & Bayes Theorem Review: Uncertainty and Truth Values: a mismatch Let action A t = leave for airport t minutes before flight. Will A 15 get me there
More informationProbability. CS 3793/5233 Artificial Intelligence Probability 1
CS 3793/5233 Artificial Intelligence 1 Motivation Motivation Random Variables Semantics Dice Example Joint Dist. Ex. Axioms Agents don t have complete knowledge about the world. Agents need to make decisions
More informationUncertainty. Chapter 13
Uncertainty Chapter 13 Uncertainty Let action A t = leave for airport t minutes before flight Will A t get me there on time? Problems: 1. partial observability (road state, other drivers' plans, noisy
More informationQuantifying Uncertainty & Probabilistic Reasoning. Abdulla AlKhenji Khaled AlEmadi Mohammed AlAnsari
Quantifying Uncertainty & Probabilistic Reasoning Abdulla AlKhenji Khaled AlEmadi Mohammed AlAnsari Outline Previous Implementations What is Uncertainty? Acting Under Uncertainty Rational Decisions Basic
More informationBayesian networks. Soleymani. CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2018
Bayesian networks CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2018 Soleymani Slides have been adopted from Klein and Abdeel, CS188, UC Berkeley. Outline Probability
More informationChapter 13 Quantifying Uncertainty
Chapter 13 Quantifying Uncertainty CS5811 - Artificial Intelligence Nilufer Onder Department of Computer Science Michigan Technological University Outline Probability basics Syntax and semantics Inference
More informationUncertainty. Outline. Probability Syntax and Semantics Inference Independence and Bayes Rule. AIMA2e Chapter 13
Uncertainty AIMA2e Chapter 13 1 Outline Uncertainty Probability Syntax and Semantics Inference Independence and ayes Rule 2 Uncertainty Let action A t = leave for airport t minutes before flight Will A
More informationProbabilistic Reasoning. (Mostly using Bayesian Networks)
Probabilistic Reasoning (Mostly using Bayesian Networks) Introduction: Why probabilistic reasoning? The world is not deterministic. (Usually because information is limited.) Ways of coping with uncertainty
More informationInformatics 2D Reasoning and Agents Semester 2,
Informatics 2D Reasoning and Agents Semester 2, 2017 2018 Alex Lascarides alex@inf.ed.ac.uk Lecture 23 Probabilistic Reasoning with Bayesian Networks 15th March 2018 Informatics UoE Informatics 2D 1 Where
More informationCS 561: Artificial Intelligence
CS 561: Artificial Intelligence Instructor: TAs: Sofus A. Macskassy, macskass@usc.edu Nadeesha Ranashinghe (nadeeshr@usc.edu) William Yeoh (wyeoh@usc.edu) Harris Chiu (chiciu@usc.edu) Lectures: MW 5:00-6:20pm,
More informationBayesian networks. Chapter 14, Sections 1 4
Bayesian networks Chapter 14, Sections 1 4 Artificial Intelligence, spring 2013, Peter Ljunglöf; based on AIMA Slides c Stuart Russel and Peter Norvig, 2004 Chapter 14, Sections 1 4 1 Bayesian networks
More informationArtificial Intelligence Programming Probability
Artificial Intelligence Programming Probability Chris Brooks Department of Computer Science University of San Francisco Department of Computer Science University of San Francisco p.1/?? 13-0: Uncertainty
More informationOutline. Uncertainty. Methods for handling uncertainty. Uncertainty. Making decisions under uncertainty. Probability. Uncertainty
Outline Uncertainty Uncertainty Chapter 13 Probability Syntax and Semantics Inference Independence and ayes Rule Chapter 13 1 Chapter 13 2 Uncertainty et action A t =leaveforairportt minutes before flight
More informationProbabilistic representation and reasoning
Probabilistic representation and reasoning Applied artificial intelligence (EDAF70) Lecture 04 2019-02-01 Elin A. Topp Material based on course book, chapter 13, 14.1-3 1 Show time! Two boxes of chocolates,
More informationUncertain Knowledge and Reasoning
Uncertainty Part IV Uncertain Knowledge and Reasoning et action A t = leave for airport t minutes before flight Will A t get me there on time? Problems: 1) partial observability (road state, other drivers
More informationProbabilistic representation and reasoning
Probabilistic representation and reasoning Applied artificial intelligence (EDA132) Lecture 09 2017-02-15 Elin A. Topp Material based on course book, chapter 13, 14.1-3 1 Show time! Two boxes of chocolates,
More informationUNCERTAINTY. In which we see what an agent should do when not all is crystal-clear.
UNCERTAINTY In which we see what an agent should do when not all is crystal-clear. Outline Uncertainty Probabilistic Theory Axioms of Probability Probabilistic Reasoning Independency Bayes Rule Summary
More informationReasoning Under Uncertainty
Reasoning Under Uncertainty Introduction Representing uncertain knowledge: logic and probability (a reminder!) Probabilistic inference using the joint probability distribution Bayesian networks The Importance
More informationUncertainty. Russell & Norvig Chapter 13.
Uncertainty Russell & Norvig Chapter 13 http://toonut.com/wp-content/uploads/2011/12/69wp.jpg Uncertainty Let A t be the action of leaving for the airport t minutes before your flight Will A t get you
More informationQuantifying Uncertainty
Quantifying Uncertainty CSL 302 ARTIFICIAL INTELLIGENCE SPRING 2014 Outline Probability theory - basics Probabilistic Inference oinference by enumeration Conditional Independence Bayesian Networks Learning
More informationBayesian Reasoning. Adapted from slides by Tim Finin and Marie desjardins.
Bayesian Reasoning Adapted from slides by Tim Finin and Marie desjardins. 1 Outline Probability theory Bayesian inference From the joint distribution Using independence/factoring From sources of evidence
More informationWhere are we in CS 440?
Where are we in CS 440? Now leaving: sequential deterministic reasoning Entering: probabilistic reasoning and machine learning robability: Review of main concepts Chapter 3 Making decisions under uncertainty
More informationBasic Probability and Decisions
Basic Probability and Decisions Chris Amato Northeastern University Some images and slides are used from: Rob Platt, CS188 UC Berkeley, AIMA Uncertainty Let action A t = leave for airport t minutes before
More informationFoundations of Artificial Intelligence
Foundations of Artificial Intelligence 12. Making Simple Decisions under Uncertainty Probability Theory, Bayesian Networks, Other Approaches Wolfram Burgard, Maren Bennewitz, and Marco Ragni Albert-Ludwigs-Universität
More informationY. Xiang, Inference with Uncertain Knowledge 1
Inference with Uncertain Knowledge Objectives Why must agent use uncertain knowledge? Fundamentals of Bayesian probability Inference with full joint distributions Inference with Bayes rule Bayesian networks
More informationThis lecture. Reading. Conditional Independence Bayesian (Belief) Networks: Syntax and semantics. Chapter CS151, Spring 2004
This lecture Conditional Independence Bayesian (Belief) Networks: Syntax and semantics Reading Chapter 14.1-14.2 Propositions and Random Variables Letting A refer to a proposition which may either be true
More informationPROBABILISTIC REASONING SYSTEMS
PROBABILISTIC REASONING SYSTEMS In which we explain how to build reasoning systems that use network models to reason with uncertainty according to the laws of probability theory. Outline Knowledge in uncertain
More informationReasoning Under Uncertainty
Reasoning Under Uncertainty Introduction Representing uncertain knowledge: logic and probability (a reminder!) Probabilistic inference using the joint probability distribution Bayesian networks (theory
More informationWhere are we in CS 440?
Where are we in CS 440? Now leaving: sequential deterministic reasoning Entering: probabilistic reasoning and machine learning robability: Review of main concepts Chapter 3 Motivation: lanning under uncertainty
More informationDefining Things in Terms of Joint Probability Distribution. Today s Lecture. Lecture 17: Uncertainty 2. Victor R. Lesser
Lecture 17: Uncertainty 2 Victor R. Lesser CMPSCI 683 Fall 2010 Today s Lecture How belief networks can be a Knowledge Base for probabilistic knowledge. How to construct a belief network. How to answer
More informationIntroduction to Artificial Intelligence Belief networks
Introduction to Artificial Intelligence Belief networks Chapter 15.1 2 Dieter Fox Based on AIMA Slides c S. Russell and P. Norvig, 1998 Chapter 15.1 2 0-0 Outline Bayesian networks: syntax and semantics
More informationUncertainty and Belief Networks. Introduction to Artificial Intelligence CS 151 Lecture 1 continued Ok, Lecture 2!
Uncertainty and Belief Networks Introduction to Artificial Intelligence CS 151 Lecture 1 continued Ok, Lecture 2! This lecture Conditional Independence Bayesian (Belief) Networks: Syntax and semantics
More informationUncertainty (Chapter 13, Russell & Norvig)
Uncertainty (Chapter 13, Russell & Norvig) Introduction to Artificial Intelligence CS 150 Administration Midterm next Tuesday!!! I will try to find an old one to post. The MT will cover chapters 1-6, with
More informationBayesian Networks BY: MOHAMAD ALSABBAGH
Bayesian Networks BY: MOHAMAD ALSABBAGH Outlines Introduction Bayes Rule Bayesian Networks (BN) Representation Size of a Bayesian Network Inference via BN BN Learning Dynamic BN Introduction Conditional
More informationProbabilistic Reasoning
Course 16 :198 :520 : Introduction To Artificial Intelligence Lecture 7 Probabilistic Reasoning Abdeslam Boularias Monday, September 28, 2015 1 / 17 Outline We show how to reason and act under uncertainty.
More informationPROBABILISTIC REASONING Outline
PROBABILISTIC REASONING Outline Danica Kragic Uncertainty Probability Syntax and Semantics Inference Independence and Bayes Rule September 23, 2005 Uncertainty - Let action A t = leave for airport t minutes
More informationArtificial Intelligence CS 6364
Artificial Intelligence CS 6364 rofessor Dan Moldovan Section 12 robabilistic Reasoning Acting under uncertainty Logical agents assume propositions are - True - False - Unknown acting under uncertainty
More informationARTIFICIAL INTELLIGENCE. Uncertainty: probabilistic reasoning
INFOB2KI 2017-2018 Utrecht University The Netherlands ARTIFICIAL INTELLIGENCE Uncertainty: probabilistic reasoning Lecturer: Silja Renooij These slides are part of the INFOB2KI Course Notes available from
More informationProbabilistic Representation and Reasoning
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
More information14 PROBABILISTIC REASONING
228 14 PROBABILISTIC REASONING A Bayesian network is a directed graph in which each node is annotated with quantitative probability information 1. A set of random variables makes up the nodes of the network.
More informationIntroduction to Probabilistic Reasoning. Image credit: NASA. Assignment
Introduction to Probabilistic Reasoning Brian C. Williams 16.410/16.413 November 17 th, 2010 11/17/10 copyright Brian Williams, 2005-10 1 Brian C. Williams, copyright 2000-09 Image credit: NASA. Assignment
More informationConsider an experiment that may have different outcomes. We are interested to know what is the probability of a particular set of outcomes.
CMSC 310 Artificial Intelligence Probabilistic Reasoning and Bayesian Belief Networks Probabilities, Random Variables, Probability Distribution, Conditional Probability, Joint Distributions, Bayes Theorem
More informationWeb-Mining Agents Data Mining
Web-Mining Agents Data Mining Prof. Dr. Ralf Möller Dr. Özgür L. Özçep Universität zu Lübeck Institut für Informationssysteme Tanya Braun (Übungen) 2 Uncertainty AIMA Chapter 13 3 Outline Agents Uncertainty
More informationPengju
Introduction to AI Chapter13 Uncertainty Pengju Ren@IAIR Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes Rule Example: Car diagnosis Wumpus World Environment Squares
More informationProbabilistic Reasoning Systems
Probabilistic Reasoning Systems Dr. Richard J. Povinelli Copyright Richard J. Povinelli rev 1.0, 10/7/2001 Page 1 Objectives You should be able to apply belief networks to model a problem with uncertainty.
More informationBayesian networks. Chapter Chapter
Bayesian networks Chapter 14.1 3 Chapter 14.1 3 1 Outline Syntax Semantics Parameterized distributions Chapter 14.1 3 2 Bayesian networks A simple, graphical notation for conditional independence assertions
More informationObjectives. Probabilistic Reasoning Systems. Outline. Independence. Conditional independence. Conditional independence II.
Copyright Richard J. Povinelli rev 1.0, 10/1//2001 Page 1 Probabilistic Reasoning Systems Dr. Richard J. Povinelli Objectives You should be able to apply belief networks to model a problem with uncertainty.
More informationBayesian Network. Outline. Bayesian Network. Syntax Semantics Exact inference by enumeration Exact inference by variable elimination
Outline Syntax Semantics Exact inference by enumeration Exact inference by variable elimination s A simple, graphical notation for conditional independence assertions and hence for compact specication
More informationGraphical Models - Part I
Graphical Models - Part I Oliver Schulte - CMPT 726 Bishop PRML Ch. 8, some slides from Russell and Norvig AIMA2e Outline Probabilistic Models Bayesian Networks Markov Random Fields Inference Outline Probabilistic
More informationCS 380: ARTIFICIAL INTELLIGENCE UNCERTAINTY. Santiago Ontañón
CS 380: ARTIFICIAL INTELLIGENCE UNCERTAINTY Santiago Ontañón so367@drexel.edu Summary Probability is a rigorous formalism for uncertain knowledge Joint probability distribution specifies probability of
More informationSTATISTICAL METHODS IN AI/ML Vibhav Gogate The University of Texas at Dallas. Propositional Logic and Probability Theory: Review
STATISTICAL METHODS IN AI/ML Vibhav Gogate The University of Texas at Dallas Propositional Logic and Probability Theory: Review Logic Logics are formal languages for representing information such that
More informationDirected Graphical Models
CS 2750: Machine Learning Directed Graphical Models Prof. Adriana Kovashka University of Pittsburgh March 28, 2017 Graphical Models If no assumption of independence is made, must estimate an exponential
More informationCS 188: Artificial Intelligence Fall 2009
CS 188: Artificial Intelligence Fall 2009 Lecture 14: Bayes Nets 10/13/2009 Dan Klein UC Berkeley Announcements Assignments P3 due yesterday W2 due Thursday W1 returned in front (after lecture) Midterm
More informationReasoning with Uncertainty. Chapter 13
Reasoning with Uncertainty Chapter 13 1 Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes Rule 2 The real world is an uncertain place... Example: I need a plan that
More informationCS 188: Artificial Intelligence Spring Announcements
CS 188: Artificial Intelligence Spring 2011 Lecture 14: Bayes Nets II Independence 3/9/2011 Pieter Abbeel UC Berkeley Many slides over the course adapted from Dan Klein, Stuart Russell, Andrew Moore Announcements
More informationOutline. CSE 573: Artificial Intelligence Autumn Agent. Partial Observability. Markov Decision Process (MDP) 10/31/2012
CSE 573: Artificial Intelligence Autumn 2012 Reasoning about Uncertainty & Hidden Markov Models Daniel Weld Many slides adapted from Dan Klein, Stuart Russell, Andrew Moore & Luke Zettlemoyer 1 Outline
More informationBayesian Networks. Motivation
Bayesian Networks Computer Sciences 760 Spring 2014 http://pages.cs.wisc.edu/~dpage/cs760/ Motivation Assume we have five Boolean variables,,,, The joint probability is,,,, How many state configurations
More informationArtificial Intelligence Bayesian Networks
Artificial Intelligence Bayesian Networks Stephan Dreiseitl FH Hagenberg Software Engineering & Interactive Media Stephan Dreiseitl (Hagenberg/SE/IM) Lecture 11: Bayesian Networks Artificial Intelligence
More information13.4 INDEPENDENCE. 494 Chapter 13. Quantifying Uncertainty
494 Chapter 13. Quantifying Uncertainty table. In a realistic problem we could easily have n>100, makingo(2 n ) impractical. The full joint distribution in tabular form is just not a practical tool for
More informationCS 2750: Machine Learning. Bayesian Networks. Prof. Adriana Kovashka University of Pittsburgh March 14, 2016
CS 2750: Machine Learning Bayesian Networks Prof. Adriana Kovashka University of Pittsburgh March 14, 2016 Plan for today and next week Today and next time: Bayesian networks (Bishop Sec. 8.1) Conditional
More informationCS 5100: Founda.ons of Ar.ficial Intelligence
CS 5100: Founda.ons of Ar.ficial Intelligence Probabilistic Inference Prof. Amy Sliva November 3, 2011 Outline Discuss Midterm Class presentations start next week! Reasoning under uncertainty Probability
More informationReview: Bayesian learning and inference
Review: Bayesian learning and inference Suppose the agent has to make decisions about the value of an unobserved query variable X based on the values of an observed evidence variable E Inference problem:
More informationWhere are we? Knowledge Engineering Semester 2, Reasoning under Uncertainty. Probabilistic Reasoning
Knowledge Engineering Semester 2, 2004-05 Michael Rovatsos mrovatso@inf.ed.ac.uk Lecture 8 Dealing with Uncertainty 8th ebruary 2005 Where are we? Last time... Model-based reasoning oday... pproaches to
More informationCS 484 Data Mining. Classification 7. Some slides are from Professor Padhraic Smyth at UC Irvine
CS 484 Data Mining Classification 7 Some slides are from Professor Padhraic Smyth at UC Irvine Bayesian Belief networks Conditional independence assumption of Naïve Bayes classifier is too strong. Allows
More informationCS 5522: Artificial Intelligence II
CS 5522: Artificial Intelligence II Bayes Nets Instructor: Alan Ritter Ohio State University [These slides were adapted from CS188 Intro to AI at UC Berkeley. All materials available at http://ai.berkeley.edu.]
More informationIntroduction to Artificial Intelligence. Unit # 11
Introduction to Artificial Intelligence Unit # 11 1 Course Outline Overview of Artificial Intelligence State Space Representation Search Techniques Machine Learning Logic Probabilistic Reasoning/Bayesian
More informationComputer Science CPSC 322. Lecture 18 Marginalization, Conditioning
Computer Science CPSC 322 Lecture 18 Marginalization, Conditioning Lecture Overview Recap Lecture 17 Joint Probability Distribution, Marginalization Conditioning Inference by Enumeration Bayes Rule, Chain
More informationReasoning Under Uncertainty: Conditioning, Bayes Rule & the Chain Rule
Reasoning Under Uncertainty: Conditioning, Bayes Rule & the Chain Rule Alan Mackworth UBC CS 322 Uncertainty 2 March 13, 2013 Textbook 6.1.3 Lecture Overview Recap: Probability & Possible World Semantics
More informationCS 188: Artificial Intelligence. Our Status in CS188
CS 188: Artificial Intelligence Probability Pieter Abbeel UC Berkeley Many slides adapted from Dan Klein. 1 Our Status in CS188 We re done with Part I Search and Planning! Part II: Probabilistic Reasoning
More informationUncertainty and knowledge. Uncertainty and knowledge. Reasoning with uncertainty. Notes
Approximate reasoning Uncertainty and knowledge Introduction All knowledge representation formalism and problem solving mechanisms that we have seen until now are based on the following assumptions: All
More informationCS 343: Artificial Intelligence
CS 343: Artificial Intelligence Bayes Nets Prof. Scott Niekum The University of Texas at Austin [These slides based on those of Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley. All CS188
More informationBasic Probability. Robert Platt Northeastern University. Some images and slides are used from: 1. AIMA 2. Chris Amato
Basic Probability Robert Platt Northeastern University Some images and slides are used from: 1. AIMA 2. Chris Amato (Discrete) Random variables What is a random variable? Suppose that the variable a denotes
More informationCS 5522: Artificial Intelligence II
CS 5522: Artificial Intelligence II Bayes Nets: Independence Instructor: Alan Ritter Ohio State University [These slides were adapted from CS188 Intro to AI at UC Berkeley. All materials available at http://ai.berkeley.edu.]
More informationOur Status in CSE 5522
Our Status in CSE 5522 We re done with Part I Search and Planning! Part II: Probabilistic Reasoning Diagnosis Speech recognition Tracking objects Robot mapping Genetics Error correcting codes lots more!
More informationLecture Overview. Introduction to Artificial Intelligence COMP 3501 / COMP Lecture 11: Uncertainty. Uncertainty.
Lecture Overview COMP 3501 / COMP 4704-4 Lecture 11: Uncertainty Return HW 1/Midterm Short HW 2 discussion Uncertainty / Probability Prof. JGH 318 Uncertainty Previous approaches dealt with relatively
More informationAnnouncements. CS 188: Artificial Intelligence Fall Causality? Example: Traffic. Topology Limits Distributions. Example: Reverse Traffic
CS 188: Artificial Intelligence Fall 2008 Lecture 16: Bayes Nets III 10/23/2008 Announcements Midterms graded, up on glookup, back Tuesday W4 also graded, back in sections / box Past homeworks in return
More informationProbabilistic Models
Bayes Nets 1 Probabilistic Models Models describe how (a portion of) the world works Models are always simplifications May not account for every variable May not account for all interactions between variables
More informationn How to represent uncertainty in knowledge? n Which action to choose under uncertainty? q Assume the car does not have a flat tire
Uncertainty Uncertainty Russell & Norvig Chapter 13 Let A t be the action of leaving for the airport t minutes before your flight Will A t get you there on time? A purely logical approach either 1. risks
More information