Solving Projected Model Counting by Utilizing Treewidth and its Limits
- URL: http://arxiv.org/abs/2305.19212v2
- Date: Wed, 31 May 2023 00:51:58 GMT
- Title: Solving Projected Model Counting by Utilizing Treewidth and its Limits
- Authors: Johannes K. Fichte, Markus Hecher, Michael Morak, Patrick Thier,
Stefan Woltran
- Abstract summary: We introduce a novel algorithm to solve projected model counting (PMC)
Inspired by the observation that the so-called "treewidth" is one of the most prominent structural parameters, our algorithm utilizes small treewidth of the primal graph of the input instance.
- Score: 23.81311815698799
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: In this paper, we introduce a novel algorithm to solve projected model
counting (PMC). PMC asks to count solutions of a Boolean formula with respect
to a given set of projection variables, where multiple solutions that are
identical when restricted to the projection variables count as only one
solution. Inspired by the observation that the so-called "treewidth" is one of
the most prominent structural parameters, our algorithm utilizes small
treewidth of the primal graph of the input instance. More precisely, it runs in
time O(2^2k+4n2) where k is the treewidth and n is the input size of the
instance. In other words, we obtain that the problem PMC is fixed-parameter
tractable when parameterized by treewidth. Further, we take the exponential
time hypothesis (ETH) into consideration and establish lower bounds of bounded
treewidth algorithms for PMC, yielding asymptotically tight runtime bounds of
our algorithm. While the algorithm above serves as a first theoretical upper
bound and although it might be quite appealing for small values of k,
unsurprisingly a naive implementation adhering to this runtime bound suffers
already from instances of relatively small width. Therefore, we turn our
attention to several measures in order to resolve this issue towards exploiting
treewidth in practice: We present a technique called nested dynamic
programming, where different levels of abstractions of the primal graph are
used to (recursively) compute and refine tree decompositions of a given
instance. Finally, we provide a nested dynamic programming algorithm and an
implementation that relies on database technology for PMC and a prominent
special case of PMC, namely model counting (#Sat). Experiments indicate that
the advancements are promising, allowing us to solve instances of treewidth
upper bounds beyond 200.
Related papers
- Des-q: a quantum algorithm to provably speedup retraining of decision trees [2.7262923206583136]
We introduce Des-q, a novel quantum algorithm to construct and retrain decision trees for regression and binary classification tasks.
We benchmark the simulated version of Des-q against the state-of-the-art classical methods on multiple data sets.
Our algorithm exhibits similar performance to the state-of-the-art decision trees while significantly speeding up the periodic tree retraining.
arXiv Detail & Related papers (2023-09-18T17:56:08Z) - Generalization Bounds for Magnitude-Based Pruning via Sparse Matrix
Sketching [2.1485350418225244]
We build on Arora et al. [ 2018] where the error depends on one, the approximation induced by pruning, and two, the number of parameters in the pruned model.
The pruned estimates are close to the unpruned functions with high probability, which improves the first criteria.
We empirically verify the success of this new method on ReLU-activated Feed Forward Networks on the MNIST and CIFAR10 datasets.
arXiv Detail & Related papers (2023-05-30T07:00:06Z) - Threshold Treewidth and Hypertree Width [37.90910578253212]
Treewidth and hypertree width have proven to be highly successful structural parameters in the context of the Constraint Satisfaction (CSP)
Here we introduce an enhancement of tree and hypertree width through a novel notion of thresholds.
We obtain efficient theoretical as well as empirical algorithms for computing threshold treewidth and hypertree width.
arXiv Detail & Related papers (2022-10-13T13:53:59Z) - Advanced Tools and Methods for Treewidth-Based Problem Solving --
Extended Abstract [9.480212602202517]
This work focuses on logic-based problems and treewidth-based methods and tools for solving them.
We present a new type of problem reduction, which is referred to by decomposition-guided (DG)
We implement an algorithm for solving extensions of Sat efficiently, by directly using treewidth.
arXiv Detail & Related papers (2022-08-24T07:43:58Z) - Minimax Optimal Quantization of Linear Models: Information-Theoretic
Limits and Efficient Algorithms [59.724977092582535]
We consider the problem of quantizing a linear model learned from measurements.
We derive an information-theoretic lower bound for the minimax risk under this setting.
We show that our method and upper-bounds can be extended for two-layer ReLU neural networks.
arXiv Detail & Related papers (2022-02-23T02:39:04Z) - Lower Bounds and Optimal Algorithms for Smooth and Strongly Convex
Decentralized Optimization Over Time-Varying Networks [79.16773494166644]
We consider the task of minimizing the sum of smooth and strongly convex functions stored in a decentralized manner across the nodes of a communication network.
We design two optimal algorithms that attain these lower bounds.
We corroborate the theoretical efficiency of these algorithms by performing an experimental comparison with existing state-of-the-art methods.
arXiv Detail & Related papers (2021-06-08T15:54:44Z) - Improved Branch and Bound for Neural Network Verification via Lagrangian
Decomposition [161.09660864941603]
We improve the scalability of Branch and Bound (BaB) algorithms for formally proving input-output properties of neural networks.
We present a novel activation-based branching strategy and a BaB framework, named Branch and Dual Network Bound (BaDNB)
BaDNB outperforms previous complete verification systems by a large margin, cutting average verification times by factors up to 50 on adversarial properties.
arXiv Detail & Related papers (2021-04-14T09:22:42Z) - Efficient Computation of Expectations under Spanning Tree Distributions [67.71280539312536]
We propose unified algorithms for the important cases of first-order expectations and second-order expectations in edge-factored, non-projective spanning-tree models.
Our algorithms exploit a fundamental connection between gradients and expectations, which allows us to derive efficient algorithms.
arXiv Detail & Related papers (2020-08-29T14:58:26Z) - Learning to Accelerate Heuristic Searching for Large-Scale Maximum
Weighted b-Matching Problems in Online Advertising [51.97494906131859]
Bipartite b-matching is fundamental in algorithm design, and has been widely applied into economic markets, labor markets, etc.
Existing exact and approximate algorithms usually fail in such settings due to either requiring intolerable running time or too much computation resource.
We propose textttNeuSearcher which leverages the knowledge learned from previously instances to solve new problem instances.
arXiv Detail & Related papers (2020-05-09T02:48:23Z) - Lagrangian Decomposition for Neural Network Verification [148.0448557991349]
A fundamental component of neural network verification is the computation of bounds on the values their outputs can take.
We propose a novel approach based on Lagrangian Decomposition.
We show that we obtain bounds comparable with off-the-shelf solvers in a fraction of their running time.
arXiv Detail & Related papers (2020-02-24T17:55:10Z)
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.