Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
Visual Cues for the Interactive Learning of Bayesian NetworksLisa LiOmar RamadanPhoebe Schmidt CS 294-10: Visualization
Fall 2014UC Berkeley Computer Science
What is a Bayes’ Net?
Bayes’ Nets
Slide: Dan Klein CS188 Fa13 “Bayes’ Nets Representation”
Slide: Dan Klein CS188 Fa13 “Bayes’ Nets Representation”
Why are they useful?
● causal relationships help us in exploratory data analysis, make predictions
● combine domain knowledge with data
(Heckerman, 1995)
ProblemGiven a set of data, it is NP-hard to find an
optimal Bayes’ Net structure to represent their conditional relationships.
(existing interactive tools do not visually encode heuristics, poor UI experience)
X4X3
X4X2
Finding the optimal structure can be modeled as a state space search
ADD(X1→ X3)
Score Δ: +436
X1
X4
X2X1
X3
X2X1
X3
X4
X2X1
X3 X4
X2X1
X3
ADD(X1→ X4)
Score Δ: +218 ADD(X1→ X2)
Score Δ: -28
ADD(X1→ X4)
Score Δ: +13
Problem: to find the most probable Bayes-network given data
Approximate algorithms for learning the structure of Bayes Nets
Network scoring methods- BDeu score
[Buntine, 1991]
- K2 score[Cooper and Herskovits, 1992]
- Cross entropy[Chickering, Geiger, and Heckerman, 1995]
Heuristic search methods- Local search with restarts
[Johnson, 1985]
- Simulated annealing[Chickering, Geiger, and Heckerman, 1996]
- Max min hill climbing[Tsamardinos, Brown, and Aliferis, 2005]
Methods for interactively learning Bayes net structures
[Myllymäki et. al, 2002][Bermejo et. al, 2012]
Tools for stepping through learning algorithms
Tools for visualizing relationship strength [Sucar and Arroyo, 1998][Ebert-Uphof, 2006]
More BN software:http://www.cs.berkeley.edu/~murphyk/Bayes/bnsoft.html
Motivation● Effectively building a Bayes net requires integrating
domain knowledge with insights from dataa. Inferring BN structure from data alone is difficult and
leads to overfittingb. Domain expert has beliefs but would like to be able
to validate with datac. No way to visualize data insights while manually
building BNs
Description
Create an interactive tool that aids domain experts to learn the structure of Bayes Net with insights from local scoring heuristics
Smoker
LungCancer
X-Ray
Bronchitis
Dyspnea
Tuberclosis
VisitToAsia
TuberclosisOrCancer
Tool Box
Look Ahead
Add an edge
Remove an edge
Invert an edge
Storyboard: Identifying variable to edit
Smoker
LungCancer
X-Ray
Bronchitis
Dyspnea
Tuberclosis
VisitToAsia
TuberclosisOrCancer
Tool Box
Look Ahead
Add an edge
Remove an edge
Invert an edge
AddRemoveInvert
2251.11
983.41869.32
1001.43
1679.02
Storyboard: Identifying proposed changes to node
877.6
Look Ahead
What: Show preview of the next K steps from learning algorithm
Why: Learning algorithms are derived from heuristics and changes are not always optimal. Expert can nevertheless gain insights from heuristics while using domain expertise to prevent overfitting to training data
Smoker
LungCancer
X-Ray
Bronchitis
Dyspnea
Tuberclosis
VisitToAsia
TuberclosisOrCancer
Tool Box
Look Ahead
Add an edge
Remove an edge
Invert an edge
1 105
Storyboard: Look ahead into search algorithms
1. Graph building toola. add, remove, reorient edgesb. hard-coded heuristic data
Milestones
2. Interactive heuristicsa. K2 algorithmb. input: (graph, data) output: (score for each node)c. parameters: number of samples to compute
heuristic with (for speed)
Milestones, ctd
3. Look-ahead Grapha. implement greedy algorithm, k look-ahead stepsb. display algorithm’s “next k best modifications”c. resulting graph
Proposed Timeline
Code Paper Date
Interactive BN builder w/ hard-coded heuristic
Previous Work, Methods
11.17
Heuristics module finish Methods 11.24
Interactive look-ahead graph
References 11.28
usability testing extra time to for bugs and setbacks
Results, Discussion, Future Work
12.5
Questions