Computational models of belief propagation