Similar Items: Accelerating optimization over the space of probability measures