Interative Hybrid Probabilistic Model Counting Steffen Michels, - - PowerPoint PPT Presentation

interative hybrid probabilistic model counting
SMART_READER_LITE
LIVE PREVIEW

Interative Hybrid Probabilistic Model Counting Steffen Michels, - - PowerPoint PPT Presentation

Interative Hybrid Probabilistic Model Counting Steffen Michels, Arjen Hommersom, and Peter Lucas In proceedings of IJCAI 2016 Arjen Hommersom MultiLogic Relational Probabilistic Problems Many probabilistic problems require hybrid reasoning


slide-1
SLIDE 1

Interative Hybrid Probabilistic Model Counting

Steffen Michels, Arjen Hommersom, and Peter Lucas In proceedings of IJCAI 2016

Arjen Hommersom MultiLogic

slide-2
SLIDE 2

Relational Probabilistic Problems

Many probabilistic problems

require hybrid reasoning have logical structure deal with rare observed events, e.g. diagnostic problems

Representation of such problems: probabilistic logics

capture and allow exploiting structure no direct support for hybrid reasoning can be extended with continuous distributions

Arjen Hommersom MultiLogic

slide-3
SLIDE 3

Probabilistic Logic Programming

Knowledge base: Probabilistic Facts & Deterministic Rules (Sato’s Distribution Semantics) [Sato, 1995]

Probabilistic Facts 0.2: low price(apple) Deterministic Rules (Closed-World Assumptions, ` a la Prolog) buy(Fruit) ← low price(Fruit) means buy(Fruit) ⇐ ⇒ low price(Fruit) P(buy(apple)) = P(low price(Fruit)) = 0.2 Expressive enough for Bayesian Networks Exact inference feasible for many real worlds problems by transforming the problem into a weighted model counting (WMC) problem

Arjen Hommersom MultiLogic

slide-4
SLIDE 4

WMC: based on a DPLL-like procedure

ϕ2 ¬ϕ3 ϕ1 ϕ3 ¬ϕ1 ¬ϕ2 (ϕ1 ∨ ϕ2) ∧ (ϕ1 ∨ ϕ3) ϕ2 ∧ ϕ3 | ¬ϕ2 = false (ϕ1 ∨ ϕ2) ∧ (ϕ1 ∨ ϕ3) | ϕ1 = true (ϕ1 ∨ ϕ2) ∧ (ϕ1 ∨ ϕ3) | ¬ϕ1 = ϕ2 ∧ ϕ3 ϕ3 | ¬ϕ3 = false ϕ2 ∧ ϕ3 | ϕ2 = ϕ3 ϕ3 | ϕ3 = true

Arjen Hommersom MultiLogic

slide-5
SLIDE 5

WMC on this tree

P(ϕ1) = 0.1 P(ϕ2) = 0.2 P(ϕ3) = 0.3 0.2 1.0 − 0.3 = 0.7 0.1 0.3 1.0 − 0.1 = 0.9 1.0 − 0.2 = 0.8 0.1 · 1.0 + 0.9 · 0.06 = 0.154 0.0 1.0 0.2 · 0.3 + 0.8 · 0.0 = 0.06 0.0 0.3 · 1.0 + 0.7 · 0.0 = 0.3 1.0

Arjen Hommersom MultiLogic

slide-6
SLIDE 6

Hybrid Probabilistic Reasoning

Hybrid probabilistic logic programs

fails(Comp) ← FailCause(Comp, Cause) = true fails(Comp) ← Temp > Limit(Comp) fails(Comp) ← subcomp(Subcomp, Comp), fails(Subcomp) FailCause(engine, noFuel) ∼ {0.0002: true, 0.9998: false} Temp ∼ Γ(20.0, 5.0) Limit(engine) ∼ N(65.0, 5.0) subcomp(fuelPump, engine) Limit(fuelPump) ∼ N(80.0, 5.0) · · ·

Probability of query event q, given evidence e: P(q | e) P

  • fails(fuelPump) | fails(engine)
  • How to do inference?

Arjen Hommersom MultiLogic

slide-7
SLIDE 7

Inference Methods

Method Exact Rejection / Importance Sampling MCMC IHPMC Works for finite prob- lems only (virtually) all problems (virtually) all problems large class

  • f

hybrid problems Quality guaran- tee no error probabilistic none bounded er- ror Structure- sensitive yes no hand- tailored solution of- ten required yes Sensitive to rare evidence no yes no no

Arjen Hommersom MultiLogic

slide-8
SLIDE 8

IHPMC Basic Idea

  • P(q) =

# # + # P(q) = P() P(q) = P() + P()

  • P(q) = P() + P()/2 ± P()/2

Arjen Hommersom MultiLogic

slide-9
SLIDE 9

Exploiting Structure

Hybrid Probability Tree (HPT)

A = true ∨ X > Y ⊤ A = true 0.1 X > Y A = false 0.9 P(A = true ∨ X > Y) ∈ [0.1, 1.0]

  • P(A = true ∨ X > Y) = 0.55 ± 0.45

Similar to binary WMC Exploits logical structure Search towards hyperrectangles with high probability

Arjen Hommersom MultiLogic

slide-10
SLIDE 10

Exploiting Structure

Hybrid Probability Tree (HPT)

A = true ∨ X > Y ⊤ A = true 0.1 X > Y X > Y X ∈ (−∞, 20] 0.8 X > Y X ∈ (20, ∞) 0.2 A = false 0.9 P(A = true ∨ X > Y) ∈ [0.1, 1.0]

  • P(A = true ∨ X > Y) = 0.55 ± 0.45

P(A = true ∨ X > Y) ∈ [0.1, 1.0]

  • P(A = true ∨ X > Y) = 0.55 ± 0.45

Similar to binary WMC Exploits logical structure Search towards hyperrectangles with high probability

Arjen Hommersom MultiLogic

slide-11
SLIDE 11

Exploiting Structure

Hybrid Probability Tree (HPT)

A = true ∨ X > Y ⊤ A = true 0.1 X > Y X > Y X > Y Y ∈ (−∞, 20] 0.1 ⊥ Y ∈ (20, ∞) 0.9 X ∈ (−∞, 20] 0.8 X > Y X ∈ (20, ∞) 0.2 A = false 0.9 P(A = true ∨ X > Y) ∈ [0.1, 1.0]

  • P(A = true ∨ X > Y) = 0.55 ± 0.45

P(A = true ∨ X > Y) ∈ [0.1, 1.0]

  • P(A = true ∨ X > Y) = 0.55 ± 0.45

P(A = true ∨ X > Y) ∈ [0.1, 0.352]

  • P(A = true ∨ X > Y) = 0.226 ± 0.126

Similar to binary WMC Exploits logical structure Search towards hyperrectangles with high probability

Arjen Hommersom MultiLogic

slide-12
SLIDE 12

Theoretical property

Approximations with arbitrary precision can be computed For all events q and e and every maximal error ǫ, IPHMC can in finite time find an approximation such that: P(q | e) − P(q | e) ≤ ǫ and P(q | e) − P(q | e) ≤ ǫ

Arjen Hommersom MultiLogic

slide-13
SLIDE 13

No Evidence

0.0e-4 3.0e-4 6.0e-4 9.0e-4 0.0 0.2 0.4 0.6 0.8 1.0 (Mean) Squarred Error Inference Time (s) IHPMC BLOG LW BLOG RJ DC

P(fails(9)), p = 0.01, µ = 60.0

Arjen Hommersom MultiLogic

slide-14
SLIDE 14

Rare Observed Event

0.0e-2 2.0e-2 4.0e-2 6.0e-2 0.0 0.5 1.0 1.5 2.0 (Mean) Squarred Error Inference Time (s) IHPMC BLOG LW BLOG RJ DC

P(fails(9) | fails(0)), p = 0.0001, µ = 60.0

Arjen Hommersom MultiLogic

slide-15
SLIDE 15

Conclusions

IHPMC provides alternative to sampling

insensitive to rare observed events no hand-tailoring bounded error may fail, but lets the user know!

Try it: http://www.steffen-michels.de/ihpmc

Arjen Hommersom MultiLogic