Relational Marginal Problems: Theory and Estimation

Ondrej Kuzelka, Yuyi Wang, Jesse Davis, Steven Schockaert

Introduction

Statistical Relational Learning (SRL) frameworks, such as Markov Logic Networks (MLNs), are powerful tools for modeling complex, interconnected data. However, a persistent challenge in SRL is the "domain size problem": models trained on a network of a specific size often fail to generalize when applied to networks of different sizes. This occurs because the relative influence of logical formulas can shift dramatically as the number of nodes increases, leading to skewed probability distributions. Furthermore, the inherent dependencies in relational data make it difficult to establish rigorous statistical guarantees for parameter estimation.

This paper addresses these issues by framing parameter learning as a relational marginal problem. By establishing a mathematical duality between maximum-entropy distributions and maximum-likelihood estimation, the authors provide a theoretical foundation for scaling relational models across different domain sizes while offering strict bounds on estimation errors.

Relational Marginal Problems and Duality

The authors generalize the classical marginal problem to the relational setting. In standard statistics, a marginal problem seeks the maximum-entropy distribution that matches a set of observed marginal probabilities. In the relational context, the authors define two models for measuring marginals:

  • Model A: Focuses on statistics derived from sampling subsets of constants (nodes) to create local examples.
  • Model B: Focuses on statistics derived from random, injective substitutions of variables into logical formulas.

A key contribution of the paper is the proof of a strong duality between solving these maximum-entropy relational marginal problems and performing maximum-likelihood estimation. Specifically, the dual optimization problem for Model B is shown to be mathematically equivalent to maximum-likelihood estimation in MLNs, providing a rigorous justification for the use of MLNs in relational modeling.

Realizability and the $l$-level Expansion

A significant hurdle in cross-domain scaling is realizability: the marginal statistics observed in a small sample graph may not be mathematically achievable in a larger graph. For instance, a specific distribution of colored triangles in a 3-node graph might be geometrically impossible to maintain in a 4-node graph. To bridge this gap, the authors introduce the $l$-level expansion technique.

Figure 1: A visualization of a relational structure, illustrating the layered dependencies and potential tiling used to ensure realizability across domain sizes.

The $l$-level expansion involves copying and tiling the original graph in a structured manner to adjust estimated parameters, ensuring they remain valid (realizable) for larger domains. The authors prove that the discrepancy between the marginal probabilities of the original graph and its expansion decays at a rate of $O(1/n)$, where $n$ is the domain size. This implies that the adjustment penalty becomes negligible as the graph size increases.

Statistical Guarantees and Effective Sample Size

The paper provides concrete upper bounds on the expected error of parameter estimates. If the true parameters lie within the "relational marginal polytope," the expected error is bounded by a factor proportional to $\sqrt{(1 + 2\log 2) / (4\lfloor m/k \rfloor)}$, where $m$ is the number of nodes in the sample and $k$ is the number of variables in the logical rule.

This result highlights a critical insight: the effective sample size for a relational rule with $k$ variables is bounded by $\lfloor m/k \rfloor$. This explains why learning complex, high-arity logical rules is statistically challenging—the effective amount of data decreases significantly as the complexity of the rules increases.

Conclusion and Future Directions

While providing a robust theoretical framework, the authors acknowledge certain limitations. The $l$-level expansion may violate "hard" logical constraints present in the original sample. Additionally, the current error bounds assume uniform sampling of nodes, whereas real-world network data is often collected through biased processes like random walks or snowball sampling. Future research is needed to extend these theoretical results to more realistic sampling scenarios and to refine the expansion techniques for models with strict logical constraints.

Summary updated

BibTeX
@inproceedings{kuzelka2018relational,
  author = {Ondrej Kuzelka and Yuyi Wang and Jesse Davis and Steven Schockaert},
  title = {{Relational Marginal Problems: Theory and Estimation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.12113},
}
Figure