Skip to main content

Impact of Community Structure on SAT Solver Performance

  • Conference paper
Theory and Applications of Satisfiability Testing – SAT 2014 (SAT 2014)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8561))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. 2013 sat competition, http://satcompetition.org/2013/ (accessed: January 31, 2014)

  2. Ansótegui, C., Bonet, M.L., Giráldez-Cru, J., Levy, J.: The fractal dimension of sat formulas. arXiv preprint arXiv:1308.5046 (2013)

    Google Scholar 

  3. 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)

    Chapter  Google Scholar 

  4. Ansótegui, C., Levy, J.: On the modularity of industrial sat instances. In: CCIA, pp. 11–20 (2011)

    Google Scholar 

  5. Audemard, G., Simon, L.: Predicting learnt clauses quality in modern SAT solvers. Proceedings of IJCAI, 399–404 (2009)

    Google Scholar 

  6. Clauset, A., Newman, M.E.J., Moore, C.: Finding community structure in very large networks. Physical review E 70(6), 66111 (2004)

    Article  Google Scholar 

  7. 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)

    Chapter  Google Scholar 

  8. Een, N., Sörensson, N.: Minisat: A sat solver with conflict-clause minimization. In: SAT, vol. 5 (2005)

    Google Scholar 

  9. Ian, P.: Gent and Toby Walsh. The sat phase transition. In: ECAI, pp. 105–109. PITMAN (1994)

    Google Scholar 

  10. 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)

    Chapter  Google Scholar 

  11. Mitchell, D., Selman, B., Levesque, H.: Hard and easy distributions of sat problems. In: AAAI, vol. 92, pp. 459–465. Citeseer (1992)

    Google Scholar 

  12. Newman, M.E.J.: Fast algorithm for detecting community structure in networks. Physical review E 69(6), 66133 (2004)

    Article  Google Scholar 

  13. 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

  14. 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)

    Chapter  Google Scholar 

  15. Vardi, M.: Phase transition and computation complexity (2012), http://www.lsv.ens-cachan.fr/Events/fmt2012/SLIDES/moshevardi.pdf

  16. 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)

    Google Scholar 

  17. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics