skip to main content
10.1145/3087801.3087804acmconferencesArticle/Chapter ViewAbstractPublication PagespodcConference Proceedingsconference-collections
research-article

Optimal Distance Labeling Schemes for Trees

Published: 25 July 2017 Publication History
  • Get Citation Alerts
  • Abstract

    Labeling schemes seek to assign a short label to each node in a network, so that a function on two nodes (such as distance or adjacency) can be computed by examining their labels alone. For the particular case of trees, following a long line of research, optimal bounds (up to low order terms) were recently obtained for adjacency labeling [FOCS '15], nearest common ancestor labeling [SODA '14], and ancestry labeling [SICOMP '06]. In this paper we obtain optimal bounds for distance labeling. We present labels of size 1/4\log^2n+o(\log^2n), matching (up to low order terms) the recent 1/4\log^2n-\Oh(\log n) lower bound [ICALP '16].
    Prior to our work, all distance labeling schemes for trees could be reinterpreted as universal trees. A tree T is said to be universal if any tree on $n$ nodes can be found as a subtree of T. A universal tree with |T| nodes implies a distance labeling scheme with label size \log |T|. In 1981, Chung et al. proved that any distance labeling scheme based on universal trees requires labels of size 1/2\log^2 n -\log n \cdot \log\log n+\Oh(\log n). Our scheme is the first to break this lower bound, showing a separation between distance labeling and universal trees.
    The θ (log2 n) barrier for distance labeling in trees has led researchers to consider distances bounded by k. The size of such labels was shown to be \log n+\Oh(k\sqrt{\log n}) in [WADS '01], and then improved to \log n+\Oh(k^2(\log(k\log n)) in [SODA '03] and finally to \log n+\Oh(k\log(k\log(n/k))) in [PODC '07]. We show how to construct labels whose size is the minimum between \log n+\Oh(k\log((\log n)/k)) and \Oh(\log n \cdot \log(k/\log n)). We complement this with almost tight lower bounds of \log n+\Omega(k\log(\log n / (k\log k))) and \Omega(\log n \cdot \log(k/\log n)). Finally, we consider (1+\eps)-approximate distances. We show that the recent labeling scheme of [ICALP '16] can be easily modified to obtain an \Oh(\log(1/\eps)\cdot \log n) upper bound and we prove a matching \Omega(\log(1/\eps)\cdot \log n) lower bound.

    References

    [1]
    Serge Abiteboul, Stephen Alstrup, Haim Kaplan, Tova Milo, and Theis Rauhe. Compact labeling scheme for ancestor queries. SIAM Journal on Computing, 35(6):1295--1309, 2006.
    [2]
    Deepak Ajwani, Ulrich Meyer, and David Veith. An I/O-efficient distance oracle for evolving real-world graphs. In 17th ALENEX, pages 159--172, 2015.
    [3]
    Takuya Akiba, Yoichi Iwata, and Yuichi Yoshida. Fast exact shortest-path distance queries on large networks by pruned landmark labeling. In 32nd SIGMOD, pages 349--360, 2013.
    [4]
    Takuya Akiba, Christian Sommer, and Ken-ichi Kawarabayashi. Shortest-path queries for complex networks: exploiting low tree-width outside the core. In 15th EDBT, pages 144--155, 2012.
    [5]
    Stephen Alstrup, Philip Bille, and Theis Rauhe. Labeling schemes for small distances in trees. SIAM Journal on Discrete Mathematics, 19(2):448--462, 2005.
    [6]
    Stephen Alstrup, Søren Dahlgaard, and Mathias Bæk Tejs Knudsen. Optimal induced universal graphs and adjacency labeling for trees. In 56th FOCS, pages 1311--1326, 2015.
    [7]
    Stephen Alstrup, Cyril Gavoille, Esben Bistrup Halvorsen, and Holger Petersen. Simpler, faster and shorter labels for distances in graphs. In 27th SODA, pages 338--350, 2016.
    [8]
    Stephen Alstrup, Inge Li Gørtz, Esben Bistrup Halvorsen, and Ely Porat. Distance labeling schemes for trees. In 43rd ICALP, pages 132:1--132:16, 2016.
    [9]
    Stephen Alstrup, Esben Bistrup Halvorsen, and Kasper Green Larsen. Near-optimal labeling schemes for nearest common ancestors. In 25th SODA, pages 972--982, 2014.
    [10]
    Stephen Alstrup, Haim Kaplan, Mikkel Thorup, and Uri Zwick. Adjacency labeling schemes and induced-universal graphs. In 47th STOC, pages 625--634, 2015.
    [11]
    Stephen Alstrup and Theis Rauhe. Small induced-universal graphs and compact implicit graph representations. In 43rd FOCS, pages 53--62, 2002.
    [12]
    Nicolas Bonichon, Cyril Gavoille, and Arnaud Labourel. Short labels by traversal and jumping. Electronic Notes in Discrete Mathematics, 28:153--160, 2007.
    [13]
    FRK Chung, RL Graham, and D Coppersmith. On trees containing all small trees. The Theory and Applications of Graphs, pages 265--272, 1981.
    [14]
    Peter Elias. Universal codeword sets and representations of the integers. IEEE transactions on information theory, 21(2):194--203, 1975.
    [15]
    Johannes Fischer. Short labels for lowest common ancestors in trees. In 17th ESA, pages 752--763, 2009.
    [16]
    Pierre Fraigniaud and Amos Korman. Compact ancestry labeling schemes for xml trees. In 21st SODA, pages 458--466, 2010.
    [17]
    O. Freedman, P. Gawrychowski, P.K. Nicholson, and O. Weimann. Optimal distance labeling schemes for trees. Arxiv 1608.00212, 2017.
    [18]
    Cyril Gavoille, Michal Katz, Nir A. Katz, Christophe Paul, and David Peleg. Approximate distance labeling schemes. In 9th ESA, pages 476--487, 2001.
    [19]
    Cyril Gavoille and Arnaud Labourel. Distributed relationship schemes for trees. In 18th ISAAC, pages 728--738, 2007. Announced at PODC'07.
    [20]
    Cyril Gavoille, David Peleg, Stéphane Pérennes, and Ran Raz. Distance labeling in graphs. Journal of Algorithms, 53(1):85--112, 2004. A preliminary version in ph12th SODA, 2001.
    [21]
    MK Gol'dberg and EM Livshits. On minimal universal trees. Mathematical Notes of the Academy of Sciences of the USSR, 4(3):713--717, 1968.
    [22]
    Sampath Kannan, Moni Naor, and Steven Rudich. Implicit representation of graphs. SIAM Journal on Discrete Mathematics, 5(4):596--603, 1992.
    [23]
    Haim Kaplan and Tova Milo. Short and simple labels for small distances and other functions. In 7th WADS, pages 246--257, 2001.
    [24]
    David Peleg. Proximity-preserving labeling schemes. Journal of Graph Theory, 33(3):167--176, 2000.
    [25]
    Casper Petersen, Noy Rotbart, Jakob Grue Simonsen, and Christian Wulff-Nilsen. Near-optimal adjacency labeling scheme for power-law graphs. In 43rd ICALP, pages 133:1--133:15, 2016.
    [26]
    Noy Galil Rotbart. New Ideas on Labeling Schemes. PhD thesis, University of Copenhagen, 2016.
    [27]
    Daniel D Sleator and Robert Endre Tarjan. A data structure for dynamic trees. Journal of computer and system sciences, 26(3):362--391, 1983.
    [28]
    Mikkel Thorup and Uri Zwick. Compact routing schemes. In 13th SPAA, pages 1--10, 2001.

    Cited By

    View all
    • (2024)Learned Approximate Distance Labels for GraphsComplex Networks & Their Applications XII10.1007/978-3-031-53468-3_29(339-350)Online publication date: 20-Feb-2024
    • (2024)Distance Labeling for Families of CyclesSOFSEM 2024: Theory and Practice of Computer Science10.1007/978-3-031-52113-3_33(471-484)Online publication date: 7-Feb-2024
    • (2023)Covering Planar Metrics (and Beyond): O(1) Trees Suffice2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS57990.2023.00139(2231-2261)Online publication date: 6-Nov-2023
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    PODC '17: Proceedings of the ACM Symposium on Principles of Distributed Computing
    July 2017
    480 pages
    ISBN:9781450349925
    DOI:10.1145/3087801
    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: 25 July 2017

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. labeling scheme
    2. universal tree

    Qualifiers

    • Research-article

    Funding Sources

    • Israel Science Foundation

    Conference

    PODC '17
    Sponsor:

    Acceptance Rates

    PODC '17 Paper Acceptance Rate 38 of 154 submissions, 25%;
    Overall Acceptance Rate 740 of 2,477 submissions, 30%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)10
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 31 Jul 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Learned Approximate Distance Labels for GraphsComplex Networks & Their Applications XII10.1007/978-3-031-53468-3_29(339-350)Online publication date: 20-Feb-2024
    • (2024)Distance Labeling for Families of CyclesSOFSEM 2024: Theory and Practice of Computer Science10.1007/978-3-031-52113-3_33(471-484)Online publication date: 7-Feb-2024
    • (2023)Covering Planar Metrics (and Beyond): O(1) Trees Suffice2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS57990.2023.00139(2231-2261)Online publication date: 6-Nov-2023
    • (2023)Better Distance Labeling for Unweighted Planar GraphsAlgorithmica10.1007/s00453-023-01133-z85:6(1805-1823)Online publication date: 15-May-2023
    • (2022)Can't See the Forest for the TreesProceedings of the 2022 ACM Symposium on Principles of Distributed Computing10.1145/3519270.3538414(151-162)Online publication date: 20-Jul-2022
    • (2022)Fully Polynomial-Time Distributed Computation in Low-Treewidth GraphsProceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3490148.3538590(11-22)Online publication date: 11-Jul-2022
    • (2022)Shorter Labeling Schemes for Planar GraphsSIAM Journal on Discrete Mathematics10.1137/20M133046436:3(2082-2099)Online publication date: 31-Aug-2022
    • (2022)Distance labeling schemes for K4-free bridged graphsInformation and Computation10.1016/j.ic.2022.104959(104959)Online publication date: Sep-2022
    • (2021)Shorter labels for routing in treesProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458194(2174-2193)Online publication date: 10-Jan-2021
    • (2021)Better Distance Labeling for Unweighted Planar GraphsAlgorithms and Data Structures10.1007/978-3-030-83508-8_31(428-441)Online publication date: 31-Jul-2021
    • Show More Cited By

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media