To measure the quality of the learned embeddings we follow the same fidelity metrics applied in [1]}, which are distortion and precision.
The distortion of a pair of connected nodes \(a, b\)  in the graph \(G\) , where \(f(a), f(b)\)  are their respective embeddings in the space \(\mathcal {P}\)  is given by:
\(\operatorname{distortion}(a,b) = \frac{|d_{\mathcal {P}}(f(a), f(b)) - d_{G}(a, b)|}{d_{G}(a, b)}\) 
