TL;DR
MeMOT is an online multi-object tracking framework that unifies object detection and data association within a single Transformer-based architecture. By maintaining and adaptively querying a large spatio-temporal memory buffer of past object states, it drastically reduces identity switches and successfully tracks targets through long-term occlusions.
What Problem Does This Paper Address?
Multi-Object Tracking (MOT) is crucial for applications like autonomous driving and robotics, where a system must localize multiple targets (e.g., pedestrians) and maintain their unique identities across video frames.
Traditionally, this is done via "tracking-by-detection," where an offline detector finds objects in each frame, and a separate algorithm links them across time. While recent deep learning models try to combine these two steps into a unified network, they often oversimplify the association step. As a result, when objects are occluded by obstacles or pass behind one another, the tracker loses them, resulting in frequent identity switches (IDsw) or fragmented trajectories. MeMOT addresses this gap by building a dedicated, long-range spatio-temporal memory directly into a unified tracking architecture.
Methods
MeMOT is an online, fully Transformer-based tracking model that runs three main modules at each time step:
- Hypothesis Generation ($\Theta_H$): Built on a Transformer encoder-decoder architecture (adapted from Deformable DETR), this module extracts feature maps from the current video frame and generates a set of proposal embeddings representing potential object instances.
- Memory Encoding ($\Theta_E$): This module manages a spatio-temporal memory buffer that stores the historical states of all tracked objects. To prevent the network from being overwhelmed by historical data, a specialized Memory Aggregator splits the history into short-term memory (to smooth out immediate localization noise) and long-term memory (using learnable Dynamic Memory Aggregation Tokens or DMAT to capture broader context). These are combined to form track embeddings.
- Memory Decoding ($\Theta_D$): A stacked Transformer decoder takes both the proposal and track embeddings as queries to predict final bounding boxes. Crucially, it outputs both an objectness score (is there an object?) and a uniqueness score (is this a new object or an already-tracked one?). Multiplying these scores yields a unified confidence metric that cleanly separates new targets from existing ones without requiring complex post-processing algorithms like Hungarian matching.
Datasets
The authors evaluated MeMOT on standard multi-object tracking benchmarks:
- MOT16 & MOT17: Standard benchmarks for pedestrian tracking in varied outdoor and indoor environments.
- MOT20: A highly challenging benchmark specifically focused on crowded environments with severe, frequent object occlusions.
- CrowdHuman: Used strictly as an additional pre-training dataset to enhance the model's baseline object localization capabilities.
Key Insights and Ideas
- The Short vs. Long-Term Memory Tradeoff: The authors discovered that directly querying an object's entire history introduces noise. Separating the memory into a short-term branch (queried with the latest observation) and a long-term branch (queried with learnable tokens) allows the model to balance immediate tracking stability with the ability to recover objects after long periods of occlusion.
- Eliminating Ambiguity with Uniqueness Scores: In single-head tracking architectures, a low classification score is ambiguous—it could mean the region is background, or it could mean the object is simply not a new object. MeMOT's dual-head approach (objectness + uniqueness) resolves this ambiguity, preventing under-training and significantly cutting down on false positives.
- Dynamic Query Updates: Rather than keeping the long-term memory queries static, iteratively updating the DMAT at each time step ensures that the model adapts to fine-grained appearance changes as the video progresses.
Key Results
MeMOT achieved state-of-the-art performance among tracking methods utilizing an in-network association solver (meaning it outputs tracks directly without rule-based post-processing):
- High Tracking Accuracy: MeMOT achieved 72.6 MOTA on MOT16 and 72.5 MOTA on MOT17, outperforming competing Transformer-based models like MOTR and TrackFormer.
- Robustness in Crowds: On the crowded MOT20 dataset, MeMOT achieved a 63% reduction in identity switches (IDsw) compared to the popular FairMOT architecture, despite FairMOT being trained on 8× more data.
- Superior Association: MeMOT consistently scored higher in Association Accuracy (AssA), validating that its memory buffer successfully links objects over extended time spans.
Limitations and Future Work
- Annotation Bottleneck: MeMOT relies entirely on supervised learning, which requires large video datasets with dense bounding box and identity annotations. The authors note that developing annotation-efficient or self-supervised training methods is a vital next step.
- GPU Memory Constraints: Storing a large spatio-temporal memory buffer for multiple objects scales up GPU memory consumption during training. This currently limits the maximum temporal window length ($T_{max}$ was capped at 24 frames in experiments), indicating a need for more compact or compressed memory representations in future iterations.
Summary updated