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

Fully Scalable Massively Parallel Algorithms for Embedded Planar Graphs

Yi-Jun Chang, Da Wei Zheng

TL;DR

This paper breaks a major theoretical barrier in massively parallel computing by providing the first constant-round, "fully scalable" algorithms for planar graphs. By leveraging a novel recursive framework and sophisticated graph-drawing techniques, the authors show that fundamental problems like connectivity, MST, and shortest paths can be solved in $O(1)$ rounds even when each machine has an arbitrarily small polynomial amount of memory ($n^\delta$).

What Problem Does This Paper Address?

In the world of big data, we often use the Massively Parallel Computation (MPC) model—a theoretical abstraction of frameworks like MapReduce, Hadoop, or Spark. A long-standing "speed limit" in this field is the 1-vs-2-cycles conjecture, which suggests that even basic tasks like telling if a graph is one big circle or two smaller ones should take $\Omega(\log n)$ rounds if each machine has sublinear memory.

While recent work showed we could bypass this limit for planar graphs (graphs that can be drawn on a flat surface without edges crossing), those solutions weren't "fully scalable." They required each machine to have at least $n^{2/3}$ memory. If your dataset has a billion nodes, requiring $n^{2/3}$ memory per machine is still a massive hardware burden. This paper tackles the challenge of reaching the fully scalable regime, where machines can have memory as small as $n^\delta$ for any constant $\delta > 0$, while still finishing the job in a constant number of communication rounds.

Methods

The authors’ "secret sauce" is a recursive framework paired with distributed graph drawing.

  1. Geometric Partitioning: They use "cuttings" and "$r$-divisions" to slice the planar graph into smaller regions. Each region has a manageable number of edges and a small boundary.
  2. Compression and Recursion: Instead of trying to solve the whole problem at once, they solve it for each region, compress the result into a smaller representative graph, and then pass that up to the next level of recursion.
  3. The Drawing Challenge: The brilliance of this paper lies in how it handles the recursion. To use planar graph properties at the next level, the compressed graph must still be a valid planar graph with a straight-line drawing. The authors developed new algorithms for Scaffold Graphs—abstract structures that allow them to "glue" different pieces of the graph back together while maintaining planarity and ensuring no edges cross, all within the constraints of parallel machines.
  4. Emulators: For distance-based problems (like shortest paths), they incorporate "$\epsilon$-emulators," which are sparse graphs that preserve distances between important nodes within a small error margin ($1+\epsilon$).

Datasets

As a theoretical computer science paper, this work does not use empirical datasets or training benchmarks. Instead, it provides mathematical proofs of algorithmic complexity. The algorithms are designed to work on any embedded planar graph (a planar graph where the $(x,y)$ coordinates of the vertices are provided).

Key Insights and Ideas

  • The Power of the Embedding: The paper reinforces that having a geometric "map" of a graph (the embedding) is a massive advantage. It allows algorithms to use spatial partitioning techniques that are impossible on general graphs.
  • Bypassing the "Master Machine" Bottleneck: Previous methods failed at low memory because they eventually needed to fit the entire "boundary" of the graph partitions onto a single machine. This paper’s nested recursion avoids this bottleneck by never requiring any single machine to see more than $n^\delta$ data.
  • Planarity as a Recurrent Property: Usually, when you simplify or "contract" a graph, you lose its nice geometric properties. The authors' graph-drawing lemmas prove you can compress a planar graph and re-draw it such that it remains useful for the next parallel step.

Key Results

The paper delivers a suite of $O(1)$ round algorithms in the fully scalable MPC regime ($S = n^\delta$):

  • Connectivity and MST: First constant-round algorithms for these problems at this memory scale.
  • Shortest Paths (SSSP/APSP): Achieves $(1+\epsilon)$-approximations. Previously, these required linear memory per machine to achieve constant rounds.
  • Flows and Cuts: Provides the first constant-round $(1+\epsilon)$-approximations for global min-cut and $st$-max flow in this regime.
  • Edit Distance: As a surprising corollary, they provide a faster parallel algorithm for computing the weighted edit distance between two strings by reducing it to a shortest-path problem on a planar grid graph.

Limitations and Future Work

  • Required Embedding: The algorithms assume the planar embedding (the coordinates) is already known. If you only have the connections (a combinatorial graph) and no coordinates, these specific techniques don't yet apply.
  • Approximation vs. Exact: While connectivity is exact, the flow and distance algorithms are $(1+\epsilon)$ approximations. Finding exact solutions in $O(1)$ rounds remains an open challenge.
  • Higher Dimensions: The authors suggest that extending these results to 3D Euclidean MST or other geometric graphs is a promising next step.
  • Planarity Testing: A major open question is whether a machine can verify if a graph is planar and find an embedding in $O(1)$ rounds in the fully scalable regime.

Summary updated

BibTeX
@inproceedings{chang2024fully,
  author = {Yi-Jun Chang and Da Wei Zheng},
  title = {{Fully Scalable Massively Parallel Algorithms for Embedded Planar Graphs}},
  booktitle = {SODA},
  year = {2024},
  doi = {10.1137/1.9781611977912.155},
}
Figure