skip to main content
10.1145/2213836.2213887acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

A highway-centric labeling approach for answering distance queries on large sparse graphs

Published: 20 May 2012 Publication History

Abstract

The distance query, which asks the length of the shortest path from a vertex $u$ to another vertex v, has applications ranging from link analysis, semantic web and other ontology processing, to social network operations. Here, we propose a novel labeling scheme, referred to as Highway-Centric Labeling, for answering distance queries in a large sparse graph. It empowers the distance labeling with a highway structure and leverages a novel bipartite set cover framework/algorithm. Highway-centric labeling provides better labeling size than the state-of-the-art $2$-hop labeling, theoretically and empirically. It also offers both exact distance and approximate distance with bounded accuracy. A detailed experimental evaluation on both synthetic and real datasets demonstrates that highway-centric labeling can outperform the state-of-the-art distance computation approaches in terms of both index size and query time.

References

[1]
I. Abraham, D. Delling, A. V. Goldberg, and R. F. Werneck. A hub-based labeling algorithm for shortest paths in road networks. In Proceedings of the 10th international conference on Experimental algorithms, 2011.
[2]
I. Abraham, A. Fiat, A. V. Goldberg, and R. F. Werneck. Highway dimension, shortest paths, and provably efficient algorithms. In SODA '10, 2010.
[3]
R. Agrawal and H. V. Jagadish. Algorithms for searching massive graphs. TKDE, 6(2):225--238, 1994.
[4]
Stephen Alstrup, Philip Bille, and Theis Rauhe. Labeling schemes for small distances in trees. In SODA, pages 689--698, 2003.
[5]
K. Anyanwu and A Sheth. P-queries: enabling querying for semantic associations on the semantic web. In WWW '03, 2003.
[6]
D. A. Bader, S. Kintali, and M. Madduri, K.and Mihail. Approximating betweenness centrality. In WAW'07: Proc. 5th Int'l Conf. Algor. and models for the web-graph, 2007.
[7]
H. Bast, S. Funke, P. Sanders, and D. Schultes. Fast Routing in Road Networks with Transit Nodes. Science, 316:566--, April 2007.
[8]
R. Bauer, D. Delling, P. Sanders, D. Schieferdecker, D. Schultes, and D. Wagner. Combining hierarchical and goal-directed speed-up techniques for dijkstra's algorithm. J. Exp. Algorithmics, 15, March 2010.
[9]
U. Brandes. A faster algorithm for betweenness centrality. Journal of Mathematical Sociology, 25:163--177, 2001.
[10]
J. Cheng and J. X. Yu. On-line exact shortest distance query processing. In EDBT '09, 2009.
[11]
Y. J. Chu and T. H. Liu. On the shortest arborescence of a directed graph. Science Sinica, 14:1396--1400, 1965.
[12]
Edith Cohen, Eran Halperin, Haim Kaplan, and Uri Zwick. Reachability and distance queries via 2-hop labels. SIAM J. Comput., 32(5):1338--1355, 2003.
[13]
Thomas H. Cormen, Charles E. Leiserson, and Ronald L. Rivest. Introduction to Algorithms. McGraw Hill, 1990.
[14]
A. Das Sarma, S. Gollapudi, and R. Najork, M.and Panigrahy. A sketch-based distance oracle for web-scale graphs. In WSDM '10, 2010.
[15]
D. Delling, P. Sanders, D. Schultes, and D. Wagner. Algorithmics of large and complex networks. chapter Engineering Route Planning Algorithms. 2009.
[16]
E. W. Dijkstra. A note on two problems in connexion with graphs. Numerische Mathematik, 1(1):269--271, December 1959.
[17]
J. Edmonds. Optimum branchings. J. Research of the National Bureau of Standards, 71B:233--240, 1967.
[18]
U. Feige. A threshold of ln n for approximating set cover. J. ACM, 45(4):634--652, 1998.
[19]
C. Gavoille, D. Peleg, S. Pérennes, and R. Raz. Distance labeling in graphs. J. Algorithms, 53(1):85--112, 2004.
[20]
Cyril Gavoille, David Peleg, Stéphane Pérennes, and Ran Raz. Distance labeling in graphs. J. Algorithms, 53(1):85--112, 2004.
[21]
R. Geisberger, P. Sanders, D. Schultes, and D. Delling. Contraction hierarchies: faster and simpler hierarchical routing in road networks. In Proceedings of the 7th international conference on Experimental algorithms, 2008.
[22]
A. V. Goldberg and C. Harrelson. Computing the shortest path: A search meets graph theory. In SODA '05, 2005.
[23]
A. V. Goldberg, H. Kaplan, and R. F. Werneck. Reach for a*: Efficient point-to-point shortest path algorithms. In IN WORKSHOP ON ALGORITHM ENGINEERING and EXPERIMENTS, pages 129--143, 2006.
[24]
R. Goldman, N. Shivakumar, S. Venkatasubramanian, and H. Garcia-Molina. Proximity search in databases. In VLDB '98, 1998.
[25]
G. Gou and R. Chirkova. Efficiently querying large xml data repositories: A survey. TKDE, 19(10):1381--1403, 2007.
[26]
A. Gubichev, S. Bedathur, S. Seufert, and G. Weikum. Fast and accurate estimation of shortest paths in large graphs. In CIKM '10, 2010.
[27]
R. J. Gutman. Reach-based routing: A new approach to shortest path algorithms optimized for road networks. In ALENEX/ANALC, pages 100--111, 2004.
[28]
R. Jin, Y. Xiang, N. Ruan, and D. Fuhry. 3-hop: a high compression indexing scheme for reachability query. In SIGMOD'09, 2009.
[29]
N. Jing, Y. Huang, and E. A. Rundensteiner. Hierarchical encoded path views for path query processing: An optimal model and its performance evaluation. TKDE, 10(3):409--432, 1998.
[30]
S. Jung and S. Pramanik. An efficient path computation model for hierarchically structured topographical road maps. TKDE, 14(5):1029--1046, 2002.
[31]
J. Kleinberg, A. Slivkins, and T. Wexler. Triangulation and embedding using small sets of beacons. In FOCS '04, 2004.
[32]
H. Kriegel, P. Kröger, M. Renz, and T. Schmidt. Hierarchical graph embedding for efficient query processing in very large traffic networks. In SSDBM '08, 2008.
[33]
C. Castillo M. Potamias, F. Bonchi and A. Gionis. Fast shortest path distance estimation in large networks. In CIKM '09, 2009.
[34]
T. S. Eugene Ng and H. Zhang. Predicting internet network distance with coordinates-based approaches. In INFOCOM, 2001.
[35]
David P. Proximity-preserving labeling schemes and their applications. Journal of Graph Theory, 33(3):167--176, 2000.
[36]
I. Pohl. Bi-directional search. Machine Intelligence, 6:124--140, 1971.
[37]
H. Refael and S. Danny. The set cover with pairs problem. In FSTTCS 2005: Foundations of Software Technology and Theoretical Computer Science, 25th Int'l Conference, 2005.
[38]
H. Samet, J. Sankaranarayanan, and H. Alborzi. Scalable network distance browsing in spatial databases. In SIGMOD'08, 2008.
[39]
P. Sanders and D. Schultes. Highway hierarchies hasten exact shortest path queries. In 17th Eur. Symp. Algorithms (ESA), 2005.
[40]
J. Sankaranarayanan, H. Samet, and H. Alborzi. Path oracles for spatial networks. PVLDB, 2, August 2009.
[41]
R. Schenkel, A. Theobald, and G. Weikum. HOPI: An efficient connection index for complex XML document collections. In EDBT, 2004.
[42]
S. Shekhar, A. Fetterer, and B. Goyal. Materialization trade offs in hierarchical shortest path algorithms. In SSD '97, 1997.
[43]
G. Swamynathan, C. Wilson, B. Boe, K. Almeroth, and B. Y. Zhao. Do social networks improve e-commerce?: a study on social marketplaces. In WOSP '08: Proc. 1st workshop on Online social networks, 2008.
[44]
Y. Tao, C. Sheng, and J. Pei. On k-skip shortest paths. In SIGMOD'11, 2011.
[45]
M. Thorup and U. Zwick. Approximate distance oracles. J. ACM, 52(1):1--24, 2005.
[46]
M. V. Vieira, B. M. Fonseca, R. Damazio, P. B. Golgher, D. de C. Reis, and B. Ribeiro-Neto. Efficient search ranking in social networks. In CIKM '07, 2007.
[47]
F. Wei. Tedi: efficient shortest path query answering on graphs. In SIGMOD'10, 2010.

Cited By

View all
  • (2024)LION: Fast and High-Resolution Network Kernel Density VisualizationProceedings of the VLDB Endowment10.14778/3648160.364816817:6(1255-1268)Online publication date: 3-May-2024
  • (2024)Efficient and Privacy-Preserving Aggregate Query Over Public Property GraphsIEEE Transactions on Big Data10.1109/TBDATA.2023.334262310:2(146-157)Online publication date: Apr-2024
  • (2024)Privacy-Preserving Any-Hop Cover Shortest Distance Queries on Encrypted GraphsIEEE Internet of Things Journal10.1109/JIOT.2024.335290411:9(16517-16528)Online publication date: 1-May-2024
  • Show More Cited By

Index Terms

  1. A highway-centric labeling approach for answering distance queries on large sparse graphs

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SIGMOD '12: Proceedings of the 2012 ACM SIGMOD International Conference on Management of Data
    May 2012
    886 pages
    ISBN:9781450312479
    DOI:10.1145/2213836
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 20 May 2012

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. bipartite set cover
    2. distance query
    3. highway-centric labeling

    Qualifiers

    • Research-article

    Conference

    SIGMOD/PODS '12
    Sponsor:

    Acceptance Rates

    SIGMOD '12 Paper Acceptance Rate 48 of 289 submissions, 17%;
    Overall Acceptance Rate 785 of 4,003 submissions, 20%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)17
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 05 Mar 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)LION: Fast and High-Resolution Network Kernel Density VisualizationProceedings of the VLDB Endowment10.14778/3648160.364816817:6(1255-1268)Online publication date: 3-May-2024
    • (2024)Efficient and Privacy-Preserving Aggregate Query Over Public Property GraphsIEEE Transactions on Big Data10.1109/TBDATA.2023.334262310:2(146-157)Online publication date: Apr-2024
    • (2024)Privacy-Preserving Any-Hop Cover Shortest Distance Queries on Encrypted GraphsIEEE Internet of Things Journal10.1109/JIOT.2024.335290411:9(16517-16528)Online publication date: 1-May-2024
    • (2024)A Just-In-Time Framework for Continuous Routing2024 IEEE 40th International Conference on Data Engineering (ICDE)10.1109/ICDE60146.2024.00350(4600-4613)Online publication date: 13-May-2024
    • (2024)BatchHL: batch dynamic labelling for distance queries on large-scale networksThe VLDB Journal — The International Journal on Very Large Data Bases10.1007/s00778-023-00799-933:1(101-129)Online publication date: 1-Jan-2024
    • (2023)Hierarchical Cut Labelling - Scaling Up Distance Queries on Road NetworksProceedings of the ACM on Management of Data10.1145/36267311:4(1-25)Online publication date: 12-Dec-2023
    • (2023)Weight Matters: An Empirical Investigation of Distance Oracles on Knowledge GraphsProceedings of the 32nd ACM International Conference on Information and Knowledge Management10.1145/3583780.3615246(4440-4444)Online publication date: 21-Oct-2023
    • (2023)Privacy-Preserving Shortest Distance Query for Dynamic Large-Scale Road NetworkIEEE Systems Journal10.1109/JSYST.2023.323880917:2(1729-1740)Online publication date: Jun-2023
    • (2023)Efficient maintenance of highway cover labelling for distance queries on large dynamic graphsWorld Wide Web10.1007/s11280-023-01146-226:5(2427-2452)Online publication date: 22-Mar-2023
    • (2022)Ndist2vec: Node with Landmark and New Distance to Vector Method for Predicting Shortest Path Distance along Road NetworksISPRS International Journal of Geo-Information10.3390/ijgi1110051411:10(514)Online publication date: 9-Oct-2022
    • Show More Cited By

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media