CML-MOTS: Collaborative Multi-task Learning for Multi-Object Tracking and Segmentation

Yiming Cui, Cheng Han, Dongfang Liu

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 to track 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 paper, 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.

Introduction

Multi-Object Tracking and Segmentation (MOTS) represents a significant challenge in computer vision, requiring the simultaneous detection of objects, precise segmentation of their shapes, and consistent identity tracking across video sequences. Traditional approaches, such as TrackR-CNN, often struggle with two primary issues:

  1. Feature Imprecision: Reliance on coarse region proposals leads to suboptimal masks and tracking performance.
  2. Task Isolation: Treating detection, segmentation, and tracking as independent branches ignores the inherent synergies between them. For instance, a refined segmentation mask can provide a tighter bounding box for tracking than a raw detection proposal.

Furthermore, many existing models utilize computationally intensive 3D convolutions to capture temporal information, which limits their real-time applicability.

Collaborative Multi-task Learning Framework

The proposed CML-MOTS framework addresses these limitations through a ResNet-101 based architecture that emphasizes task collaboration and temporal efficiency.

Flow-Guided Feature Fusion

To avoid the overhead of 3D convolutions, CML-MOTS employs a lightweight FlowNet to estimate optical flow between frames. This allows the model to "warp" and align features from previous time steps ($t-i$) to the current frame ($t$), effectively mitigating issues like motion blur and occlusion by aggregating temporal context.

Associative Connections

The defining feature of CML-MOTS is the introduction of "associative connections" that link task heads to create a virtuous cycle of information refinement:

  • Detection to Segmentation: Instead of using raw proposals, the mask head ($N_{mk}$) operates on refined bounding boxes generated by the detection head ($N_{bb}$).
  • Detection and Segmentation to Tracking: The tracking head ($N_{tr}$) utilizes a "weighted bounding box." This box is an adaptive fusion of the detection box and a box derived directly from the predicted mask, providing a more accurate region of interest for identity association.
The CML-MOTS architecture featuring flow-guided feature fusion and associative connections between task heads.

End-to-End Training

The entire network is optimized jointly using a multi-task loss function that balances classification, box regression, mask quality, and a triplet ranking loss for tracking identity. This holistic approach ensures that improvements in one task head propagate to the others.

Experimental Results

The framework was evaluated on the KITTI MOTS and MOTS Challenge benchmarks, with the backbone pre-trained on COCO and Mapillary datasets.

Performance and Efficiency

CML-MOTS achieved state-of-the-art results, notably reaching 76.7 sMOTSA on the KITTI MOTS car benchmark. Key improvements include:

  • Reduced Identity Switches: ID switches for cars dropped from 93 (TrackR-CNN) to 62, demonstrating superior tracking stability.
  • Increased Throughput: By replacing 3D convolutions with 2D flow-guided fusion, the model runs at 3.70 FPS, nearly doubling the speed of TrackR-CNN (2.00 FPS).
  • Robustness: Qualitative analysis shows the model is significantly more effective at distinguishing between similar classes (e.g., cars vs. minivans) and avoiding false positives in complex urban scenes.

Conclusion

CML-MOTS demonstrates that treating detection, segmentation, and tracking as interconnected tasks significantly enhances both accuracy and efficiency. By leveraging associative connections and flow-guided fusion, the model provides a robust solution for real-time video instance segmentation. Future work will explore making the fusion weights learnable and improving long-range temporal stability beyond the current 8-frame optimal window.

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 to track 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 paper, 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{cui2023cml,
  author = {Yiming Cui and Cheng Han and Dongfang Liu},
  title = {{CML-MOTS: Collaborative Multi-task Learning for Multi-Object Tracking and Segmentation}},
  journal = {ACM Journal on Autonomous Transportation Systems},
  year = {2023},
  doi = {10.1145/3632181},
}
Figure