Cargando…
On the Sparsity of XORs in Approximate Model Counting
Given a Boolean formula [Formula: see text], the problem of model counting, also referred to as #SAT, is to compute the number of solutions of [Formula: see text]. The hashing-based techniques for approximate counting have emerged as a dominant approach, promising achievement of both scalability and...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7326560/ http://dx.doi.org/10.1007/978-3-030-51825-7_18 |
_version_ | 1783552370996674560 |
---|---|
author | Agrawal, Durgesh Bhavishya Meel, Kuldeep S. |
author_facet | Agrawal, Durgesh Bhavishya Meel, Kuldeep S. |
author_sort | Agrawal, Durgesh |
collection | PubMed |
description | Given a Boolean formula [Formula: see text], the problem of model counting, also referred to as #SAT, is to compute the number of solutions of [Formula: see text]. The hashing-based techniques for approximate counting have emerged as a dominant approach, promising achievement of both scalability and rigorous theoretical guarantees. The standard construction of strongly 2-universal hash functions employs dense XORs (i.e., involving half of the variables in expectation), which is widely known to cause degradation in the runtime performance of state of the art [Formula: see text] solvers. Consequently, the past few years have witnessed an intense activity in the design of sparse XORs as hash functions. Such constructions have been proposed with beliefs to provide runtime performance improvement along with theoretical guarantees similar to that of dense XORs. The primary contribution of this paper is a rigorous theoretical and empirical analysis to understand the effect of the sparsity of XORs. In contradiction to prior beliefs of applicability of analysis for sparse hash functions to all the hashing-based techniques, we prove a contradictory result. We show that the best-known bounds obtained for sparse XORs are still too weak to yield theoretical guarantees for a large class of hashing-based techniques, including the state of the art approach [Formula: see text]. We then turn to a rigorous empirical analysis of the performance benefits of sparse hash functions. To this end, we first design, to the best of our knowledge, the most efficient algorithm called [Formula: see text] using sparse hash functions, which achieves at least up to two orders of magnitude performance improvement over its predecessor. Contradicting the current beliefs, we observe that [Formula: see text] still falls short of [Formula: see text] in runtime performance despite the usage of dense XORs in [Formula: see text]. In conclusion, our work showcases that the question of whether it is possible to use short XORs to achieve scalability while providing strong theoretical guarantees is still wide open. |
format | Online Article Text |
id | pubmed-7326560 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
record_format | MEDLINE/PubMed |
spelling | pubmed-73265602020-07-01 On the Sparsity of XORs in Approximate Model Counting Agrawal, Durgesh Bhavishya Meel, Kuldeep S. Theory and Applications of Satisfiability Testing – SAT 2020 Article Given a Boolean formula [Formula: see text], the problem of model counting, also referred to as #SAT, is to compute the number of solutions of [Formula: see text]. The hashing-based techniques for approximate counting have emerged as a dominant approach, promising achievement of both scalability and rigorous theoretical guarantees. The standard construction of strongly 2-universal hash functions employs dense XORs (i.e., involving half of the variables in expectation), which is widely known to cause degradation in the runtime performance of state of the art [Formula: see text] solvers. Consequently, the past few years have witnessed an intense activity in the design of sparse XORs as hash functions. Such constructions have been proposed with beliefs to provide runtime performance improvement along with theoretical guarantees similar to that of dense XORs. The primary contribution of this paper is a rigorous theoretical and empirical analysis to understand the effect of the sparsity of XORs. In contradiction to prior beliefs of applicability of analysis for sparse hash functions to all the hashing-based techniques, we prove a contradictory result. We show that the best-known bounds obtained for sparse XORs are still too weak to yield theoretical guarantees for a large class of hashing-based techniques, including the state of the art approach [Formula: see text]. We then turn to a rigorous empirical analysis of the performance benefits of sparse hash functions. To this end, we first design, to the best of our knowledge, the most efficient algorithm called [Formula: see text] using sparse hash functions, which achieves at least up to two orders of magnitude performance improvement over its predecessor. Contradicting the current beliefs, we observe that [Formula: see text] still falls short of [Formula: see text] in runtime performance despite the usage of dense XORs in [Formula: see text]. In conclusion, our work showcases that the question of whether it is possible to use short XORs to achieve scalability while providing strong theoretical guarantees is still wide open. 2020-06-26 /pmc/articles/PMC7326560/ http://dx.doi.org/10.1007/978-3-030-51825-7_18 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic. |
spellingShingle | Article Agrawal, Durgesh Bhavishya Meel, Kuldeep S. On the Sparsity of XORs in Approximate Model Counting |
title | On the Sparsity of XORs in Approximate Model Counting |
title_full | On the Sparsity of XORs in Approximate Model Counting |
title_fullStr | On the Sparsity of XORs in Approximate Model Counting |
title_full_unstemmed | On the Sparsity of XORs in Approximate Model Counting |
title_short | On the Sparsity of XORs in Approximate Model Counting |
title_sort | on the sparsity of xors in approximate model counting |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7326560/ http://dx.doi.org/10.1007/978-3-030-51825-7_18 |
work_keys_str_mv | AT agrawaldurgesh onthesparsityofxorsinapproximatemodelcounting AT bhavishya onthesparsityofxorsinapproximatemodelcounting AT meelkuldeeps onthesparsityofxorsinapproximatemodelcounting |