Probabilistic Reasoning; Network-based reasoning COMPSCI 276, Spring - - PowerPoint PPT Presentation

probabilistic reasoning
SMART_READER_LITE
LIVE PREVIEW

Probabilistic Reasoning; Network-based reasoning COMPSCI 276, Spring - - PowerPoint PPT Presentation

Probabilistic Reasoning; Network-based reasoning COMPSCI 276, Spring 2013 Set 1: Introduction and Background Rina Dechter (Reading: Pearl chapter 1-2, Darwiche chapters 1,3) 1 Class Description n Instructor: Rina Dechter n Days:


slide-1
SLIDE 1

1

Probabilistic Reasoning; Network-based reasoning

COMPSCI 276, Spring 2013 Set 1: Introduction and Background

Rina Dechter

(Reading: Pearl chapter 1-2, Darwiche chapters 1,3)

slide-2
SLIDE 2

2

Class Description

n Instructor: Rina Dechter n Days:

Tuesday & Thursday

n Time:

11:00 - 12:20 pm

n Class page:

n

http://www.ics.uci.edu/~dechter/courses/ics-275b/spring-13/

slide-3
SLIDE 3

Outline

n Why uncertainty? n Basics of probability theory and

modeling

3

slide-4
SLIDE 4

Why Uncertainty?

n

AI goal: to have a declarative, model-based, framework that allow computer system to reason.

n

People reason with partial information

n

Sources of uncertainty:

n

Limitation in observing the world: e.g., a physician see symptoms and not exactly what goes in the body when he performs diagnosis. Observations are noisy (test results are inaccurate)

n

Limitation in modeling the world,

n

maybe the world is not deterministic.

4

slide-5
SLIDE 5

Example of common sense reasoning

n Explosive noise at UCI n Parking in Cambridge n The missing garage door n Years to finish an undergrad degree in

college

5

slide-6
SLIDE 6

Shooting at UCI

6

noise shooting

Fire- crackers

Stud-1 call Vibhav call Anat call Someone calls what is the likelihood that there was a criminal activity if S1 called? What is the probability that someone will call the police?

slide-7
SLIDE 7

7

Why uncertainty

n Summary of exceptions

n Birds fly, smoke means fire (cannot enumerate all

exceptions.

n Why is it difficult?

n Exception combines in intricate ways n e.g., we cannot tell from formulas how exceptions

to rules interact:

AàC BàC

  • A and B -à C
slide-8
SLIDE 8

9

The problem

All men are mortal T All penguins are birds T … Socrates is a man Men are kind p1 Birds fly p2 T looks like a penguin Turn key –> car starts P_n

Q: Does T fly? P(Q)? True propositions Uncertain propositions Logic?....but how we handle exceptions Probability: astronomical

slide-9
SLIDE 9

10

Managing Uncertainty

n Knowledge obtained from people is almost always

loaded with uncertainty

n Most rules have exceptions which one cannot afford

to enumerate

n Antecedent conditions are ambiguously defined or

hard to satisfy precisely

n First-generation expert systems combined

uncertainties according to simple and uniform principle

n Lead to unpredictable and counterintuitive results n Early days: logicist, new-calculist, neo-probabilist

slide-10
SLIDE 10

11

Extensional vs Intensional Approaches

n Extensional (e.g., Mycin, Shortliffe,

1976) certainty factors attached to rules and combine in different ways.

n Intensional, semantic-based,

probabilities are attached to set of worlds.

AàB: m P(A|B) = m

slide-11
SLIDE 11

12

Certainty combination in Mycin

A D C B x y z If A then C (x) If B then C (y) If C then D (z) 1.Parallel Combination: CF(C) = x+y-xy, if x,y>0 CF(C) = (x+y)/(1-min(x,y)), x,y have different sign CF( C) = x+y+xy, if x,y<0

  • 2. Series combination…

3.Conjunction, negation Computational desire : locality, detachment, modularity

slide-12
SLIDE 12

The limits of modularity

13

Pà Q P

  • Q

PàQ K and P

  • Q

PàQ KàP K

  • Q

Deductive reasoning: modularity and detachment Plausible Reasoning: violation of locality Wet à rain Wet

  • rain

wet à rain Sprinkler and wet

  • rain?
slide-13
SLIDE 13

Violation of detachment

14

Deductive reasoning P à Q Kà P K

  • Q

Plausible reasoning Wet à rain Sprinkler àwet Sprinkler

  • rain?
slide-14
SLIDE 14

15

Burglery Example

Alarm

Earthquake

Burglery Radio Phone call AàB A more credible

  • B more credible

IF Alarm à Burglery A more credible (after radio) But B is less credible Issue: Rule from effect to causes

slide-15
SLIDE 15

Probabilistic Modeling with Joint Distributions

n All frameworks for reasoning with

uncertainty today are “intentional” model-based. All are based on the probability theory implying calculus and semantics.

21

slide-16
SLIDE 16

Outline

n Why uncertainty? n Basics of probability theory and

modeling

22

slide-17
SLIDE 17
slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20
slide-21
SLIDE 21
slide-22
SLIDE 22

28

slide-23
SLIDE 23

29

slide-24
SLIDE 24

Alpha and beta are events

slide-25
SLIDE 25
slide-26
SLIDE 26

Burglary is independent of Earthquake

slide-27
SLIDE 27

Earthquake is independent of burglary

slide-28
SLIDE 28
slide-29
SLIDE 29
slide-30
SLIDE 30
slide-31
SLIDE 31

41

slide-32
SLIDE 32

42

slide-33
SLIDE 33
slide-34
SLIDE 34
slide-35
SLIDE 35
slide-36
SLIDE 36

46

slide-37
SLIDE 37

48

slide-38
SLIDE 38

49

slide-39
SLIDE 39

Example

50

P(B,E,A,J,M)=?

slide-40
SLIDE 40

51

slide-41
SLIDE 41

52

slide-42
SLIDE 42

53

slide-43
SLIDE 43

54

slide-44
SLIDE 44

55

Bayesian Networks: Representation

= P(S) P(C|S) P(B|S) P(X|C,S) P(D|C,B) lung Cancer Smoking X-ray Bronchitis Dyspnoea

P(D|C,B) P(B|S) P(S) P(X|C,S) P(C|S)

P(S, C, B, X, D) Conditional Independencies

Efficient Representation

Θ) (G, BN =

CPD:

C B D=0 D=1 0 0 0.1 0.9 0 1 0.7 0.3 1 0 0.8 0.2 1 1 0.9 0.1