Joint Graph Decomposition & Node Labeling: Problem, Algorithms, Applications

Evgeny Levinkov, Jonas Uhrig, Siyu Tang, Mohamed Omran, Eldar Insafutdinov, Alexander Kirillov, Carsten Rother, Thomas Brox, Bernt Schiele, Bjoern Andres

Introduction

In computer vision, many tasks require solving two fundamental challenges simultaneously: labeling (identifying what an object is) and decomposition (grouping related detections into distinct instances). Traditionally, these problems have been treated sequentially or through task-specific models. For instance, in semantic segmentation, one might first label pixels and then cluster them into objects. However, this sequential approach allows errors from the initial labeling phase to propagate and compromise the final partitioning.

Figure 1: Illustration of the dual nature of the problem: (a) decomposing a graph into components and (b) assigning labels to nodes.

Presented at CVPR 2017, this research introduces a unified mathematical framework that treats these challenges as a single optimization problem. By defining a joint objective where labeling costs depend on component membership and grouping costs depend on labels, the authors achieve state-of-the-art results across human pose estimation, instance segmentation, and object tracking.

The Minimum Cost Node Labeling Lifted Multicut Problem (NL-LMP)

The core contribution is the NL-LMP, a combinatorial optimization problem that generalizes the Unconstrained Integer Quadratic Program (UIQP) for labeling and the Lifted Multicut Problem (LMP) for graph partitioning.

Mathematical Formulation

The objective function minimizes a weighted sum of costs associated with node labels and edge states. Specifically, it considers:

  • Unary costs: The penalty for assigning a specific label to a node.
  • Joined Pairwise costs: The cost incurred when two nodes share specific labels and are placed in the same component.
  • Cut Pairwise costs: The cost incurred when two nodes with specific labels are separated into different components.
Figure 2: Visualization of the variables in the NL-LMP formulation, where x represents node labels and y represents the connectivity state between nodes.

Efficient Local Search Heuristics

Because the NL-LMP is NP-hard, exact solvers like Branch-and-Cut are computationally prohibitive for large-scale vision tasks. To address this, the authors developed two local search heuristics based on the Kernighan-Lin (KL) algorithm:

  1. KLj/r (Alternating): This method iteratively alternates between updating node labels while keeping the partition fixed, and then updating the partition while keeping labels fixed.
  2. KLj*r (Joint): This more robust version allows for "joint" moves, where a node can simultaneously change its label and migrate to a different component. This capability is crucial for escaping local optima that trap simpler alternating methods.

Experimental Results and Applications

The framework was evaluated on three major benchmarks, demonstrating its versatility and efficiency:

  • Human Pose Estimation (MPII): The heuristic achieved near-optimal solutions in just 0.1 seconds, compared to 3 hours for an exact solver—a $10^5$ speedup. This efficiency allowed for denser detection processing, leading to a 4% improvement in accuracy.
  • Instance Segmentation (Cityscapes): The model achieved a state-of-the-art Average Precision (AP) of 9.8 at the time of publication.
  • Multiple Object Tracking (MOT16): The approach ranked first on the benchmark for both accuracy (MOTA) and precision (MOTP), significantly reducing both false positives and negatives.

Conclusion

This research demonstrates that disparate vision tasks like pose estimation and tracking are mathematically isomorphic. By unifying them under the NL-LMP framework and employing powerful local search heuristics, the authors provide a scalable solution that balances global consistency with computational tractability. While the heuristics lack formal optimality guarantees and are not yet optimized for real-time video (30+ FPS), they represent a significant leap forward in unified visual optimization.

Summary updated

BibTeX
@inproceedings{levinkov2017joint,
  author = {Evgeny Levinkov and Jonas Uhrig and Siyu Tang and Mohamed Omran and Eldar Insafutdinov and Alexander Kirillov and Carsten Rother and Thomas Brox and Bernt Schiele and Bjoern Andres},
  title = {{Joint Graph Decomposition \& Node Labeling: Problem, Algorithms, Applications}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.206},
}
Figure