History-Aware Transformation of ReID Features for Multiple Object Tracking

Ruopeng Gao, Yuyao Wang, Chunxu Liu, Limin Wang

TL;DR

Traditional Multiple Object Tracking (MOT) algorithms treat appearance matching as a general retrieval problem, applying generic Re-Identification (ReID) features uniformly across different videos. This paper introduces a training-free, history-aware feature transformation that uses Fisher Linear Discriminant (FLD) to dynamically project raw ReID features into a sequence-specific subspace. By tailoring the feature space to the unique context of each video, the method achieves massive, consistent gains in tracking accuracy across multiple benchmarks.

What Problem Does This Paper Address?

Most modern tracking-by-detection workflows rely heavily on off-the-shelf ReID models to extract appearance features and associate objects across video frames. However, there is a fundamental mismatch in this paradigm: generic ReID models are trained to solve an open-set retrieval problem (distinguishing a person from a vast, global pool of identities), whereas MOT is a context-specific discrimination problem (distinguishing a small, closed set of targets within a single video).

Because targets within the same video often share a highly similar environment, lighting, or even clothing (e.g., dancers in a troupe or players on a sports team), their generic ReID features tend to cluster tightly together in the original representation space, creating severe ambiguity.

Fig. 1: Visualization of ReID features in the original representation space [35].

The authors set out to answer a compelling question: Can we dynamically customize the feature space for each specific video sequence using the tracking history itself?

Methods

The authors propose HATReID-MOT (History-Aware Transformation of ReID Features for MOT), a plug-and-play, training-free framework consisting of three core components:

  1. History-Aware FLD Transformation: The algorithm treats each established trajectory as a distinct class. At each timestep, it uses the historical features of these trajectories as online supervisory signals to compute a closed-form solution for the Fisher Linear Discriminant (FLD). This yields a projection matrix that maps raw ReID features into a sequence-specific subspace designed to maximize inter-trajectory distance while minimizing intra-trajectory variance.
  2. Temporally-Weighted Trajectory Centroid: Because an object's appearance naturally drifts over time, calculating a simple average of historical features to find a trajectory's center is suboptimal. The authors introduce a temporal decay coefficient ($\lambda_0$) to give recent frames higher weight, making the projection matrix more attuned to the target's immediate visual context.
  3. Knowledge Integration: While the specialized FLD subspace is excellent at separating known targets, it lacks the robustness to handle newborn objects or tracking errors. To balance specialization with generalization, the final matching cost matrix is a weighted fusion of the similarity scores from both the original generic space and the transformed FLD space.
Overview of the HATReID-MOT pipeline.

Datasets

The method was evaluated on several prominent MOT benchmarks:

  • DanceTrack: Characterized by uniform clothing and complex, overlapping motion.
  • SportsMOT: Features athletes in team sports, presenting severe visual similarity challenges.
  • TAO (Tracking Any Object): A diverse, multi-category dataset used to test open-world generalization.
  • MOT17 & MOT20: Standard crowded pedestrian tracking benchmarks.

Key Insights and Ideas

  • Discriminability Correlates with Accuracy: The authors quantified feature discriminability ($\delta_{1000}$) as the similarity margin between a detection's true track and its most confusing negative track. They proved a strong, reliable positive correlation between this metric and final tracking accuracy (AssA).
  • History as Supervision: Instead of requiring expensive offline retraining or fine-tuning, the immediate past frames of a video provide a rich, statistically reliable dataset to optimize the feature space completely online.
  • The "One-Size-Fits-All" Illusion: Generic features are sub-optimal for complex tracking. Customizing the representation space to the specific distribution of a single video yields far better separability than using a larger or more complex global model.

Key Results

HATReID-MOT achieved remarkable performance boosts across the board, proving that the potential of appearance cues in MOT has been historically underestimated:

  • DanceTrack: The baseline tracker's Association Accuracy (AssA) skyrocketed from 31.6% to 42.3% (and up to 46.0% with fine-tuning), outperforming several complex hybrid and motion-based trackers.
  • SportsMOT: The ReID-only tracker set a new state-of-the-art, achieving a HOTA of 78.1% (and 80.8% with joint validation training), significantly outperforming advanced end-to-end models like MOTIP.
  • Robust Generalization: When integrated into the MASA framework across various visual backbones (ResNet50, Detic, Grounding DINO, SAM-B), the method yielded stable, consistent performance boosts on the diverse TAO dataset.

Limitations and Future Work

Despite its strengths, the authors note a few limitations:

  • Computational Overhead: Solving the generalized eigenvalue problem for FLD is currently performed on the CPU using SciPy, which drops the inference speed from 46.5 FPS (baseline) to 22.7 FPS. Transitioning this to a GPU-accelerated solver could yield a 4$\times$ to 10$\times$ speedup.
  • Diminishing Returns on High-Discriminability Datasets: On datasets like MOT17, where pedestrians naturally wear highly distinct clothing, the original feature space is already highly discriminative, leaving less headroom for FLD optimization.
  • Integration with Hybrid Trackers: The gains are less pronounced when integrated into trackers that heavily prioritize motion/IoU cues over appearance, suggesting a need to redesign how motion and appearance scores are fused.

Summary updated

BibTeX
@misc{gao2025history,
  author = {Ruopeng Gao and Yuyao Wang and Chunxu Liu and Limin Wang},
  title = {{History-Aware Transformation of ReID Features for Multiple Object Tracking}},
  year = {2025},
  eprint = {2503.12562},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.12562},
}
Figure