Tight Approximation Algorithms for Bichromatic Graph Diameter and Related Problems

Mina Dalirrooyfard, Virginia Vassilevska Williams, Nikhil Vyas, Nicole Wein

Abstract

This paper investigates fast approximation algorithms for fundamental graph distance metrics—Diameter, Radius, and Eccentricities—within the "bichromatic" framework where nodes are partitioned into two sets. We present the first non-trivial, subquadratic-time approximation algorithms for these problems and demonstrate that their time-accuracy trade-offs are tight under the Strong Exponential Time Hypothesis (SETH).

Introduction

Computing the maximum or minimum shortest-path distances in a graph is a cornerstone of network analysis. Standard metrics include Diameter (the maximum shortest-path distance), Radius (the minimum distance required for a "center" node to reach all others), and Eccentricities (the maximum distance from a specific node to all others).

Traditionally, exact computation requires solving the All-Pairs Shortest Paths (APSP) problem, which takes $O(n^2)$ or $O(mn)$ time—prohibitively slow for massive modern datasets. This research focuses on approximating these metrics for specific vertex subsets $S$ and $T$, specifically the Bichromatic variant, where $S$ and $T$ partition the graph, and the more general $ST$-variant.

Methodology

The authors employ a dual approach combining algorithmic innovation with fine-grained complexity analysis:

Algorithmic Design

Building on random sampling techniques, the authors introduce a deterministic search component for bichromatic scenarios. Since $S$ and $T$ partition the graph, any path between them must cross a boundary edge. The proposed algorithms effectively "catch" these boundary edges to provide tighter distance bounds than general-purpose sampling.

Lower Bounds

To establish optimality, the authors provide reductions from the Orthogonal Vectors (OV) and Hitting Set (HS) problems. Under the Strong Exponential Time Hypothesis (SETH), they prove that the achieved approximation factors are the best possible within subquadratic timeframes.

Key Results and Insights

The Bichromatic Advantage

A central finding is that the bichromatic constraint makes the problem fundamentally more tractable than the general $ST$-variant. For instance, in undirected graphs, one can achieve a 5/3-approximation for Bichromatic Diameter in $\tilde{O}(m^{3/2})$ time, whereas the general $ST$-Diameter is limited to a 2-approximation in the same timeframe.

Table 1: Approximation bounds for the Bichromatic variant in undirected graphs.
Table 2: Approximation bounds for the general ST-variant in undirected graphs, showing looser approximations compared to the bichromatic case.

Directed Graphs and Subset Tractability

While directed graphs generally resist finite approximations in subquadratic time for $ST$-metrics, Directed Bichromatic Diameter is a notable exception, allowing for a 2-approximation in $\tilde{O}(m^{3/2})$ time. Conversely, "Subset" problems (where $S=T$) exhibit a sharp threshold: a 2-approximation is possible in near-linear time, but any improvement requires near-quadratic time.

Conclusion

This work maps a comprehensive landscape of the complexity of graph distance approximations. By identifying the structural advantages of bichromatic partitions, the authors provide algorithms that are mathematically optimal under SETH. Future work may involve empirical testing on real-world networks to evaluate the practical impact of the hidden constants in these theoretical bounds.

Summary updated

BibTeX
@inproceedings{dalirrooyfard2019tight,
  author = {Mina Dalirrooyfard and Virginia Vassilevska Williams and Nikhil Vyas and Nicole Wein},
  title = {{Tight Approximation Algorithms for Bichromatic Graph Diameter and Related Problems}},
  booktitle = {ICALP},
  year = {2019},
  url = {https://openreview.net/forum?id=aZE0Q6Tcj55},
}
Figure