Counting the number of solutions in satisfiability problems with tensor-network message passing

被引:0
作者
Wu, Qin-Han [1 ,2 ]
Wang, Yi-Jia [2 ,3 ]
Shen, Zi-Song [2 ,3 ]
Ye, Cheng [2 ,3 ]
Zhang, Pan [1 ,3 ]
机构
[1] UCAS, Hangzhou Inst Adv Study, Sch Fundamental Phys & Math Sci, Hangzhou 310024, Peoples R China
[2] Univ Chinese Acad Sci, Sch Phys Sci, Beijing 100049, Peoples R China
[3] Chinese Acad Sci, Inst Theoret Phys, CAS Key Lab Theoret Phys, Beijing 100190, Peoples R China
基金
中国国家自然科学基金;
关键词
COMPLEXITY; ENTROPY;
D O I
10.1103/PhysRevE.110.034126
中图分类号
O35 [流体力学]; O53 [等离子体物理学];
学科分类号
070204 ; 080103 ; 080704 ;
摘要
We investigate how to count the number of solutions in the Boolean satisfiability (SAT) problem, a fundamental problem in theoretical computer science that has applications in various domains. We convert the problem to a spin-glass problem in statistical physics and approximately compute the entropy of the problem, which corresponds to the logarithm of the number of solutions. We propose a new method for the entropy computing problem based on a combination of the tensor network method and the message-passing algorithm. The significance of the proposed method is its ability to consider the effects of both long loops and short loops present in the factor graph of the SAT problem. We validate the efficacy of our approach using 3-SAT problems defined on the random graphs and structured graphs, and show that the proposed method gives more accurate results on the number of solutions than the standard belief propagation algorithms. We also discuss the applications of our method across a wide range of combinatorial optimization problems.
引用
收藏
页数:11
相关论文
共 50 条
[1]  
[Anonymous], 1993, Cliques, Coloring, and Satisfiability, DOI [10.1090/dimacs/026/26, DOI 10.1090/DIMACS/026/26]
[2]   Algorithms and complexity results for #SAT and Bayesian inference [J].
Bacchus, F ;
Dalmao, S ;
Pitassi, T .
44TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2003, :340-351
[3]   Tensor Network Contractions for #SAT [J].
Biamonte, Jacob D. ;
Morton, Jason ;
Turner, Jacob .
JOURNAL OF STATISTICAL PHYSICS, 2015, 160 (05) :1389-1404
[4]   The good old Davis-Putnam procedure helps counting models [J].
Birnbaum, E ;
Lozinskii, EL .
JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 1999, 10 :457-477
[5]   Message passing on networks with loops [J].
Cantwell, George T. ;
Newman, M. E. J. .
PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2019, 116 (47) :23398-23403
[6]   Renyi entropies as a measure of the complexity of counting problems [J].
Chamon, Claudio ;
Mucciolo, Eduardo R. .
JOURNAL OF STATISTICAL MECHANICS-THEORY AND EXPERIMENT, 2013,
[7]  
Cook S. A., 1971, Proceedings of the 3rd annual ACM symposium on theory of computing, P151
[8]   Complexity of generalized satisfiability counting problems [J].
Creignou, N ;
Hermann, M .
INFORMATION AND COMPUTATION, 1996, 125 (01) :1-12
[9]   A deterministic (2-2/(k+1))n algorithm for k-SAT based on local search [J].
Dantsin, E ;
Goerdt, A ;
Hirsch, EA ;
Kannan, R ;
Kleinberg, J ;
Papadimitriou, C ;
Raghavan, P ;
Schöning, U .
THEORETICAL COMPUTER SCIENCE, 2002, 289 (01) :69-83
[10]   A MACHINE PROGRAM FOR THEOREM-PROVING [J].
DAVIS, M ;
LOGEMANN, G ;
LOVELAND, D .
COMMUNICATIONS OF THE ACM, 1962, 5 (07) :394-397