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

SHyPar: A Spectral Coarsening Approach to Hypergraph Partitioning

Hamed Sajadinia, Ali Aghdaei, Zhuo Feng · DOI

Abstract

Hypergraph partitioning is a fundamental challenge in VLSI design and large-scale data mining. While multilevel partitioning is the standard approach, its performance is often limited by simplistic coarsening heuristics that fail to capture global structural properties. We introduce SHyPar, a novel framework that leverages spectral graph theory—specifically hyperedge effective resistances and max-flow based community detection—to guide the coarsening process. By preserving the global "skeleton" of the network, SHyPar achieves significant reductions in cut size, outperforming state-of-the-art tools like hMETIS and KaHyPar by up to 22.5% on massive benchmarks.

Introduction

Hypergraph partitioning involves dividing a set of nodes into balanced parts while minimizing the number of hyperedges spanning multiple partitions. This NP-hard problem is typically addressed via a multilevel paradigm: the hypergraph is progressively coarsened (simplified), partitioned at its smallest scale, and then uncoarsened and refined.

The efficacy of this paradigm hinges on the coarsening phase. Traditional tools rely on local heuristics like edge matching, which group nodes based on immediate proximity. However, these methods are often "blind" to the global topology. They may inadvertently collapse "bridge" hyperedges—critical connectors between large clusters—simply because they appear locally similar. This loss of global connectivity information leads to suboptimal final partitions.

Comparison of traditional local heuristics vs. SHyPar's spectral coarsening within the multilevel partitioning framework.

The SHyPar Framework

SHyPar addresses these limitations by integrating mathematically rigorous spectral techniques into the coarsening pipeline. The framework operates in two primary phases:

Phase A: Resistance-Based Coarsening (HyperEF)

Instead of local weights, SHyPar calculates the effective resistance of hyperedges. Drawing from electrical circuit theory, a "bridge" between two distinct components exhibits high resistance, whereas edges within a dense cluster have low resistance. By only contracting hyperedges with low effective resistance, SHyPar ensures that the global structural "skeleton" remains intact throughout the coarsening process.

Phase B: Flow-Based Community Detection (HyperSF)

To further enhance cluster quality, SHyPar employs a local clustering scheme based on max-flow/min-cut algorithms. This phase identifies "communities" that are tightly coupled internally but loosely connected to the rest of the graph, effectively minimizing local conductance.

The two-phase spectral coarsening process: Phase A (Resistance-based) and Phase B (Flow-based).

To ensure scalability for hypergraphs with millions of nodes, SHyPar utilizes Krylov subspace methods. These numerical techniques allow for the nearly-linear time approximation of eigenvectors and resistances, making spectral methods computationally feasible for industrial-scale VLSI designs.

Experimental Evaluation

The framework was evaluated on the ISPD98 VLSI Circuit Benchmarks and the Titan23 Suite, the latter containing designs with over one million nodes and high-degree hyperedges.

Key Results

  • Partition Quality: SHyPar consistently outperformed state-of-the-art partitioners. On ISPD98 benchmarks, it improved cut sizes by up to 4.9% over hMETIS.
  • Scalability and Impact: On the massive Titan23 benchmarks, the gains were more pronounced, showing a 12.16% average improvement for 2-way partitioning and a 22.53% improvement for 20-way partitioning.
  • Efficiency: Despite the mathematical complexity, SHyPar’s runtime remains competitive with traditional heuristic-based tools, thanks to efficient numerical approximations.

Conclusion

SHyPar demonstrates that spectral properties provide a superior "global map" for hypergraph coarsening compared to local heuristics. By distinguishing between internal cluster edges and global bridges, the framework prevents irreversible structural errors during simplification. Future work includes exploring SHyPar's performance on non-VLSI hypergraphs, such as social and knowledge networks, and deeper integration of spectral methods into the refinement phase.

Summary updated

BibTeX
@article{sajadinia2026shypar,
  author = {Hamed Sajadinia and Ali Aghdaei and Zhuo Feng},
  title = {{SHyPar: A Spectral Coarsening Approach to Hypergraph Partitioning}},
  journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
  year = {2026},
  doi = {10.1109/tcad.2025.3586885},
}
Figure