What are Wasserstein and Earth Movers Distances 🌱
What is Wasserstein distance
be a Polish metric space, and let For any two probability measures on the Wasserstein distance of order between and is defined by the formula
What is the Earth Mover’s Distance
Finally, the Earth Mover (EM) (version of Wasserstein distance): Let be the set of all joint distributions whose marginal distributions are and Then.
First, the intuitive goal of the EM distance. Probability distributions are defined by how much mass they put on each point. Imagine we started with distribution and wanted to move mass around to change the distribution into . Moving mass by distance costs effort. The earth mover distance is the minimal effort we need to spend. Why does the infimum over give the minimal effort? You can think of each as a transport plan. To execute the plan, for all move mass from to Every strategy for moving weight can be represented this way. But what properties does the plan need to satisfy to transform into The amount of mass that leaves is This must equal the amount of mass originally at . The amount of mass that enters is This must equal the amount of mass that ends up at . This shows why the marginals of must be and . For scoring, the effort spent is Computing the infinum of this over all valid gives the earth mover distance.
Check out this link for a good explanation.
Notes mentioning this note
There are no notes linking to this note.