End-to-End Learning for Graph Decomposition

Jie Song, Bjoern Andres, Michael J. Black, Otmar Hilliges, Siyu Tang

Introduction

Graph decomposition is a fundamental problem in computer vision, particularly for tasks requiring the grouping of discrete detections into coherent instances. In multi-person pose estimation, for example, a system must determine which detected body joints belong to which individual. Traditionally, this is solved via a multi-stage pipeline: a Convolutional Neural Network (CNN) first predicts local affinities between joints, and a subsequent combinatorial optimization step—often the Minimum Cost Multicut Problem—partitions these joints into a globally consistent set of people.

A significant drawback of this decoupled approach is that the CNN is trained solely on local information. It lacks awareness of the global constraints that the optimizer must eventually satisfy. Consequently, the network may produce locally confident but globally inconsistent predictions, forcing the optimizer to resolve avoidable errors. This paper proposes a framework to bridge this gap by integrating the optimization process directly into the deep learning pipeline, enabling end-to-end training.

Methodology: Multicut as a Differentiable CRF

The core contribution of this work is the reformulation of the discrete Multicut problem into a differentiable neural network layer. This is achieved by mapping the optimization problem onto a Conditional Random Field (CRF).

Cycle Consistency and High-Order Potentials

To ensure that the decomposition is logically sound, the model must enforce "cycle consistency." For instance, if joint A is grouped with joint B, and joint B with joint C, then joint A must also be grouped with joint C. The authors introduce high-order potentials into the CRF to penalize configurations that violate these transitive relationships.

Illustration of cycle consistency: (a) a simple graph, (b) inconsistent local predictions, (c) a consistent partition, and (d) the corresponding factor graph representation used for inference.

Differentiable Inference

Rather than solving the discrete problem exactly during training, the authors employ mean-field inference to approximate the CRF's marginals. Because mean-field updates consist of a sequence of differentiable arithmetic operations, they can be implemented as standard layers within a deep learning framework. This allows gradients to propagate from the final decomposition back to the initial feature extraction layers, enabling the joint optimization of CNN weights, cost function parameters, and high-order potential weights.

Experimental Evaluation

The framework was evaluated on two distinct tasks to demonstrate its versatility and effectiveness.

MNIST Clustering

As a proof of concept, the model was applied to a simplified clustering task using MNIST handwritten digits. By incorporating cycle constraints during training, the network learned more robust similarity measures. The accuracy of these measures improved from 91.5% to 93.2%, while the final clustering accuracy rose from 94.1% to 95.9%.

Multi-Person Pose Estimation

The primary real-world test involved the MPII Human Pose Dataset, a benchmark containing approximately 40,000 annotated individuals. The proposed end-to-end approach achieved a mean Average Precision (mAP) of 76.7, outperforming a strong bottom-up baseline (75.2 mAP).

Beyond quantitative metrics, the qualitative improvements were stark. The "part affinity fields" produced by the network became significantly sharper and less noisy. By training with the optimizer in the loop, the CNN learns to avoid producing the very inconsistencies that typically plague multi-stage pipelines.

Qualitative results on the MPII dataset. The baseline (left) often struggles with overlapping people or complex poses (yellow arrows), whereas the proposed end-to-end method (right) produces more accurate and consistent skeletons.

Conclusion and Future Work

This research demonstrates that integrating global combinatorial constraints into deep learning architectures provides a powerful form of "meta-supervision." By forcing the feature extractor to respect the logical structure of the final task, the model learns representations that are inherently easier to optimize.

While the current implementation significantly reduces logical inconsistencies, it does not mathematically guarantee a valid partition at test time, necessitating the use of fast heuristics for final output. Future work aims to incorporate node detection (e.g., joint localization) into the end-to-end loop and explore the scalability of high-order potentials for even denser graph structures.

Summary updated

BibTeX
@inproceedings{song2019end,
  author = {Jie Song and Bjoern Andres and Michael J. Black and Otmar Hilliges and Siyu Tang},
  title = {{End-to-End Learning for Graph Decomposition}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.01019},
}
Figure