A relational Markov network (RMN) [9] is a model for
data with relations and discrete attributes. It is specified by a set
of clique templates
and corresponding potentials
.
Using the example in the introduction, a model can be formed by
defining a single clique template
and the corresponding potential
over
which is (a subset of) the concatenation of attribute vectors
,
, and
.
Given a relational database, the RMN produces an unrolled Markov
network over all the attributes
. The cliques
instantiated by a template
share the same clique
potential
.
The combined probabilistic model is
,
where
is a normalisation constant and
contains all the instantiations of the template
.
In general, a template can be any boolean formula over the
relations.
The general inference task is to compute the posterior distribution over
all the variables
. The network induced by data can be very large
and densely connected, so exact inference is often
intractable [9]. The belief propagation (BP) algorithm
[6] is guaranteed to converge to the correct marginal
probabilities only for singly connected Markov networks, but it is
used as a good approximation also in the loopy case.
The learning task, or the estimation of the potentials
is done using the maximum a posteriori criterion. It
requires an iterative algorithm alternating between updating the
parameters of the potentials and running the inference algorithm on
the unrolled Markov network.