Recently, a maximum pseudolikelihood (MPL) inference method has been successfully applied to statistical physics models with intractable likelihoods. We use information theory to derive a relation between the pseudolikelihood and likelihood functions. Furthermore, we show the consistency of the pseudolikelihood method for a general model.