TransFiner: A Full-Scale Refinement Approach for Multiple Object Tracking

Bin Sun, Jiale CaoarXiv 2022 · DOI

Abstract

TransFiner is a transformer-based "plug-and-play" refinement framework designed to enhance existing Multiple Object Tracking (MOT) systems. By introducing a novel query pair mechanism and a specialized fusion decoder, TransFiner simultaneously improves detection accuracy and association consistency. This approach effectively addresses challenges in complex, crowded scenes, significantly reducing missed targets and identity switches. Experimental results on MOT17 demonstrate substantial performance gains, particularly in recovering missed objects.

Introduction

Multiple Object Tracking (MOT) requires both accurate object detection in every frame and consistent association of those objects over time. While modern trackers have made significant strides, they often struggle in "intricate scenarios"—dense crowds where individuals overlap or cross paths. In these environments, trackers frequently exhibit a bias, excelling at bounding box localization but failing at identity consistency, or vice versa.

TransFiner addresses this by treating detection and association as a joint refinement problem. Rather than acting as a standalone tracker, it serves as a post-processing "booster" that can be integrated with existing systems like CenterTrack to rectify errors in both localization and temporal linking.

The TransFiner Architecture

TransFiner is built upon the Deformable DETR architecture but introduces a specialized pipeline for temporal refinement. It takes the initial tracking results from a base tracker and processes them through a transformer-based refinement stage.

The TransFiner pipeline showing how original tracking results are refined into detections and motion clues using query pairs and a fusion decoder.

The framework utilizes Query Pairs ($Q^t, Q^{asso}$) to represent each object. While $Q^t$ focuses on refining the detection in the current frame, its partner $Q^{asso}$ predicts motion clues (offsets) to link the object back to the previous frame. This dual-query approach ensures that detection and association are updated in tandem. To ensure the transformer decoder starts with high-quality information, TransFiner uses ROIAlign to extract feature-rich embeddings from the original tracker's output locations.

Core Innovations: Fusion Decoder and D&R Split

The heart of TransFiner is the Fusion Decoder, which facilitates interaction between detection and association queries. This module employs a specialized Fusion Attention mechanism guided by a "fusion mask."

Detailed architecture of the Fusion Decoder layer, highlighting the d&r split mechanism and the fusion mask used in the attention module.

Fusion Masking

The fusion mask is designed to block queries within the same frame from interfering with each other while encouraging communication between the detection and association queries of the same object across frames. This "in-couple" interaction ensures that a strong detection is supported by a logical motion path, and conversely, a clear motion path can help recover a difficult-to-detect object.

Denoising & Rematching (d&r split)

TransFiner categorizes initial predictions from the base tracker into two groups. High-confidence "qualified" predictions are sent through a denoising path for fine-tuning. Low-confidence "poor" predictions are sent through a rematching path, where the model re-searches for the object. This split allows the model to efficiently polish good results while aggressively recovering missed targets.

Key Results and Insights

TransFiner was evaluated on the MOT16 and MOT17 benchmarks, with pre-training on the CrowdHuman dataset to handle dense environments. The results demonstrate a clear "tracker-booster" effect:

  • Performance Gains: On MOT17, it elevated CenterTrack from 67.8% MOTA to 71.5% MOTA and increased the IDF1 (identity consistency) from 64.7% to 66.8%.
  • Error Reduction: The most significant gain was in reducing False Negatives (FN). In MOT17, TransFiner recovered over 31,000 missed targets that the base tracker had overlooked.
  • Independence from Tracklets: By using freshly initialized query pairs for every pair of frames, TransFiner avoids the "poisoning" effect where early errors in a long tracklet propagate through the rest of the video.

Conclusion and Future Work

TransFiner proves that a full-scale refinement approach can significantly boost the robustness of MOT systems in crowded scenes. However, the current implementation is limited to local tracking (adjacent frames), which can lead to failures during long-term occlusions. Future research will focus on developing a "prediction error buffer" to handle extended disappearances and improving the semantic integration of the refinement process.

Summary updated

BibTeX
@misc{sun2022transfiner,
  author = {Bin Sun and Jiale Cao},
  title = {{TransFiner: A Full-Scale Refinement Approach for Multiple Object Tracking}},
  year = {2022},
  eprint = {2207.12967},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.12967},
}
Figure