[Paper Review] Looking Beyond Two Frames: End-to-End Multi-Object Tracking Using Spatial and Temporal Transformers
MO3TR is a novel end-to-end multi-object tracking framework that uses spatial and temporal Transformers to jointly model object interactions and long-term motion history, enabling robust tracking under occlusion, track initiation, and termination without explicit data association or heuristics. It achieves state-of-the-art performance on MOT16, MOT17, and MOT20 benchmarks by leveraging long-range temporal attention and spatial feature encoding.
Tracking a time-varying indefinite number of objects in a video sequence over time remains a challenge despite recent advances in the field. Most existing approaches are not able to properly handle multi-object tracking challenges such as occlusion, in part because they ignore long-term temporal information. To address these shortcomings, we present MO3TR: a truly end-to-end Transformer-based online multi-object tracking (MOT) framework that learns to handle occlusions, track initiation and termination without the need for an explicit data association module or any heuristics. MO3TR encodes object interactions into long-term temporal embeddings using a combination of spatial and temporal Transformers, and recursively uses the information jointly with the input data to estimate the states of all tracked objects over time. The spatial attention mechanism enables our framework to learn implicit representations between all the objects and the objects to the measurements, while the temporal attention mechanism focuses on specific parts of past information, allowing our approach to resolve occlusions over multiple frames. Our experiments demonstrate the potential of this new approach, achieving results on par with or better than the current state-of-the-art on multiple MOT metrics for several popular multi-object tracking benchmarks.
Motivation & Objective
- Address the limitations of existing multi-object tracking (MOT) methods that rely on heuristic-based data association, track management, and two-frame assumptions.
- Overcome challenges in long-term occlusion handling, track initiation, and termination by learning from extended temporal history.
- Develop a truly end-to-end framework that predicts object states directly from video streams without separate detection or association modules.
- Improve generalization and robustness by training with diverse track history lengths and augmented examples for rare cases like track initiation and termination.
Proposed method
- Employ a spatial Transformer to encode interactions between detected objects and visual measurements, learning implicit representations across the scene.
- Introduce a temporal Transformer that attends over all past embeddings of each object, enabling long-range temporal modeling beyond two frames.
- Use Object-to-Temporal Attention to recursively refine object embeddings using historical context, allowing the model to distinguish between occlusion and termination.
- Train with randomly varied track history lengths to prevent overfitting to specific history lengths and improve generalization.
- Apply data augmentation strategies including false negative (FN) and false positive (FP) augmentation to improve learning of track initiation and termination.
- Right-align track histories during training to stabilize learning and reduce false positives.

Experimental results
Research questions
- RQ1Can a fully end-to-end Transformer-based framework eliminate the need for heuristic-based data association and track management in online multi-object tracking?
- RQ2How does incorporating long-term temporal information beyond two frames improve performance on occlusion, track initiation, and termination?
- RQ3To what extent can attention mechanisms learn to differentiate between temporary occlusion and actual track termination?
- RQ4How do training strategies like variable history length and FP/FN augmentation affect model robustness and generalization?
- RQ5Can a unified, state-based tracking approach outperform traditional tracking-by-detection pipelines on standard benchmarks?
Key findings
- MO3TR achieves state-of-the-art performance on MOT16, MOT17, and MOT20 benchmarks, with consistent improvements in MOTA and IDF1 across all datasets.
- Longer-term temporal history (beyond two frames) significantly improves tracking performance, reducing false positives and increasing MOTA and IDF1.
- False positive augmentation during training leads to a substantial reduction in false positives, enabling better learning of track termination.
- Temporal attention visualization shows that the model learns to attend to relevant past frames, including distant ones, and can reason about missing embeddings (non-existence) as part of its attention mechanism.
- The model’s ability to distinguish occlusion from termination is enhanced by long-range temporal modeling, as evidenced by improved performance on challenging sequences with prolonged occlusions.
- Training with variable track history lengths prevents overfitting and improves generalization, especially in scenarios with irregular object appearances and disappearances.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.