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 (X, d), 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(x, y). 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.
Similar content being viewed by others
Notes
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.
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.
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).
We use \({\widetilde{O}}\) notation to suppress constants and logarithmic factors, that is \(\widetilde{O}(\alpha (j))=\alpha (j)\cdot \textrm{polylog}(\alpha (j))\).
This lower bound, as well as all other lower bounds from [14], count bits rather than words.
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.
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.
The function g(r) depends only on r and is taken from the structure theorem of Robertson and Seymour [23].
References
Abraham, I., Bartal, Y., Neiman, O.: Advances in metric embedding theory. Adv. Math. 228(6), 3026–3126 (2011)
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)
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)
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)
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)
Bourgain, J.: On Lipschitz embedding of finite metric spaces in Hilbert space. Isr. J. Math. 52(1–2), 46–52 (1985)
Deza, M.M., Laurent, M.: Geometry of Cuts and Metrics. Algorithms and Combinatorics, vol. 15. Springer, Berlin (1997)
Elkin, M., Filtser, A., Neiman, O.: Terminal embeddings. Theor. Comput. Sci. 697, 1–36 (2017)
Elkin, M., Filtser, A., Neiman, O.: Prioritized metric structures and embedding. SIAM J. Comput. 47(3), 829–858 (2018)
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)
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)
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)
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)
Gavoille, C., Peleg, D., Pérennes, S., Raz, R.: Distance labeling in graphs. J. Algorithms 53(1), 85–112 (2004)
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)
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)
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)
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)
Linial, N., London, E., Rabinovich, Yu.: The geometry of graphs and some of its algorithmic applications. Combinatorica 15(2), 215–245 (1995)
Matoušek, J.: On the distortion required for embedding finite metric spaces into normed spaces. Isr. J. Math. 93(1), 333–344 (1996)
Matoušek, J.: Lecture notes on metric embeddings. Technical report, ETH Zürich (2013). https://kam.mff.cuni.cz/~matousek/ba-a4.pdf
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)
Robertson, N., Seymour, P.: Graph minors. XVI. Excluding a non-planar graph. J. Combin. Theory Ser. B 89(1), 43–76 (2003)
Thorup, M.: Compact oracles for reachability and approximate distances in planar digraphs. J. ACM 51(6), 993–1024 (2004)
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)
Thorup, M., Zwick, U.: Approximate distance oracles. J. ACM 52(1), 1–24 (2005)
Author information
Authors and Affiliations
Corresponding author
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.
About this article
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
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00454-023-00565-2