Skip to main content
QUICK REVIEW

[Paper Review] Think Locally, Act Globally: Perfectly Balanced Graph Partitioning

Peter Sanders, Christian Schulz|arXiv (Cornell University)|Oct 1, 2012
VLSI and FPGA Design TechniquesEngineering7 references5 citations
TL;DR

This paper introduces a novel local search framework for perfectly balanced graph partitioning that uses negative cycle detection to combine multiple node movements while preserving balance. Integrated into the KaFFPaE multilevel evolutionary algorithm, the method achieves state-of-the-art results, improving or reproducing 98–99% of the best-known balanced partitions across diverse benchmarks.

ABSTRACT

We present a novel local improvement scheme for the perfectly balanced graph partitioning problem. This scheme encodes local searches that are not restricted to a balance constraint into a model allowing us to find combinations of these searches maintaining balance by applying a negative cycle detection algorithm. We combine this technique with an algorithm to balance unbalanced solutions and integrate it into a parallel multi-level evolutionary algorithm, KaFFPaE, to tackle the problem. Overall, we obtain a system that is fast on the one hand and on the other hand is able to improve or reproduce most of the best known perfectly balanced partitioning results ever reported in the literature.

Motivation & Objective

  • Address the lack of guaranteed perfect balance in existing graph partitioning tools, especially for small graphs with high computational load per node.
  • Overcome limitations of traditional local search methods that restrict moves to single-node exchanges between two blocks.
  • Develop a model that enables complex, balanced combinations of node movements without violating balance constraints.
  • Integrate the new technique into a parallel multilevel evolutionary algorithm (KaFFPaE) to achieve high-quality, balanced partitions efficiently.
  • Ensure feasibility and reproducibility of results by guaranteeing perfect balance in output partitions, unlike prior solvers such as Metis, Jostle, or Scotch.

Proposed method

  • Model local search moves as a directed graph where nodes represent blocks and edges represent potential node transfers with associated gains.
  • Use negative cycle detection in this model to identify sets of coordinated node movements that reduce cut size while maintaining perfect balance.
  • Construct a flow-based model that encodes multiple node movements as cycles, ensuring net zero change in block sizes.
  • Integrate the negative cycle detection with a balancing phase that corrects unbalanced solutions before applying the cycle search.
  • Combine the technique with KaFFPaE’s multilevel framework, using coarse-grained parallelism and evolutionary strategies to explore diverse solutions.
  • Leverage existing algorithms like shortest path with negative weights and negative cycle detection to efficiently explore the enhanced solution neighborhood.

Experimental results

Research questions

  • RQ1Can complex, coordinated node movements—beyond single-node swaps—be systematically encoded and searched under perfect balance constraints?
  • RQ2Can negative cycle detection in a transformed graph model effectively identify beneficial, balanced combinations of node transfers that reduce cut size?
  • RQ3How does the integration of this model into a multilevel evolutionary algorithm affect solution quality and runtime for perfectly balanced partitioning?
  • RQ4To what extent does enforcing perfect balance degrade cut size compared to relaxed imbalance settings (e.g., ε = 1%)?
  • RQ5Can this framework be generalized to other constrained local search problems in graph and hypergraph partitioning?

Key findings

  • The proposed method improves or reproduces 98% of the best-known results for ε = 0 (perfect balance), 99% for ε = 1%, 99% for ε = 3%, and 99% for ε = 5% on the Walshaw benchmark.
  • On average, enforcing perfect balance increases the cut size by 6% compared to ε = 1% imbalance, with the balancing and negative cycle phase adding 163% of KaFFPaStrong’s runtime at k=64.
  • The algorithm guarantees perfect balance in output partitions, unlike Metis, Jostle, or Scotch, which do not ensure feasibility under strict balance constraints.
  • Experiments show that the technique is effective even when some imbalance is allowed, indicating broader applicability beyond the perfectly balanced case.
  • The negative cycle detection model successfully identifies complex, multi-node movement patterns that traditional local search methods miss.
  • The integration into KaFFPaE enables high-quality solutions within reasonable time, outperforming prior state-of-the-art solvers in both quality and feasibility guarantees.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.