Thus the log-likelihood for this problem is not convex (it includes a sum of products).
we can still use EM, but the optimization focuses on maximizing the lower bound of the loglikelihood, i.e., we maximize the above joint probability for each entity pair in the database.