SOTAVerified

Tracking Meets LoRA: Faster Training, Larger Model, Stronger Performance

2024-03-08Code Available2· sign in to hype

Liting Lin, Heng Fan, Zhipeng Zhang, YaoWei Wang, Yong Xu, Haibin Ling

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Motivated by the Parameter-Efficient Fine-Tuning (PEFT) in large language models, we propose LoRAT, a method that unveils the power of large ViT model for tracking within laboratory-level resources. The essence of our work lies in adapting LoRA, a technique that fine-tunes a small subset of model parameters without adding inference latency, to the domain of visual tracking. However, unique challenges and potential domain gaps make this transfer not as easy as the first intuition. Firstly, a transformer-based tracker constructs unshared position embedding for template and search image. This poses a challenge for the transfer of LoRA, usually requiring consistency in the design when applied to the pre-trained backbone, to downstream tasks. Secondly, the inductive bias inherent in convolutional heads diminishes the effectiveness of parameter-efficient fine-tuning in tracking models. To overcome these limitations, we first decouple the position embeddings in transformer-based trackers into shared spatial ones and independent type ones. The shared embeddings, which describe the absolute coordinates of multi-resolution images (namely, the template and search images), are inherited from the pre-trained backbones. In contrast, the independent embeddings indicate the sources of each token and are learned from scratch. Furthermore, we design an anchor-free head solely based on MLP to adapt PETR, enabling better performance with less computational overhead. With our design, 1) it becomes practical to train trackers with the ViT-g backbone on GPUs with only memory of 25.8GB (batch size of 16); 2) we reduce the training time of the L-224 variant from 35.0 to 10.8 GPU hours; 3) we improve the LaSOT SUC score from 0.703 to 0.742 with the L-224 variant; 4) we fast the inference speed of the L-224 variant from 52 to 119 FPS. Code and models are available at https://github.com/LitingLin/LoRAT.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
GOT-10kLoRAT-g-378Average Overlap78.9Unverified
GOT-10kLoRAT-L-378Average Overlap77.5Unverified
LaSOTLoRAT-g-378AUC76.2Unverified
LaSOTLoRAT-L-378AUC75.1Unverified
LaSOT-extLoRAT-g-378AUC56.5Unverified
LaSOT-extLoRAT-L-378AUC56.6Unverified
NeedForSpeedLoRAT-L-378AUC0.67Unverified
NeedForSpeedLoRAT-g-378AUC0.68Unverified
TNL2KLoRAT-g-378AUC62.7Unverified
TNL2KLoRAT-L-378AUC62.3Unverified
TrackingNetLoRAT-g-378Accuracy86Unverified
TrackingNetLoRAT-L-378Accuracy85.6Unverified
UAV123LoRAT-L-378AUC0.73Unverified
UAV123LoRAT-g-378AUC0.74Unverified

Reproductions