Learning the Model Update for Siamese Trackers

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

TL;DR

This paper introduces UpdateNet, a compact convolutional neural network that learns how to adaptively update the appearance template in Siamese trackers. By replacing the standard, handcrafted linear update with a learned function that considers the initial ground truth, the previous history, and the current frame, UpdateNet significantly boosts tracking robustness and accuracy with minimal computational overhead.

What Problem Does This Paper Address?

Visual object tracking is a moving target—literally and figuratively. As an object moves through a video, its appearance changes due to lighting, rotation, motion blur, and occlusions. Siamese trackers handle this by matching an "appearance template" against search regions in new frames.

However, these trackers face a dilemma: How do you update the template? 1. No Update: Use only the first frame's template. This is robust but fails as the object's appearance evolves. 2. Linear Update: Use a running average (e.g., 99% old template + 1% new frame). This is the industry standard, but it's a "dumb" mechanism. It assumes a constant rate of change, cannot perform localized updates (like updating only the unoccluded half of a face), and is prone to "catastrophic drift"—where small errors accumulate until the tracker is looking at the background instead of the target.

Methods

The authors propose UpdateNet, a two-layer CNN designed to learn the optimal update function $\phi$. Instead of a simple weighted average, the updated template $\tilde{T}_i$ is computed as: $$\tilde{T}_i = \phi(T_0^{GT}, \tilde{T}_{i-1}, T_i)$$ Where:

  • $T_0^{GT}$ is the initial ground-truth template (the most reliable information).
  • $\tilde{T}_{i-1}$ is the accumulated template from all previous frames.
  • $T_i$ is the template extracted from the predicted location in the current frame.
Figure 2. Overview of our tracking framework with UpdateNet. (Left) The online update of the object template is performed by UpdateNet, which receives as input the initial ground-truth template, last accumulated template and current predicted template, and outputs updated accumulated template. (Right) Training of UpdateNet using the distance to the ground-truth object template on next frame.

Key Innovations:

  • Residual Learning: UpdateNet uses a skip connection from $T_0^{GT}$. Rather than generating a template from scratch, it learns how to modify the highly reliable initial template based on recent history. This prevents the tracker from "forgetting" what the object originally looked like.
  • Multi-stage Training: Since the input $T_i$ depends on the tracker's own (potentially imperfect) predictions, the authors use a multi-stage training approach. They first train on data generated by a linear-update tracker, then iteratively refine UpdateNet using its own previous versions to better simulate real-world inference conditions.

Datasets

The model was trained on a subset of the LaSOT dataset (20 categories, ~45k frames). Evaluation was performed across several major tracking benchmarks:

  • VOT2016 & VOT2018: Standard benchmarks for short-term tracking accuracy and robustness.
  • LaSOT: A large-scale dataset focused on long-term tracking.
  • TrackingNet: A massive "in-the-wild" dataset with over 30,000 videos.

Key Insights and Ideas

  • Adaptive Change Rates: Linear updates are static. UpdateNet, however, mimics the "ground truth" change rate. It can choose to update rapidly during high-motion periods and stay conservative when the appearance is stable.
  • Spatial and Channel Awareness: Because UpdateNet is a CNN, it can perform non-linear, localized updates. If a target is partially occluded, the network can theoretically learn to ignore the occluded features in the current frame while maintaining the historical representation of the rest of the object.
  • Sharper Response Maps: Visualizing the correlation filters shows that UpdateNet produces much sharper peaks at the target location compared to linear updates, which often result in blurred or multi-modal response maps (see Figure 3 below).
Figure 3. Visualization of accumulated templates for SiamFC. ‘Frame’ column shows the search region and ground-truth box used to extract the templates, whose top four channels we show in ‘GT’. ‘No-update’ presents the response map resulting from ap- plying the inital template to the search region. For ‘Linear’ and ‘UpdateNet’ stategies we also show their accumulated templates.

Key Results

UpdateNet was integrated into two popular trackers, SiamFC and DaSiamRPN, yielding impressive gains:

  • VOT2018: SiamFC + UpdateNet achieved an EAO (Expected Average Overlap) of 0.262, a massive jump from the linear update's 0.188.
  • TrackingNet: Adding UpdateNet to DaSiamRPN resulted in an absolute gain of 3.9% in success score, outperforming all other compared state-of-the-art trackers.
  • Efficiency: The network is extremely lightweight (only two $1 \times 1$ conv layers). It adds negligible computational cost, allowing trackers to maintain high frame rates (e.g., DaSiamRPN still runs at ~50 FPS).
Figure 1. Qualitative comparison between model updates. We learn to update the model template using UpdateNet. When com- bined with Siamese trackers such as SiamFC [1], our learned updating strategy can be effectively adapted to current circum- stances, unlike the simple linear update commonly used.

Limitations and Future Work

  • Dependency on Initial Frame: While the residual connection to $T_0^{GT}$ is a strength, it assumes the first frame is high-quality and representative. If the initial bounding box is poor, the "anchor" for all future updates is compromised.
  • Siamese Focus: While the authors suggest this could apply to Discriminative Correlation Filter (DCF) trackers, the paper focuses exclusively on Siamese architectures.
  • Training Complexity: The multi-stage training process is necessary for performance but adds complexity to the pipeline compared to end-to-end training.

Future work could explore integrating UpdateNet into even more complex tracking architectures or exploring its utility in long-term tracking scenarios where targets disappear and reappear.

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