Representation and Reasoning with Graphical Models - PowerPoint PPT Presentation

1 / 27
About This Presentation
Title:

Representation and Reasoning with Graphical Models

Description:

Representation and Reasoning with Graphical Models Rina Dechter Information and Computer Science, UC-Irvine, and Radcliffe Institue of Advanced Study, Cambridge – PowerPoint PPT presentation

Number of Views:207
Avg rating:3.0/5.0
Slides: 28
Provided by: IBMU643
Learn more at: https://www.ics.uci.edu
Category:

less

Transcript and Presenter's Notes

Title: Representation and Reasoning with Graphical Models


1
Representation and Reasoning with Graphical
Models
  • Rina Dechter
  • Information and Computer Science, UC-Irvine, and
  • Radcliffe Institue of Advanced Study, Cambridge

2
Outline
  • Introduction to reasoning in AI
  • Graphical models
  • Constraint networks
  • Probabilistic networks
  • Graph-based reasoning

3
The Turing Test(Can Machine think? A. M. Turing,
1950)
  • Requires
  • Natural language
  • Knowledge representation
  • Automated reasoning
  • Machine learning
  • (vision, robotics) for full test

4
Propositional Reasoning
Example party problem
  • If Alex goes, then Becky goes
  • If Chris goes, then Alex goes
  • Question
  • Is it possible that Chris goes to the party
    but Becky does not?

5
Sudoku Constraint Satisfaction
  • Variables empty slots
  • Domains 1,2,3,4,5,6,7,8,9
  • Constraints
  • 27 all-different
  • Constraint
  • Propagation
  • Inference

2 34 6
2
Each row, column and major block must be
alldifferent Well posed if it has unique
solution 27 constraints
6
Graphs
7
Constraint Networks
A
  • Example map coloring
  • Variables - countries (A,B,C,etc.)
  • Values - colors (red, green, blue)
  • Constraints

Constraint graph
A
E
D
F
B
G
C
8
Constraint Satisfaction Tasks
A B C D E

red green red green blue
red blu gre green blue
green
red
red blue red green red
  • Example map coloring
  • Variables - countries (A,B,C,etc.)
  • Values - colors (e.g., red, green, yellow)
  • Constraints

Are the constraints consistent? Find a solution,
find all solutions Count all solutions Find a
good solution
9
Information as Constraints
  • I have to finish my talk in 30 minutes
  • 180 degrees in a triangle
  • Memory in our computer is limited
  • The four nucleotides that makes up a DNA only
    combine in a particular sequence
  • Sentences in English must obey the rules of
    syntax
  • Susan cannot be married to both John and Bill
  • Alexander the Great died in 333 B.C.

10
Applications
  • Planning and scheduling
  • Transportation scheduling, factory scheduling
  • Configuration and design problems
  • floorplans
  • Circuit diagnosis
  • Scene labeling
  • Spreadsheets
  • Temporal reasoning, Timetabling
  • Natural language processing
  • Puzzles crosswords, sudoku, cryptarithmetic

11
Probabilistic Reasoning
Party example the weather effect
  • Alex is-likely-to-go in bad weather
  • Chris rarely-goes in bad weather
  • Becky is indifferent but unpredictable
  • Questions
  • Given bad weather, which group of individuals is
    most likely to show up at the party?
  • What is the probability that Chris goes to the
    party but Becky does not?

W A P(AW)
good 0 .01
good 1 .99
bad 0 .1
bad 1 .9
P(W,A,C,B) P(BW) P(CW) P(AW)
P(W) P(A,C,BWbad) 0.9 0.1 0.5
12
Bayesian Networks Representation(Pearl, 1988)
Smoking
lung Cancer
Bronchitis
X-ray
Dyspnoea
P(S, C, B, X, D) P(S) P(CS) P(BS) P(XC,S)
P(DC,B)
Belief Updating P (lung canceryes smokingno,
dyspnoeayes ) ?
13
Monitoring Intensive-Care Patients
  • The alarm network - 37 variables, 509
    parameters (instead of 237)

14
Sample Domains
  • Web Pages and Link Analysis
  • Battlespace Awareness
  • Epidemiological Studies
  • Citation Networks
  • Communication Networks (Cell phone Fraud
    Detection)
  • Intelligence Analysis (Terrorist Networks)
  • Financial Transactions (Money Laundering)
  • Computational Biology
  • Object Recognition and Scene Analysis
  • Natural Language Processing (e.g. Information
    Extraction and Semantic Parsing)

15
Graphical models in NewsThe New York Times,
Dec 15, 2005
  • Three Technology Companies Join to Finance
    Research in Graphical Models
  • David Patterson, center, founding director of the
    Berkeley lab, talks with Prof. Michael Jordan of
    Berkeley, right, and Prof. Armando Fox of
    Stanford.

16
Complexity of Reasoning Tasks
  • Constraint satisfaction
  • Counting solutions
  • Combinatorial optimization
  • Belief updating
  • Most probable explanation
  • Decision-theoretic planning

Reasoning is computationally hard
Complexity is Time and space(memory)
17
Tree-solving is easy
CSP consistency (projection-join)
Belief updating (sum-prod)
CSP (sum-prod)
MPE (max-prod)
Trees are processed in linear time and memory
18
Transforming into a Tree
  • By Inference (thinking)
  • Transform into a single, equivalent tree of
    sub-problems
  • By Conditioning (guessing)
  • Transform into many tree-like sub-problems.

19
Inference and Treewidth
ABC
DGF
G
D
A
B
BDEF
F
C
EFH
E
M
K
H
FHK
L
J
Inference algorithm Time exp(tree-width) Space
exp(tree-width)
HJ
KLM
treewidth 4 - 1 3 treewidth (maximum
cluster size) - 1
20
Conditioning and Cycle cutset
Cycle cutset A,B,C
21
Search over the Cutset
  • Inference may require too much memory
  • Condition (guessing) on some of the variables

22
Search over the Cutset (cont)
  • Inference may require too much memory
  • Condition on some of the variables

23
Inference vs. Conditioning
  • By Inference (thinking)

Exponential in treewidth Time and memory
  • By Conditioning (guessing)

Exponential in cycle-cutset Time-wise, linear
memory
24
My Work
  • Constraint networks Graph-based parameters and
    algorithms for constraint satisfaction,
    tree-width and cycle-cutset, summarized in
    Constraint Processing, Morgan Kaufmann, 2003
  • Probabilistic networks Transferring these ideas
    to Probabilistic network, helping unifying the
    principles.
  • Current work Mixing probabilistic and
    deterministic network

25
Research in RadcliffeMixed Probabilistic and
Deterministic networks
B
A
BN
1.
CN
F
C
2.
D
E
3. Mix combine? Subsume?
A
B
Semantic? Algorithms?
F
C
D
E
26
Research in RadcliffeMixed Probabilistic and
Deterministic networks
PN
CN
Query Is it likely that Chris goes to the party
if Becky does not but the weather is bad?
Semantics? Algorithms?
27
The End
  • Thank You
Write a Comment
User Comments (0)
About PowerShow.com