Online Multi-object Tracking Using CNN-Based Single Object Tracker with Spatial-Temporal Attention Mechanism

Qi Chu, Wanli Ouyang, Hongsheng Li, Xiaogang Wang, Bin Liu, Nenghai Yu

Introduction

Multi-Object Tracking (MOT) is a fundamental task in computer vision, requiring the system to follow multiple targets across a video sequence while maintaining unique identities. While Single Object Trackers (SOTs) have achieved significant robustness through deep learning, applying them directly to MOT scenarios presents two major hurdles: high computational overhead and the risk of "drift" during occlusions. Drift occurs when a tracker mistakenly follows an occluding object, subsequently updating its appearance model with incorrect data. This paper introduces the Spatial-Temporal Attention Mechanism (STAM), a framework designed to adapt SOTs for efficient and drift-resistant multi-object tracking.

The STAM Framework

The authors propose a dynamic CNN-based framework that treats MOT as a collection of specialized SOTs with shared feature extraction.

The STAM architecture: (a) Shared CNN backbone with target-specific branches; (b) Detailed view of the feature extraction and spatial attention mechanism using visibility maps.

Shared Feature Extraction

To address computational costs, the entire frame is processed through a shared CNN backbone (VGG-16). ROI-Pooling is then employed to extract features for each individual target candidate. This approach avoids the redundant computation of running independent deep networks for every target in the scene.

Spatial and Temporal Attention

The core of STAM is its dual-attention mechanism:

  • Spatial Attention: The model learns a visibility map for each target, identifying which regions are visible and which are occluded. This map is transformed into a spatial attention map that weights features, directing the tracker to focus on visible pixels and ignore occluders like poles or other pedestrians.
  • Temporal Attention: The visibility map also serves as a quality control metric. During online updates, the temporal attention mechanism reduces the weight of frames where the target is heavily occluded. This prevents the model from "poisoning" its memory with the appearance of an occluding object.

Key Insights: Visibility as Attention

The primary innovation of STAM is repurposing the visibility map—traditionally a binary indicator—into a guide for both localization and model integrity. Spatial attention assists in precise localization by filtering out noise from occlusions, while temporal attention ensures the long-term stability of the target's appearance model. As an "online" tracker, STAM processes information causally, making it suitable for real-time applications like autonomous driving.

Experimental Results

STAM was evaluated on the MOT15 and MOT16 benchmarks using standard public detections.

Tracking performance and score analysis across frames #666 to #677, demonstrating the tracker's ability to maintain identity during close interactions.

The framework achieved state-of-the-art performance for online trackers at the time, reaching 34.3% MOTA on MOT15 and 46.0% MOTA on MOT16. Notably, STAM produced the lowest number of Identity Switches (IDS) among online methods, validating the effectiveness of the attention mechanism in preventing trackers from jumping between targets during close interactions. Ablation studies further confirmed that both spatial and temporal components are essential for maintaining accuracy under frequent occlusions.

Conclusion and Future Work

While STAM significantly improves MOT robustness and efficiency through feature sharing and attention, it currently operates at approximately 0.5 fps on high-end hardware. Future research will focus on bridging the gap to real-time performance (30+ fps) by exploring lighter backbone architectures and more sophisticated motion models to reduce trajectory fragmentation during prolonged occlusions.

Summary updated

BibTeX
@inproceedings{chu2017online,
  author = {Qi Chu and Wanli Ouyang and Hongsheng Li and Xiaogang Wang and Bin Liu and Nenghai Yu},
  title = {{Online Multi-object Tracking Using CNN-Based Single Object Tracker with Spatial-Temporal Attention Mechanism}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.518},
}
Figure