Skip to main content
QUICK REVIEW

[Paper Review] MOTR: End-to-End Multiple-Object Tracking with Transformer

Fangao Zeng, Bin Dong|arXiv (Cornell University)|May 7, 2021
Video Surveillance and Tracking MethodsComputer Science54 references16 citations
TL;DR

MOTR proposes an end-to-end multiple-object tracking framework using a Transformer-based architecture with learnable 'track queries' that are iteratively updated across frames to model object trajectories. By introducing tracklet-aware label assignment, an entrance and exit mechanism for dynamic track management, and temporal modeling components like collective average loss and temporal aggregation networks, MOTR achieves state-of-the-art performance, outperforming ByteTrack by 6.5% on HOTA in DanceTrack and showing strong gains on MOT17.

ABSTRACT

Temporal modeling of objects is a key challenge in multiple object tracking (MOT). Existing methods track by associating detections through motion-based and appearance-based similarity heuristics. The post-processing nature of association prevents end-to-end exploitation of temporal variations in video sequence. In this paper, we propose MOTR, which extends DETR and introduces track query to model the tracked instances in the entire video. Track query is transferred and updated frame-by-frame to perform iterative prediction over time. We propose tracklet-aware label assignment to train track queries and newborn object queries. We further propose temporal aggregation network and collective average loss to enhance temporal relation modeling. Experimental results on DanceTrack show that MOTR significantly outperforms state-of-the-art method, ByteTrack by 6.5% on HOTA metric. On MOT17, MOTR outperforms our concurrent works, TrackFormer and TransTrack, on association performance. MOTR can serve as a stronger baseline for future research on temporal modeling and Transformer-based trackers. Code is available at https://github.com/megvii-research/MOTR.

Motivation & Objective

  • To address the limitation of post-processing association in existing MOT methods by enabling fully end-to-end learning of object trajectories.
  • To model temporal variations in appearance and motion jointly through iterative query updates across video frames.
  • To eliminate the need for heuristic matching (e.g., IoU or Re-ID) by learning track associations directly within the Transformer framework.
  • To improve generalization on challenging sequences with occlusions and identity switches through enhanced temporal modeling.

Proposed method

  • Extends DETR by introducing 'track queries' that serve as hidden states for object tracks and are updated via self- and cross-attention across frames.
  • Employs tracklet-aware label assignment (TALA) to supervise track queries using ground-truth bounding box sequences with the same identity.
  • Introduces an entrance and exit mechanism to dynamically manage track queries: new objects are added via insertion, and terminated tracks are removed.
  • Proposes a temporal aggregation network (TAN) that enables track queries to attend to their own historical states using a key-query mechanism for improved long-range modeling.
  • Introduces collective average loss (CAL) that trains on entire video clips, aggregating losses across multiple frames to improve temporal consistency.
  • Uses track query erasing and inserting during training with probabilities $p_{drop}$ and $p_{insert}$ to simulate object entrance and exit scenarios.

Experimental results

Research questions

  • RQ1Can an end-to-end Transformer-based framework jointly model appearance and motion variations in multiple-object tracking without post-processing association?
  • RQ2How can track queries be effectively updated and assigned across frames to model complete object trajectories?
  • RQ3What training strategies are most effective for improving generalization on long-range temporal dependencies and occlusion scenarios?
  • RQ4How does joint optimization over video clips (via CAL) improve tracking robustness compared to frame-by-frame training?
  • RQ5To what extent can query-level mechanisms (entrance/exit, erasing/inserting) improve tracking of newborn and terminated objects?

Key findings

  • On the DanceTrack dataset, MOTR outperforms the state-of-the-art method ByteTrack by 6.5% on the HOTA metric and 8.1% on the AssA metric.
  • On MOT17, MOTR achieves superior association performance compared to concurrent methods like TrackFormer and TransTrack.
  • Integrating TAN into the baseline improves MOTA by 7.8% and IDF1 by 13.6%, demonstrating its effectiveness in modeling temporal dynamics.
  • Using collective average loss (CAL) with video clips of length 5 leads to an 8.3% improvement in MOTA and 7.1% in IDF1, showing significant gains in handling occlusions and hard cases.
  • Optimal training hyperparameters include $p_{drop} = 0.1$ for query erasing and $p_{insert} = 0.3$ for query inserting, which maximize MOTA while maintaining high IDF1.
  • The sampling interval during training has a strong impact: intervals above 10 degrade performance, while intervals of 2–10 improve tracking by reducing IDS from 209 to 155.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.