Lune

AAAI2023Top-tier venue

Lifted Inference with Linear Order Axiom

Jan Tóth, Ondrej Kuzelka

Abstract

We consider the task of weighted first-order model counting (WFOMC) used for probabilistic inference in the area of statistical relational learning. Given a formula φ, domain size n and a pair of weight functions, what is the weighted sum of all models of φ over a domain of size n? It was shown that computing WFOMC of any logical sentence with at most two logical variables can be done in time polynomial in n. However, it was also shown that the task is #P 1 -complete once we add the third variable, which inspired the search for extensions of the two-variable fragment that would still permit a running time polynomial in n. One of such extension is the two-variable fragment with counting quantifiers. In this paper, we prove that adding a linear order axiom (which forces one of the predicates in φ to introduce a linear ordering of the domain elements in each model of φ) on top of the counting quantifiers still permits a computation time polynomial in the domain size. We present a new dynamic programming-based algorithm which can compute WFOMC with linear order in time polynomial in n, thus proving our primary claim.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • On Exact Sampling in the Two-Variable Fragment of First-Order Logic cites Domain-Lifted Sampling for Universal Two-Variable Logic and Extensions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. On Exact Sampling in the Two-Variable Fragment of First-Order LogicYuanhong Wang, Juhua Pu, Yuyi Wang, Ondrej KuzelkaLICS 2023 · 2 citations
  2. Tractable Weighted First-Order Model Counting with Bounded Treewidth Binary EvidenceVáclav Kula, Qipeng Kuang, Yuyi Wang, Yuanhong Wang et al.AAAI 2026

Builds on3

  1. Weighted Model Counting in FO2 with Cardinality Constraints and Counting Quantifiers: A Closed Form FormulaSagar Malhotra, Luciano SerafiniAAAI 2022 · 9 citations
  2. Domain-Lifted Sampling for Universal Two-Variable Logic and ExtensionsYuanhong Wang, Timothy van Bremen, Yuyi Wang, Ondrej KuzelkaAAAI 2022 · 7 citations
  3. Probabilistic Generating CircuitsHonghua Zhang, Brendan Juba, Guy Van den BroeckICML 2021 · 5 citations

Related papers

  1. Learning to Reason: Leveraging Neural Networks for Approximate DNF CountingRalph Abboud, Ismail Ilkan Ceylan, Thomas LukasiewiczAAAI 2020 · 32 citations
  2. Model Enumeration of Two-Variable Logic with Quadratic Delay ComplexityQiaolan Meng, Juhua Pu, Hongting Niu, Yuyi Wang et al.LICS 2025 · 2 citations
  3. Model Counting for Dependency Quantified Boolean FormulasLong-Hin Fung, Che Cheng, Jie-Hong Roland Jiang, Friedrich Slivovsky et al.AAAI 2026
  4. The Gradient of Algebraic Model CountingJaron Maene, Luc De RaedtAAAI 2025 · 1 citation
  5. BOWL: Bayesian Optimization for Weight Learning in Probabilistic Soft LogicSriram Srinivasan, Golnoosh Farnadi, Lise GetoorAAAI 2020 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines