Papers
Topics
Authors
Recent
Search
2000 character limit reached

Near-Exact Hopsets in Graph Algorithms

Updated 9 July 2026
  • Near-exact hopsets are graph augmentations that add weighted shortcut edges so every vertex pair has a path within (1+ε) of the true distance using a bounded number of hops.
  • They achieve favorable trade-offs between sparsity and hop-bound through constructions like Thorup–Zwick emulators and sampling-and-bunch frameworks.
  • These structures underpin efficient sequential, parallel, distributed, and streaming algorithms for approximating shortest paths in diverse graph settings.

Near-exact hopsets are graph augmentations that add weighted shortcut edges to a graph so that every pair of vertices admits a path with a bounded number of hops and length within a factor 1+ϵ1+\epsilon of the true shortest-path distance. In the standard terminology, a (β,ϵ)(\beta,\epsilon)-hopset enforces a hop-bound β\beta and multiplicative stretch 1+ϵ1+\epsilon, with the regime of small ϵ\epsilon constituting the near-exact setting. Introduced by Cohen in the context of parallel computation of approximate shortest paths, hopsets later became a basic primitive in dynamic graph algorithms, distributed computing, and the streaming model (Elkin et al., 2016).

1. Formal definition and variants

For a weighted undirected graph G=(V,E,ω)G=(V,E,\omega), let dG(u,v)d_G(u,v) denote the shortest-path distance, and for an integer β1\beta \ge 1, let

dG(β)(u,v)d_{G'}^{(\beta)}(u,v)

denote the length of a shortest uu-to-(β,ϵ)(\beta,\epsilon)0 path in (β,ϵ)(\beta,\epsilon)1 that uses at most (β,ϵ)(\beta,\epsilon)2 edges. A graph (β,ϵ)(\beta,\epsilon)3 is a (β,ϵ)(\beta,\epsilon)4-hopset for (β,ϵ)(\beta,\epsilon)5 if, for every (β,ϵ)(\beta,\epsilon)6,

(β,ϵ)(\beta,\epsilon)7

Here (β,ϵ)(\beta,\epsilon)8 is the hop-bound and (β,ϵ)(\beta,\epsilon)9 is the multiplicative stretch parameter (Elkin et al., 2016).

The same basic idea extends to directed graphs, but the formulation is less uniform. One directed definition requires exact distance preservation in the augmented graph together with a low-hop approximate path: for every β\beta0,

β\beta1

and there exists a β\beta2 path in β\beta3 of at most β\beta4 edges and weight at most β\beta5 (Bernstein et al., 2022). A broader directed formulation fixes β\beta6 and asks that every reachable ordered pair β\beta7 admit an β\beta8 path in β\beta9 of at most 1+ϵ1+\epsilon0 edges and total weight at most 1+ϵ1+\epsilon1; the case 1+ϵ1+\epsilon2 is the directed near-exact regime (Hoppenworth et al., 2024).

Two parameters dominate the theory. The first is sparsity, usually expressed as 1+ϵ1+\epsilon3 or by specialized linear-size bounds. The second is the hop-bound 1+ϵ1+\epsilon4, whose dependence on 1+ϵ1+\epsilon5, the sparsity exponent, and in directed settings the aspect ratio, is the central structural quantity throughout the literature.

2. Undirected trade-offs and existential bounds

The undirected theory developed through a sequence of progressively sharper size-hopbound trade-offs. An early milestone gave linear-size hopsets with substantially improved hopbound: setting 1+ϵ1+\epsilon6 in the Elkin–Neiman construction yields 1+ϵ1+\epsilon7 and

1+ϵ1+\epsilon8

while the general bound is 1+ϵ1+\epsilon9 with

ϵ\epsilon0

for a runtime parameter ϵ\epsilon1 (Elkin et al., 2017).

A subsequent construction exhibited the first sparse hopsets with a constant number of hops. For parameters ϵ\epsilon2, ϵ\epsilon3, and ϵ\epsilon4, one can construct a ϵ\epsilon5-hopset of expected size

ϵ\epsilon6

where

ϵ\epsilon7

and ϵ\epsilon8 is independent of ϵ\epsilon9 for fixed G=(V,E,ω)G=(V,E,\omega)0; the leading G=(V,E,ω)G=(V,E,\omega)1 in the size can be removed at the expense of increasing the exponent of G=(V,E,ω)G=(V,E,\omega)2 by G=(V,E,ω)G=(V,E,\omega)3 (Elkin et al., 2016).

The later survey literature emphasizes a parallel line of results based on scale-free constructions. For every G=(V,E,ω)G=(V,E,\omega)4-vertex weighted graph, every G=(V,E,ω)G=(V,E,\omega)5, and integer G=(V,E,ω)G=(V,E,\omega)6, there exists a G=(V,E,ω)G=(V,E,\omega)7-hopset of size

G=(V,E,ω)G=(V,E,\omega)8

with

G=(V,E,ω)G=(V,E,\omega)9

and a refined analysis removes the leading dG(u,v)d_G(u,v)0. The same parameters can be achieved by a single, dG(u,v)d_G(u,v)1-independent construction, so that one hopset simultaneously satisfies the dG(u,v)d_G(u,v)2 guarantee for all dG(u,v)d_G(u,v)3 (Elkin et al., 2020).

Construction Size Hop-bound
Linear-size Elkin–Neiman specialization (Elkin et al., 2017) dG(u,v)d_G(u,v)4 dG(u,v)d_G(u,v)5
Constant-hop hopsets (Elkin et al., 2016) dG(u,v)d_G(u,v)6 dG(u,v)d_G(u,v)7
Scale-free hopsets (Elkin et al., 2020) dG(u,v)d_G(u,v)8 dG(u,v)d_G(u,v)9
Thorup–Zwick optimal trade-off (Huang et al., 2017) β1\beta \ge 10 β1\beta \ge 11

These parameterizations are not identical: β1\beta \ge 12 and β1\beta \ge 13 index different sparsity curves. Nonetheless, they chart the main undirected progression from linear-size quasi-polylogarithmic hopbound, to constant-hop sparse constructions, to sparsity-optimal Thorup–Zwick-based hopsets.

A further structural synthesis appears in the unified framework of Neiman and Shabat. In the size regime β1\beta \ge 14, their sampling-and-bunch formalism recovers a simultaneous β1\beta \ge 15-hopset with

β1\beta \ge 16

and proves a matching lower bound of a different form: any β1\beta \ge 17-hopset of size β1\beta \ge 18 must satisfy

β1\beta \ge 19

(Neiman et al., 2021). For near-exact hopsets, where dG(β)(u,v)d_{G'}^{(\beta)}(u,v)0, this gives a coarse but general obstruction to simultaneously minimizing multiplicative stretch and hopbound.

3. Thorup–Zwick emulators as universally optimal hopsets

A decisive simplification came from the observation that Thorup–Zwick sublinear-additive emulators are also hopsets. In the construction, one fixes an integer dG(β)(u,v)d_{G'}^{(\beta)}(u,v)1, forms nested samples

dG(β)(u,v)d_{G'}^{(\beta)}(u,v)2

and for each dG(β)(u,v)d_{G'}^{(\beta)}(u,v)3 adds weighted edges from dG(β)(u,v)d_{G'}^{(\beta)}(u,v)4 to every dG(β)(u,v)d_{G'}^{(\beta)}(u,v)5, where

dG(β)(u,v)d_{G'}^{(\beta)}(u,v)6

and each edge dG(β)(u,v)d_{G'}^{(\beta)}(u,v)7 receives weight dG(β)(u,v)d_{G'}^{(\beta)}(u,v)8 (Huang et al., 2017).

Following Pettie, the sampling probabilities are set to

dG(β)(u,v)d_{G'}^{(\beta)}(u,v)9

With this choice,

uu0

The key analytic step is to convert Thorup–Zwick’s sublinear additive emulator guarantee into multiplicative uu1-stretch by explicitly bounding the number of hops in uu2. Defining uu3 and

uu4

one obtains uu5, and choosing uu6 yields

uu7

(Huang et al., 2017).

This trade-off is described in the paper as universally optimal. Abboud–Bodwin–Pettie proved that any hopset of size uu8 must have

uu9

whereas the Thorup–Zwick modification achieves size (β,ϵ)(\beta,\epsilon)00 with

(β,ϵ)(\beta,\epsilon)01

matching the lower-bound curve up to (β,ϵ)(\beta,\epsilon)02-polynomial factors (Huang et al., 2017).

The same construction also has corollaries outside the hopset setting. For unweighted graphs it gives a sublinear-additive emulator of size (β,ϵ)(\beta,\epsilon)03 and stretch

(β,ϵ)(\beta,\epsilon)04

and, combined with standard “stretch (β,ϵ)(\beta,\epsilon)05” pruning, yields a spanner with stretch (β,ϵ)(\beta,\epsilon)06, additive error (β,ϵ)(\beta,\epsilon)07, and size

(β,ϵ)(\beta,\epsilon)08

where (β,ϵ)(\beta,\epsilon)09 (Huang et al., 2017). This is one of the clearest demonstrations that near-exact hopsets, near-additive emulators, and sparse spanners often occupy the same combinatorial template.

4. Construction paradigms and computational models

The first constant-hop construction is also notable for its algorithmic generality. Its centralized algorithm uses a hierarchy of clusterings, interleaving super-clustering and interconnection over distance scales. For fixed (β,ϵ)(\beta,\epsilon)10, it constructs in

(β,ϵ)(\beta,\epsilon)11

time a (β,ϵ)(\beta,\epsilon)12-hopset of expected size (β,ϵ)(\beta,\epsilon)13, with space (β,ϵ)(\beta,\epsilon)14; parallel, Congested Clique, CONGEST, and streaming implementations with explicit resource bounds are also given (Elkin et al., 2016).

In the EREW PRAM model, this framework yields a construction using

(β,ϵ)(\beta,\epsilon)15

processors and time

(β,ϵ)(\beta,\epsilon)16

after which (β,ϵ)(\beta,\epsilon)17-approximate shortest paths from (β,ϵ)(\beta,\epsilon)18 sources can be computed via (β,ϵ)(\beta,\epsilon)19-limited Bellman–Ford in (β,ϵ)(\beta,\epsilon)20 further time (Elkin et al., 2016). In the Congested Clique, one can build the hopset in

(β,ϵ)(\beta,\epsilon)21

rounds, with a choice of (β,ϵ)(\beta,\epsilon)22 making (β,ϵ)(\beta,\epsilon)23 constant in (β,ϵ)(\beta,\epsilon)24 (Elkin et al., 2016).

Deterministic parallelization required a separate advance. The first efficient deterministic parallel hopset algorithm builds a (β,ϵ)(\beta,\epsilon)25-hopset of size

(β,ϵ)(\beta,\epsilon)26

with

(β,ϵ)(\beta,\epsilon)27

in CREW-PRAM time

(β,ϵ)(\beta,\epsilon)28

and work

(β,ϵ)(\beta,\epsilon)29

yielding the first deterministic polylogarithmic-time PRAM algorithm for (β,ϵ)(\beta,\epsilon)30-SSSP with slightly super-linear work (Michael et al., 2020).

Distributed settings impose different sparsity-round trade-offs. In the Congested Clique, a randomized algorithm constructs, with high probability, a (β,ϵ)(\beta,\epsilon)31-hopset of size

(β,ϵ)(\beta,\epsilon)32

hopbound

(β,ϵ)(\beta,\epsilon)33

and round complexity

(β,ϵ)(\beta,\epsilon)34

providing the first polylogarithmic-round Congested Clique algorithm for sparse hopsets with polylogarithmic hopbound (Nazari, 2019).

Taken together, these results show that the near-exact regime is not only an existential theory of sparse augmentations. It is also a design framework for sequential, PRAM, Congested Clique, CONGEST, streaming, and deterministic shortest-path algorithms.

5. Directed near-exact hopsets

Directed graphs are markedly harder. The first nearly linear-work directed construction produces a hopset with (β,ϵ)(\beta,\epsilon)35 edges and

(β,ϵ)(\beta,\epsilon)36

in sequential time (β,ϵ)(\beta,\epsilon)37, and a parallel version with work (β,ϵ)(\beta,\epsilon)38 and span (β,ϵ)(\beta,\epsilon)39 (Cao et al., 2019). This already established that near-exact directed hopsets can be built efficiently, but not yet with the same linear-size hopbound known for directed shortcut sets.

That gap was closed by Bernstein and Wein. For any (β,ϵ)(\beta,\epsilon)40-vertex directed graph with integer weights in (β,ϵ)(\beta,\epsilon)41, fixed (β,ϵ)(\beta,\epsilon)42, and (β,ϵ)(\beta,\epsilon)43, there exists a (β,ϵ)(\beta,\epsilon)44-hopset (β,ϵ)(\beta,\epsilon)45 of size

(β,ϵ)(\beta,\epsilon)46

In particular, choosing

(β,ϵ)(\beta,\epsilon)47

gives (β,ϵ)(\beta,\epsilon)48 and hop-bound (β,ϵ)(\beta,\epsilon)49. More generally, for every (β,ϵ)(\beta,\epsilon)50, one can set

(β,ϵ)(\beta,\epsilon)51

to obtain a (β,ϵ)(\beta,\epsilon)52-hopset of size

(β,ϵ)(\beta,\epsilon)53

matching, up to polylogarithmic factors, the known shortcut-set trade-off (Bernstein et al., 2022).

The construction combines several ingredients: a weighted transitive closure, a “nice path collection” of vertex-disjoint shortest paths of exactly (β,ϵ)(\beta,\epsilon)54 hops, Raz–Spira forward 2-hop emulators on those paths, hierarchical vertex-path sampling, and a new sixth-hop backward-shortcutting gadget that handles the cyclic obstructions absent in DAG-like settings (Bernstein et al., 2022).

Lower bounds reveal that the directed near-exact regime is highly sensitive to weight structure. For arbitrary weighted directed graphs, every (β,ϵ)(\beta,\epsilon)55-size approximate hopset with any given finite stretch must have

(β,ϵ)(\beta,\epsilon)56

while (β,ϵ)(\beta,\epsilon)57-size exact hopsets in unweighted directed graphs require (β,ϵ)(\beta,\epsilon)58, and (β,ϵ)(\beta,\epsilon)59-size shortcut sets require (β,ϵ)(\beta,\epsilon)60 (Hoppenworth et al., 2024). The (β,ϵ)(\beta,\epsilon)61 bound establishes a separation from the polynomial-aspect-ratio setting, where (β,ϵ)(\beta,\epsilon)62-size approximate hopsets with hopbound (β,ϵ)(\beta,\epsilon)63 are known (Hoppenworth et al., 2024). A common misunderstanding is therefore to treat the (β,ϵ)(\beta,\epsilon)64 linear-size bound as fully general in directed graphs; the lower bound shows that unbounded aspect ratio rules this out.

6. Reductions, unification, and optimization

Near-exact hopsets have long been studied alongside near-additive spanners and emulators. The survey literature highlighted that the results of Elkin–Peleg for spanners and Elkin–Neiman for hopsets are “strikingly similar,” and explicitly posed the problem of a black-box reduction between near-additive emulators and near-exact hopsets (Elkin et al., 2020).

One direction was clarified through a reduction from hopsets to spanners, emulators, and distance preservers. The central notion is an (β,ϵ)(\beta,\epsilon)65-missing (β,ϵ)(\beta,\epsilon)66-spanner: a subgraph (β,ϵ)(\beta,\epsilon)67 such that every pair (β,ϵ)(\beta,\epsilon)68 has an approximate path of length at most (β,ϵ)(\beta,\epsilon)69 omitting at most (β,ϵ)(\beta,\epsilon)70 edges of (β,ϵ)(\beta,\epsilon)71. Given a sequence of hopsets (β,ϵ)(\beta,\epsilon)72 with parameters (β,ϵ)(\beta,\epsilon)73, one can build in polynomial time a subgraph (β,ϵ)(\beta,\epsilon)74 that is an

(β,ϵ)(\beta,\epsilon)75

spanner of size

(β,ϵ)(\beta,\epsilon)76

The same framework yields new weighted near-additive spanners, directed weighted pairwise preservers, and lower bounds such as (β,ϵ)(\beta,\epsilon)77 for linear-size exact weighted hopsets (Kogan et al., 2022).

The reverse direction was established more recently. Any algorithm (β,ϵ)(\beta,\epsilon)78 that constructs a (β,ϵ)(\beta,\epsilon)79-emulator of size (β,ϵ)(\beta,\epsilon)80 for undirected unweighted graphs can be used as a black box to obtain, for any (β,ϵ)(\beta,\epsilon)81, a (β,ϵ)(\beta,\epsilon)82-hopset for an undirected weighted graph with

(β,ϵ)(\beta,\epsilon)83

and size

(β,ϵ)(\beta,\epsilon)84

This answers the reduction question for sparse graphs, while leaving open the removal of the linear dependence on (β,ϵ)(\beta,\epsilon)85 in the size bound (Aeri et al., 8 Jul 2026).

The unification program also reaches the level of algorithmic templates. A single sampling-and-bunch framework can attain all state-of-the-art spanners and hopsets for general graphs by choosing the appropriate input parameters, and in the (β,ϵ)(\beta,\epsilon)86-size regime it resolves an open problem by proving that every (β,ϵ)(\beta,\epsilon)87-hopset must satisfy (β,ϵ)(\beta,\epsilon)88 (Neiman et al., 2021).

A further development shifts attention from worst-case existence to graph-specific optimization. The optimization variant asks, for a given graph instance, for the minimum number of edges in a hopset with prescribed hopbound and stretch. In the near-exact regime, there is a randomized polynomial-time algorithm that, for directed graphs with (β,ϵ)(\beta,\epsilon)89, returns a (β,ϵ)(\beta,\epsilon)90-hopset of size

(β,ϵ)(\beta,\epsilon)91

and in undirected graphs with moderate (β,ϵ)(\beta,\epsilon)92, a randomized polynomial-time algorithm returning a (β,ϵ)(\beta,\epsilon)93-hopset of size

(β,ϵ)(\beta,\epsilon)94

for (β,ϵ)(\beta,\epsilon)95 (Dinitz et al., 10 Feb 2025).

Open questions remain explicit and technically sharp. The survey literature asks whether the classical near-exact hopbound can be reduced to a polynomial in (β,ϵ)(\beta,\epsilon)96 and (β,ϵ)(\beta,\epsilon)97, describes the gap as “wide open,” and lists directed analogues, black-box reductions, universal constructions, and dynamic or streaming maintenance as central directions (Elkin et al., 2020). The emulator-to-hopset reduction leaves open a size bound independent of (β,ϵ)(\beta,\epsilon)98 (Aeri et al., 8 Jul 2026). In directed graphs, the recent lower bounds isolate aspect ratio as a decisive parameter and ask for a finer characterization of how the best achievable (β,ϵ)(\beta,\epsilon)99 depends on weight spread (Hoppenworth et al., 2024).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Near-Exact Hopsets.