Labelings vs. Embeddings: On Distributed and Prioritized Representations of Distances | Discrete & Computational Geometry Skip to main content
Log in

Labelings vs. Embeddings: On Distributed and Prioritized Representations of Distances

  • Published:
Discrete & Computational Geometry Aims and scope Submit manuscript

Abstract

We investigate for which metric spaces the performance of distance labeling and of \(\ell _\infty \)-embeddings differ, and how significant can this difference be. Recall that a distance labeling is a distributed representation of distances in a metric space (Xd), where each point \(x\in X\) is assigned a succinct label, such that the distance between any two points \(x,y\in X\) can be approximated given only their labels. A highly structured special case is an embedding into \(\ell _\infty \), where each point \(x\in X\) is assigned a vector f(x) such that \(\Vert f(x)-f(y)\Vert _\infty \) is approximately d(xy). The performance of a distance labeling or an \(\ell _\infty \)-embedding is measured via its distortion and its label-size/dimension. We also study the analogous question for the prioritized versions of these two measures. Here, a priority order \(\pi =(x_1,\dots ,x_n)\) of the point set X is given, and higher-priority points should have shorter labels. Formally, a distance labeling has prioritized label-size \(\alpha (\,{\cdot }\,)\) if every \(x_j\) has label size at most \(\alpha (j)\). Similarly, an embedding \(f:X\rightarrow \ell _\infty \) has prioritized dimension \(\alpha (\,{\cdot }\,)\) if \(f(x_j)\) is non-zero only in the first \(\alpha (j)\) coordinates. In addition, we compare these prioritized measures to their classical (worst-case) versions. We answer these questions in several scenarios, uncovering a surprisingly diverse range of behaviors. First, in some cases labelings and embeddings have very similar worst-case performance, but in other cases there is a huge disparity. However in the prioritized setting, we most often find a strict separation between the performance of labelings and embeddings. And finally, when comparing the classical and prioritized settings, we find that the worst-case bound for label size often “translates” to a prioritized one, but also find a surprising exception to this rule.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (Japan)

Instant access to the full article PDF.

Fig. 1

Similar content being viewed by others

Notes

  1. We measure size in words to avoid issues of bit representation. In the common scenario where distances are polynomially-bounded integers, every word has \(O(\log n)\) bits, where \(n=|X|\). The bounds in [14] are given in bits and are for unweighted graphs. Nevertheless, once we consider weighted graphs, \(\Theta (n)\) words are sufficient and necessary for exact distance labeling, see Theorem 2.1.

  2. A much earlier technique to construct labeling scheme with distortion \(O(\log n)\) is Bourgain’s [6] embedding into \(O(\log ^2\hspace{-0.83328pt}n)\)-dimensional \(\ell _2\), providing \(O(\log ^2\hspace{-0.83328pt}n)\) label size.

  3. In the original definition of prioritized distortion in [9], the requirement of equation (1.1) is replaced by the requirement \(d(x_j,x_i)\leqslant \Vert f(x_j)-f(x_i)\Vert _\infty \leqslant \alpha (j)\cdot d(x_j,x_i)\). We add the word contractive to emphasize this difference. Prioritized contractive distortion is somewhat weaker in that it does not imply scaling distortion (see Sect. 1.2).

  4. We use \({\widetilde{O}}\) notation to suppress constants and logarithmic factors, that is \(\widetilde{O}(\alpha (j))=\alpha (j)\cdot \textrm{polylog}(\alpha (j))\).

  5. This lower bound, as well as all other lower bounds from [14], count bits rather than words.

  6. Their proof is much more general than what is required for \(\ell _\infty \). For a simpler proof for the special case studied here, see Theorem 5.1.

  7. Interestingly, for unweighted planar graphs, Gavoille et al. [14] prove only a lower bound of \(\Omega (n^{1/3})\) on the label size, and closing the gap to the upper bound \(O(\sqrt{n})\) remains an important open question.

  8. The function g(r) depends only on r and is taken from the structure theorem of Robertson and Seymour [23].

References

  1. Abraham, I., Bartal, Y., Neiman, O.: Advances in metric embedding theory. Adv. Math. 228(6), 3026–3126 (2011)

    Article  MathSciNet  Google Scholar 

  2. Abraham, I., Filtser, A., Gupta, A., Neiman, O.: Metric embedding via shortest path decompositions. In: 50th Annual ACM SIGACT Symposium on Theory of Computing (Los Angeles 2018), pp. 952–963. ACM, New York (2018)

  3. Abraham, I., Gavoille, C.: Object location using path separators. In: 25th Annual ACM Symposium on Principles of Distributed Computing (Denver 2006), pp. 188–197. ACM, New York (2006)

  4. Bartal, Y., Filtser, A., Neiman, O.: On notions of distortion and an almost minimum spanning tree with constant average distortion. J. Comput. System Sci. 105, 116–129 (2019)

    Article  MathSciNet  Google Scholar 

  5. Bartal, Y., Gottlieb, L.-A.: Approximate nearest neighbor search for \(\ell _p\)-spaces (\(2<p<\infty \)) via embeddings. Theor. Comput. Sci. 757, 27–35 (2019)

    Article  Google Scholar 

  6. Bourgain, J.: On Lipschitz embedding of finite metric spaces in Hilbert space. Isr. J. Math. 52(1–2), 46–52 (1985)

    Article  MathSciNet  Google Scholar 

  7. Deza, M.M., Laurent, M.: Geometry of Cuts and Metrics. Algorithms and Combinatorics, vol. 15. Springer, Berlin (1997)

    Google Scholar 

  8. Elkin, M., Filtser, A., Neiman, O.: Terminal embeddings. Theor. Comput. Sci. 697, 1–36 (2017)

    Article  MathSciNet  Google Scholar 

  9. Elkin, M., Filtser, A., Neiman, O.: Prioritized metric structures and embedding. SIAM J. Comput. 47(3), 829–858 (2018)

    Article  MathSciNet  Google Scholar 

  10. Elkin, M., Neiman, O.: Near isometric terminal embeddings for doubling metrics. In: 34th International Symposium on Computational Geometry (Budapest 2018). Leibniz International Proceedings in Informatics, vol. 99, # 36. Leibniz-Zent. Inform., Wadern (2018)

  11. Elkin, M., Neiman, O.: Lossless prioritized embeddings. In: 31st Annual ACM-SIAM Symposium on Discrete Algorithms (Salt Lake City 2020), pp. 1049–1062. SIAM, Philadelphia (2020)

  12. Fakcharoenphol, J., Rao, S., Talwar, K.: A tight bound on approximating arbitrary metrics by tree metrics. J. Comput. System Sci. 69(3), 485–497 (2004)

    Article  MathSciNet  Google Scholar 

  13. Filtser, A., Gottlieb, L.-A., Krauthgamer, R.: Labelings vs. embeddings: On distributed representations of distances. In: 31st Annual ACM-SIAM Symposium on Discrete Algorithms (Salt Lake City 2020), pp. 1063–1075. SIAM, Philadelphia (2020)

  14. Gavoille, C., Peleg, D., Pérennes, S., Raz, R.: Distance labeling in graphs. J. Algorithms 53(1), 85–112 (2004)

    Article  MathSciNet  Google Scholar 

  15. Indyk, P.: On approximate nearest neighbors in non-Euclidean spaces. In: 39th Annual Symposium on Foundations of Computer Science (Palo Alto 1998), pp. 148–155. IEEE (1998)

  16. Johnson, W., Lindenstrauss, J.: Extensions of Lipschitz mappings into a Hilbert space. In: Conference in Modern Analysis and Probability (New Haven 1982). Contemporary Mathematics, vol. 26, pp. 189–206. American Mathematical Society, Providence (1984)

  17. Klein, P.: Preprocessing an undirected planar network to enable fast approximate distance queries. In: 13th Annual ACM-SIAM Symposium on Discrete Algorithms (San Francisco 2002), pp. 820–827. ACM, New York (2002)

  18. Krauthgamer, R., Lee, J.R., Mendel, M., Naor, A.: Measured descent: a new embedding method for finite metrics. Geom. Funct. Anal. 15(4), 839–858 (2005)

    Article  MathSciNet  Google Scholar 

  19. Linial, N., London, E., Rabinovich, Yu.: The geometry of graphs and some of its algorithmic applications. Combinatorica 15(2), 215–245 (1995)

    Article  MathSciNet  Google Scholar 

  20. Matoušek, J.: On the distortion required for embedding finite metric spaces into normed spaces. Isr. J. Math. 93(1), 333–344 (1996)

    Article  MathSciNet  Google Scholar 

  21. Matoušek, J.: Lecture notes on metric embeddings. Technical report, ETH Zürich (2013). https://kam.mff.cuni.cz/~matousek/ba-a4.pdf

  22. Narayanan, S., Nelson, J.: Optimal terminal dimensionality reduction in Euclidean space. In: 51st Annual ACM SIGACT Symposium on Theory of Computing (Phoenix 2019), pp. 1064–1069. ACM, New York (2019)

  23. Robertson, N., Seymour, P.: Graph minors. XVI. Excluding a non-planar graph. J. Combin. Theory Ser. B 89(1), 43–76 (2003)

    Article  MathSciNet  Google Scholar 

  24. Thorup, M.: Compact oracles for reachability and approximate distances in planar digraphs. J. ACM 51(6), 993–1024 (2004)

    Article  MathSciNet  Google Scholar 

  25. Thorup, M., Zwick, U.: Compact routing schemes. In: 13th Annual ACM Symposium on Parallel Algorithms and Architectures (Hersonissos 2001), pp. 1–10. ACM, New York (2001)

  26. Thorup, M., Zwick, U.: Approximate distance oracles. J. ACM 52(1), 1–24 (2005)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Arnold Filtser.

Additional information

Editor in Charge: Kenneth Clarkson

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

A preliminary version of this paper appeared in the proceedings of SODA 2020 [13]. This version contains the proofs of Theorems 5.1 and 5.2, omitted from the preliminary version. Arnold Filtser: This research was supported by the Israel science foundation (Grant No. 1042/22). Lee-Ad Gottlieb: Work partially supported by ISF grant 1602/19. Robert Krauthgamer: Work partially supported by ONR Award N00014-18-1-2364, the Israel Science Foundation Grant # 1086/18, and a Minerva Foundation grant

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Filtser, A., Gottlieb, LA. & Krauthgamer, R. Labelings vs. Embeddings: On Distributed and Prioritized Representations of Distances. Discrete Comput Geom 71, 849–871 (2024). https://doi.org/10.1007/s00454-023-00565-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00454-023-00565-2

Keywords

Mathematics Subject Classification

Navigation