Weighted First Order Model Counting for Two-variable Logic with Axioms on Two Relations
- URL: http://arxiv.org/abs/2508.11515v1
- Date: Fri, 15 Aug 2025 14:54:17 GMT
- Title: Weighted First Order Model Counting for Two-variable Logic with Axioms on Two Relations
- Authors: Qipeng Kuang, Václav Kůla, Ondřej Kuželka, Yuanhong Wang, Yuyi Wang,
- Abstract summary: We show that WFOMC for $textFO2$ with two linear order relations and $textFO2$ with two acyclic relations are $mathsf#P_1$-hard.<n>We provide an algorithm in time in the domain size for WFOMC of $textC2$ with a linear order relation, its successor relation and another successor relation.
- Score: 5.843053614714943
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: 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. The boundary between fragments for which WFOMC can be computed in polynomial time relative to the domain size lies between the two-variable fragment ($\text{FO}^2$) and the three-variable fragment ($\text{FO}^3$). It is known that WFOMC for \FOthree{} is $\mathsf{\#P_1}$-hard while polynomial-time algorithms exist for computing WFOMC for $\text{FO}^2$ and $\text{C}^2$, possibly extended by certain axioms such as the linear order axiom, the acyclicity axiom, and the connectedness axiom. All existing research has concentrated on extending the fragment with axioms on a single distinguished relation, leaving a gap in understanding the complexity boundary of axioms on multiple relations. In this study, we explore the extension of the two-variable fragment by axioms on two relations, presenting both negative and positive results. We show that WFOMC for $\text{FO}^2$ with two linear order relations and $\text{FO}^2$ with two acyclic relations are $\mathsf{\#P_1}$-hard. Conversely, we provide an algorithm in time polynomial in the domain size for WFOMC of $\text{C}^2$ with a linear order relation, its successor relation and another successor relation.
Related papers
- Tractable Weighted First-Order Model Counting with Bounded Treewidth Binary Evidence [2.5551288018371157]
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 domain.<n>We present an algorithm for computing WFOMC for the two-tree fragments $textFO2$ and $text2$ conditioned by such binary evidence.
arXiv Detail & Related papers (2025-11-12T10:12:39Z) - A Polynomial-Time Algorithm for Variational Inequalities under the Minty Condition [77.76727425995186]
Solving variational inequalities (SVIs) is a foundational problem at the heart of optimization.<n>Most research has focused on carving out specific subclasses that elude those intractability barriers.
arXiv Detail & Related papers (2025-04-04T13:24:41Z) - Learning and Computation of $Φ$-Equilibria at the Frontier of Tractability [85.07238533644636]
$Phi$-equilibria is a powerful and flexible framework at the heart of online learning and game theory.<n>We show that an efficient online algorithm incurs average $Phi$-regret at most $epsilon$ using $textpoly(d, k)/epsilon2$ rounds.<n>We also show nearly matching lower bounds in the online setting, thereby obtaining for the first time a family of deviations that captures the learnability of $Phi$-regret.
arXiv Detail & Related papers (2025-02-25T19:08:26Z) - Data subsampling for Poisson regression with pth-root-link [53.63838219437508]
We develop and analyze data subsampling techniques for Poisson regression.
In particular, we consider the Poisson generalized linear model with ID- and square root-link functions.
arXiv Detail & Related papers (2024-10-30T10:09:05Z) - Bridging Weighted First Order Model Counting and Graph Polynomials [6.2686964302152735]
We use Weak Connectedness Polynomial and Strong Connectedness Polynomials for first-order logic sentences.
We can use them to solve WFOMC with all of the existing axioms known to be tractable.
arXiv Detail & Related papers (2024-07-16T16:01:25Z) - Lifted Inference beyond First-Order Logic [8.577974472273256]
We show that any $mathrmC2$ sentence remains domain liftable when one of its relational properties is a directed acyclic graph, a connected graph, a tree or a forest.<n>Our results rely on a novel and general methodology of "counting by splitting"
arXiv Detail & Related papers (2023-08-22T18:58:21Z) - Weighted First Order Model Counting with Directed Acyclic Graph Axioms [7.766921168069532]
Probabilistic inference and learning in many SRL can be reduced to Weighted First Model Counting (WFOMC)
WFOMC is known to be intractable ($mathrm#P$ complete)
We show that the fragment $mathrmC2$ with a Directed Acyclic Graph (DAG)exclusion, i.e., a axiomatized to represent axiom DAG, is domain liftable.
arXiv Detail & Related papers (2023-02-20T08:35:13Z) - Average-Case Complexity of Tensor Decomposition for Low-Degree
Polynomials [93.59919600451487]
"Statistical-computational gaps" occur in many statistical inference tasks.
We consider a model for random order-3 decomposition where one component is slightly larger in norm than the rest.
We show that tensor entries can accurately estimate the largest component when $ll n3/2$ but fail to do so when $rgg n3/2$.
arXiv Detail & Related papers (2022-11-10T00:40:37Z) - Lifted Inference with Linear Order Axiom [0.0]
We consider the task of weighted first-order model counting (WFOMC)
We show that WFOMC of any logical sentence with at most two logical variables can be done in time in $n$.
We present a new dynamic programming-based algorithm which can compute WFOMC with linear order in time in $n$.
arXiv Detail & Related papers (2022-11-02T14:38:01Z) - FeDXL: Provable Federated Learning for Deep X-Risk Optimization [105.17383135458897]
We tackle a novel federated learning (FL) problem for optimizing a family of X-risks, to which no existing algorithms are applicable.
The challenges for designing an FL algorithm for X-risks lie in the non-decomability of the objective over multiple machines and the interdependency between different machines.
arXiv Detail & Related papers (2022-10-26T00:23:36Z) - The Approximate Degree of DNF and CNF Formulas [95.94432031144716]
For every $delta>0,$ we construct CNF and formulas of size with approximate degree $Omega(n1-delta),$ essentially matching the trivial upper bound of $n.
We show that for every $delta>0$, these models require $Omega(n1-delta)$, $Omega(n/4kk2)1-delta$, and $Omega(n/4kk2)1-delta$, respectively.
arXiv Detail & Related papers (2022-09-04T10:01:39Z) - Horizon-Free Reinforcement Learning in Polynomial Time: the Power of
Stationary Policies [88.75843804630772]
We design an algorithm that achieves an $Oleft(mathrmpoly(S,A,log K)sqrtKright)$ regret in contrast to existing bounds.
Our result relies on a sequence of new structural lemmas establishing the approximation power, stability, and concentration property of stationary policies.
arXiv Detail & Related papers (2022-03-24T08:14:12Z) - Stochastic behavior of outcome of Schur-Weyl duality measurement [45.41082277680607]
We focus on the measurement defined by the decomposition based on Schur-Weyl duality on $n$ qubits.
We derive various types of distribution including a kind of central limit when $n$ goes to infinity.
arXiv Detail & Related papers (2021-04-26T15:03:08Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.