On pairwise costs for network flow multi-object tracking

Visesh Chari, Simon Lacoste-Julien, Ivan Laptev, Josef Sivic

Introduction

Multi-object tracking (MOT) is a fundamental task in computer vision, typically approached through a "tracking-by-detection" paradigm. In this framework, objects are identified in individual frames and subsequently linked across time. The min-cost network flow formulation has long been a standard for this task due to its ability to find globally optimal solutions efficiently. However, traditional network flow models primarily rely on unary costs—evaluating detections or links in isolation—and struggle to model the complex interactions between multiple tracks in crowded environments.

Methodology: Beyond Unary Costs

This work extends the classic linear network flow model into an Integer Quadratic Program (IQP) by introducing pairwise costs. These costs allow the tracker to reason about the joint selection of variables, effectively modeling interactions that unary costs cannot capture.

Pairwise Interaction Terms

The authors propose two primary types of pairwise costs to improve tracking robustness:

  1. Overlap Penalty: Traditional methods often use a greedy pre-processing step called Non-Maximum Suppression (NMS) to remove redundant detections. By incorporating an overlap penalty directly into the global optimization, the system can tolerate temporary overlaps (e.g., people crossing paths) while preventing the creation of multiple redundant tracks for a single person.
  2. Co-occurrence Consistency: The model can link different detector types, such as head and body detectors. Pairwise costs encourage the selection of a head track and a body track that move in unison, providing a more stable signal than either detector could achieve alone.
Visual comparison of tracking results without and with the proposed pairwise terms (overlap and co-occurrence).

Optimization and Rounding

Since IQPs are NP-hard, the authors employ a convex relaxation, treating binary variables as continuous values between 0 and 1. To recover a valid integer flow, they utilize a principled rounding heuristic inspired by the Frank-Wolfe algorithm. This method uses the gradient of the objective function to find a valid integer solution that remains close to the relaxed optimum. A significant advantage of this approach is the ability to calculate "suboptimality certificates," providing an empirical measure of how close the heuristic solution is to the theoretical global optimum.

Experimental Evaluation

The proposed method was evaluated on challenging datasets including MarchingRally (a dense crowd sequence), TownCenter, PETS, and TUD.

Multi-object tracking results in a dense crowd scene, demonstrating the effectiveness of the pairwise cost framework.

Key Results

  • Accuracy Improvements: On the MarchingRally and TownCenter benchmarks, the inclusion of pairwise costs led to an improvement in Average Precision (AP) of over 20% for long-term tracking compared to baseline network flow models.
  • Near-Optimality: The optimization framework proved highly stable, with suboptimality certificates typically around $10^{-3}$, indicating that the solutions found were within 0.1% of the global optimum.
  • Robustness: The method performed competitively with specialized state-of-the-art trackers on standard datasets, highlighting the versatility of the quadratic network flow approach.

Conclusion

By integrating pairwise costs into the network flow framework, this research demonstrates that interactions like track overlap and multi-detector consistency can be optimized globally rather than handled through greedy heuristics. The use of convex relaxation combined with Frank-Wolfe rounding provides a robust and near-optimal solution for tracking in dense, complex environments. Future work may involve learning pairwise cost parameters directly from data to further enhance performance.

Summary updated

BibTeX
@inproceedings{chari2015pairwise,
  author = {Visesh Chari and Simon Lacoste-Julien and Ivan Laptev and Josef Sivic},
  title = {{On pairwise costs for network flow multi-object tracking}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7299193},
}
Figure