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

Learning Soft Mask Based Feature Fusion with Channel and Spatial Attention for Robust Visual Object Tracking

Mustansar Fiaz, Arif Mahmood, Soon Ki Jung2020

TL;DR

This paper introduces SCS-Siam, a novel visual object tracking framework that enhances robustness by using a soft mask to focus on target features and integrating channel and spatial attention mechanisms. This approach significantly improves tracking accuracy and performance across challenging scenarios compared to existing state-of-the-art methods.

What Problem Does This Paper Address?

Visual Object Tracking (VOT) is a critical task in computer vision with numerous real-world applications. However, it faces significant challenges due to factors like occlusion, appearance variations, illumination changes, and background clutter. Traditional methods, including Correlation Filter-based Trackers (CFTs), often struggle with these complexities, especially when relying on hand-crafted features. While deep learning has improved performance, pre-trained models may not fully capture specific target appearances, and online learning can be computationally expensive. Siamese networks offer a computationally efficient alternative but can suffer from performance degradation in challenging scenarios due to their inability to fully exploit target information and learn highly discriminative features. This paper aims to address these limitations by developing a more robust and accurate visual object tracker that effectively leverages target-specific information while suppressing background noise.

Methods

The core of the proposed method is the SCS-Siam (Soft-mask with Channel and Spatial attentional Siamese) framework. It builds upon the Siamese network architecture, which learns similarity between a template and a search region.

Here's a breakdown of the key techniques:

  • Soft Mask Feature Fusion: This is a novel approach to suppress background information and highlight target features. During training, a soft mask is generated that assigns higher weights to the target region and lower weights to the background. This masked image is then fused with the original image features at early convolutional layers. This fusion helps the network focus on relevant target information and improves localization.
  • Channel Attention Module: This module is designed to exploit the inter-channel relationships within feature maps. It uses two sub-networks (global average pooling and global maximum pooling) to learn channel-wise weights, emphasizing more discriminative channels and reducing the impact of less informative ones. This helps in better target representation.
  • Spatial Attention Module: Complementary to channel attention, this module focuses on highlighting important spatial locations within each feature channel. It uses a context and transform model to compute spatial attention maps, further refining the target's location and appearance.
  • Siamese Framework Integration: These components (soft mask fusion, channel attention, and spatial attention) are integrated into a Siamese tracking framework. The attention modules are applied sequentially, with channel attention preceding spatial attention, and they are incorporated using skip connections to leverage intermediate features effectively.

Datasets

The proposed SCS-Siam tracker was trained and evaluated on several publicly available benchmark datasets:

  • Training: GOT-10K dataset (used for offline training to achieve generalization).
  • Evaluation:
    • OTB2015
    • TempleColor128 (TC128)
    • UAV123
    • VOT2016
    • VOT2017

Key Insights and Ideas

  • Soft Masking for Focus: The idea of using a soft mask to explicitly guide the network's attention to the target region, rather than relying solely on the bounding box, is a key innovation. This helps in learning more discriminative features by actively down-weighting background noise.
  • Synergy of Channel and Spatial Attention: The paper demonstrates that combining both channel and spatial attention mechanisms is crucial. Channel attention helps identify what features are important, while spatial attention helps identify where those features are located, leading to a more comprehensive understanding of the target.
  • Order Matters: The research shows that the order of applying attention modules (channel attention followed by spatial attention) yields better performance than the reverse order. This suggests a specific hierarchy in how visual information is processed for optimal tracking.
  • Early Feature Fusion: Fusing the soft mask features at early convolutional layers is shown to be effective, allowing the network to incorporate localization information from the soft mask from the outset of feature extraction.

Key Results

The SCS-Siam tracker demonstrated excellent performance across multiple benchmark datasets, outperforming 39 state-of-the-art tracking algorithms.

  • OTB2015: Achieved a success rate of 61.8% and a precision of 82.7%, surpassing many existing methods. It ranked first in terms of success for challenges like fast motion, occlusion, deformation, motion blur, and in-plane rotation.
  • TC128: Achieved the highest precision score of 74.2%.
  • UAV123: Achieved the best precision (75.2%) and overlap (52.4%).
  • VOT2016 & VOT2017: Showed competitive results, demonstrating good accuracy and robustness, particularly in terms of overlap scores.
  • Speed: The tracker achieved an average tracking speed of 73 frames per second (FPS), making it suitable for real-time applications.

Qualitative results also showed that the SCS-Siam tracker did not lose the target object in challenging sequences.

Limitations and Future Work

  • Soft Mask Generation at Test Time: The paper notes that at test time, the soft mask is not precisely known, and a default value of $\sigma=1$ is used. This implies that the accuracy of the soft mask generation during training might not be perfectly replicated during inference.
  • Performance Degradation with Soft Masks at Test Time: An experiment showed that using soft masks generated with $\sigma=0.9$ during test time led to performance degradation compared to using $\sigma=1$. This is attributed to potential inaccuracies in the soft mask derived from the previous frame's estimated target position, especially in the presence of distractors.
  • Computational Cost of Attention: While the attention mechanisms improve performance, they do add to the computational complexity. The paper mentions that applying attention to both exemplar and search branches (B-SCS-Siam) did not yield performance gains but decreased speed.

Future work could explore more efficient ways to generate or adapt soft masks during testing, or investigate alternative attention mechanisms that are even more computationally efficient. Further research into handling distractors more effectively when generating soft masks could also be beneficial.

Summary updated

BibTeX
@misc{fiaz2020learning,
  author = {Mustansar Fiaz and Arif Mahmood and Soon Ki Jung},
  title = {{Learning Soft Mask Based Feature Fusion with Channel and Spatial Attention for Robust Visual Object Tracking}},
  year = {2020},
  doi = {10.3390/s20144021},
}
Figure