NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dual-Template Siamese Network with Attention Feature Fusion for Object Tracking

Mengna Liu, Jinglun Shi, Yan WangRadioengineering 2023

Visual object tracking is a cornerstone of computer vision, powering everything from autonomous drones to security systems. However, trackers often stumble when faced with "real-world" chaos: sudden lighting changes, objects disappearing behind obstacles (occlusion), or targets moving so fast they become a blur.

In a recent paper published in Radioengineering, researchers Minhua Liu, Jiantong Shi, and Yu Wang introduce SiamDT, a novel tracking architecture designed to stay "locked on" even in the most challenging environments.

TL;DR

SiamDT enhances the classic Siamese tracking framework by using an improved ResNet-50 backbone and an attention-based fusion of deep and shallow features. Crucially, it introduces a "dual-template" strategy—using both the first frame and the previous frame—to prevent model drift and adapt to a target's changing appearance in real-time.

What Problem Does This Paper Address?

Most modern trackers are based on the Siamese Network paradigm: they take a "template" (the object in the first frame) and search for the most similar region in subsequent frames. While effective, this approach has three major flaws:

  1. Backbone Limitations: Many trackers use older, shallow networks like AlexNet, which struggle to extract complex features.
  2. Feature Neglect: They often rely solely on "deep" semantic features (which identify what an object is) while ignoring "shallow" spatial features (which identify exactly where it is).
  3. Template Stagnation: By only using the first frame as a reference, the tracker can't account for the object rotating, changing shape, or moving into different lighting. This leads to "model drift," where the tracker eventually loses the target.

Methods

The authors propose SiamDT (Dual-Template Siamese Network) to solve these issues through three key innovations:

  • Improved ResNet-50 Backbone: Instead of AlexNet, SiamDT uses a modified ResNet-50. The researchers reduced the network's "stride" (the step size of filters) and added dilated convolutions. This keeps the "receptive field" large enough to see the object while maintaining high-resolution spatial details that are usually lost in deep networks.
  • Attention Feature Fusion: Not all features are created equal. SiamDT uses a dual-attention mechanism:
  • Channel Attention: Decides which feature channels (e.g., color vs. edges) are most important for the current scene.
  • Spatial Attention: Focuses the network's "eyes" on the most relevant regions of the image, helping it ignore background clutter.
  • Dual-Template Strategy: This is the "secret sauce." Traditional Siamese networks have two branches (Template and Search). SiamDT adds a third branch. It compares the current search area against both the initial frame (long-term memory) and the previous frame (short-term memory). This allows the model to adapt to gradual changes in the object's appearance.

Datasets

The model was trained on the massive ILSVRC 2015-VID dataset, which contains over 4,000 annotated video sequences. For evaluation, the authors used two gold-standard benchmarks:

  • OTB100: 100 video sequences featuring 11 different challenges like occlusion and fast motion.
  • VOT2018: A high-resolution dataset known for complex object changes and a mainstream standard for evaluating tracking robustness.

Key Insights and Ideas

  • The Power of "And": The researchers found that deep semantic features and shallow spatial features are complementary. By fusing them with attention, the tracker gains both the "intelligence" to recognize the object and the "precision" to pinpoint its boundaries.
  • Dynamic Adaptation: The dual-template approach acts as a buffer against failure. If the object changes significantly from the first frame, the "previous frame" template helps bridge the gap, preventing the tracker from drifting onto the background.
  • Backbone Tuning Matters: Simply "plugging in" a deeper network like ResNet-50 can actually hurt performance due to padding and stride issues. The authors' specific modifications (reducing stride to 8 pixels) were essential to making a deep backbone work for tracking.

Key Results

SiamDT demonstrated state-of-the-art performance across both benchmarks:

  • OTB100: SiamDT achieved a Precision of 0.881, significantly outperforming the baseline SiamFC (0.772) and even the well-regarded SiamRPN (0.850).
  • VOT2018: In terms of Expected Average Overlap (EAO)—the primary metric for this competition—SiamDT scored 0.447, ranking first among compared methods like SiamRPN++ and ECO.
  • Robustness: On VOT2018, SiamDT's "failure rate" (Robustness) was 0.142, which is roughly 4x more stable than the baseline SiamFC (0.585).
  • Speed: The tracker runs at 22 frames per second (fps). While slower than some "lite" trackers, it remains near real-time, which is impressive given the complexity of the dual-template ResNet-50 architecture.

Limitations and Future Work

While SiamDT is highly accurate, its increased complexity comes at a cost. With 24.9 million parameters, it is significantly "heavier" than simpler models. The authors noted that the tracker is slightly less effective at "boundary regression" (drawing the exact box) for very small objects.

Future directions suggested by the paper include:

  • Optimizing the network structure to reduce computational overhead (increasing FPS).
  • Refining the template update strategy to further improve how the model decides when to "trust" the previous frame versus the initial frame.

Summary updated

BibTeX
@inproceedings{liu2023dual,
  author = {Mengna Liu and Jinglun Shi and Yan Wang},
  title = {{Dual-Template Siamese Network with Attention Feature Fusion for Object Tracking}},
  booktitle = {Radioengineering},
  year = {2023},
  doi = {10.13164/re.2023.0371},
}
Figure