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

Parallel Algorithms for Geometric Graph Problems

Alexandr Andoni, Aleksandar Nikolov, Krzysztof Onak, Grigory Yaroslavtsev

Introduction

Processing massive datasets often requires parallel computing models like MapReduce or Spark. However, fundamental graph problems—such as finding a Minimum Spanning Tree (MST) or checking connectivity—are notoriously difficult to solve efficiently in these environments. The primary bottleneck is not computational power, but the number of communication rounds required between machines. While general graph problems often require a logarithmic number of rounds, this paper demonstrates that geometric structure can be exploited to achieve near-optimal solutions in just a constant number of rounds.

The Challenge of Communication

In the Massively Parallel Communication (MPC) model, data is distributed across multiple machines, each with limited local memory. For general graphs, global properties are hard to determine because information must propagate across the entire network. However, many real-world datasets are inherently geometric: nodes represent points in space (e.g., GPS coordinates, feature vectors), and edge weights correspond to distances. The authors introduce a "Solve-And-Sketch" framework that leverages this spatial information to bypass traditional communication limits.

The Solve-And-Sketch Framework

The core of the proposed approach is a hierarchical decomposition of space, similar to a quadtree but optimized for high-branching parallel architectures. The framework follows a four-step recursive process:

  1. Partition: The spatial domain is divided into cells, which are assigned to different machines.
  2. Solve: Each machine independently computes a local solution for the points within its cell.
  3. Sketch: To avoid exceeding memory limits when passing data up the hierarchy, machines create a compressed "sketch" of their local solution. This sketch captures only the essential "interface" information needed by parent cells.
  4. Recurse: Parent cells combine these sketches to refine the global solution.
Figure 1: Hierarchical partitioning allows for local distance calculations and efficient sketching of spatial relationships.

Geometric Minimum Spanning Tree (MST)

For MST, the "Solve-And-Sketch" framework utilizes the fact that most edges in a geometric MST are local. By ignoring edges significantly longer than a cell's diameter, subproblems can be solved independently. The sketch in this case is an $\epsilon$-net of points that preserves the connectivity structure of the cell's interior relative to the outside world. This allows for a $(1+\epsilon)$-approximate MST in $O(1)$ communication rounds.

Earth-Mover Distance (EMD)

The Earth-Mover Distance (or Wasserstein metric) presents a greater challenge because local decisions are not inherently "safe." A point in one cell might need to be matched with a point far away to minimize global cost.

Figure 2: In EMD, points (red and blue) must be matched across cell boundaries, requiring a sketch of the boundary cost function.

To address this, the authors develop a method to sketch a convex cost function. This function represents the minimum cost to satisfy any potential "imbalance" of points at the cell's boundary. By passing this functional sketch up the hierarchy, the algorithm can make globally optimal matching decisions without ever seeing the full point set on a single machine.

Key Results and Impact

The "Solve-And-Sketch" framework yields several significant theoretical and practical breakthroughs:

  • Constant Round Complexity: $(1+\epsilon)$-approximate MST and EMD can be computed in $O(1)$ rounds in the MPC model.
  • Linear Communication: The total volume of data exchanged is proportional to the input size, ensuring scalability.
  • Sequential Efficiency: The framework led to a new near-linear time ($n^{1+o(1)}$) sequential algorithm for the Transportation Problem, solving a long-standing open question.
  • Streaming Adaptability: The EMD algorithm can be implemented in a "streaming-with-sorting" model using minimal space.

Limitations and Future Work

While highly effective for low-dimensional data, the complexity of the sketches grows exponentially with the dimension $d$, making it less suitable for very high-dimensional feature spaces. Additionally, while the EMD algorithm efficiently calculates the cost, explicitly outputting the full matching remains a subject for future research.

Summary updated

BibTeX
@inproceedings{andoni2014parallel,
  author = {Alexandr Andoni and Aleksandar Nikolov and Krzysztof Onak and Grigory Yaroslavtsev},
  title = {{Parallel Algorithms for Geometric Graph Problems}},
  booktitle = {STOC},
  year = {2014},
  doi = {10.1145/2591796.2591805},
}
Figure