Research Article

Belief Propagation Algorithm Based on Perturbed Message Passing for Solving Constraint Satisfaction Problems

Yutao Li*
University of Shanghai for Science and Technology

* Corresponding author: [email protected]

Abstract

Constraint satisfaction problems usually exhibit a distinct satisfiability transition phenomenon under stochastic models, and an exact phase transition threshold has been strictly proven to exist especially in the RB model. Aiming at the difficulty in solving hard instances of the random binary model with growing domains (RB) near the phase transition region, this paper proposes a guided decimation algorithm based on asynchronous belief propagation with gradual perturbation (P-BP). On the basis of the asynchronous BP-guided decimation framework, the algorithm introduces a linear annealing perturbation mechanism, which enables the variable-to-constraint messages to transit smoothly from deterministic update to the style of Gibbs sampling. Meanwhile, in the late stage of decimation, the variable fixing strategy is changed from greedy selection to direct sampling from the marginal distribution, supplemented by an automatic restart strategy with a maximum of 3 restarts. These improvements retain the asynchronous update, damping factor and A/B/C edge processing rules of the original algorithm, while significantly enhancing the stochastic exploration capability and effectively alleviating the problems of message oscillation, local convergence and error propagation of fixed variables in the phase transition region. Research shows that the combination of gradual perturbation with late-stage probabilistic sampling and a restart mechanism provides an effective way to enhance the robustness of belief propagation-based algorithms for stochastic constraint satisfaction problems.

Keywords: Stochastic Constraint Satisfaction Problems; RB Model; Satisfiability Phase Transition; Belief Propagation; Perturbed Message Passing
Published: April 20, 2026
DOI: 10.54254/2753-8818/2026.32934
Volume: TNS Vol.163
pp. 49-56
Download PDF

References

  1. Dyer M, Frieze A and Molloy M 2003 A probabilistic analysis of randomly generated binary constraint satisfaction problems Theor. Comput. Sci. 290 1815–28
  2. Dubois O, Monasson R, Selman B and Zecchina R 2001 Editorial phase transitions in combinatorial problems Theor. Comput. Sci. 265 1
  3. Mézard M and Montanari A 2009 Information, Physics, and Computation (New York: Oxford University Press)
  4. Budzynski L, Ricci-Tersenghi F and Semerjian G 2019 Biased landscapes for random constraint satisfaction problems J. Stat. Mech. 033302
  5. Zhao J-H and Zhou H-J 2019 Two faces of greedy leaf removal procedure on graphs J.Stat. Mech.: Theory Exp. 2019 083401
  6. Smith B M and Dyer M E 1996 Locating the phase transition in binary constraint satisfaction problems Artif. Intell. 81 155–81
  7. Gent I P, MacIntyre E, Prosser P, Smith B M and Walsh T 2001 Random constraint satisfaction: flaws and structure Constraints 6 345–72
  8. Prosser P 1996 An empirical study of phase transitions in binary constraint satisfaction problems Artif. Intell. 81 81–109
  9. Xu K and Li W 2000 Exact phase transitions in random constraint satisfaction problems J. Artif. Intell. Res. 12 93–103
  10. Zhao C-Y, Zhou H-J, Zheng Z-M and Xu K 2011 A message-passing approach to random constraint satisfaction problems with growing domains J. Stat. Mech.: Theory Exp. 2011P02019
  11. Zhao C-Y and Fu Y-R 2021 Belief propagation guided decimation algorithms for random constraint satisfaction problems with growing domains J. Stat. Mech.: Theory Exp. 202103408
  12. Ravanbakhsh S and Greiner R 2015 Perturbed message passing for constraint satisfaction problems J. Mach. Learn. Res. 16 1249–1274