Critical behavior in the computational cost of satisfiability testing

被引:72
作者
Selman, B
Kirkpatrick, S
机构
[1] AT&T BELL LABS,MURRAY HILL,NJ 07974
[2] HEBREW UNIV JERUSALEM,RACAH INST PHYS,IL-91904 JERUSALEM,ISRAEL
[3] HEBREW UNIV JERUSALEM,CTR NEURAL COMPUTAT,IL-91904 JERUSALEM,ISRAEL
关键词
dynamical critical phenomena; phase transition; finite-size scaling; satisfiability; k-satisfiability; computational cost scaling; complexity;
D O I
10.1016/0004-3702(95)00056-9
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In previous work, we employed finite-size scaling, a method from statistical mechanics, to explore the crossover from the SAT regime of k-SAT, where almost all randomly generated expressions are satisfiable, to the UNSAT regime, where almost all are not. In this work, we extend the experiments to cover critical behavior in the computational cost. We find that the median computational cost takes on a universal form across the transition regime. Finite-size scaling accounts for its dependence on N (the number of variables) and on M (the number of clauses in the k-CNF expression). We also inquire into the sources of the complexity by studying distributions of computational cost. In the SAT phase we observe an unusually wide range of costs. The median cost increases linearly with N, while the mean is significantly increased over the median by a small fraction of cases in which exponentially large costs are incurred. We show that the large spread in cost of finding assignments is mainly due to the variability of running time of the Davis-Putnam (DP) procedure, used to determine the satisfiability of our expressions. In particular, if we consider a single satisfiable expression and run DP many times, each time randomly relabelling the variables in the expression, the resulting distribution of costs nearly reproduces the distribution of costs encountered by running DP search once on each of many such randomly generated satisfiable expressions. There are intriguing similarities and differences between these effects and kinetic phenomena studied in statistical physics, in glasses and in spin glasses.
引用
收藏
页码:273 / 295
页数:23
相关论文
共 25 条
[1]  
BAKER A, IN PRESS J ARTIF INT
[2]  
Bollobas B, 1985, RANDOM GRAPHS
[3]  
BURO M, 1992, 110 U PAD DEP MATH I
[4]  
CHEESEMAN P, 1991, P IJCAI 91, P163
[5]   COOPERATIVE SOLUTION OF CONSTRAINT SATISFACTION PROBLEMS [J].
CLEARWATER, SH ;
HUBERMAN, BA ;
HOGG, T .
SCIENCE, 1991, 254 (5035) :1181-1183
[6]  
CRAWFORD JM, 1993, P AAAI 93 WASH DC
[7]   A COMPUTING PROCEDURE FOR QUANTIFICATION THEORY [J].
DAVIS, M ;
PUTNAM, H .
JOURNAL OF THE ACM, 1960, 7 (03) :201-215
[8]  
Fischer K. H., 1991, SPIN GLASSES
[9]  
GENT IP, 1993, EASY PROBLEMS SOMETI
[10]  
Goldstein M., 1976, ANN NY ACAD SCI, V279