Coupled Markov Random Fields and Mean Field Theory