UAI 2019
1
Generating and Sampling Orbits for Lifted Probabilistic Inference
Steven Holtzen, Todd Millstein, Guy Van den Broeck
Computer Science Department, University of California, Los Angeles
{sholtzen, todd, guyvdb}@cs.ucla.edu
Generating and Sampling Orbits for Lifted Probabilistic Inference - - PowerPoint PPT Presentation
Generating and Sampling Orbits for Lifted Probabilistic Inference Steven Holtzen , Todd Millstein, Guy Van den Broeck Computer Science Department, University of California, Los Angeles {sholtzen, todd, guyvdb}@cs.ucla.edu UAI 2019 1 Motivation:
UAI 2019
1
Generating and Sampling Orbits for Lifted Probabilistic Inference
Steven Holtzen, Todd Millstein, Guy Van den Broeck
Computer Science Department, University of California, Los Angeles
{sholtzen, todd, guyvdb}@cs.ucla.edu
UAI 2019
2
Motivation: The Pigeonhole Distribution
Each dislikes being placed into the same hole… …no quantum pigeons, pigeons hiding in multiple holes simultaneously
What is the probability that 𝑙 pigeons are placed into the same hole? Requires computing partition (i.e., counting); does this seem hard?
UAI 2019
3
independence
Motivation: Encoding to Factor Graphs
1 2 3 A B
UAI 2019
4
does not change the probability
Symmetry is Structure Too
1 2 3
A B
1 2 3
B A
UAI 2019
5
representation
Related Work: Lifted Inference
[Richardson, Matthew, and Pedro Domingos. "Markov logic networks." Machine learning 62.1-2 (2006): 107-136.] ✓
UAI 2019
6
representation
Related Work: Lifted Inference
[Richardson, Matthew, and Pedro Domingos. "Markov logic networks." Machine learning 62.1-2 (2006): 107-136.] ✓
How can we exploit symmetry in exact factor graph inference?
UAI 2019
7
the same hole
Our Key Insight: Colored Assignment Encodings
1 2 3 A B Assignment Encoding
UAI 2019
8
the same hole
Our Key Insight: Colored Assignment Encodings
1 2 3 A B Assignment Encoding
Represent symmetries of distribution through isomorphisms of graph [Kersting et al., 2009, Niepert, 2012, 2013, Bui et al., 2013]
UAI 2019
9
Contribution Orbit Generation
First example of exact lifted inference for arbitrary discrete factor graphs
Orbit-Jump MCMC
Approximate lifted inference that mixes rapidly* in number of orbits
UAI 2019
10
Exact lifted inference for factor graphs
UAI 2019
11
A Simpler Example
then Pr = Pr = Pr = Pr
𝐵 𝐷 𝐸 𝐶
UAI 2019
12
Orbit # Elements of the Orbit
1 2 3 4
Orbits of Factor Graphs
UAI 2019
13
Exact lifted inference algorithm
efficiently in the number of orbits (Theorem 4.1) Let’s see an example…
UAI 2019
14
Orbit # Orbit Repr.
1 2 3 4
Exact Lifted Inference
Unnormalized State Probability
5 13 21 2 3
Total Orbit Unnormalized
5 × 1 = 5 13 × 4 = 52 21 × 6 = 126 2 × 4 = 8 3 × 1 = 3
Orbit Size
1 4 6 4 1
UAI 2019
15
Exact lifted inference algorithm
UAI 2019
16
Orbit Generation: Breadth-First Search
Start with all-false assignment
These are isomorphic to the first, prune them
Requires linear (in #orbits × #variables ) calls to graph isomorphism tool
…
UAI 2019
17
Exact lifted inference algorithm
UAI 2019
18
Orbit Size Pipeline
Assignment- Encoded Colored Factor Graph
Graph
Stabilizer Group
Group Order
Orbit Size
Efficient to compute!
Orbit-Stabilizer Theorem (Group Theory)
UAI 2019
19
Stabilizer Group
this coloring?
permutations
𝐵 𝐷 𝐸 𝐶
Answer: Any permutation of {𝐶, 𝐷, 𝐸}
Assignment- Encoded Colored Factor Graph
Graph
Stabilizer Group: Small set of generators
Group Order
Orbit Size
UAI 2019
20
Orbit-Stabilizer Theorem
in computational group theory
= #ways of permuting 𝐵, 𝐶, 𝐷, 𝐸 #ways of permuting 𝐶, 𝐷, 𝐸 = 4! 3! = 4
𝐵 𝐷 𝐸 𝐶
Orbit size
Group Theory
GAP
Stabilizer Group: Small set of generators Order of group
4 × 1084 states
UAI 2019
21
Exact Inference Experiments
inference tool, ACE
UAI 2019
22
Approximate lifted inference with mixing time guarantees
UAI 2019
23
Motivation
Propose local move
UAI 2019
24
Related Work: Within-Orbit Jumps
unfortunately doesn’t help here
Lifted MCMC step
UAI 2019
25
Jumping Between Orbits
Orbit-Jump Proposal
UAI 2019
26
Orbit-Jump MCMC Mixing Time
UAI 2019
27
Conclusion
inference remains tractable
tractability for factor graph inference
some caveats)
Grand challenge: Integrating independence and symmetry into a single algorithm for factor graphs
UAI 2019
28
Questions? Comments? sholtzen@cs.ucla.edu