Understanding Domain-Size Generalization in Markov Logic Networks

Florian Chen, Felix Weitkämper, Sagar Malhotra
3/23/2024
cs.AIcs.LG

No official code found. Best implementation: florian-chen/regularization_experiments (3 stars, last commit 2024-03-23).

Abstract

We study the generalization behavior of Markov Logic Networks (MLNs) across relational structures of different sizes. Multiple works have noticed that MLNs learned on a given domain generalize poorly across domains of different sizes. This behavior emerges from a lack of internal consistency within an MLN when used across different domain sizes. In this paper, we quantify this inconsistency and bound it in terms of the variance of the MLN parameters. The parameter variance also bounds the KL divergence between an MLN's marginal distributions taken from different domain sizes. We use these bounds to show that maximizing the data log-likelihood while simultaneously minimizing the parameter variance corresponds to two natural notions of generalization across domain sizes. Our theoretical results apply to Exponential Random Graphs and other Markov network based relational models. Finally, we observe that solutions known to decrease the variance of the MLN parameters, like regularization and Domain-Size Aware MLNs, increase the internal consistency of the MLNs. We empirically verify our results on four different datasets, with different methods to control parameter variance, showing that controlling parameter variance leads to better generalization.

View on arXivView PDF

Code Implementations(1)

Experiments for Understanding Domain-Size Generalization in Markov Logic Networks

30Java, ScalaMar 22, 20242 years ago

Similar Papers

Cite this paper

@article{chen2024understanding,
  title  = {Understanding Domain-Size Generalization in Markov Logic Networks},
  author = {Florian Chen and Felix Weitkämper and Sagar Malhotra},
  year   = {2024},
  eprint = {2403.15933},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.15933v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.15933.svg)](https://codeofpaper.com/paper/2403.15933)

Discussion