Learning the Model Update for Siamese Trackers

Lichao Zhang, Abel Gonzalez-Garcia, Joost van de Weijer, Martin Danelljan, Fahad Shahbaz Khan

Abstract

Siamese approaches address the visual tracking problem by extracting an appearance template from the current frame, which is used to localize the target in the next frame. In general, this template is linearly combined with the accumulated template from the previous frame, resulting in an exponential decay of information over time. While such an approach to updating has led to improved results, its simplicity limits the potential gain likely to be obtained by learning to update. Therefore, we propose to replace the handcrafted update function with a method which learns to update. We use a convolutional neural network, called UpdateNet, which given the initial template, the accumulated template and the template of the current frame aims to estimate the optimal template for the next frame. The UpdateNet is compact and can easily be integrated into existing Siamese trackers. We demonstrate the generality of the proposed approach by applying it to two Siamese trackers, SiamFC and DaSiamRPN. Extensive experiments on VOT2016, VOT2018, LaSOT, and TrackingNet datasets demonstrate that our UpdateNet effectively predicts the new target template, outperforming the standard linear update. On the large-scale TrackingNet dataset, our UpdateNet improves the results of DaSiamRPN with an absolute gain of 3.9% in terms of success score.

Introduction

Visual object tracking is a fundamental computer vision task where the goal is to localize a target in a video sequence given its initial state. Siamese trackers have emerged as a dominant paradigm, treating tracking as a similarity learning problem. They typically use a template from the first frame to search for the target in subsequent frames. However, objects in dynamic environments undergo significant appearance changes due to variations in pose, lighting, and occlusions.

To adapt to these changes, many trackers employ a simplistic linear update strategy—a running average that blends the historical template with the current observation using a fixed ratio. This handcrafted approach is often suboptimal; it fails to account for the non-linear nature of object appearance changes and is highly susceptible to "model drift," where the tracker gradually incorporates background noise or occluded regions into its target model.

The UpdateNet Architecture

To overcome the limitations of manual updates, we introduce UpdateNet, a compact convolutional neural network designed to learn the optimal update function. Instead of a fixed linear combination, UpdateNet adaptively computes the next-frame template based on three distinct inputs:

  1. The Initial Template ($T_0^{GT}$): The ground-truth template from the first frame, serving as a permanent anchor to prevent long-term drift.
  2. The Accumulated Template ($\tilde{T}_{i-1}$): The history of the object's appearance over time.
  3. The Current Template ($T_i$): The most recent observation from the predicted target location.
Overview of the UpdateNet framework during online update and training.

UpdateNet utilizes residual learning, predicting the difference between the current optimal template and the initial ground-truth template. This formulation ensures stability, as the network learns to refine a high-quality starting point rather than generating a template from scratch. Furthermore, the network is trained in multiple stages using realistic tracking data to ensure robustness against the imperfect predictions encountered during online inference.

Experimental Setup

The model was trained on the LaSOT dataset, leveraging its millions of frames to capture diverse object transformations. Evaluation was conducted across four major benchmarks: VOT2016, VOT2018, LaSOT, and TrackingNet. These datasets provide a rigorous testing ground for both short-term accuracy and long-term robustness.

Key Results and Insights

Integrating UpdateNet into state-of-the-art trackers like SiamFC and DaSiamRPN yields substantial performance gains:

  • Quantitative Improvements: On the TrackingNet dataset, UpdateNet improved DaSiamRPN's success score by an absolute 3.9%. On VOT2018, the UpdateNet-enhanced SiamFC showed a significant 7.4% improvement in Expected Average Overlap (EAO).
  • Spatial and Temporal Adaptivity: Unlike linear updates, UpdateNet can perform localized updates. It learns to ignore occluded regions while updating parts of the template that are undergoing valid appearance changes.
  • Efficiency: UpdateNet is extremely lightweight, consisting of only two convolutional layers. This ensures that the tracking speed remains near real-time, making it suitable for practical applications.
Qualitative comparison between UpdateNet-SiamFC, baseline SiamFC, and Ground Truth (GT).

As shown in the qualitative results, UpdateNet allows the tracker to maintain a tight bounding box even during complex maneuvers and partial occlusions where the baseline SiamFC (green) often drifts or fails to adapt.

Conclusion

UpdateNet demonstrates that learning the model update is a superior alternative to handcrafted linear strategies. By incorporating historical context and a stable anchor template, it effectively mitigates model drift and enhances tracking robustness. Future work involves exploring end-to-end training of the entire Siamese pipeline and improving re-detection capabilities for targets that temporarily leave the field of view.

Summary updated

BibTeX
@misc{zhang2019learning,
  author = {Lichao Zhang and Abel Gonzalez-Garcia and Joost van de Weijer and Martin Danelljan and Fahad Shahbaz Khan},
  title = {{Learning the Model Update for Siamese Trackers}},
  year = {2019},
  eprint = {1908.00855},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.00855},
}
Figure