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

Deep Network Flow for Multi-object Tracking

Samuel Schulter, Paul Vernaza, Wongun Choi, Manmohan Chandraker

Abstract

Data association problems are an important component of many computer vision applications, with multi-object tracking being one of the most prominent examples. A typical approach to data association involves finding a graph matching or network flow that minimizes a sum of pairwise association costs, which are often either hand-crafted or learned as linear functions of fixed features. In this work, we demonstrate that it is possible to learn features for network-flow-based data association via backpropagation, by expressing the optimum of a smoothed network flow problem as a differentiable function of the pairwise association costs. We apply this approach to multi-object tracking with a network flow formulation. Our experiments demonstrate that we are able to successfully learn all cost functions for the association problem in an end-to-end fashion, which outperform hand-crafted costs in all settings. The integration and combination of various sources of inputs becomes easy and the cost functions can be learned entirely from data, alleviating tedious hand-designing of costs.

Introduction: The Data Association Problem

Multi-object tracking (MOT) typically follows a "tracking-by-detection" paradigm: first, objects are identified in every frame, and then these detections are linked across time to form trajectories. This linking step, known as data association, is frequently modeled as a "min-cost network flow" problem.

Data association between detections in consecutive frames.

The primary challenge in this approach lies in defining the costs. Determining the cost to start a new track, end an existing one, or link two detections separated by distance or time has historically relied on hand-crafted heuristics or simple linear functions of fixed features. These methods often fail to capture the complex, non-linear relationships between an object's appearance, motion, and timing. This paper addresses this gap by introducing a framework to learn these complex cost functions jointly and automatically within a deep learning architecture.

Methodology: Differentiable Network Flow

The core innovation of this work is treating a Linear Program (LP)—the mathematical engine behind network flow—as a differentiable layer within a deep neural network. This allows for end-to-end training where the tracking costs are optimized specifically to minimize tracking errors.

Network flow formulation for multi-object tracking, mapping detections across frames to a graph structure.

1. Network Flow Formulation

The tracking problem is represented as a graph where nodes correspond to detections and edges represent possible associations between them. Finding the optimal tracks involves finding the flow through this graph that minimizes the total cost.

2. Smoothing the Linear Program

Standard LPs are non-smooth, making it difficult to calculate gradients for backpropagation. The authors employ log-barriers to "smooth" the constraints, transforming the discrete optimization problem into a continuous, differentiable one.

3. Bi-level Optimization and Backpropagation

The system operates at two levels: the "lower level" solves the smoothed tracking problem to find trajectories, while the "upper level" calculates a loss by comparing these trajectories to ground truth. Using implicit differentiation, gradients are passed from the tracking loss back through the LP solver to the neural network predicting the costs. This enables the network to learn, for instance, that specific visual patterns or motion jumps should correspond to specific association costs.

Experiments and Results

The approach was evaluated on three major public benchmarks: KITTI Tracking (autonomous driving), MOT15, and MOT16 (pedestrian tracking in diverse scenes).

Key Findings

  • End-to-End Superiority: Training the model specifically to be a good tracker (minimizing identity switches) outperformed traditional methods where appearance models are trained separately. On KITTI, the learned costs achieved a MOTA of 74.19%, surpassing hand-crafted baselines (73.75%) and reducing identity switches (IDS) from 89 to 70.
  • The Value of Non-linearity: Using Multi-Layer Perceptrons (MLPs) to predict costs significantly outperformed linear models. On MOT16, MLP models showed a substantial jump in MOTA (from ~28% to ~31%).
  • Seamless Feature Integration: The framework easily fuses disparate data types, such as bounding box coordinates, motion histograms, and raw RGB patches (via ResNet), learning the optimal weighting for each.
  • Qualitative Improvements: Learned models demonstrated superior ability in maintaining object identities through occlusions, where hand-crafted rules often failed and caused trajectory fragmentation.

Conclusion and Future Work

This work demonstrates that differentiable network flow layers can successfully learn optimal association costs for MOT. While the current implementation uses a temporal sliding window for scaling, future work may explore processing entire videos to resolve long-term occlusions. Additionally, integrating the object detector itself into the end-to-end pipeline and modeling complex interactions between different objects (e.g., collision avoidance) within the flow formulation remain promising directions for further research.

Summary updated

BibTeX
@inproceedings{schulter2017deep,
  author = {Samuel Schulter and Paul Vernaza and Wongun Choi and Manmohan Chandraker},
  title = {{Deep Network Flow for Multi-object Tracking}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=ryZHQ1GOZr},
}
Figure