[Paper Review] Optimal component labeling algorithms for mesh-connected computers and VLSI
This paper presents optimal algorithms for computing connected components and minimal spanning forests (MSF) on mesh-connected computers and VLSI architectures. Using recursive coarsening and hierarchical tree labeling with space-filling curve sorting, it achieves Θ(√n) time on 2D meshes and Θ(n¹ᐟᵈ) time on d-dimensional meshes, matching theoretical lower bounds for these problems in the model.
Given an undirected graph $G$ of $n$ weighted edges, stored one edge per processor in a square mesh of $n$ processors, we show how to determine the connected components and a minimal spanning forest in $Θ(\sqrt{n})$ time. More generally, we show how to solve these problems in $Θ(n^{1/d})$ time when the mesh is a $d$-dimensional cube, where the implied constants depend upon $d$.
Motivation & Objective
- To design optimal parallel algorithms for connected components and minimal spanning forest (MSF) computation on mesh-connected architectures.
- To address the growing importance of energy-efficient, large-scale chip designs where communication distance limits performance.
- To achieve asymptotically optimal time complexity for component labeling and MSF in the mesh model, matching known lower bounds.
- To extend results from 2D to d-dimensional mesh architectures with scalable performance.
Proposed method
- Use recursive Boruvka-style coarsening: in each iteration, each vertex selects its minimum-weight incident edge, forming a forest of trees.
- Apply space-filling curve ordering (e.g., Hilbert) to enable efficient sorting and routing of edges across the mesh in Θ(√n) time.
- Label trees by forming directed subtrees toward roots using local neighbor comparisons and label-based routing.
- Perform hierarchical root-finding via bottom-up merging in 2ⁱ×2ⁱ submeshes, using ancestor tracking to determine root labels efficiently.
- Recursively solve MSF on submeshes after coarsening, reducing edge count and enabling subproblem size reduction.
- Extend the algorithm to d-dimensional meshes by increasing the number of coarsening steps to 2d+1 to ensure sufficient vertex reduction.
Experimental results
Research questions
- RQ1Can connected components and minimal spanning forests be computed in optimal time on a mesh-connected computer?
- RQ2What is the minimum time complexity achievable for component labeling and MSF on a d-dimensional mesh with n edges?
- RQ3How can recursive coarsening and hierarchical tree labeling be adapted to the mesh model to achieve optimal performance?
- RQ4Can the algorithm be extended to d-dimensional meshes while preserving optimal time complexity?
Key findings
- The minimal spanning forest and connected components can be computed in Θ(√n) time on a √n×√n mesh-connected computer.
- The algorithm achieves optimal time complexity, matching known lower bounds for the problem in the mesh model.
- For d-dimensional meshes, the time complexity is Θ(n¹ᐟᵈ), with constants depending on d, and the algorithm remains optimal.
- The use of space-filling curve ordering enables efficient sorting and routing of edges across the mesh in Θ(√n) time.
- Recursive coarsening reduces the number of vertices by at least half per iteration, and the number of edges is reduced to at most n/8 after five coarsening steps.
- The tree labeling phase uses hierarchical ancestor tracking in submeshes to determine root labels in Θ(√n) total time, enabling efficient component labeling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.