Docsity

Tractable Representations Inference Probabilistic Learning Models Applications, Lecture notes of Artificial Intelligence

Partial preview of the text

Download Tractable Representations Inference Probabilistic Learning Models Applications and more Lecture notes Artificial Intelligence in PDF only on Docsity!

Tractable

Probabilistic

Models

Representations

Inference

Learning

Applications

Guy Van den Broeck University of California, Los Angeles

based on a joint UAI-19 tutorial with Antonio Vergari University of California, Los Angeles Nicola Di Mauro University of Bari

September 23, 2019 - 35th International Conference on Logic Programming (ICLP 2019) Las Cruces, New Mexico, USA

AoGs PDGs NBs Fully factorized sd-DNNF PSDDs Trees LTMs DNNFs OBDDs CNets SPNs NADEs Thin Junction Trees NNF FBDDs BDDs ACs VAEs Polytrees d-NNFs ADDs SDDs TACs GANs NFs Mixtures XADDs XSDDs MNs BNs FGs

The Alphabet Soup of models in AI

AoGs PDGs NBs Fully factorized sd-DNNF PSDDs Trees LTMs DNNFs OBDDs CNets SPNs NADEs Thin Junction Trees NNF FBDDs BDDs ACs VAEs Polytrees d-NNFs ADDs SDDs TACs GANs NFs Mixtures XADDs XSDDs MNs BNs FGs

Tractable and Intractable

probabilistic models

AoGs PDGs NBs Fully factorized sd-DNNF PSDDs Trees LTMs DNNFs OBDDs CNets SPNs NADEs Thin Junction Trees NNF FBDDs BDDs ACs VAEs Polytrees d-NNFs ADDs SDDs TACs GANs NFs Mixtures XADDs XSDDs MNs BNs FGs

Expressive models without compromises

Why tractable inference?

or expressiveness vs tractability

Probabilistic circuits

a unified framework for tractable models

Building circuits

learning them from data and compiling other models

Applications

what are circuits useful for

Tractable Probabilistic Circuits @ ICLP?

Logical roots of probabilistic circuits

Probabilistic circuits bridge between logic and deep learning

Bring back world models!

Powerful general reasoning tool

⇒ for example in probabilistic logic programming

Elegant knowledge representation formalism

Why probabilistic inference?

q 1 : What is the probability that today is a Monday and there is a traffic jam on Herzl Str.? q 2 : Which day is most likely to have a traffic jam on my route to work?

pinterest.com/pin/190417890473268205/

Why probabilistic inference?

q 1 : What is the probability that today is a Monday and there is a traffic jam on Herzl Str.? q 2 : Which day is most likely to have a traffic jam on my route to work?

⇒ fitting a predictive model!

pinterest.com/pin/190417890473268205/

Why probabilistic inference?

q 1 : What is the probability that today is a Monday and there is a traffic jam on Herzl Str.?

X = {Day, Time, JamStr1, JamStr2,... , JamStrN}

q 1 (m) = pm(Day = Mon, JamHerzl = 1)

pinterest.com/pin/190417890473268205/

Why probabilistic inference?

q 1 : What is the probability that today is a Monday and there is a traffic jam on Herzl Str.?

X = {Day, Time, JamStr1, JamStr2,... , JamStrN}

q 1 (m) = pm(Day = Mon, JamHerzl = 1)

⇒ marginals

pinterest.com/pin/190417890473268205/

Why probabilistic inference?

q 2 : Which day is most likely to have a traffic jam on my route to work?

X = {Day, Time, JamStr1, JamStr2,... , JamStrN}

q 2 (m) = argmaxd pm(Day = d ∧ ∨ i∈route JamStr i)

⇒ marginals + MAP + logical events

pinterest.com/pin/190417890473268205/

Tractable Probabilistic Inference

A class of queries Q is tractable on a family of probabilistic models M iff for any query q ∈ Q and model m ∈ M exactly computing q(m) runs in time O(poly(|q| · |m|)).

Tractable Probabilistic Inference

A class of queries Q is tractable on a family of probabilistic models M iff for any query q ∈ Q and model m ∈ M exactly computing q(m) runs in time O(poly(|q| · |m|)).

⇒ often poly will in fact be linear!

Note: if M and Q are compact in the number of random variables X, that is, |m|, |q| ∈ O(poly(|X|)), then query time is O(poly(|X|)).

What about approximate inference?

Why approximate when we can do exact?

⇒ and do we lose something in terms of expressiveness?

Approximations can be intractable as well [Dagum et al. 1993; Roth 1996]

⇒ But sometimes approximate inference comes with guarantees

Approximate inference by exact inference in approximate model

[Dechter et al. 2002; Choi et al. 2010; Lowd et al. 2010; Sontag et al. 2011; Friedman et al. 2018]

Approximate inference (even with guarantees) can mislead learners

[Kulesza et al. 2007] ⇒ Chaining approximations is flying with a blindfold on