a bipartite Markov Random Field