paper-with-me

홈 › Papers

Towards Practical First-Order Model Counting

2025-02-17 · Ananth K. Kidambi, Guramrit Singh, Paulius Dilkas, Kuldeep S. Meel

First-order model counting (FOMC) is the problem of counting the number of models of a sentence in first-order logic. Since lifted inference techniques rely on reductions to variants of FOMC, the design of scalable methods for FOMC has attracted attention from both theoreticians and practitioners over the past decade. Recently, a new approach based on first-order knowledge compilation was proposed. This approach, called Crane, instead of simply providing the final count, generates definitions of (possibly recursive) functions that can be evaluated with different arguments to compute the model count for any domain size. However, this approach is not fully automated, as it requires manual evaluation of the constructed functions. The primary contribution of this work is a fully automated compilation algorithm, called Crane2, which transforms the function definitions into C++ code equipped with arbitrary-precision arithmetic. These additions allow the new FOMC algorithm to scale to domain sizes over 500,000 times larger than the current state of the art, as demonstrated through experimental results.

📄 PDF Abstract BibTeX arXiv:2502.12278

Code (0)

등록된 구현이 없습니다.

Tasks

C++ codemodelSentence

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Solving Combinatorial Counting Problems with Weighted First-Order Model Counting

2026-05-24 · Yuanhong Wang, Juhua Pu, Yuxu Zhou, Yuyi Wang 외 arxiv

Combinatorial counting problems pervade artificial intelligence, statistics, and discrete mathematics. Whether the task is enumerating subsets, multisets, permutations, partitions, or compositions under structural and ar…

A Fast Model Counting Algorithm for Two-Variable Logic with Counting and Modulo Counting Quantifiers

2026-05-05 · Shixin Sun, Astrid Klipfel, Ondřej Kuželka, Yuanhong Wang 외 arxiv

Weighted first-order model counting (WFOMC) is a central task in lifted probabilistic inference: It asks for the weighted sum of all models of a first-order sentence over a finite domain. A long line of work has identifi…

Weighted First-Order Model Counting in the Two-Variable Fragment With Counting Quantifiers

2020-07-10 · Ondrej Kuzelka

It is known due to the work of Van den Broeck et al [KR, 2014] that weighted first-order model counting (WFOMC) in the two-variable fragment of first-order logic can be solved in time polynomial in the number of domain e…

Skolemization for Weighted First-Order Model Counting

2013-12-19 · Guy Van den Broeck, Wannes Meert, Adnan Darwiche

First-order model counting emerged recently as a novel reasoning task, at the core of efficient algorithms for probabilistic logics. We present a Skolemization algorithm for model counting problems that eliminates existe…

model

Approximate Weighted First-Order Model Counting: Exploiting Fast Approximate Model Counters and Symmetry

2020-01-15 · Timothy van Bremen, Ondrej Kuzelka

We study the symmetric weighted first-order model counting task and present ApproxWFOMC, a novel anytime method for efficiently bounding the weighted first-order model count in the presence of an unweighted first-order m…

modelSentence