Succinct Graph Representations as Distance Oracles: An Experimental Evaluation
Arpit Merchant, Aristides Gionis, Michael Mathioudakis
Abstract
Distance oracles answer shortest-path queries between any pair of nodes in a graph. They are often built using succinct graph representations such as spanners, sketches, and compressors to minimize oracle size and query answering latency. Node embeddings, in particular, offer graph representations that place adjacent nodes nearby each other in a low-rank space. However, their use in the design of distance oracles has not been sufficiently studied. In this paper, we empirically compare exact distance oracles constructed based on a variety of node embeddings and other succinct representations. We evaluate twelve such oracles along three measures of efficiency: construction time, memory requirements, and query-processing time over fourteen real datasets and four synthetic graphs. We show that distances between embedding vectors are excellent estimators of graph distances when graphs are well-structured, but less so for more unstructured graphs. Overall, our findings suggest that exact oracles based on embeddings can be constructed faster than multi-dimensional scaling (MDS) but slower than compressed adjacency indexes, require less memory than landmark oracles but more than sparsifiers or indexes, can answer queries faster than indexes but slower than MDS, and are exact more often with a smaller additive error than spanners (that have multiplicative error) while not being lossless like adjacency lists. Finally, while the exactness of such oracles is infeasible to maintain for huge graphs even under large amounts of resources, we empirically demonstrate that approximate oracles based on GOSH embeddings can efficiently scale to graphs of 100M+ nodes with only small additive errors in distance estimations.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 92ab3ef9-5489-42c3-a1e3-bbc3aa1c86c9Cited by top-tier papers1
Ask how each one uses itBuilds on3
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- FREDE: Anytime Graph EmbeddingsAnton Tsitsulin, Marina Munkhoeva, Davide Mottin, Panagiotis Karras et al.VLDB 2021 · 40 citations
- Optimal Vertex Fault-Tolerant Spanners in Polynomial TimeGreg Bodwin, Michael Dinitz, Caleb RobelleSODA 2021 · 17 citations
Related papers
- Nearly 2-Approximate Distance Oracles in Subquadratic TimeShiri Chechik, Tianyi ZhangSODA 2022 · 5 citations
- Optimal Approximate Distance Oracle for Planar GraphsHung Le, Christian Wulff-NilsenFOCS 2021 · 7 citations
- Shortest-Path Queries on Complex Networks: Experiments, Analyses, and ImprovementJunhua Zhang, Wentao Li, Long Yuan, Lu Qin et al.VLDB 2022 · 19 citations
- Hub Labeling for Shortest Path CountingYikai Zhang, Jeffrey Xu YuSIGMOD 2020 · 22 citations
- Path-Reporting Distance Oracles with Logarithmic Stretch and Size O(n log log n)Michael Elkin, Idan ShabatFOCS 2023 · 1 citation
