Lifted Inference beyond First-Order Logic

Sagar Malhotra, Davide Bizzaro, Luciano Serafini
8/22/2023
7 citations
cs.AIcs.LOmath.CO

Official code: dbizzaro/WFOMC-beyond-FOL (0 stars, Python, MIT, last commit 2026-04-20).

Abstract

Weighted First Order Model Counting (WFOMC) is fundamental to probabilistic inference in statistical relational learning models. As WFOMC is known to be intractable in general ($\#$P-complete), logical fragments that admit polynomial time WFOMC are of significant interest.

Show full abstract

Such fragments are called domain liftable. Recent works have shown that the two-variable fragment of first order logic extended with counting quantifiers ($\mathrm{C^2}$) is domain-liftable. However, many properties of real-world data, like acyclicity in citation networks and connectivity in social networks, cannot be modeled in $\mathrm{C^2}$, or first order logic in general. In this work, we expand the domain liftability of $\mathrm{C^2}$ with multiple such properties. We show that any $\mathrm{C^2}$ sentence remains domain liftable when one of its relations is restricted to represent a directed acyclic graph, a connected graph, a tree (resp. a directed tree) or a forest (resp. a directed forest). All our results rely on a novel and general methodology of "counting by splitting". Besides their application to probabilistic inference, our results provide a general framework for counting combinatorial structures. We expand a vast array of previous results in discrete mathematics literature on directed acyclic graphs, phylogenetic networks, etc.

View on arXivView PDF

Code Implementations(1)

MIT

Weighted First-Order Model Counting with DAG, Connected, Tree and Forest Axioms

00PythonOct 4, 20247 months agoMIT

Similar Papers

Cite this paper

@article{malhotra2023lifted,
  title  = {Lifted Inference beyond First-Order Logic},
  author = {Sagar Malhotra and Davide Bizzaro and Luciano Serafini},
  year   = {2023},
  eprint = {2308.11738},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.11738v5}
}

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/2308.11738.svg)](https://codeofpaper.com/paper/2308.11738)

Discussion