End-to-End Learning Deep CRF models for Multi-Object Tracking

Jun Xiang, Chao Ma, Guohan Xu, Jianhua HouarXiv 2019

Abstract

Existing deep multi-object tracking (MOT) approaches typically learn deep representations for target objects and then associate detections via linear assignment. However, discriminating targets under mutual occlusion or in crowded scenes remains challenging. This paper proposes learning deep conditional random field (CRF) networks to model assignment costs as unary potentials and long-term dependencies as pairwise potentials. By using a bidirectional long short-term memory (LSTM) network to encode these dependencies and formulating CRF inference as a recurrent neural network (RNN), the model enables joint optimization of all potentials in an end-to-end manner. Extensive experimental results on the challenging MOT-2015 and MOT-2016 datasets demonstrate that this approach achieves state-of-the-art performance.

Introduction

Multi-Object Tracking (MOT) is the task of following multiple targets across a video sequence while maintaining their unique identities. While modern "tracking-by-detection" methods have seen success, they often fail in crowded environments where targets overlap (mutual occlusion) or look similar. The core issue is that many methods treat detections as independent entities, ignoring the structural correlation between targets—for example, the physical reality that two people cannot occupy the same space at the same time. While traditional CRFs can model these relationships, they are often mathematically brittle. This paper introduces a Deep CRF model where every component is differentiable and learnable.

Proposed Methodology

The proposed framework integrates CRF inference directly into a neural network architecture, allowing the entire tracking logic to be trained end-to-end.

Unary and Pairwise Potentials

The model consists of two primary networks:

  1. Unary Net: A Siamese VGG-16 network that compares detections to estimate the probability that they belong to the same person based on visual appearance features.
  2. Pairwise Net: A bidirectional LSTM that encodes long-term dependencies between target pairs. Instead of hand-coding physical constraints, the LSTM learns consistency (targets moving together) and repellency (targets staying apart) implicitly from the data.

CRF Inference as an RNN

The authors treat the CRF optimization process as a series of mean-field iterations. By unrolling these iterations as layers in an RNN, the tracking logic becomes a single, end-to-end trainable deep network. This ensures that the features learned by the Unary and Pairwise nets are specifically optimized for the final tracking objective.

Experimental Evaluation

The model was evaluated on standard benchmarks, achieving a MOTA (Multiple Object Tracking Accuracy) of 50.3 on MOT16 and 40.0 on MOT15, ranking it among the top batch-processing methods at the time of publication.

Comparison of identity switches in baseline (a) vs. proposed Deep CRF (b).

A key finding from the ablation studies was the significant reduction in identity switches (IDS). As shown in the figure above, the baseline method (a) often fails to maintain identities during close interactions, switching IDs 5 and 4. In contrast, the proposed Deep CRF model (b) maintains consistent identities (5 and 8) by leveraging learned spatiotemporal dependencies. On the MOT16 validation set, the full model reduced ID switches by over 50% compared to a baseline using only appearance features.

Conclusion

By formulating CRF inference as a differentiable RNN, this research demonstrates that complex structural correlations in multi-object tracking can be learned end-to-end. While the system currently operates at near-online speeds (1.5 to 3.2 FPS), it significantly improves tracking robustness and identity consistency in crowded scenes, providing a strong foundation for future real-time differentiable tracking architectures.

Summary updated

BibTeX
@misc{xiang2019end,
  author = {Jun Xiang and Chao Ma and Guohan Xu and Jianhua Hou},
  title = {{End-to-End Learning Deep CRF models for Multi-Object Tracking}},
  year = {2019},
  eprint = {1907.12176},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.12176},
}
Figure