Skip to main content
QUICK REVIEW

[Paper Review] Separable Self and Mixed Attention Transformers for Efficient Object Tracking

Goutam Yelluru Gopal, Maria A. Amer|arXiv (Cornell University)|Sep 7, 2023
Video Surveillance and Tracking MethodsComputer Science5 citations
TL;DR

This paper proposes SMAT, a lightweight visual object tracker that integrates separable mixed attention in the backbone and separable self-attention in the head to enable efficient, high-accuracy tracking. By fusing template and search features via separable mixed attention and modeling long-range dependencies with efficient self-attention, SMAT achieves 37 fps on CPU and 158 fps on GPU with 3.8M parameters, outperforming state-of-the-art lightweight trackers on six benchmarks, including a 7.9% gain in AO on GOT10k-test.

ABSTRACT

The deployment of transformers for visual object tracking has shown state-of-the-art results on several benchmarks. However, the transformer-based models are under-utilized for Siamese lightweight tracking due to the computational complexity of their attention blocks. This paper proposes an efficient self and mixed attention transformer-based architecture for lightweight tracking. The proposed backbone utilizes the separable mixed attention transformers to fuse the template and search regions during feature extraction to generate superior feature encoding. Our prediction head performs global contextual modeling of the encoded features by leveraging efficient self-attention blocks for robust target state estimation. With these contributions, the proposed lightweight tracker deploys a transformer-based backbone and head module concurrently for the first time. Our ablation study testifies to the effectiveness of the proposed combination of backbone and head modules. Simulations show that our Separable Self and Mixed Attention-based Tracker, SMAT, surpasses the performance of related lightweight trackers on GOT10k, TrackingNet, LaSOT, NfS30, UAV123, and AVisT datasets, while running at 37 fps on CPU, 158 fps on GPU, and having 3.8M parameters. For example, it significantly surpasses the closely related trackers E.T.Track and MixFormerV2-S on GOT10k-test by a margin of 7.9% and 5.8%, respectively, in the AO metric. The tracker code and model is available at https://github.com/goutamyg/SMAT

Motivation & Objective

  • To address the computational inefficiency of standard transformer-based trackers in resource-constrained environments like CPUs.
  • To enable the use of transformer-based modeling in both backbone and head modules for lightweight Siamese tracking.
  • To improve feature fusion between template and search regions using separable mixed attention for better representation learning.
  • To maintain real-time inference speed (≥30 fps) on CPU while achieving state-of-the-art accuracy in lightweight tracking.
  • To demonstrate that separable attention mechanisms can effectively replace standard attention in transformers without sacrificing performance.

Proposed method

  • The backbone uses a hybrid CNN-ViT architecture with separable mixed attention blocks to jointly extract and fuse features from the template and search regions.
  • Separable mixed attention replaces standard matrix multiplication with element-wise operations to reduce computational cost during cross-modality feature fusion.
  • The prediction head employs separable self-attention blocks to model long-range dependencies in the fused features for accurate target localization.
  • The architecture integrates both backbone and head modules with transformer-based components for the first time in a lightweight tracker.
  • The model is trained end-to-end with standard tracking loss functions, and inference is optimized for CPU deployment.
  • Ablation studies validate the effectiveness of separable attention and the combined backbone-head design.
Figure 1 : Proposed SMAT architecture. The separable mixed attention Vision Transformer-based backbone jointly performs feature extraction and fusion of template and search regions. The separable transformer-based head models long-range dependencies within the fused features to predict accurate boun
Figure 1 : Proposed SMAT architecture. The separable mixed attention Vision Transformer-based backbone jointly performs feature extraction and fusion of template and search regions. The separable transformer-based head models long-range dependencies within the fused features to predict accurate boun

Experimental results

Research questions

  • RQ1Can separable mixed attention effectively replace standard mixed attention in the backbone to reduce computational cost while maintaining feature fusion quality?
  • RQ2Can separable self-attention in the head module achieve comparable or better performance than convolutional heads in lightweight tracking?
  • RQ3Does combining transformer-based backbone and head modules in a lightweight tracker lead to improved accuracy without sacrificing real-time speed?
  • RQ4How does the proposed SMAT compare to state-of-the-art lightweight trackers in terms of accuracy and inference speed across diverse benchmarks?
  • RQ5What is the impact of feature fusion in the backbone on robustness to challenging attributes like occlusion, illumination variation, and deformation?

Key findings

  • SMAT achieves 37 fps on CPU and 158 fps on GPU, demonstrating real-time performance on constrained hardware with only 3.8M parameters.
  • On GOT10k-test, SMAT outperforms E.T.Track and MixFormerV2-S by 7.9% and 5.8% in the AO metric, respectively.
  • On LaSOT, SMAT achieves the best performance on 8 out of 14 attributes and the second-best on 5, with a 4.3% higher AUC than MixFormerV2-S on illumination variation.
  • SMAT shows significant gains in robustness to partial occlusion (3.2% higher AUC than second-best) and background clutter (2.7% higher AUC).
  • Attention visualization confirms that the model focuses on relevant visual cues even under partial occlusion, improving localization accuracy.
  • Abllation studies confirm that the combination of separable mixed attention in the backbone and separable self-attention in the head yields superior accuracy-speed trade-offs.
Figure 2 : Proposed Separable Mixed Attention ViT block. The qkv-proj denotes the set of three $1\times 1$ convolutional filters to generate the Query , Key , and Value for attention computation. The mixed attention output is passed through a $1\times 1$ convolutional ffn-out block to generate the o
Figure 2 : Proposed Separable Mixed Attention ViT block. The qkv-proj denotes the set of three $1\times 1$ convolutional filters to generate the Query , Key , and Value for attention computation. The mixed attention output is passed through a $1\times 1$ convolutional ffn-out block to generate the o

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.