Accelerating optimization over the space of probability measures