Skip to main content
QUICK REVIEW

[Paper Review] Competitive Analysis of Minimum-Cut Maximum Flow Algorithms in Vision Problems

Barak Fishbain, Dorit S. Hochbaum|arXiv (Cornell University)|Jul 26, 2010
Complexity and Algorithms in GraphsComputer Science37 references12 citations
TL;DR

This paper presents a comprehensive empirical comparison of four min-cut/max-flow algorithms—Push-Relabel, Pseudoflow, Augmenting Paths (BK), and Partial Augment-Relabel—on vision problem instances. It finds that while the Boykov-Kolmogorov (BK) algorithm excels on small or short-path problems, Hochbaum’s Pseudoflow (HPF) outperforms others on large general instances, offering superior speed and up to 25% lower memory usage.

ABSTRACT

Rapid advances in image acquisition and storage technology underline the need for algorithms that are capable of solving large scale image processing and computer-vision problems. The minimum cut problem plays an important role in processing many of these imaging problems such as, image and video segmentation, stereo vision, multi-view reconstruction and surface fitting. While several min-cut/max-flow algorithms can be found in the literature, their performance in practice has been studied primarily outside the scope of computer vision. We present here the results of a comprehensive computational study, in terms of execution times and memory utilization, of four recently published algorithms, which optimally solve the {\em s-t} cut and maximum flow problems: (i) Goldberg's and Tarjan's {\em Push-Relabel}; (ii) Hochbaum's {\em pseudoflow}; (iii) Boykov's and Kolmogorov's {\em augmenting paths}; and (iv) Goldberg's {\em partial augment-relabel}. Our results demonstrate that the {\em Hochbaum's pseudoflow} algorithm, is faster and utilizes less memory than the other algorithms on all problem instances investigated.

Motivation & Objective

  • To evaluate the practical performance of four leading min-cut/max-flow algorithms in the context of computer vision problems.
  • To identify which algorithm is most efficient for large-scale vision applications requiring optimal min-cut solutions.
  • To analyze execution time and memory usage breakdowns, including initialization, min-cut computation, and flow recovery phases.
  • To correct prior performance claims by including initialization time and using updated, publicly available software implementations.
  • To provide a data-driven recommendation for algorithm selection based on problem size and structure in vision tasks.

Proposed method

  • Benchmarked four state-of-the-art min-cut/max-flow algorithms: Push-Relabel (PRF), Pseudoflow (HPF), Augmenting Paths (BK), and Partial Augment-Relabel (PAR).
  • Used a diverse dataset of standard and non-standard vision problems, including image segmentation, stereo vision, and multi-view reconstruction.
  • Measured execution times and memory usage across all algorithm phases: initialization, min-cut computation, and flow recovery.
  • Collected memory usage from the /proc/[process]/statm file with 4KB page granularity to ensure accurate system-level measurement.
  • Performed statistical analysis on 51 problem instances, comparing runtimes and memory consumption across varying input sizes (n + m).
  • Provided detailed runtime breakdowns to isolate performance differences due to algorithmic design and implementation logic.

Experimental results

Research questions

  • RQ1How do the four leading min-cut/max-flow algorithms compare in execution time and memory usage on real-world vision problems?
  • RQ2Does the initialization phase significantly impact overall runtime, and should it be included in performance comparisons?
  • RQ3Is the Boykov-Kolmogorov (BK) algorithm consistently faster than other algorithms across all problem sizes and structures?
  • RQ4How does Hochbaum’s Pseudoflow (HPF) algorithm compare to others in terms of memory efficiency and scalability?
  • RQ5For which types of vision problems—small vs. large, short-path vs. long-path—is each algorithm most suitable?

Key findings

  • The Boykov-Kolmogorov (BK) algorithm is faster than Pseudoflow (HPF) on small instances (under 1,000,000 graph elements), with an average runtime of 48 seconds versus 54 seconds.
  • On larger instances (37 out of 51), HPF outperforms BK, with an average runtime of 72 seconds compared to BK’s 100 seconds, resulting in a 39% slowdown factor for BK.
  • HPF uses up to 25% less memory than BK and PRF, especially on problems with many arcs, reducing the risk of memory swapping on large-scale problems.
  • The initialization phase significantly affects total runtime, particularly for PRF due to arc sorting, and should be included in performance evaluations.
  • HPF is more suitable for general large-scale vision problems due to its superior time and memory efficiency across all tested instances.
  • The study corrects prior assumptions that BK or PRF are universally fastest, showing HPF is optimal for most large-scale vision applications.

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.