Collaborative Multi-task Learning for Multi-Object Tracking and Segmentation

Yiming Cui, Cheng Han, Dongfang Liu

TL;DR

CML-MOTS (Collaborative Multi-task Learning for Multi-Object Tracking and Segmentation) is a new framework that treats object detection, segmentation, and tracking as deeply interconnected tasks rather than independent silos. By introducing "associative connections" that pass refined information between task heads and using efficient flow-guided feature fusion, the model achieves state-of-the-art accuracy on major benchmarks while running twice as fast as its predecessors.

What Problem Does This Paper Address?

In the world of computer vision, Multi-Object Tracking and Segmentation (MOTS) is the "triple threat" challenge: you have to find objects (detection), outline their exact shapes (segmentation), and keep track of their identities across video frames (tracking).

Most existing methods, like the well-known TrackR-CNN, have two major flaws:

  1. Coarse Features: They rely on "proposals"—rough guesses of where an object might be—to generate masks and tracking data. These guesses are often too blurry or imprecise for high-quality results.
  2. Isolated Tasks: They treat the three tasks as separate branches. In reality, knowing an object's exact shape (mask) should help you track it better, and a refined detection box should lead to a better mask.

Furthermore, many models use heavy 3D convolutions to handle video motion, which makes them computationally expensive and slow.

Methods

The authors propose a collaborative approach built on a ResNet-101 backbone with several clever additions:

  • Flow-Guided Feature Fusion: Instead of using slow 3D convolutions, CML-MOTS uses a lightweight FlowNet to estimate motion between frames. It "warps" features from previous frames to align with the current one, helping the model see through motion blur or temporary occlusions.
  • Associative Connections: This is the core innovation. The model links the task heads together:
  • Detection $\to$ Segmentation: The mask head doesn't look at raw proposals; it looks at the refined bounding boxes produced by the detection head.
  • Detection + Segmentation $\to$ Tracking: To track an object, the model creates a "weighted bounding box" by fusing the detection box with a box derived from the object's mask. This provides a much more accurate region for the tracking head to analyze.
  • End-to-End Learning: The entire system is trained jointly using a multi-task loss function that balances classification, box regression, mask quality, and a "triplet ranking loss" for tracking identity.

Datasets

The model was trained and evaluated on:

  • KITTI MOTS: A popular benchmark featuring 21 video sequences of cars and pedestrians in urban environments.
  • MOTS Challenge: A dataset focused specifically on dense pedestrian tracking in crowded scenes.
  • Pre-training: The backbone was pre-trained on COCO and Mapillary, while the optical flow component was pre-trained on the Flying Chairs dataset.

Key Insights and Ideas

  • The "Virtuous Cycle" of Data: The authors realized that the output of one task is the perfect input for the next. A refined detection box is a better starting point for a mask than a random proposal.
  • Adaptive Box Fusion: The model doesn't just pick one box for tracking. It uses an adaptive strategy: for large objects, it relies more on the tight mask-derived box; for small objects (where masks might be noisy), it leans more on the detection box.
  • Efficiency via Alignment: By using 2D optical flow to align features across time rather than 3D convolutions, the model captures temporal context without the massive parameter overhead.

Key Results

CML-MOTS demonstrated significant improvements in both precision and efficiency:

  • Accuracy: On the KITTI MOTS car benchmark, it achieved a 76.7 sMOTSA (a metric combining tracking and segmentation quality), outperforming TrackR-CNN.
  • Consistency: It drastically reduced ID Switches (when the model loses track of who is who). For cars, ID switches dropped from 93 to 62.
  • Speed: The model is roughly 2x faster than TrackR-CNN, reaching 3.70 FPS compared to 2.00 FPS on the same hardware.
  • Robustness: Qualitative results show the model is much less prone to "false positives," such as misidentifying a minivan as a car or a traffic sign as a pedestrian.

Limitations and Future Work

  • Hyperparameter Tuning: The weights used to fuse detection and mask boxes ($\alpha_1, \alpha_2$) are currently fixed hyperparameters. The authors suggest that making these weights learnable or dynamic based on the specific video scene could further improve results.
  • Temporal Limits: The study found a "sweet spot" for temporal range (about 8 frames). Looking too far back (e.g., 16 frames) actually hurt performance because long-term optical flow becomes unstable. Improving long-range temporal modeling remains an open challenge.

Summary updated

Abstract

The advancement of computer vision has pushed visual analysis tasks from still images to the video domain. In recent years, video instance segmentation, which aims at tracking and segment multiple objects in video frames, has drawn much attention for its potential applications in various emerging areas such as autonomous driving, intelligent transportation, and smart retail. In this article, we propose an effective framework for instance-level visual analysis on video frames, which can simultaneously conduct object detection, instance segmentation, and multi-object tracking. The core idea of our method is collaborative multi-task learning which is achieved by a novel structure, named associative connections among detection, segmentation, and tracking task heads in an end-to-end learnable CNN. These additional connections allow information propagation across multiple related tasks, so as to benefit these tasks simultaneously. We evaluate the proposed method extensively on KITTI MOTS and MOTS Challenge datasets and obtain quite encouraging results.
BibTeX
@article{cui2023collaborative,
  author = {Yiming Cui and Cheng Han and Dongfang Liu},
  title = {{Collaborative Multi-task Learning for Multi-Object Tracking and Segmentation}},
  journal = {ACM Journal on Autonomous Transportation Systems},
  year = {2023},
  doi = {10.1145/3632181},
}

Loading related content...

Figure