Abstract
We propose Quadruplet Convolutional Neural Networks (Quad-CNN) for multi-object tracking, which learn to associate object detections across frames using quadruplet losses. The proposed networks consider target appearances together with their temporal adjacencies for data association. Unlike conventional ranking losses, the quadruplet loss enforces an additional constraint that makes temporally adjacent detections more closely located than the ones with large temporal gaps. We also employ a multi-task loss to jointly learn object association and bounding box regression for better localization. The whole network is trained end-to-end. For tracking, the target association is performed by minimax label propagation using the metric learned from the proposed network. We evaluate performance of our multi-object tracking algorithm on public MOT Challenge datasets, and achieve outstanding results.
Introduction
Multi-Object Tracking (MOT) is the task of identifying and following multiple targets, such as pedestrians, across a video sequence. While deep learning has revolutionized image classification, its application to MOT has been hindered by data scarcity and the challenge of jointly learning appearance and motion robustly. Standard ranking losses, like the triplet loss, help distinguish between different individuals but do not explicitly account for the gradual temporal evolution of an object's appearance and position. This paper introduces Quad-CNN, a framework that uses a novel quadruplet loss to learn embeddings that are both appearance-consistent and temporally smooth.
Methodology
The core of the Quad-CNN framework is the integration of temporal constraints directly into the feature learning process through a multi-task loss function.
Quadruplet Loss for Temporal Smoothness
Unlike a standard triplet loss (Anchor, Positive, Negative), the quadruplet loss utilizes four samples to enforce a temporal hierarchy. As illustrated in Figure 1, the loss considers an anchor ($x_{t0}$), a near-positive ($x_{t1}$), a far-positive ($x_{t2}$), and a negative sample ($x_*$).
The loss enforces that the distance between the anchor and the near-positive must be smaller than the distance to the far-positive ($\delta_1$), which in turn must be smaller than the distance to the negative sample ($\delta_2$). This forces the model to learn a metric space where temporal proximity is explicitly preserved.
Network Architecture and Multi-Task Learning
The Quad-CNN architecture is designed to maximize feature extraction from limited tracking data. It employs several specialized components:
- Appearance Slicing: To prevent overfitting, the final convolutional feature map (
pool5) is sliced into upper and lower body parts, processed through separate layers to learn structural human features. - Sequence-Specific Motion Embedding: Recognizing that spatial coordinates vary by camera perspective, the model uses a motion-aware position embedding that normalizes coordinates based on the statistics of the specific video sequence.
- Multi-Task Loss: The network jointly optimizes for association (ranking loss) and localization (bounding box regression), allowing the tracker to refine noisy detections from external detectors.
Data Association via Minimax Label Propagation
For the actual tracking process, detections are represented as nodes in a graph. Instead of using standard shortest-path algorithms, the authors utilize a modified minimax label propagation. This approach identifies paths where the maximum edge cost is minimized, which proves more robust for connecting chains of detections in non-convex clusters and handling occasional detection noise.
Experimental Results
The model was evaluated on the MOT Challenge benchmarks, achieving state-of-the-art results at the time of publication:
- MOT15: Quad-CNN achieved a MOTA (Multi-Object Tracking Accuracy) of 33.8, outperforming other deep learning-based methods like NOMT and MDP.
- MOT16: It achieved a MOTA of 44.1, showing competitive performance in high-density scenarios.
- Ablation Studies: Results showed that bounding box regression improved MOTA by approximately 3%, while sequence-specific embeddings contributed a 1.5% increase, validating the multi-task approach.
Conclusion
Quad-CNN successfully incorporates temporal adjacency as a constraint in deep metric learning for MOT. By enforcing temporal smoothness and utilizing multi-task learning for detection refinement, it achieves high tracking accuracy. However, the system's computational speed (1.8–3.7 Hz) remains a limitation for real-time applications. Future work will likely focus on optimization and handling long-term occlusions.
Summary updated