NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Approximation Algorithms for Optimal Hopsets

Michael Dinitz, Ama Koranteng, Yasamin Nazari

TL;DR

While existing research on graph hopsets focuses on existential, worst-case bounds (i.e., how many edges are needed in the worst-case graph), this paper initiates the study of the instance-optimal hopset problem: finding the smallest set of shortcut edges for a specific input graph. The authors provide the first non-trivial polynomial-time approximation algorithms across multiple regimes (directed vs. undirected, varying stretch and hopbounds) along with a super-polylogarithmic hardness of approximation lower bound.

What Problem Does This Paper Address?

In shortest-path and parallel/distributed graph algorithms, long paths with many edges ("hops") create bottlenecks. A hopset $H$ is a set of weighted auxiliary edges added to a graph $G$ such that any pair $(u, v)$ has a path in $G \cup H$ with at most $\beta$ hops whose length is within a factor $\alpha$ (the stretch) of the true distance.

Historically, researchers studied the existential question: what is the worst-case size $\gamma(n, \beta, \alpha)$ required to guarantee such paths for any graph of $n$ vertices? However, many practical graphs are far better behaved than the theoretical worst case. The authors introduce and study the Generalized $\beta$-Hopset optimization problem: given a specific graph $G$ and distance constraints, compute the minimum-size edge set $H$ satisfying the hopbound $\beta$.

Unlike graph spanners (where edges are retained and $|OPT| \ge n-1$), hopset edges are added to a graph where the original edges are "free." Consequently, $OPT$ can be as small as 1, which breaks standard approximation techniques developed for spanners and causes them to yield superlinear ratios if applied naively.

Methods

The paper develops three core algorithmic techniques and combines them with known existential constructions:

  1. Hopbounded Junction Trees: The authors adapt the junction tree framework (rooted trees satisfying multiple demands at low cost-per-demand density). Because standard junction tree algorithms do not respect hop limits, they design a "two-stage" layering reduction to encode both hop limits and distance constraints into reachability, proving that low-density $(i, j)$-hopbounded junction trees always exist and can be efficiently approximated.

  2. Star Sampling and LP Rounding: Demand pairs are partitioned into "thick" and "thin" based on the size of their candidate-path neighborhood:

  3. Thick demands are settled by randomly sampling in- and out-stars in the metric closure.

  4. Thin demands are settled by solving and randomly rounding a cut-covering linear program (LP). Because checking constraints requires finding paths subject to both hop and distance limits, the separation oracle maps to the Hopbounded Restricted Shortest Path problem, for which the authors design a fully polynomial-time approximation scheme (FPTAS).
  5. Existential Trade-Offs: The algorithms are balanced against each other and against known constructive existential hopset bounds (e.g., folklore sampling, Thorup–Zwick, and recent directed/undirected constructions), exploiting the fact that junction trees perform best when $OPT$ and $\beta$ are small, while star sampling/LP rounding excels when $OPT$ is large.

  6. Hardness Reduction: An approximation-preserving reduction from the Min-Rep (Label Cover) problem establishes structural hardness for directed hopsets.

Datasets

Not discussed in the paper. (The work is entirely theoretical and does not evaluate empirical benchmarks or datasets.)

Key Insights and Ideas

  • Parameterizing by $OPT$ rather than $n$ alone: Standard spanner algorithms use the lower bound $OPT \ge n-1$. Because hopsets can have $OPT = O(1)$, standard bounds degrade. The authors analyze approximation ratios as functions of $n, \beta,$ and $OPT$, obtaining bounds like $\tilde{O}(\beta n^\epsilon \cdot OPT)$ (junction trees) and $\tilde{O}(n \sqrt{OPT} / OPT) = \tilde{O}(n / \sqrt{OPT})$ (star sampling + LP).
  • Trading off instance-specific algorithms with existential bounds: When $OPT$ is large, an existential construction (which bounds the absolute number of edges regardless of $OPT$) inherently guarantees a strong approximation ratio relative to $OPT$.
  • Two-stage layering: Incorporating both hop constraints and metric distance constraints simultaneously into LP separation and junction trees requires extending classical bicriteria shortest-path techniques into tricriteria settings (distance, hops, and LP costs).

Key Results

  • Directed Graphs (Arbitrary Stretch):
  • For general hopbounds: an $\tilde{O}(n^{4/5+\epsilon})$-approximation.
  • For small hopbounds ($\beta = \tilde{O}(n^{2/5})$): an $\tilde{O}(\beta^{1/3} \cdot n^{2/3+\epsilon})$-approximation.
  • For large hopbounds ($\beta = \tilde{\Omega}(n^{2/5})$): an $\tilde{O}(n^{1+\epsilon}/\sqrt{\beta})$-approximation.
  • For $\beta = 2$: an $O(\ln n)$-approximation.
  • Directed Graphs ($(1+\epsilon)$-Stretch):
  • An $\tilde{O}(n^{3/4+\epsilon'} \cdot \epsilon^{-1/4})$-approximation for $\beta \ge 20 \log n$.
  • Undirected Graphs:
  • For $(1+\epsilon)$-stretch and $\beta = \tilde{O}(n^{1/2 - 1/(2\eta)})$: an $\tilde{O}(\sqrt{\beta} \cdot n^{1/2 + 1/(2\eta) + \epsilon'})$-approximation (where $\eta \ge 6$).
  • For odd stretch $(2k-1)$: an $\tilde{O}(\sqrt{k\beta} \cdot n^{1/2 + 1/(2k) + \epsilon'})$-approximation.
  • Hardness of Approximation:
  • For directed graphs with hopbound $\beta \ge 3$, Generalized $\beta$-Hopset cannot be approximated within a factor of $2^{\log^{1-\epsilon} n}$ in polynomial time for any stretch value unless $\mathrm{NP} \subseteq \mathrm{DTIME}(2^{\mathrm{polylog}(n)})$.

Limitations and Future Work

  • Directed vs. Undirected Hardness Gap: The $2^{\log^{1-\epsilon} n}$ hardness lower bound applies only to directed graphs with $\beta \ge 3$; proving comparable hardness for undirected graphs or for $\beta = 2$ remains open.
  • Upper vs. Lower Bound Gap: Polynomial approximation upper bounds ($\approx n^{0.5}$ to $n^{0.8}$) remain far above the polylogarithmic hardness lower bound.
  • Hop Violations / Bicriteria Approximations: Exploring bicriteria approximations—where the algorithm is allowed to slightly violate the hopbound $\beta$ to obtain a much smaller edge set—is a natural next step.

Summary updated

BibTeX
@inproceedings{dinitz2025approximation,
  author = {Michael Dinitz and Ama Koranteng and Yasamin Nazari},
  title = {{Approximation Algorithms for Optimal Hopsets}},
  booktitle = {ICALP},
  year = {2025},
  url = {https://openreview.net/forum?id=gpc51h6nXp},
}

Loading related content...

Figure