probabilistic models of relational domains · relational logic general framework for representing:...

127
Probabilistic Models of Relational Domains Daphne Koller Stanford University

Upload: others

Post on 05-Jul-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Probabilistic Models of Relational Domains

Daphne KollerStanford University

Page 2: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Overview

Relational logicProbabilistic relational modelsInference in PRMsLearning PRMsUncertainty about domain structureSummary

Page 3: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Attribute-Based Models & Relational Models

Page 4: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Bayesian Networks: Problem

Bayes nets use attribute-based representationReal world has objects, related to each other

Intell_Jane Diffic_CS101

Grade_Jane_CS101

Intell_George Diffic_Geo101

Grade_George_Geo101

Intell_George Diffic_CS101

Grade_George_CS101A C

These “instances” are not independent

Page 5: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

The University BN

Difficulty_Geo101

Difficulty_CS101

Grade_Jane_CS101

Intelligence_George

Intelligence_Jane

Grade_George_CS101

Grade_George_Geo101

Page 6: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

G_Homer

G_Bart

G_Marge

G_Lisa G_Maggie

G_Harry G_Betty

G_Selma

B_Harry B_Betty

B_SelmaB_Homer B_Marge

B_Bart B_Lisa B_Maggie

The Genetics BN

G = genotypeB = bloodtype

Page 7: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Simple Approach

Obvious solution:Use a graphical model with shared parameters

Nodes share not only parameters, but also local dependency structureWant to enforce this constraint:

For human knowledge engineerFor network learning algorithm

Page 8: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Simple Approach II

How do we specify shared structure across different nodes?

Each person depends on his motherBut different people have different mothersHow do we specify the mapping

We can write a special-purpose program for each domain:

genetic inheritance (family tree imposes constraints)university (course registrations impose constraints)

Is there something more general?

Page 9: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Attribute-Based WorldsSmart_Jane & easy_CS101 GetA_Jane_CS101 Smart_Mike & easy_Geo101 GetA_Mike_Geo101 Smart_Jane & easy_Geo101 GetA_Jane_Geo101 Smart_Rick & easy_CS221 GetA_Rick_C

World = assignment of values to attributes / truth values to propositional symbols

Page 10: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Object-Relational Worlds

World = relational interpretation:Objects in the domainProperties of these objectsRelations (links) between objects

∀ x,y(Smart(x) & Easy(y) & Take(x,y) Grade(A,x,y))

Page 11: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Relational Logic

General framework for representing:objects & their propertiesclasses of objects with same modelrelations between objects

Represent a model at the template level, and apply it to an infinite set of domainsGiven finite domain, each instantiation of the model is propositional, but the template is not

Page 12: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Relational Schema

Specifies types of objects in domain, attributes of each type of object & types of relations between objects

Student

Intelligence

Registration

Grade

Satisfaction

CourseDifficulty

ProfessorTeaching-Ability

ClassesClasses

AttributesAttributes

TeachRelationsRelationsHas

In

Page 13: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

St. Nordaf University

Tea

ches

Tea

ches

In-course

In-course

Registered

In-course

Prof. SmithProf. Jones

George

Jane

Welcome to

CS101

Welcome to

Geo101

Teaching-abilityTeaching-ability

Difficulty

Difficulty Registered

RegisteredGrade

Grade

Grade

Satisfac

Satisfac

Satisfac

Intelligence

Intelligence

Page 14: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Possible Worlds

Tea

ches

Tea

ches

In-course

In-course

Registered

In-course

Prof. SmithProf. Jones

George

Jane

Welcome to

CS101

Welcome to

Geo101

Teaching-abilityTeaching-ability

Difficulty

Difficulty Registered

RegisteredGrade

Grade

Grade

Satisfac

Satisfac

Satisfac

Intelligence

Intelligence

HighHigh

Hard

Easy

A

C

B

Hate

Hate

Hate

Smart

Weak

HighLow

Easy

Easy

A

B

C

Like

Hate

Like

Smart

Weak

Page 15: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Relational Logic: SummaryVocabulary:

Classes of objects:Person, Course, Registration, …

Individual objects in a class: George, Jane, …

Attributes of these objects:George.Intelligence, Reg1.Grade

Relationships between these objectsOf(Reg1,George), Teaches(CS101,Smith)

A world specifies:A set of objects, each in a classThe values of the attributes of all objectsThe relations that hold between the objects

Page 16: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Binary Relations

Any relation can be converted into an object:R(x1,x2,…,xk) →new “relation” object y,

R1(x1,y), R2(x2,y),…, Rk(xk,y)E.g., registrations are “relation objects”

⇒ Can restrict attention to binary relations R(x,y)

Page 17: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Relations & Links

Binary relations can also be viewed as links:Specify the set of objects related to x via RR(x,y) → y ∈ x.R1, x ∈ y.R2

E.g., Teaches(p,c) →p.Courses = courses c : Teaches(p,c)c.Instructor = professors p : Teaches(p,c)

Page 18: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Probabilistic Relational Models:Relational Bayesian Networks

Page 19: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Probabilistic Models

Uncertainty model:space of “possible worlds”;probability distribution over this space.

In attribute-based models, world specifiesassignment of values to fixed set of random variables

In relational models, world specifiesSet of domain elementsTheir propertiesRelations between them

Page 20: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

PRM Scope

Entire set of relational worlds is infinite and too broadAssume circumscribed class of sets of worlds Ωξconsistent with some type of background knowledge ξPRM Π is a template defining PΠ(Ωξ) for any such ξ

Simplest class attribute-based PRMs: ξ = relational skeleton:

finite set of entities E E E E and relations between themΩξ = all assignments of values to all attributes of entities in EEEEPRM template defines distribution over Ωξ for any such ξ

[K. & Pfeffer ’98; Friedman, Getoor, K. Pfeffer ’99]

Page 21: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Relational Bayesian NetworkUniversals: Probabilistic patterns hold for all objects in classLocality: Represent direct probabilistic dependencies

Links define potential interactions

StudentIntelligence

RegGradeSatisfaction

CourseDifficulty

ProfessorTeaching-Ability

[K. & Pfeffer; Poole; Ngo & Haddawy]

0% 20% 40% 60% 80% 100%

hard,high

hard,low

easy,high

easy,lowA B C

Page 22: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

RBN: Semantics

ξ: set of objects & relations between themΩξ: the set of all assignments of values to all attributes of all objects in ξPΠ(Ωξ) is defined by a ground Bayesian network:

variables: attributes of all objectsdependencies: determined by

relational links in ξdependency structure of RBN model Π

Page 23: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

RBN Structure

For any object x in class X, x.B is parent of x.A

τ: link or chain of linksFor any object x in class X, x.τ.B is parent of x

For each class X and attribute A, structure specifies parents for X.A

X.B

X.A

Course.Level

Course.Difficulty

X.τ.B

X.A

Reg.In.Difficulty

Reg.Grade

Page 24: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Prof. SmithProf. Jones

Welcome to

CS101

Welcome to

Geo101

RBN Semantics

Teaching-abilityTeaching-ability

Grade

Grade

Grade

Satisfac

Satisfac

Satisfac

Intelligence

Intelligence

George

Jane

Welcome to

CS101

Difficulty

Difficulty

Page 25: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Welcome to

CS101

weak / smart

The Web of Influence

0% 50% 100%0% 50% 100%

Welcome to

Geo101 A

C

weak smart

0% 50% 100%

easy / hard

Page 26: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Welcome to

CS101

weak / smart

The Web of Influence

Welcome to

Geo101 A

C

easy / hard

Page 27: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Welcome to

CS101

weak / smart

The Web of Influence

Welcome to

Geo101 A

C

easy / hard

Page 28: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

StudentIntelligence

Honors

RegGrade

Satisfaction

Aggregate Dependencies

[K. & Pfeffer ’98; Friedman, Getoor, K. Pfeffer ’99]

Page 29: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Aggregate Dependencies

StudentJane Doe

Intelligence

Honors Reg#5077

Grade

Satisfaction Reg

#5054Grade

Satisfaction Reg

#5639Grade

Satisfaction

Problem!!!

Need

dependencies

on sets

Page 30: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Aggregate Dependencies

StudentJane Doe

Intelligence

Honors Reg#5077

Grade

Satisfaction Reg

#5054Grade

Satisfaction Reg

#5639Grade

Satisfaction

avg

9.01.0

6.04.0

2.08.0

C

B

Anyavg

Page 31: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Aggregate DependenciesStudentIntelligence

Honors

RegGrade

Satisfaction

CourseDifficulty

Rating

ProfessorTeaching-Ability

Stress-Level

avg

avg

count

sum, min, max, avg, mode, count

Page 32: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Basic RBN: SummaryRBN specifies

A probabilistic dependency structure S:A set of parents X.τ.B for each class attribute X.A

A set of local probability models:Aggregator to use for each multi-valued dependency

Set of CPD parameters ΘΘΘΘX.A

Given relational skeleton structure ξ, RBN induces a probability distribution over worlds ω

Distribution defined via ground BN over attributes x.A

∏ ∏∈

=AX Xx

AXS AxparentsAxPSP.

., )),.(|.(),,|(ξ

ξξω ΘΘΘΘΘΘΘΘ

Attributes Objects

Page 33: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Extension: Class HierarchySubclasses inherit all attributes of parents, but may have additional onesFor inherited attribute X.A, subclass can:

inherit parent’s probabilistic model overwrite with local probabilistic model

Example:Professor has subclasses assistant, associate, fullInherit distribution over Stress-LevelModify distribution over Salary

[K. & Pfeffer ’98]

Page 34: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Extension: Class Hierarchies

Hierarchies allow reuse in knowledge engineering and in learning

Parameters and dependency models shared across more objects

If class assignments specified in ξ, class hierarchy does not introduce complications

[K. & Pfeffer ’98]

Page 35: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Coherence & Acyclicity

For given skeleton ξ, PRM ∏asserts dependencies between attributes of objects:

∏ defines coherent probability model over σ if →ξ,Π is acyclic

RegGradeSatisfaction

ProfessorTeaching-Ability

Stress-Level

Smith.Stress-level

AxBy .. ,Π→ξ

[Friedman, Getoor, K. Pfeffer ’99]

Page 36: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Guaranteeing AcyclicityHow do we guarantee that a PRM ∏ is acyclic for every object skeleton ξ?

PRMdependency structure S

template-leveldependency

graph

Y.B

X.A

if X.τ.B ∈ Parents(X.A), andclass of X.τ is Y

class dependency graph acyclic ⇒→ξ,Π acyclic for all ξ

Attribute stratification:

Page 37: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Limitation of Stratification

PersonM-chromosome

P-chromosome

Blood-type

PersonM-chromosome

P-chromosome

Blood-type

PersonM-chromosome

P-chromosome

Blood-type

Father Mother

Person.M-chrom Person.P-chrom

Person.B-type

Page 38: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Limitation of Stratification

Prior knowledge: the Father-of relation is acyclicDependence of Person.A on Person.Father.B cannot induce cycles

PersonM-chromosome

P-chromosome

Blood-type

PersonM-chromosome

P-chromosome

Blood-type

PersonM-chromosome

P-chromosome

Blood-type

Father Mother

Page 39: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Guaranteeing AcyclicityWith guaranteed acyclic relations, some cycles in the dependency graph are guaranteed to be safe.We color the edges in the dependency graph

A cycle is safe ifit has a green edgeit has no red edge

yellow: withinsingle object

X.B

X.Agreen: viag.a. relation

Y.B

X.Ared: viaother relations

Y.B

X.A

Person.M-chrom Person.P-chrom

Person.B-type

Page 40: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Object-Oriented Bayesian Nets

OOBNs are RBN with only one type of relationOne object can be a “part-of” another Objects can only interact with component partsOther types of relationships must be embedded into the “part-of” framework

Defines “neat” hierarchy of related objectsProvides clearly defined object interface between object x and its enclosing object y

[K. & Pfeffer ’97]

Page 41: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Probabilistic Relational Models:Relational Markov Networks

Page 42: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Why Undirected Models?Symmetric, non-causal interactions

E.g., web: categories of linked pages are correlatedCannot introduce direct edges because of cycles

Patterns involving multiple entitiesE.g., web: “triangle” patternsDirected edges not appropriate

“Solution”: Impose arbitrary directionNot clear how to parameterize CPD for variables involved in multiple interactionsImpossible to do within a class-based parameterization

[Taskar, Abbeel, K. 2001]

Page 43: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Markov Networks: Review

ChrisDave

EveAlice

A)(E,E)(D,D)(C,C)B,(A,E)D,C,B,P(A, φφφφZ

1=

Bob

HHHHHLHLHHLLLHHLHLLLHLLLABC Potential φφφφ(A,B,C)

Page 44: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Markov Networks: Review

A Markov network is an undirected graph over some set of variables VGraph associated with a set of potentials φi

Each potential is factor over subset Vi

Variables in Vi must be a (sub)clique in network

∏= i iiZP )(

1)( VV φ

Page 45: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Relational Markov NetworksProbabilistic patterns hold for groups of objectsGroups defined as sets of (typed) elements linked in particular ways

Study Group

Student2 Reg2GradeIntelligence

Course

RegGrade

Student

Difficulty

Intelligence

[Taskar, Abbeel, K. 2002]

Page 46: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Relational Markov NetworksProbabilistic patterns hold for groups of objectsGroups defined as sets of (typed) elements linked in particular ways

Study Group

Student2 Reg2GradeIntelligence

Course

RegGrade

Student

Difficulty

Intelligence

0 0.5 1 1.5 2

AAABACBABBBCCACBCC

Template potential

Page 47: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

RMN Language

Define clique templates All tuples reg R1, reg R2, group G s.t. In(G, R1), In(G, R2)

Compatibility potential φ(R1.Grade, R2.Grade)

Ground Markov network contains potential φ(r1.Grade, r2.Grade) for all appropriate r1, r2

Page 48: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Welcome to

CS101

Ground MN (or Chain Graph)

Welcome to

Geo101

Difficulty

Difficulty

Grade

Grade

Intelligence

Intelligence

George

Jane

Jill

Intelligence

Geo Study Group

CS Study Group

Grade

Grade

Page 49: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

PRM Inference

Page 50: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Inference: Simple Method

Define ground network as in semanticsApply standard inference methods

Problem: Very large models can be specified very easily Resulting ground network often highly connectedExact inference is typically intractable

In practice, often must resort to approximate methods such as belief propagation

Page 51: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Honors

Intelligence

Upbringing

Personality

Job-prospects

Student

Exploiting Structure: EncapsulationObjects interact only in limited waysCan define object interface:

Outputs: Object attributes influencing other objectsInputs: External attributes influencing object

Object is independent of everything given interfaceInference can be encapsulated within objects, with “communication” limited to interfaces

GPA

Intelligence

[K. & Pfeffer, 1997]

Page 52: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Exploiting Structure: Encapsulation

Marginalize object distribution onto interfaceDependency graph over interfaces induced by

Inter-object dependenciesAnd hence by the relational structure

Perform inference over interfaces If interaction graph has low tree-width, can use exact inference

E.g., part-of hierarchy in OOBNs

If relational structure is more complex, can use BPA form of Kikuchi BP, where cluster selection is guided by relational structure

Page 53: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Exploiting Structure: Reuse

Objects from same class have same modelFor generic objects – no internal evidence –marginalize interface is the sameCan reuse inference – a form of “lifting”

Honors

Upbringing

Personality

Job-prospects

George

GPA

Intelligence

Honors

Upbringing

Personality

Job-prospects

Jane

GPA

Intelligence

[Pfeffer & K. 1998]

Page 54: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Exploiting Structure: Reuse

Generic objects often play same role in modelMultiple students that all take the same class

Reuse: compute interface once Combinatorics: compute total contribution to probability in closed form

P(k students like the class | teaching-ability = low) =

P(generic student likes the class | teaching ability = low)

[Pfeffer & K. 1998]

Page 55: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Case study

Example object classes: BattalionBatteryVehicleLocationWeather.

Example relations: At-LocationHas-WeatherSub-battery/In-battalionSub-vehicle/In-battery

Battlefield situation assessment for missile units

several locationsmany unitseach has detailed model

Page 56: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Effect of Exploiting Structure

0

1000

2000

3000

4000

5000

6000

1 2 3 4 5 6 7 8 9 10

flat BNno reuse

with reusewith combinatorics

#vehicles of each type in each battery

runn

ing

time

in s

econ

ds

BN has ≈ 2400 nodescost ≈ 20 minutes

cost ≈ 9 sec

Query: P(Next-Mission)

[Pfeffer & K. 1998]

Page 57: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

PRM Learning

Page 58: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Outline

Relational Bayesian networksLikelihood functionML parameter estimationEMStructure learning

Relational Markov networksParameter estimation

Applications: Collective classification – web dataRelational clustering – biological data

Page 59: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

PRM Learning: Input

Tea

ches

Tea

ches

In-course

In-course

Registered

In-course

Prof. SmithProf. Jones

George

Jane

Welcome to

CS101

Welcome to

Geo101

Teaching-abilityTeaching-ability

Difficulty

Difficulty Registered

RegisteredGrade

Grade

Grade

Satisfac

Satisfac

Satisfac

Intelligence

Intelligence

HighHigh

Hard

Easy

A

C

B

Hate

Hate

Hate

Smart

Weak

Input: a full world ω

Page 60: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Likelihood Function

Likelihood of a BN with shared parametersJoint likelihood is a product of likelihood terms

One for each attribute X.A and its family

For each X.A, the likelihood function aggregates counts from all occurrences x.A in world ω

∏ ∏∈

=

=

AX XxAXS AxparentsAxP

SPSL

.., )),.(|.(

),,|(),(

ξ

σ

ξωω

ΘΘΘΘ

ΘΘΘΘ::::ΘΘΘΘ

Attributes Objects

[Friedman, Getoor, K., Pfeffer, 1999]

Page 61: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Likelihood Function: Multinomials

∑ ∑ ∑∈ ∈

=

AX AXPaVal AXValaxaM

SP

. )).(( ).(|log),(

),,|(log

uuu θ

ξω ΘΘΘΘ

).(,.:

),(

, u

u

==∈

=

AxparentsaAxXx

aM

S ωω

Sufficient statistics:

Log-likelihood:

Page 62: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

RBN Parameter Estimation

MLE parameters:

Bayesian estimation:Prior for each attribute X.APosterior uses aggregated sufficient statistics

).,.*,.(

).,.,.().,.|.(ˆ

loDiffCoursehiIntellStudentGradeMloDiffCoursehiIntellStudentAGradeM

loDiffCoursehiIntellStudentAGradeP

=======

===

Reg

RegReg

Page 63: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Learning w. Missing Data

EM Algorithm applies essentially unchangedE-step computes expected sufficient statistics, aggregated over all objects in classM-step uses ML (or MAP) parameter estimation

Key difference:In general, the hidden variables are not independentComputation of expected sufficient statistics requires inference over entire network[Same reasoning as for forward-backward algorithm in temporal models]

Page 64: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

P(Registration.Grade |Course.Difficulty,Student.Intelligence)

0% 20% 40% 60% 80% 100%

hard,high

hard,low

easy,high

easy,low

Learning w. Missing Data: EM

0% 20% 40% 60% 80% 100%

hard,high

hard,low

easy,high

easy,low

0% 20% 40% 60% 80% 100%

hard,high

hard,low

easy,high

easy,low

0% 20% 40% 60% 80% 100%

hard,high

hard,low

easy,high

easy,low

0% 20% 40% 60% 80% 100%

hard,high

hard,low

easy,high

easy,low

low / higheasy / hard

A B C

CoursesStudents

[Dempster et al. 77]

Page 65: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Learning RBN Structure

Define set of legal RBN structuresOnes with legal class dependency graphs

Define scoring function Bayesian score

Product of family scores:One for each X.AUses aggregated sufficient statistics

Search for high-scoring legal structure

])(),|(log[):(87648476 priorlikelihood

marginal

SPSPSScore ξωω =

SSS dPSLSP ΘΘΘ= ∫ )():,(),|( ωξω

[Friedman, Getoor, K., Pfeffer, 1999]

Page 66: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Learning RBN Structure

All operations done at class levelDependency structure = parents for X.AAcyclicity checked using class dependency graphScore computed at class level

Individual objects only contribute to sufficient statistics

Can be obtained efficiently using standard DB queries

Page 67: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Exploiting Locality: Phased Search

StudentCourse Reg∆scoreAdd C.A→C.B

∆score

Delete S.I→S.P StudentCourse Reg

StudentRegCourse

Phase 0: consider only dependencies within a class

Page 68: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Exploiting Locality: Phased SearchPhase 1: consider dependencies one link away

StudentCourse Reg ∆ scoreAdd C.A→R.B

∆ score

Add S.I→R.CStudentCourse Reg

StudentRegCourse

Page 69: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Exploiting Locality: Phased SearchPhase k: consider dependencies k links away

∆ scoreAdd C.A→S.P

∆ score

Add S.I→C.B

StudentCourse Reg

StudentCourse Reg

StudentCourse Reg

Page 70: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

TB Patients in San Francisco

[Getoor, Rhee, K., Small, 2001]

PatientsContacts

Strains

Page 71: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Age

POB

TB-type

XRay

Race

CareLoc

HIV

Smear

Gender

TB Patients in San Francisco

Strain

Patient

Contact

Input: Relational database

2300 patients

20000 contacts

1000 strains

Page 72: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

OutbreakSuscept

Age

POB

TB-type

XRay

Race

CareLoc

HIV

Smear

Gender

Infected

CloseCont

Relation

Treatment

Subcase

CareLoc

TB Patients in San Francisco

Strain

Patient

Contact

Output: PRM for domain

[Getoor, Rhee, K., Small, 2003]

Page 73: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Learning RMN Parameters

Study Group

Student2 Reg2GradeIntelligence

Course

RegGrade

Student

Difficulty

Intelligence

...exp CCCCAAAA fwfw ⋅++⋅=φ

AAABACBABBBCCACBCC

Template potential φφφφ

Parameterize potentials as log-linear model[Taskar, Abbeel, K., 2002]

Page 74: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Learning RMN Parameters

ZfwPi

ii log)|(log):( −⋅== ∑ )(ωωω ww wl

For example:fAA (ω) = # of tuples reg r1, reg r2, group g s.t.

In(g, r1), In(g, r2); r1.Grade=A, r2.Grade=A

Counts in ω

Page 75: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Learning RMN Parameters

Parameter estimation is not closed formConvex problem ⇒ unique global maximumCan use methods such as conjugate gradient

∑ ==−

===∂

),(

),(#

AGradeAGradeP

AGradeAGradewAA

lactual count

- expected count

Gradient process tries to find parameters s.t. expected counts = actual countsComputing expected counts requires inference over ground Markov network

Page 76: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Model Structure

ProbabilisticRelational

ModelCourse Student

Reg

Training Data

New Data

Learning

Inference

Conclusions

Collective Classification

Train on one year of student intelligence, course difficulty, and gradesGiven only grades in following year, predict all students’ intelligence

Example:

Page 77: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Discriminative Training Goal: Given values of observed variables ω.O=o, predict desired target values ω.T=t*Do not necessarily want the model to fit the joint distribution P(ω.O=o, ω.T=t*)To maximize classification accuracy, we can consider other optimization criteria

Maximize conditional log likelihood

Maximize margin

P(second highest probability label)

).|*.( oOtTP == ωω

)].|.(log[max

).|*.(log

* oOtTPoOtTP

tt ==−==

≠ ωωωω

[Taskar, Abbeel, K., 2002; Taskar, Guestrin, K. 2003]

Page 78: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

A Web of DataTom MitchellProfessor

WebKBProject

Sean SlatteryStudent

CMU CS Faculty

Contains

Advisee-of

Project-of

Works-on

[Craven et al.]

Page 79: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Web Classification Experiments

WebKB datasetFour CS department websitesBag of words on each pageLinks between pagesAnchor text for links

Experimental setupTrained on three universitiesTested on fourthRepeated for all four combinations

Page 80: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Professordepartment

extractinformationcomputersciencemachinelearning

Standard Classification

Categories:facultycourseprojectstudentother

LogisticRegression

Page

...

Category

Word1 WordN

Page 81: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Standard Classification

...LinkWordN

workingwithTom Mitchell

Page

...Category

Word1 WordN

00.020.040.060.08

0.10.120.140.160.18

Logistic

Page 82: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Power of ContextProfessor? Student? Post-doc?

Page 83: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Collective Classification

...

PageCategory

Word1 WordN

From-

Link ...

PageCategory

Word1 WordN

To-

CCCFCPCSFCFFFPFSPCPFPPPSSCSFSPSS

Compatibility φφφφ(From,To)FT

Page 84: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Collective Classification

...

PageCategory

Word1 WordN

From-

Link ...

PageCategory

Word1 WordN

To-

Logistic Links0

0.020.040.060.08

0.10.120.140.160.18

Classify all pages collectively,

maximizing the joint label probability

Page 85: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

More Complex Structure

Page 86: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

More Complex Structure

CWn

W1Faculty

S

Students

S

Courses

Page 87: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Collective Classification: Results

00.020.040.060.08

0.10.120.140.160.18

Logistic Links Section Link+Section

35.4% relative reduction in error relative to strong flat approach

[Taskar, Abbeel, K., 2002]

Page 88: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Model Structure

ProbabilisticRelational

ModelCourse Student

Reg

Unlabeled Relational Data

Learning

Relational Clustering

Given only students’ grades, cluster similar students

Example:

Clustering of instances

Page 89: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Movie Data

Internet Movie Databasehttp://www.imdb.com

Page 90: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Actor

Director

MovieGenres Rating

Year#Votes

MPAA Rating

Discovering Hidden Types

Type Type

Type

[Taskar, Segal, K., 2001]

Page 91: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Directors

Steven SpielbergTim BurtonTony ScottJames CameronJohn McTiernanJoel Schumacher

Alfred HitchcockStanley KubrickDavid LeanMilos FormanTerry GilliamFrancis Coppola

Actors

Anthony HopkinsRobert De NiroTommy Lee JonesHarvey KeitelMorgan FreemanGary Oldman

Sylvester StalloneBruce WillisHarrison FordSteven SeagalKurt RussellKevin CostnerJean-Claude Van DammeArnold Schwarzenegger

MoviesWizard of OzCinderellaSound of MusicThe Love BugPollyannaThe Parent TrapMary PoppinsSwiss Family Robinson

Terminator 2BatmanBatman ForeverGoldenEyeStarship TroopersMission: Impossible Hunt for Red October

Discovering Hidden Types

Page 92: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Biology 101: Pathways

Pathways are sets of genes that act together to achieve a common function

Page 93: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Biology 101: ExpressionGene 2

CodingControl

Gene 1CodingControl

DNA

RNA

ProteinSwi5 Transcription factor

Swi5

Cells express differentsubsets of their genesin different tissues and under different conditions

Page 94: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Pathway IIPathway IIIPathway I

Finding Pathways: Attempt I

Use protein-protein interaction data

Page 95: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Finding Pathways: Attempt I

Use protein-protein interaction dataProblems:

Data is very noisyStructure is lost:

Large connected component (3527/3589 genes)in interaction graph

Page 96: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Finding Pathways: Attempt IIUse gene expression data

Thousands of arrays available under different conditions

Clustering

Pathway I

Pathway II

Page 97: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Finding Pathways: Attempt IIUse gene expression data

Thousands of arrays available under different conditions

Pathway I

Pathway II

Problems:Expression is only ‘weak’ indicator of interactionData is noisyInteracting pathways are not separable

Page 98: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Finding Pathways: Our ApproachUse both types of data to find pathways

Find “active” interactions using gene expressionFind pathway-related co-expression using interactions

Pathway I

Pathway II

Pathway III

Pathway IV

Page 99: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Probabilistic ModelGenes are partitioned into “pathways”:

Every gene is assigned to one of ‘k’ pathwaysRandom variable for each gene with domain 1,…,k

Expression component:Model likelihood is higher when genes in the same pathway have similar expression profiles

Interaction component:Model likelihood is higher when genes in the same pathway interact

[Segal, Wang, K., 2003]

Page 100: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Expression Component

g.C=1

Naïve Bayes

Pathway of gene g

0 0

g.E1 g.E2g.Ekg.E3

Expression level of gene g in m arrays

0 0

Page 101: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Protein Interaction Component

Gene 1 g1.C

g2.CGene 2

protein productinteraction

Interacting genes are more likely to be in the same pathway

Compatibility potential

φφφφ(g.C,g.C)g1.C g2.C

123123123

111222333

αααα1

Page 102: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Joint Probabilistic Model

Gene 1 g1.C

g2.C

g3.C

g4.C

Gene 2

Gene 3

Gene 4

g1.E1 g1.E2 g1.E3

g2.E1 g2.E2 g2.E3

g3.E1 g3.E2 g3.E3

g4.E1 g4.E2 g4.E3αααα1

123123123

111222333 1 2 3

0

1 1

2

3

0

0

Path. I

Page 103: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Learning Task

E-step: compute pathway assignmentsM-step: Estimate Gaussian distribution parametersEstimate compatibility potentials using cross-validation

g1.C

g2.C

g3.C

g4.C

g1.E1 g1.E2 g1.E3

g2.E1 g2.E2 g2.E3

g3.E1 g3.E2 g3.E3

g4.E1 g4.E2 g4.E3

αααα1

123123123

111222333

1

2

3

0

0

Path. I

Large Markov network with high connectivity⇓⇓⇓⇓

Use loopy belief propagation

Page 104: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Capturing Protein ComplexesIndependent data set of interacting proteins

0

50

100

150

200

250

300

350

400

0 10 20 30 40 50 60 70 80 90 100Complex Coverage (%)

Num

Com

plex

es

Our method

Standard expression clustering

124 complexes covered at 50% for our method46 complexes covered at 50% for clustering

Page 105: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

YHR081WRRP40RRP42MTR3RRP45RRP4RRP43DIS3TRM7SKI6RRP46CSL4

RNAse Complex Pathway

YHR081W

SKI6

RRP42

RRP45

RRP46

RRP43TRM7RRP40

MTR3RRP4

DIS3

CSL4

Includes all 10 known pathway genes

Only 5 genes found by clustering

Page 106: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Interaction ClusteringRNAse complex found by interaction clustering as part of cluster with 138 genes

Page 107: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Uncertainty aboutDomain Structure

or

PRMs are not just template BNs/MNs

Page 108: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Structural Uncertainty

Class uncertainty: To which class does an object belong

Relational uncertainty: What is the relational (link) structure

Identity uncertainty:Which “names” refer to the same objectsAlso covers data association

Page 109: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Relational Uncertainty

Probability distribution over graph structuresLink existence model

E.g., hyperlinks between webpagesEach potential link is a separate eventIts existence is a random variable

Link reference modelE.g., instructors teaching a courseFix set of outgoing links per objectDistribution over # of endpoints for outgoing linkEach link has distribution over link endpoint

e.g., instructor link for CS course likely to point to CS prof

Many other models possible[Getoor, Friedman, K. Taskar, 2002]

Page 110: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Link Existence ModelBackground knowledge ξ is an object skeleton

A set of entity objects

PRM defines distribution over worlds ωAssignments of values to all attributesExistence of links between objects

Define objects for any potential linksE.g., a potential link object for any pair of webpagesw1, w2

Each potential link object has link existence attribute, denoting whether the link exists or notLink existence variables have probabilistic model

[Getoor, Friedman, K. Taskar, 2002]

Page 111: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Exists Uncertainty Example

Link

Page-fromTypeWords

TypeWords

Exists

From.Type To.Type

0.999 0001Student Student

False True

ProfessorStudent 0.995 0005

ProfessorProfessor 0.999 0001

Professor Student 0.998 0002

Page-to

Page 112: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Why Are Link Models Useful?

Predict which links exist in the worldWhich professor teaches each courseWhich student will register for which course

Use known links to infer values of attributesGiven that student registered for a hard class, is she more likely to be a graduate studentGiven that one page points to another, is it more likely to be a faculty page?

Page 113: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Predicting Relationships

Predict and classify relationships between objects

Tom MitchellProfessor

WebKBProject

Sean SlatteryStudent

Advisor-of

Member

Member

Page 114: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Rel

Flat Model

...Page

Word1 WordN

From-...

PageWord1 WordN

To-

Type

...LinkWord1 LinkWordNNONEadvisor

instructorTA

memberproject-of

Page 115: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Collective Classification: Links

Rel

...

Page

Word1 WordN

From-

...

Page

Word1 WordN

To-

Type

...LinkWord1 LinkWordN

Category Category

[Taskar, Wong, Abbeel, K., 2002]

Page 116: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Link Model

...

......

...

...

...

Page 117: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Triad Model

Professor Student

Course

Advisor

TAInstructor

Page 118: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Link Prediction: Results

Error measured over links predicted to be present

Link presence cutoff is at precision/recall break-even point (≈30% for all models) 0

5

10

15

20

25

30

Flat Links Triad

...

... ...72.9% relative reduction in error relative to strong flat approach

[Taskar, Wong, Abbeel, K., 2002]

Page 119: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Identity Uncertainty Model

Background knowledge ξ is an object universeA set of potential objects

PRM defines distribution over worlds ωAssignments of values to object attributesPartition of objects into equivalence classesObjects in same class have same attribute values

[Pasula, Marthi, Milch, Russell, Shpitser, 2002]

Page 120: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Citation Matching Model*

Each citation object associated with paper objectUncertainty over equivalence classes for papersIf P1=P2, have same attributes & links

Citation

AuthorName

Author-as-Cited

ObsTitle

Text

* Simplified

Name

PaperTitle

PubType

Appears-inRefers-toWritten-by

Link chain:Appears-in.Refers-to.Written-by

Title, PubType Authors

Page 121: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Identity Uncertainty

Depending on choice of equivalence classes:Number of objects changesDependency structure changes

No “nice” corresponding ground BN

Algorithm:Each partition hypothesis defines simple BNUse MCMC over equivalence class partitionExact inference over resulting BN defines acceptance probability for Markov chain

[Pasula, Marthi, Milch, Russell, Shpitser, 2002]

Page 122: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Identity Uncertainty Results

70

75

80

85

90

95

100

Face RL Reasoning Constraint Average

Phrase Match PRM+MCMC

Accuracy of citation recovery:% of actual citation clusters recovered perfectly

[Pasula, Marthi, Milch, Russell, Shpitser, 2002]

61.5% relative reduction in error relative to state of the art

Page 123: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

Summary: PRMs …

Inherit the advantages of graphical models:Coherent probabilistic semanticsExploit structure of local interactions

Allow us to represent the world in terms of:ObjectsClasses of objectsProperties of objectsRelations

Page 124: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

So What Do We Gain?Convenient language for specifying complex models

“Web of influence”: subtle & intuitive reasoning

A mechanism for tying parameters and structurewithin modelsacross models

Framework for learning from relational and heterogeneous data

Page 125: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

So What Do We Gain?New way of thinking about models & problems

Incorporating heterogeneous data by connecting related entities

New problems:Collective classificationRelational clustering

Uncertainty about richer structures:Link graph structureIdentity

Page 126: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

But What Do We Really Gain?

Simple PRMs ≈ relational logic w. fixed domain and ∀ onlyInduce a “propositional” BN

Can augment language with additional expressivityExistential quantifiers & functionsEquality

Resulting language is inherently more expressive, allowing us to represent distributions over

worlds where dependencies vary significantly [Getoor et al., Pasula et al.]

worlds with different numbers of objects [Pfeffer et al., Pasula et al.]

worlds with infinitely many objects [Pfeffer & K.]

Big questions: Inference & Learning

Are PRMs just a convenient language for specifying attribute-based graphical models?

Page 127: Probabilistic Models of Relational Domains · Relational Logic General framework for representing: objects & their properties classes of objects with same model relations between

http://robotics.stanford.edu/~koller/