paper-with-me

홈 › Papers

Solving Combinatorial Counting Problems with Weighted First-Order Model Counting

2026-05-24 · Yuanhong Wang, Juhua Pu, Yuxu Zhou, Yuyi Wang, Ondřej Kuželka 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 arithmetic constraints, solving it remains a stubbornly manual exercise. Closed-form derivations are powerful but brittle, while naive encodings to propositional model counting or constraint satisfaction destroy the exchangeability that makes counting tractable in the first place. We present Cofola (COmbinatorial counting LAnguage with First-Order logic), a typed declarative language whose primitives are the combinatorial objects that recur in everyday counting questions, including sets, bags, tuples, sequences, circles, partitions, and compositions, together with natural relational and arithmetic constraints over them. A denotational semantics maps every Cofola program to a well-defined combinatorial counting problem, and a three-phase compilation pipeline (preprocessing, decomposition, and symmetry-preserving encoding) reduces this problem to a weighted first-order model counting (WFOMC) instance augmented with coefficient-extraction constraints. To stay inside known domain-liftable fragments whenever possible, the encoding groups indistinguishable entities, breaks the symmetry of unordered groupings lexicographically, and encodes sequences and circles via order axioms. On a suite of representative combinatorial counting problems, ranging from textbook math problems to multi-object scenarios that the closest prior framework cannot express, Cofola produces concise specifications and a uniform solving pipeline that is practical end-to-end.

📄 PDF Abstract BibTeX arXiv:2605.24845

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Tractable Weighted First-Order Model Counting with Bounded Treewidth Binary Evidence

2025-11-12 · Václav Kůla, Qipeng Kuang, Yuyi Wang, Yuanhong Wang 외 arxiv

The Weighted First-Order Model Counting Problem (WFOMC) asks to compute the weighted sum of models of a given first-order logic sentence over a given domain. Conditioning WFOMC on evidence -- fixing the truth values of a…

Evolutionary Algorithms for Solving Unconstrained, Constrained and Multi-objective Noisy Combinatorial Optimisation Problems

2021-10-05 · Aishwaryaprajna, Jonathan E. Rowe

We present an empirical study of a range of evolutionary algorithms applied to various noisy combinatorial optimisation problems. There are three sets of experiments. The first looks at several toy problems, such as OneM…

Evolutionary Algorithms

Lifted Algorithms for Symmetric Weighted First-Order Model Sampling

2023-08-17 · Yuanhong Wang, Juhua Pu, Yuyi Wang, Ondřej Kuželka

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 w…

Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems

2019-11-22 · Jaynta Mandi, Emir Demirović, Peter J. Stuckey, Tias Guns

Combinatorial optimization assumes that all parameters of the optimization problem, e.g. the weights in the objective function is fixed. Often, these weights are mere estimates and increasingly machine learning technique…

Combinatorial OptimizationScheduling

Solving Satisfiability Modulo Counting for Symbolic and Statistical AI Integration With Provable Guarantees

2023-09-16 · Jinzhao Li, Nan Jiang, Yexiang Xue

Satisfiability Modulo Counting (SMC) encompasses problems that require both symbolic decision-making and statistical reasoning. Its general formulation captures many real-world problems at the intersection of symbolic an…

Decision Making