Expressivity Analysis for PL-Languages Manfred Jaeger Kristian - - PowerPoint PPT Presentation

expressivity analysis for pl languages
SMART_READER_LITE
LIVE PREVIEW

Expressivity Analysis for PL-Languages Manfred Jaeger Kristian - - PowerPoint PPT Presentation

Expressivity Analysis for PL-Languages Manfred Jaeger Kristian Kersing, Luc De Raedt Aalborg University Freiburg University . 1/10 Semantics-based Expressivity Analysis The Problem Alphabet soup (L.Getoor): Prism, SLP , RBN, PRM,


slide-1
SLIDE 1

Expressivity Analysis for PL-Languages

Manfred Jaeger Aalborg University Kristian Kersing, Luc De Raedt Freiburg University

. 1/10

slide-2
SLIDE 2

Semantics-based Expressivity Analysis

The Problem

“Alphabet soup” (L.Getoor): Prism, SLP , RBN, PRM, BLP , MLN, Blog, . . . Questions:

  • Where are these languages similar?
  • Where are these languages different?
  • What are the particular strengths/weaknesses of language XYZ?

First issue to investigate:

  • What is the expressive power of the different languages?

Later:

  • What is the complexity of inference?
  • What is the complexity of learning?

. 2/10

slide-3
SLIDE 3

Elements of a Solution

  • Goal: establish general framework with re-usable components for expressivity analysis
  • Find common semantic ground
  • Consider translations of (syntactic) models and embeddings of their semantics.
  • A language L′ is at least as expressive as a language L, if each L-model M can be

translated into an L′-model M ′, so that the semantics of M ′ “contains” the semantics

  • f M.

P(M) P(M ′) M M ′ Translation Embedding Model (Syntax) Probabilistic Semantics

. 3/10

slide-4
SLIDE 4

Common Semantic Ground: Multi-valued Herbrand Interpretations

PL-languages define distributions for random variables that can be written as ground atoms: blood_pressure(tom) sister(susan,tom) genotype(mother(paul)) blood_pressure(susan) sister(susan,paul) genotype(father(paul)) . . . . . . . . . With each relation symbol is associated a (finite) state space: states(blood_pressure)={high, normal, low} states(sister)={true, false} states(genotype)={AA, Aa, aa} Herbrand Interpretation: assignment of a truth value to all ground atoms constructible from a vocabulary S of relation, function, and constant symbols. Multi-valued Herbrand Interpretation: assignment of a state to all ground atoms constructible from a vocabulary S of relation, function, and constant symbols. PL-model: defines a probability distribution over all Multi-valued Herbrand Interpretations for a given vocabulary S.

. 4/10

slide-5
SLIDE 5

Any PL-model can be represented by an ordinary Bayesian network. Are PL-languages just shorthand notations for large Bayesian networks?

. 5/10

slide-6
SLIDE 6

Modularity of Representations

The power and usefulness of PL-languages derives from the fact that they split the specification of a complex model into a generic (intensional) and a domain-specific (extensional) part:

Input Pedigree Pedigree specific model (can be represented as a Bayesian network) Model General Genetic Linkage

{?, ?} {?, ?} {?, ?} {?, ?} {?, ?} {A, a} {A, a} {A, A} {A, A} {a, a}

. 6/10

slide-7
SLIDE 7

A (preliminary) analysis of several languages: Intensional Extensional RBN rbn Input Structure PRM prm Skeleton Structure BLP intensional part extensional part MLN mln constants ground atoms Prism with without msw’s in SLD tree Updated plan: Mint Mext M′

int

M′

ext

P P ′ tint text Embedding

. 7/10

slide-8
SLIDE 8

Formalization

Embeddings

P: probability distributions over MVHI(S) P ′: probability distributions over MVHI(S’) An embedding of P in P ′ is a mapping h : MVHI(S) → 2MVHI(S′) such that for all w, w′ ∈ MVHI(S): P(w) = P ′(h(w)) and h(w) ∩ h(w′) = ∅ Write P P ′ if there is such an embedding.

. 8/10

slide-9
SLIDE 9

0.2 0.4 0.1 0.3 0.1 0.1 0.1 0.25 0.1 0.05 0.05 0.01 0.03 0.02 0.02 0.01 0.01 0.15

h

MVHI(S) MVHI(S’) P P ′ If P P ′, then every probabilistic query about P can be answered from the model P ′ (one can consider weaker forms of embeddings, so that only restricted types of queries for P are supported by P ′).

. 9/10

slide-10
SLIDE 10

Putting Everything Together. . .

Language L′ is at least as expressive as L, L L′, if ∃tint∀Mint∃text∀Mext P(Mint, Mext)P(tint(Mint), text(Mext))

Example Result

MLN RBN (precisely:MLN c RBN)

. 10/10