Transforming Model Prediction for Tracking

Christoph Mayer, Martin Danelljan, Goutam Bhat, Matthieu Paul, Danda Pani Paudel, Fisher Yu, Luc Van Gool

Abstract

Optimization-based tracking methods have been widely successful by integrating a target model prediction module, providing effective global reasoning by minimizing an objective function. While this inductive bias integrates valuable domain knowledge, it limits the expressivity of the tracking network. In this work, we propose a tracker architecture employing a Transformer-based model prediction module. Transformers capture global relations with little inductive bias, allowing it to learn the prediction of more powerful target models. We further extend the model predictor to estimate a second set of weights that are applied for accurate bounding box regression. The resulting tracker ToMP relies on training and on test frame information in order to predict all weights transductively. We train the proposed tracker end-to-end and validate its performance by conducting comprehensive experiments on multiple tracking datasets. ToMP sets a new state of the art on three benchmarks, achieving an AUC of 68.5% on the challenging LaSOT dataset.

Introduction: The Limits of Optimization-Based Tracking

In visual object tracking, the goal is to follow a target throughout a video given only its initial location. Historically, Discriminative Correlation Filter (DCF) methods have dominated this space by "learning" a target model through the minimization of an objective function on the fly.

However, this optimization-based approach imposes a heavy inductive bias. By forcing the model to follow a specific mathematical recipe, it limits the network's ability to integrate complex learned priors or adapt dynamically to the specific context of the current frame. The authors of ToMP (Transforming Model Prediction) address this by replacing the rigid optimization step with a neural network that "learns how to learn" the target model weights.

Methods: Transformer-Based Model Prediction

The ToMP framework utilizes a Transformer architecture to predict the weights of a target model, allowing for a more expressive mapping from image features to model parameters.

Detailed architecture of the ToMP tracker, showing the feature extraction, Transformer-based model prediction, and bounding box regression stages.

Key Architectural Innovations

  1. Transformer-based Model Predictor: Instead of solving an equation, ToMP feeds feature maps from training frames and the current test frame into a Transformer Encoder-Decoder. The Decoder directly outputs the weights for the tracking model.
  2. Target State Encodings: To help the Transformer understand the target's context, the authors introduce Target Location Encodings (previous positions) and Target Extent Encodings (bounding box shape).
  3. Transductive Prediction: Unlike trackers that only look at the past, ToMP includes features from the current test frame when predicting weights. This allows the model to "see" the current background and adjust its weights to better distinguish the target from its immediate surroundings.
  4. Joint Localization and Regression: The system predicts two sets of weights: one for a classifier (to find the object's center) and one for a regressor (to refine the bounding box).

Key Results and Performance

ToMP was evaluated across seven diverse benchmarks, including LaSOT, TrackingNet, and VOT2020, setting a new high bar for performance while maintaining near-real-time speeds.

Comparison of ToMP with state-of-the-art trackers on the LaSOT and NFS datasets. ToMP variants achieve superior performance.
  • State-of-the-Art Accuracy: On the challenging LaSOT dataset, ToMP-101 achieved an AUC of 68.5%, outperforming previous leaders like STARK and TransT.
  • Real-Time Efficiency: The ToMP-50 variant runs at 24.8 FPS on a standard GPU, making it practical for real-world applications.
  • Robustness to Clutter: Attribute analysis shows significant gains in "Background Clutter" scenarios, proving that the Transformer-based predictor is superior at distinguishing targets from similar-looking surroundings.

Conclusion and Future Work

By replacing hard-coded optimizers with a Transformer, ToMP enables the learning of more powerful target models. While it achieves state-of-the-art results, the quadratic memory cost of self-attention currently limits the number of historical frames the model can consider. Future research may focus on more efficient attention mechanisms or explicit distractor handling to further improve robustness during total occlusion.

Summary updated

BibTeX
@inproceedings{mayer2022transforming,
  author = {Christoph Mayer and Martin Danelljan and Goutam Bhat and Matthieu Paul and Danda Pani Paudel and Fisher Yu and Luc Van Gool},
  title = {{Transforming Model Prediction for Tracking}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  url = {https://openreview.net/forum?id=2XrX4cSy_k},
}
Figure