We show that the generalized Ricci tensor of a weighted complete Riemannian manifold can be retrieved asymptotically from a scaled metric derivative of Wasserstein 1-distances between normalized weighted local volume measures. As an application, we demonstrate that the limiting coarse curvature of random geometric graphs sampled from Poisson point process with non-uniform intensity converges to the generalized Ricci tensor.
Arnaudon et al. (Tue,) studied this question.