mlsanityData to 7 Oct 2026

Lifted Algorithms for Symmetric Weighted First-Order Model Sampling

arXiv 2308.08828 ↗First posted 17 Aug 2023cs.AI cs.LOcited by 6

Not on the map. Why?

Abstract (arXiv)

Weighted model counting (WMC) is the task of computing the weighted sum of all satisfying assignments (i.e., models) of a propositional formula. Similarly, weighted model sampling (WMS) aims to randomly generate models with probability proportional to their respective weights. Both WMC and WMS are hard to solve exactly, falling under the #mathsfP-hard complexity class. However, it is known that the counting problem may sometimes be tractable, if the propositional formula can be compactly represented and expressed in first-order logic. In such cases, model counting problems can be solved in time polynomial in the domain size, and are known as domain-liftable. The following question then arises: Is it also the case for weighted model sampling? This paper addresses this question and answers it affirmatively. Specifically, we prove the domain-liftability under sampling for the two-variables fragment of first-order logic with counting quantifiers in this paper, by devising an efficient sampling algorithm for this fragment that runs in time polynomial in the domain size. We then further show that this result continues to hold even in the presence of cardinality constraints. To empirically verify our approach, we conduct experiments over various first-order formulas designed for the uniform generation of combinatorial structures and sampling in statistical-relational models. The results demonstrate that our algorithm outperforms a start-of-the-art WMS sampler by a substantial margin, confirming the theoretical results.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 16 of its 56 references that are in the map. First posted on arXiv 17 Aug 2023.

Builds on

16 of 56 references.

References · 16

  1. 2014Lifted Variable Elimination: Decoupling the Operators from the Constraint Languagecited by 19
  2. 2014Symmetric Weighted First-Order Model Countingcited by 19
  3. 2020Weighted First-Order Model Counting in the Two-Variable Fragment With Counting Quantifierscited by 16
  4. 2013Skolemization for Weighted First-Order Model Countingcited by 15
  5. 2016New Liftable Classes for First-Order Probabilistic Inferencecited by 15
  6. 2018Weighted model counting beyond two-variable logiccited by 13
  7. 2022Lifted Inference with Linear Order Axiomcited by 13
  8. 2013A Scalable and Nearly Uniform Generator of SAT Witnessescited by 10
  9. 2016Uniform Sampling through the Lov'asz Local Lemmacited by 9
  10. 2017Domain Recursion for Lifted Inference with Existential Quantifierscited by 7
  11. 2020Sampling Constraint Satisfaction Solutions in the Local Lemma Regimecited by 6
  12. 2013On the Complexity and Approximation of Binary Evidence in Lifted Inferencecited by 5
4 more
  1. 2015Uniform generation of random regular graphscited by 4
  2. 2021Perfect Sampling for (Atomic) Lov'asz Local Lemmacited by 4
  3. 2023On Exact Sampling in the Two-Variable Fragment of First-Order Logiccited by 3
  4. 2020Approximate Weighted First-Order Model Counting: Exploiting Fast Approximate Model Counters and Symmetrycited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 2.

6 papers.