Treewidth-Aware Complexity in ASP: Not all Positive Cycles are Equally
Hard
- URL: http://arxiv.org/abs/2007.04620v1
- Date: Thu, 9 Jul 2020 08:09:41 GMT
- Title: Treewidth-Aware Complexity in ASP: Not all Positive Cycles are Equally
Hard
- Authors: Markus Hecher, Jorge Fandinno
- Abstract summary: It is known that deciding consistency for normal answer set programs (ASP) is NP-complete, as hard as the satisfaction problem for classical propositional logic (SAT)
We show that the consistency problem for ASP can be solved in exponential time in k cdot log(lambda) where lambda is the minimum between the treewidth and the size of the largest strongly-connected component in the positive dependency graph of the program.
- Score: 15.5385123560379
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: It is well-know that deciding consistency for normal answer set programs
(ASP) is NP-complete, thus, as hard as the satisfaction problem for classical
propositional logic (SAT). The best algorithms to solve these problems take
exponential time in the worst case. The exponential time hypothesis (ETH)
implies that this result is tight for SAT, that is, SAT cannot be solved in
subexponential time. This immediately establishes that the result is also tight
for the consistency problem for ASP. However, accounting for the treewidth of
the problem, the consistency problem for ASP is slightly harder than SAT: while
SAT can be solved by an algorithm that runs in exponential time in the
treewidth k, it was recently shown that ASP requires exponential time in k
\cdot log(k). This extra cost is due checking that there are no self-supported
true atoms due to positive cycles in the program. In this paper, we refine the
above result and show that the consistency problem for ASP can be solved in
exponential time in k \cdot log({\lambda}) where {\lambda} is the minimum
between the treewidth and the size of the largest strongly-connected component
in the positive dependency graph of the program. We provide a dynamic
programming algorithm that solves the problem and a treewidth-aware reduction
from ASP to SAT that adhere to the above limit.
Related papers
- Self-Satisfied: An end-to-end framework for SAT generation and prediction [0.7340017786387768]
We introduce hardware accelerated algorithms for fast SAT problem generation and a geometric SAT encoding.
These advances allow us to scale our approach to SAT problems with thousands of variables and tens of thousands of clauses.
A fundamental aspect of our work concerns the very nature of SAT data and its suitability for training machine learning models.
arXiv Detail & Related papers (2024-10-18T22:25:54Z) - Decomposing Hard SAT Instances with Metaheuristic Optimization [52.03315747221343]
We introduce the notion of decomposition hardness (d-hardness)
We show that the d-hardness expresses an estimate of the hardness of $C$ w.r.t.
arXiv Detail & Related papers (2023-12-16T12:44:36Z) - A Parallel and Distributed Quantum SAT Solver Based on Entanglement and
Quantum Teleportation [1.5201992393140886]
We develop a parallel quantum SAT solver, which reduces the time complexity in each iteration from linear time O(m) to constant time O(1) by utilising extra entangled qubits.
We have proved the correctness of our approaches and demonstrated them in simulations.
arXiv Detail & Related papers (2023-08-07T06:52:06Z) - Information-Computation Tradeoffs for Learning Margin Halfspaces with
Random Classification Noise [50.64137465792738]
We study the problem of PAC $gamma$-margin halfspaces with Random Classification Noise.
We establish an information-computation tradeoff suggesting an inherent gap between the sample complexity of the problem and the sample complexity of computationally efficient algorithms.
arXiv Detail & Related papers (2023-06-28T16:33:39Z) - W2SAT: Learning to generate SAT instances from Weighted Literal Incidence Graphs [11.139131079925113]
W2SAT is a framework to generate SAT formulas by learning intrinsic structures and properties from given real-world/industrial instances.
We introduce a novel SAT representation called Weighted Literal Incidence Graph (WLIG), which exhibits strong representation ability and generalizability.
Decoding from WLIG into SAT problems is then modeled as finding overlapping cliques with a novel hill-climbing optimization method.
arXiv Detail & Related papers (2023-02-01T06:30:41Z) - Characterizing Structural Hardness of Logic Programs: What makes Cycles
and Reachability Hard for Treewidth? [9.480212602202517]
This paper deals with a novel reduction from SAT to normal ASP that goes beyond well-known encodings.
This characterizes hardness in a fine-grained way by establishing the required functional dependency of the dependency graph's cycle length.
arXiv Detail & Related papers (2023-01-18T12:29:45Z) - Treewidth-aware Reductions of Normal ASP to SAT -- Is Normal ASP Harder
than SAT after All? [9.480212602202517]
We show a new result establishing that, when considering treewidth, already the fragment of normal ASP is slightly harder than SAT.
We present an empirical study of our novel reduction from normal ASP to SAT, where we compare treewidth upper bounds that are obtained via known decompositions.
arXiv Detail & Related papers (2022-10-07T13:40:07Z) - Estimating the hardness of SAT encodings for Logical Equivalence
Checking of Boolean circuits [58.83758257568434]
We show that the hardness of SAT encodings for LEC instances can be estimated textitw.r.t some SAT partitioning.
The paper proposes several methods for constructing partitionings, which, when used in practice, allow one to estimate the hardness of SAT encodings for LEC with good accuracy.
arXiv Detail & Related papers (2022-10-04T09:19:13Z) - Machine Learning Methods in Solving the Boolean Satisfiability Problem [72.21206588430645]
The paper reviews the recent literature on solving the Boolean satisfiability problem (SAT) with machine learning techniques.
We examine the evolving ML-SAT solvers from naive classifiers with handcrafted features to the emerging end-to-end SAT solvers such as NeuroSAT.
arXiv Detail & Related papers (2022-03-02T05:14:12Z) - Transformer-based Machine Learning for Fast SAT Solvers and Logic
Synthesis [63.53283025435107]
CNF-based SAT and MaxSAT solvers are central to logic synthesis and verification systems.
In this work, we propose a one-shot model derived from the Transformer architecture to solve the MaxSAT problem.
arXiv Detail & Related papers (2021-07-15T04:47:35Z) - From Checking to Inference: Actual Causality Computations as
Optimization Problems [79.87179017975235]
We present a novel approach to formulate different notions of causal reasoning, over binary acyclic models, as optimization problems.
We show that both notions are efficiently automated. Using models with more than $8000$ variables, checking is computed in a matter of seconds, with MaxSAT outperforming ILP in many cases.
arXiv Detail & Related papers (2020-06-05T10:56:52Z)
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.