Robust Probabilistic Inference in Distributed Systems