Abstract
This paper introduces a fully differentiable framework that treats Multi-Object Tracking (MOT) and Segmentation (MOTS) as a graph-based learning problem. By utilizing Message Passing Networks (MPNs) with novel "time-aware" and "attentive" update rules, the model jointly solves data association and pixel-level segmentation. This approach achieves state-of-the-art results across several major benchmarks by replacing traditional, rigid graph solvers with a learnable, global reasoning engine.
Introduction
In the conventional "tracking-by-detection" paradigm, the primary objective is to take a set of object detections—typically bounding boxes—from video frames and link them over time to form coherent trajectories. This is traditionally framed as a graph partitioning problem where nodes represent detections and edges represent potential temporal links.
However, most existing methods suffer from two significant limitations. First, tracking and segmentation are often handled by separate modules, missing the potential synergy where precise pixel-level masks could help resolve tracking ambiguities, such as those caused by occlusions. Second, traditional graph solvers (like min-cost flow) are not fully differentiable, which prevents the entire pipeline from being trained end-to-end. This research addresses these gaps by proposing a unified framework based on Neural Message Passing that handles both the "who goes where" (tracking) and the "what does it look like" (segmentation) simultaneously.
Methodology
Graph Construction and Feature Encoding
The framework constructs a graph where every detection in a video sequence is a node. Edges connect detections across different frames to represent potential associations. Nodes are initialized with appearance and mask features extracted via Convolutional Neural Networks (CNNs), while edges are initialized with geometry features, including relative size, position, and temporal distance.
Time-Aware and Attentive Message Passing
Standard MPNs typically treat all neighboring nodes identically. This paper introduces two critical architectural innovations:
- Time-Aware Update Rules: The model separates a node's neighbors into "past" and "future" sets. This mimics the physical principle of flow conservation—the idea that an object entering a frame from the past must exit into the future. By baking this temporal flow into the architecture, the network learns to maintain trajectory consistency more effectively.
- Attentive Message Passing: For the segmentation task (MOTS), the model uses edge embeddings to calculate attention weights. This ensures that a node’s mask features are primarily influenced by other nodes likely to belong to the same trajectory, allowing the model to refine segmentation masks based on temporal context.
Joint Prediction
After several rounds of message passing, the model performs two simultaneous tasks:
- Edge Classification: Determining if an edge is "active" (i.e., part of a valid trajectory).
- Mask Prediction: Classifying pixels within the bounding box as either foreground or background to generate precise segmentations.
Experimental Evaluation
The model was evaluated on a comprehensive suite of public benchmarks, covering diverse scenarios from autonomous driving to dense crowd surveillance:
- MOTChallenge: Including 2D MOT 2015, 16, 17, and the highly crowded MOT20.
- KITTI: The standard benchmark for autonomous driving.
- Human in Events (HiEve): Focused on complex human tracking in surveillance contexts.
- MOTS20 & KITTI-MOTS: Specifically designed for joint tracking and segmentation tasks.
Key Insights
Global Reasoning over Local Heuristics
Unlike "online" trackers that only consider the immediate previous frame, this graph-based approach performs reasoning over the entire video or large clips. This global perspective allows the model to recover from long-term occlusions where an object might disappear for several frames before reappearing.
Inductive Bias and Flow Conservation
By forcing the network to distinguish between past and future neighbors, the authors successfully integrated the concept of temporal flow into the neural architecture. Experiments showed a 98% satisfaction rate of flow constraints even before applying a formal solver, proving that the network learned the underlying physics of motion.
Task Synergy
The research demonstrated that joint training for segmentation and tracking actually improves performance in both domains. Mask features provide a much richer "signature" for an object than simple bounding boxes, which helps the tracker maintain identity in crowded scenes.
Results and Discussion
The proposed method achieved state-of-the-art results on nearly all tested datasets. It particularly excelled in IDF1 (identity preservation) and HOTA (Higher Order Tracking Accuracy), which balances detection and association performance. Despite the complexity of global graph reasoning, the MOT version of the model runs at 35 FPS on a single GPU, making it competitive with simpler, less accurate trackers.
On the MOT20 dataset, which is characterized by extremely dense crowds, the model significantly outperformed previous methods by better managing identity switches and maintaining trajectories through heavy overlap.
Limitations and Future Work
While powerful, the model remains a "tracking-by-detection" framework. Its performance is inherently capped by the quality of the external detector; if a detector misses an object, the tracker cannot recover it. Additionally, because the model reasons over a graph of many frames, it is primarily an "offline" or "batch" processor. While adaptable for near-real-time use, it is not as naturally suited for instant-response applications as regression-based trackers.
Future work may involve combining this graph-based association with regression-based detection to "fill in" missing boxes, further increasing robustness to detector failure.
Summary updated