Abstract
Modern CDCL SAT solvers routinely solve very large industrial SAT instances in relatively short periods of time. It is clear that these solvers somehow exploit the structure of real-world instances. However, to-date there have been few results that precisely characterise this structure. In this paper, we provide evidence that the community structure of real-world SAT instances is correlated with the running time of CDCL SAT solvers. It has been known for some time that real-world SAT instances, viewed as graphs, have natural communities in them. A community is a sub-graph of the graph of a SAT instance, such that this sub-graph has more internal edges than outgoing to the rest of the graph. The community structure of a graph is often characterised by a quality metric called Q. Intuitively, a graph with high-quality community structure (high Q) is easily separable into smaller communities, while the one with low Q is not. We provide three results based on empirical data which show that community structure of real-world industrial instances is a better predictor of the running time of CDCL solvers than other commonly considered factors such as variables and clauses. First, we show that there is a strong correlation between the Q value and Literal Block Distance metric of quality of conflict clauses used in clause-deletion policies in Glucose-like solvers. Second, using regression analysis, we show that the the number of communities and the Q value of the graph of real-world SAT instances is more predictive of the running time of CDCL solvers than traditional metrics like number of variables or clauses. Finally, we show that randomly-generated SAT instances with 0.05 ≤ Q ≤ 0.13 are dramatically harder to solve for CDCL solvers than otherwise.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
2013 sat competition, http://satcompetition.org/2013/ (accessed: January 31, 2014)
Ansótegui, C., Bonet, M.L., Giráldez-Cru, J., Levy, J.: The fractal dimension of sat formulas. arXiv preprint arXiv:1308.5046 (2013)
Ansótegui, C., Giráldez-Cru, J., Levy, J.: The community structure of sat formulas. In: Cimatti, A., Sebastiani, R. (eds.) SAT 2012. LNCS, vol. 7317, pp. 410–423. Springer, Heidelberg (2012)
Ansótegui, C., Levy, J.: On the modularity of industrial sat instances. In: CCIA, pp. 11–20 (2011)
Audemard, G., Simon, L.: Predicting learnt clauses quality in modern SAT solvers. Proceedings of IJCAI, 399–404 (2009)
Clauset, A., Newman, M.E.J., Moore, C.: Finding community structure in very large networks. Physical review E 70(6), 66111 (2004)
Eén, N., Sörensson, N.: An extensible sat-solver. In: Giunchiglia, E., Tacchella, A. (eds.) SAT 2003. LNCS, vol. 2919, pp. 502–518. Springer, Heidelberg (2004)
Een, N., Sörensson, N.: Minisat: A sat solver with conflict-clause minimization. In: SAT, vol. 5 (2005)
Ian, P.: Gent and Toby Walsh. The sat phase transition. In: ECAI, pp. 105–109. PITMAN (1994)
Habet, D., Toumi, D.: Empirical study of the behavior of conflict analysis in cdcl solvers. In: Schulte, C. (ed.) CP 2013. LNCS, vol. 8124, pp. 678–693. Springer, Heidelberg (2013)
Mitchell, D., Selman, B., Levesque, H.: Hard and easy distributions of sat problems. In: AAAI, vol. 92, pp. 459–465. Citeseer (1992)
Newman, M.E.J.: Fast algorithm for detecting community structure in networks. Physical review E 69(6), 66133 (2004)
Newsham, Z., Ganesh, V., Fischmeister, S., Audemard, G., Simon, L.: Community Structure of SAT Instances Webpage with Data and Code, https://ece.uwaterloo.ca/~vganesh/satcommunitystructure.html
Pipatsrisawat, K., Darwiche, A.: A lightweight component caching scheme for satisfiability solvers. In: Marques-Silva, J., Sakallah, K.A. (eds.) SAT 2007. LNCS, vol. 4501, pp. 294–299. Springer, Heidelberg (2007)
Vardi, M.: Phase transition and computation complexity (2012), http://www.lsv.ens-cachan.fr/Events/fmt2012/SLIDES/moshevardi.pdf
Xu, L., Hutter, F., Hoos, H.H., Leyton-Brown, K.: Satzilla: Portfolio-based algorithm selection for sat. J. Artif. Intell. Res. (JAIR) 32, 565–606 (2008)
Zhang, W., Pan, G., Wu, Z., Li, S.: Online community detection for large complex networks. In: Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence, pp. 1903–1909. AAAI Press (2013)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this paper
Cite this paper
Newsham, Z., Ganesh, V., Fischmeister, S., Audemard, G., Simon, L. (2014). Impact of Community Structure on SAT Solver Performance. In: Sinz, C., Egly, U. (eds) Theory and Applications of Satisfiability Testing – SAT 2014. SAT 2014. Lecture Notes in Computer Science, vol 8561. Springer, Cham. https://doi.org/10.1007/978-3-319-09284-3_20
Download citation
DOI: https://doi.org/10.1007/978-3-319-09284-3_20
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-09283-6
Online ISBN: 978-3-319-09284-3
eBook Packages: Computer ScienceComputer Science (R0)