Abstract
For over a decade now we have been witnessing the success of massive parallel computation (MPC) frameworks, such as MapReduce, Hadoop, Dryad, or Spark. One of the reasons for their success is the fact that these frameworks are able to accurately capture the nature of large-scale computation. In particular, compared to the classic distributed algorithms or PRAM models, these frameworks allow for much more local computation. The fundamental question that arises in this context is: can we leverage this additional power to obtain even faster parallel algorithms? A prominent example here is the maximum matching problem—one of the most classic graph problems. It is well known that in the PRAM model one can compute a 2-approximate maximum matching in $O(\log{n})$ rounds. However, the exact complexity of this problem in the MPC framework is still far from understood. Lattanzi et al. showed that if each machine has $n^{1+\Omega(1)}$ memory, this problem can also be solved 2-approximately in a constant number of rounds. These techniques, as well as the approaches developed in the follow-up work, seem though to get stuck in a fundamental way at roughly $O(\log{n})$ rounds once we enter the near-linear memory regime. In this paper, we finally refute that perplexing possibility. That is, we break the above $O(\log n)$ round complexity bound even in the case of slightly sublinear memory per machine. In fact, our improvement here is almost exponential: we are able to deliver a $(2+\epsilon)$-approximation to maximum matching, for any fixed constant $\epsilon>0$, in $O((\log \log n)^2)$ rounds.
Breaking the Logarithmic Barrier
The study focuses on the maximum matching problem—finding the largest set of edges in a graph that do not share any vertices. While this is a classic problem, solving it efficiently in modern "Massive Parallel Computation" (MPC) frameworks is challenging.
In the older PRAM (Parallel Random Access Machine) model, we've known for decades how to get a 2-approximation in $O(\log n)$ rounds. However, MPC frameworks are more powerful because they allow for significantly more local computation on each machine. Despite this extra power, previous algorithms for the "sparse graph" regime (where each machine has roughly $O(n)$ memory) were still stuck at the $O(\log n)$ round limit. The core question was: Can we leverage the local processing power of MPC to break this logarithmic barrier and achieve truly "super-fast" parallel matching?
Methods: Round Compression and Vertex Partitioning
The authors deviate from standard approaches in several fundamental ways to achieve this speedup.
Vertex-Based Graph Partitioning
Most previous MPC graph algorithms partitioned the graph by its edges. This paper instead partitions the vertices across machines. Each machine then considers only the induced subgraph of the vertices it was assigned. A key advantage here is that the union of matchings found independently on these machines is guaranteed to be a valid matching for the whole graph.
The Global Matching Algorithm
The centerpiece of the approach is a "round compression" technique applied to a sequential "peeling" algorithm. This algorithm matches high-degree vertices first to reduce the graph's maximum degree. Normally, this would take $O(\log n)$ phases. "Round compression" allows a machine to simulate many phases of this algorithm locally in a single MPC communication round.
Local Degree Estimation and Smooth Thresholding
To compress rounds, a machine needs to know the "global" degree of its vertices without communicating with other machines. The authors solve this by having each machine sample a small "reference set" of vertices to estimate these degrees locally. Furthermore, to prevent the random distribution of vertices from becoming skewed over multiple rounds, they replace hard degree thresholds with a "smooth" randomized selection function. This ensures that vertices aren't removed from the pool in a way that destroys the near-uniform distribution needed for the next round's analysis.
Key Insights
- The Power of Independence: By using vertex partitioning, the authors create subproblems that are "safe" to solve in parallel. Because machines don't share vertices, their local matching decisions never conflict.
- Estimating the Global from the Local: The "aha moment" for round compression is realizing that you don't need to see the whole graph to make progress. A small, random sample (the reference set) provides enough information to identify "heavy" (high-degree) vertices with high probability.
- Preserving Randomness: A major hurdle in multi-round parallel algorithms is that the first round of computation "uses up" the randomness of the initial data distribution. The authors' use of smooth threshold functions and discarding "reference sets" at the end of each phase are clever tricks to maintain "near-uniformity."
Key Results
The primary contribution is an almost exponential speedup over previous methods in the near-linear memory regime.
- Exponential Speedup: The algorithm achieves an $O(1)$-approximation to maximum matching in $O((\log \log n)^2)$ rounds.
- Memory Efficiency: These bounds hold even when memory per machine is linear ($O(n)$) or even slightly sublinear ($n / (\log n)^{O(\log \log n)}$).
- High Accuracy: The result can be extended to a $(2 + \epsilon)$-approximation for any fixed $\epsilon > 0$ by repeating the process $O(\log(1/\epsilon))$ times.
Limitations and Future Work
While this work breaks a major barrier, several questions remain. The authors conjecture that the complexity could potentially be improved further to $O(\log \log n)$ rounds. Additionally, unlike some previous matching algorithms, this approach does not naturally provide an $O(1)$-approximation for the Minimum Vertex Cover problem. Finally, while the paper focuses on unweighted matching, it notes that the technique can be adapted for weighted graphs, though this requires more memory ($O(n \log n)$). Exploring more memory-efficient weighted versions is a potential future path.
Summary updated