Abstract
We design a deterministic algorithm that, given 𝑛 points in a typical constant degree regular graph, queries 𝑂(𝑛) distances to output a constant factor approximation to the average distance among those points, thus answering a question posed in [Mendel and Naor 2015]. Our algorithm uses the method of [Mendel and Naor 2015] to construct a sequence of constant degree graphs that are expanders with respect to certain nonpositively curved metric spaces, together with a new rigidity theorem for metric transforms of nonpositively curved metric spaces. The fact that our algorithm works for typical (uniformly random) constant degree regular graphs rather than for all constant degree graphs is unavoidable, thanks to the following impossibility result that we obtain: For every fixed 𝑘 ∈ℕ, the approximation factor of any algorithm for average distance that works for all constant degree graphs and queries 𝑜(𝑛1+1/𝑘) distances must necessarily be at least 2(𝑘 +1). This matches the upper bound attained by the algorithm that was designed for general finite metric spaces in [Barhum et. al. 2007]. Thus, any algorithm for average distance in constant degree graphs whose approximation guarantee is less than 4 must query Ω(𝑛2) distances, any such algorithm whose approximation guarantee is less than 6 must query Ω(𝑛3/2) distances, any such algorithm whose approximation guarantee less than 8 must query Ω(𝑛3/4) distances, and so forth, and furthermore there exist algorithms achieving those parameters.
| Original language | American English |
|---|---|
| Title of host publication | Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA) |
| Editors | Kasper Green Larsen, Barna Saha |
| Publisher | Society for Industrial and Applied Mathematics Publications |
| Pages | 742-757 |
| Number of pages | 16 |
| ISBN (Electronic) | 978-1-61197-897-1 |
| DOIs | |
| State | Published - 7 Jan 2026 |
Fingerprint
Dive into the research topics of 'An optimal algorithm for average distance in typical regular graphs'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver