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

Faster Parallel Multiterminal Cuts

Monika Henzinger, Alexander Noe, Christian Schulz

TL;DR

This paper introduces a significantly faster and more effective parallel solver for the multiterminal cut problem, a crucial task in network analysis and optimization. By developing novel graph reduction techniques and an improved branching strategy, their solver can tackle larger and more complex instances to optimality, and provide high-quality approximate solutions for even harder problems.

What Problem Does This Paper Address?

The multiterminal cut problem aims to partition the nodes of a weighted graph into a specified number of sets, each containing exactly one terminal node, such that the total weight of edges crossing between these sets is minimized. This problem has wide-ranging applications in areas like network design, clustering, and bioinformatics. While the problem is NP-hard for more than two terminals, existing exact algorithms struggle with large, real-world instances. The state-of-the-art branch-and-reduce algorithm (VieCut-MTC) has made progress, but there's a clear need for methods that can handle even larger graphs, either by finding exact solutions more efficiently or by providing excellent approximate solutions in reasonable time.

Methods

The authors build upon the VieCut-MTC framework, introducing several key improvements:

  • Novel Reductions: They propose new data reduction rules to simplify the graph while preserving the optimal solution. These include leveraging articulation points (nodes whose removal disconnects the graph) to contract components without terminals, and identifying equal neighborhoods between vertices to contract them. They also introduce maximum flow computations from non-terminal vertices to identify and contract large subgraphs.
  • Improved Branching Strategy: Instead of the standard approach of creating at most two subproblems, their new vertex branching rule can create up to k subproblems (where k is the number of terminals). This allows for better utilization of parallel processing power and faster startup.
  • Integration of ILP Solvers: They integrate an Integer Linear Programming (ILP) solver to handle subproblems that are particularly well-suited for ILP, offering an alternative to branching when appropriate.
  • Local Search for Solution Improvement: A Kernighan-Lin local search heuristic is employed to significantly improve the quality of solutions found by the exact algorithm, especially for instances that cannot be solved to optimality within the given time limits. They also introduce a pairwise maximum flow optimization step.
  • Fast Inexact Solving: For extremely hard instances where even the improved exact solver might not terminate, they propose a heuristic algorithm that prioritizes speed and solution quality over guaranteed optimality.

Datasets

The paper evaluates their algorithms on a variety of graphs from different sources:

  • A large subset of social and web graphs previously used by Henzinger et al. [22].
  • Numerical graphs from the Walshaw Graph Partitioning Benchmark [39].
  • Graphs from the 10th DIMACS implementation challenge [4].
  • Graphs from the SuiteSparse Matrix Collection [16].

For instances that do not inherently have terminals, they describe a procedure to select random vertices that are far apart to serve as terminals, ensuring well-separated clusters.

Key Insights and Ideas

  • The Power of Reductions: The paper strongly emphasizes that effective graph reduction techniques are crucial for tackling large instances. Their new reductions, particularly those involving articulation points and equal neighborhoods, significantly shrink the problem size, enabling faster exact solutions.
  • Parallelism Beyond Two Branches: The novel branching strategy that can create multiple subproblems is a key innovation. This allows the algorithm to better leverage multi-core processors and achieve a faster overall parallel speedup.
  • Hybrid Approach is Key: Combining exact methods (branch-and-reduce, ILP) with heuristic techniques (local search, inexact solving) is essential for a robust solver. This allows the algorithm to find optimal solutions for tractable instances and high-quality approximations for intractable ones.
  • Greedy Optimization for Pruning: The greedy optimization steps not only improve solution quality but also enable more aggressive pruning of the search space in the branch-and-reduce framework, leading to faster convergence.

Key Results

  • Their improved exact solver (Exact-MTC) outperforms the state-of-the-art VieCut-MTC algorithm, solving more instances to optimality and finding better solutions for a significant portion of the remaining instances.
  • In experiments, Exact-MTC found better results than VieCut-MTC in 66% of instances where they didn't both find the optimal solution.
  • The inexact solver (Inexact-MTC) provides high-quality solutions for very hard instances, often outperforming the exact algorithms on problems too large to be solved to optimality, especially when dealing with a large number of terminals.
  • The new reduction rules significantly reduce the number of vertices, with some reductions shrinking graphs by over 99% in specific cases.

Limitations and Future Work

  • Scalability to Distributed Memory: The authors acknowledge that their current solver is designed for shared-memory parallelism. A significant area for future work is developing a distributed memory version to further scale the algorithm to even larger clusters.
  • ILP Timeout Impact: While ILP is integrated, the paper notes that for very large instances, ILP solvers may not find optimal solutions within the allotted time, necessitating a fallback to branching. Further research could explore more sophisticated ways to integrate ILP or better predict when it's most effective.
  • Heuristic Performance: While the inexact solver performs well, the paper notes that for some hard instances, the results of Exact-MTC and Inexact-MTC can still differ significantly, suggesting room for further refinement of the heuristic.

Summary updated

Abstract

We give an improved branch-and-bound solver for the multiterminal cut problem, based on the recent work of Henzinger et al.. We contribute new, highly effective data reduction rules to transform the graph into a smaller equivalent instance. In addition, we present a local search algorithm that can significantly improve a given solution to the multiterminal cut problem. Our exact algorithm is able to give exact solutions to more and harder problems compared to the state-of-the-art algorithm by Henzinger et al.; and give better solutions for more than two third of the problems that are too large to be solved to optimality. Additionally, we give an inexact heuristic algorithm that computes high-quality solutions for very hard instances in reasonable time.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Large multiterminal cut problems on graphs from Appendix (4 terminals)Exact-MTCMean Solution (geometric mean cut value)159402-2397 vs baselineMultiway Cut · cores=12 · seeds=3 · terminals=4 · time-limit=600 seconds
Source quote
L261: Mean Solution │ \numprint{161799} │ \textbf{\numprint{159402}} │ \numprint{159499}
Large multiterminal cut problems on graphs from Appendix (10 terminals)Exact-MTCMean Solution (geometric mean cut value)392561Multiway Cut · cores=12 · seeds=3 · terminals=10 · time-limit=600 seconds
Source quote
L270: Mean Solution │ \numprint{412138} │ \numprint{392561} │ \textbf{\numprint{391822}}
Large multiterminal cut problems on graphs from Appendix (10 terminals)Inexact-MTCMean Solution (geometric mean cut value)391822Multiway Cut · cores=12 · seeds=3 · terminals=10 · time-limit=600 seconds
Source quote
L270: Mean Solution │ \numprint{412138} │ \numprint{392561} │ \textbf{\numprint{391822}}
Reported baseline / comparator measurements (1)
BenchmarkMethodMetricScoreProtocol / Evidence
Large multiterminal cut problems on graphs from Appendix (4 terminals)VieCut-MTC baselineMean Solution (geometric mean cut value)161799Multiway Cut · cores=12 · seeds=3 · terminals=4 · time-limit=600 seconds
Source quote
L261: Mean Solution │ \numprint{161799} │ \textbf{\numprint{159402}} │ \numprint{159499}
BibTeX
@inproceedings{henzinger2021faster,
  author = {Monika Henzinger and Alexander Noe and Christian Schulz},
  title = {{Faster Parallel Multiterminal Cuts}},
  booktitle = {ACDA},
  year = {2021},
  url = {https://openreview.net/forum?id=3OiPnEUDm},
}
Figure