smoothing structured decomposable circuits
play

Smoothing Structured Decomposable Circuits Andy Shih 1 Guy Van den - PowerPoint PPT Presentation

Smoothing Structured Decomposable Circuits Andy Shih 1 Guy Van den Broeck 2 Paul Beame 3 Antoine Amarilli 4 1 Stanford University 2 University of California, Los Angeles 3 University of Washington 4 LTCI, Tlcom Paris, IP Paris NeurIPS 2019


  1. Smoothing Structured Decomposable Circuits Andy Shih 1 Guy Van den Broeck 2 Paul Beame 3 Antoine Amarilli 4 1 Stanford University 2 University of California, Los Angeles 3 University of Washington 4 LTCI, Télécom Paris, IP Paris NeurIPS 2019

  2. Probabilistic Circuits Tractable computation graph, encoding a distribution. SOTA for: probabilistic programs Exact likelihoods and partition function! Gaining popularity: Tractable Probabilistic Models : (UAI19 / AAAI20 tutorial) Smoothing Structured Decomposable Circuits 1/ 8 ▶ Inference algorithms for PGMs / ▶ Discrete density estimation

  3. Tractability Smoothness Smoothing Structured Decomposable Circuits ...with difgerent tractability properties. Expectation Marginal MAP MPE Marginal Difgerent combination of properties leads to difgerent families of circuits Pr(evid) 2/ 8 SPN AC PSDD Determinism Decomposability ✓ ✓ ✓ (S) ✗ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗ ✓ ✓ ✗ ✗ ✓ ∗ ✗ ✗ ✓ ∗

  4. Smoothness (a) A circuit. Smoothing Structured Decomposable Circuits smooth and the right one is smooth. (b) A smooth circuit. Defjnition 3/ 8 A circuit is smooth if for every pair of children c 1 and c 2 of a ⊕ -gate, vars c 1 = vars c 2 . � � � � � � � � � � ! $ ! " ! # ! $ - ! $ ! " - ! " ! $ ! # - ! # ! " ! # Figure: Two equivalent circuits computing ( x 0 ⊗ x 1 ) ⊕ x 2 . The left one is not

  5. Smoothing a Circuit: Prior Work Smoothing Structured Decomposable Circuits 4/ 8 ▶ Go to each gate O ( m ) and fjll in each variable O ( n ) ▶ Quadratic Complexity O ( nm ) ▶ Problematic when n ≥ 1 , 000 and m ≥ 1 , 000 , 000 Our near-linear smoothing algorithm: O ( m · α ( m , n ))

  6. Smoothing a Circuit: Our Work Key Insight: missing variables for each gate form two intervals. We need to fjll in 2 m intervals. Smoothing Structured Decomposable Circuits 5/ 8 B A - Figure: A \ B forms two intervals

  7. Semigroup Range Sum Theorem Given n variables defjned over a semigroup and m intervals, the sum of all Rosenberg 1989]. *The original theorem only bounds the number of additions. We bound the number of computations. Smoothing Structured Decomposable Circuits 6/ 8 intervals can be computed using O ( m · α ( m , n )) additions [Chazelle and α ( m , n ) is the inverse Ackermann function, which grows very slowly.

  8. Smoothing Structured Decomposable Circuits Takeaways 7/ 8 ▶ Probabilistic circuits can encode complex distributions. ▶ They can compute exact likelihoods, marginals, and more ▶ But only if they are smooth . ▶ Best smoothing algorithm was quadratic. ▶ We propose a near linear time smoothing algorithm.

  9. Thanks! Poster: East Exhibition Hall B+C #182, 10:45AM Code: https://github.com/AndyShih12/SSDC Contact: andyshih@cs.stanford.edu Smoothing Structured Decomposable Circuits 8/ 8

Recommend


More recommend