Manuscript Offprint
arXiv:2608.24365MaST: Motion-aware Sparse Pipeline for Lightweight Object Tracking
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Motion-aware Sparse Pipeline for Lightweight Object Tracking
Qingmao Wei , Fagui Liu , Dengke Zhang , Qingze He , and Quan Tang
South China University of Technology, Guangzhou, China
Pengcheng Laboratory, Shenzhen, China
Abstract. Transformer-based object trackers are renowned for their strong performance, yet dense token processing often leads to prohibitive computational cost, limiting real-time deployment on edge devices. While recent works explore token pruning to reduce computation, they often stop short of an end-to-end sparse pipeline, as early-layer token scores can be noisy without a motion prior, and many trackers ultimately fall back to dense reshaping to feed the dense prediction head that partially negates the savings. We introduce Motion-aware Sparse Tracker (MaST), a sparse tracking framework that makes sparsity effective from tokens to boxes. First, MaST injects a lightweight motion prior to refine cross-attention-based importance scores, enabling earlier and more stable token reduction in the search region. Second, we introduce a natively sparse prediction head that operates directly on the retained unstructured tokens with a score-first, regress-once design, eliminating dense padding/reshaping and reducing redundant computation. Extensive experiments on multiple benchmarks demonstrate that MaST establishes new state of the art among lightweight trackers, where MaST-tiny attains 63.8 AUC on LaSOT and 80.1 SUC on TrackingNet, surpassing the prior best AsymTrack-S by +1.0 AUC and +2.2 SUC while running at 152 FPS on Jetson Nano, nearly twice as fast as AsymTrack-S at 88 FPS. Code is available at github.com/TsingWei/MaST.
Keywords: Motion Prior · Token Sparsification · Lightweight Object Tracking
Corresponding authors: Quan Tang (tangq@pcl.ac.cn) and Fagui Liu (fgliu@scut.edu.cn).
Q. Wei et al.

Fig. 1: Speed–accuracy trade-off on edge platforms. The left panel shows TrackingNet SUC vs. Orin Nano speed (FPS). The right panel shows LaSOT AUC vs. CPU speed (FPS). Bubble area is proportional to model parameter count. Our MaST-{small, tiny, nano} achieve Pareto-optimal trade-offs, delivering competitive or superior accuracy at significantly higher speeds compared to prior lightweight trackers.
Recent one-stream Transformer-based trackers [47, 54] have achieved remarkable accuracy by jointly modeling template-search interactions through self-attention. However, their quadratic attention complexity over long token sequences incurs substantial computational cost, hindering deployment on resource-constrained platforms such as UAVs and mobile robots. The field has pursued two lines of work to improve efficiency, including lightweight architectures [5, 27, 52] that employ scaled-down backbones at the expense of discriminative power, and adaptive computation methods [30, 32, 49] that reduce average latency but leave the worst-case computational cost largely unchanged.
Unlike CNNs that operate on dense feature maps, Vision Transformers represent images as discrete token sequences, naturally enabling dynamic token reduction — a strategy proven effective in general vision tasks [4,33]. This makes token sparsification a particularly promising avenue for accelerating Transformer-based trackers. Several recent works have explored this direction. OSTrack [54] repurposes the cross-attention scores between search and template tokens as a pruning criterion, retaining a fixed ratio of search tokens at intermediate encoder layers; FARTrack [44] extends this by additionally leveraging attention to learnable location tokens; AVTrack [32] trains an auxiliary sub-network to predict per-token importance for early dropping decisions.
Despite these advances, existing token sparsification approaches for tracking still face systematic limitations. On the token-reduction side, pruning is typically applied too late, as illustrated in Fig. 2(a), early-layer attention maps are highly diffuse, making attention-based importance scores unreliable and forcing most methods to defer pruning to intermediate layers (e.g., progressively at the 4th, 7th, and 11th layers), leaving the computationally expensive early layers to process the full token set. Moreover, common pruning criteria (cross-attention scores or auxiliary predictors) capture only appearance-level relevance within the current frame and ignore the strong temporal motion continuity in tracking, i.e., the

(a)
(b)
Fig. 2: Why early-stage token pruning fails. (a) Attention map visualization across encoder layers on three tracking sequences. Early layers produce diffuse, noisy attention that has not yet localized the target, explaining why existing methods conservatively defer token pruning to intermediate layers. (b) Effect of performing one-shot token reduction (33% retention align to OSTrack [54]) at different encoder layers on GOT-10k val. Without spatial guidance (w/o G.T.), accuracy drops sharply as pruning moves to earlier layers. With ground-truth target locations guiding selection (w/G.T.), accuracy remains nearly flat across all layers while GMACs decrease substantially with earlier pruning.
prior knowledge of where the target was in the previous frame. On the output side, the prediction head remains a dense bottleneck. Convolutional heads assume a dense, spatially structured token grid, so aggressive sparsification requires padding and reshaping sparse tokens back to a full 2D feature map, wasting computation on empty positions; at high compression ratios, the target-center token may even be pruned, leading to severe mislocalization. This mismatch between a sparse backbone and a dense head caps the achievable speedup and degrades accuracy. Notably, the decoding head is not necessarily convolutional in modern trackers, and some methods decode targets via additional learnable tokens (e.g., MixFormerV2 [13] and the ARTrack series [44,47]), and LoRAT [34] replaces the convolutional head with MLPs. However, these predictor designs are typically developed under dense token/feature assumptions, and their behavior under aggressive token sparsification remains under-explored.
A natural question arises as to whether early-layer pruning is inherently harmful, or whether it merely lacks the right guidance. To answer this, we conduct a diagnostic experiment that disentangles the effect of when to prune from what to prune. As shown in Fig. 2(b), when token selection at 33% retention is guided by ground-truth target locations, accuracy remains remarkably stable regardless of the pruning layer, while computational cost (GMACs) decrease substantially with earlier pruning. In contrast, without such guidance, accuracy degrades sharply as pruning moves to earlier layers. This result indicates that the performance degradation associated with early pruning stems not from insufficient token representations, but from the inability to identify the correct tokens to retain at that stage. The challenge therefore reduces to two subproblems, (i) obtaining a reliable motion prior for token selection before the
Q. Wei et al.
encoder has produced discriminative features, and (ii) designing a prediction head that natively operates on the resulting sparse, unstructured token set.
In this work, we propose MaST (Motion-aware Sparse Tracker), a sparse tracking framework that addresses these limitations with a cohesive design. As shown in Fig. 1, MaST variants achieve Pareto-optimal speed–accuracy tradeoffs on edge platforms. MaST performs early, task-driven token reduction in the search region by injecting a history-based motion prior into the selection process. To avoid a dense output bottleneck, MaST also introduces a natively sparse prediction head that operates directly on unstructured tokens with a score-first, regress-once design, eliminating dense reshape and reducing redundant computation.
Our main contributions are summarized as follows.
– We propose MaST, a sparse tracking framework that performs early, task-driven token reduction in the search region using temporal motion priors.
– We introduce a natively sparse prediction head with a score-first, regress-once design that operates directly on unstructured tokens, removing the dense head bottleneck.
– Extensive experiments on LaSOT, TrackingNet, GOT-10k, and more benchmarks demonstrate that MaST achieves competitive or superior accuracy while delivering substantially higher measured inference speeds on edge platforms such as Raspberry Pi and Jetson Nano.
2 Related Works
Lightweight Visual Tracking. Modern one-stream Transformer trackers [8, 12, 13, 47, 54] unify feature extraction and relation modeling into a single ViT backbone, achieving strong accuracy but suffering from quadratic self-attention complexity that hinders deployment on edge devices. Prior efforts to close this gap fall into three categories, each with notable limitations. Compact model design [3, 5, 10, 27, 32, 46] reduces parameter count but sacrifices representational capacity. Model compression via layer pruning [13, 46] or knowledge distillation [13, 24] risks non-trivial accuracy degradation. Conditional dynamic computation [30, 32, 49] improves average throughput but yields variable per-frame latency, complicating hardware scheduling. In contrast, our approach uses fixed top-K token selection guided by a motion prior, achieving both predictable latency and high accuracy.
Temporal Priors in Visual Tracking. Temporal priors, especially motion locality, are well-established in visual tracking, as target motion between consecutive frames is typically small relative to the search region. Classical approaches exploit this prior via a penalty window (Hanning/cosine) applied to the output score map. SiamFC [1] first applied a cosine window to the cross-correlation response to suppress high-response regions near the boundary of the search area. SiamRPN++ [29] further combines a cosine window penalty with a size-change penalty on the regression response to reduce large, abrupt displacement predictions. Discriminative correlation filters such as KCF [23] and ECO [15] apply a cosine window to the input features to reduce periodic boundary artefacts, which also implicitly penalises predictions near the edges. Many modern trackers, including DiMP [2], prDiMP [16], STARK [51], and OSTrack [54], likewise multiply a Hanning window onto the predicted score map as a post-processing step before selecting the final target location. Beyond hand-crafted windows, recent Transformer-based trackers also explore data-driven temporal modeling by encoding historical predictions as tokens and letting the network learn to use this information, e.g., SwinTrack [35] and the ARTrack series [44,47]. However, these designs do not explicitly impose a spatial locality prior during computation. Despite their widespread adoption, penalty windows are applied only after the full forward pass and merely re-weight already-computed scores, leaving the heavy encoder computation unaffected. In contrast, our approach injects temporal motion priors into the token reduction process itself, using them to guide which tokens are computed in subsequent layers and thereby reducing computation.
Token Sparsification in Vision Transformers. The tokenized processing paradigm of Vision Transformers enables novel sparsification strategies that are absent in CNN-based trackers. EViT [33] pioneered token pruning by selecting tokens with the highest attention to the class token. OSTrack [54] adapted this idea by measuring cross-attention between search and template tokens, retaining the top-K most correlated tokens. However, their reliance on early-layer attention scores introduces noise. As a result, many methods apply token pruning conservatively and progressively at intermediate layers, leading to limited speedup. DynamicViT [41] proposed learnable importance predictors using lightweight MLPs, and DToP [43] further explored this idea in semantic segmentation. Similarly, GRM [21] applied such techniques to guide token interactions in tracking tasks, while AVTrack [32] uses a sub-network for early token exit. SGL [57] likewise observes that partial early-layer attention is insufficient for reliable token pruning and introduces a small vision-language model as external guidance for a larger model. MaST shares the motivation of guided early pruning, but specializes it to single-object tracking by using a nearly cost-free temporal motion prior rather than an auxiliary model. Moreover, our fixed top-K budget avoids the variable per-frame computation of adaptive exits and provides predictable latency.
3 Method
3.1 Overview
The proposed framework shown in Fig. 3 operates in three stages, namely motion prediction, token sparsification, and target decoding. Given an input video frame and the target's initial location, a pair of images is processed as input, consisting of a template image denoted as and a search image denoted as . These images are divided into non-overlapping patches of size , resulting in patches for the template and patches for the search region. After patch embedding concatenated together, features are simultaneously extracted and fusion in the form of sequence using a Transformer encoder, in which the sequence will be first handled by our proposed
Q. Wei et al.

Fig. 3: Overview of the MaST framework. The General Sparsification Module is inserted once at an early encoder layer, retaining the top-K search tokens; all subsequent Transformer blocks operate on this reduced set. Token selection fuses cross-attention relevance with a motion prior from the previous prediction for early and stable pruning. The retained sparse tokens are then decoded by a lightweight MLP sparse head with a score-first, regress-once pipeline, eliminating dense reshaping and redundant computation.
sparsification block. In the end, the retained tokens will be further processed by the prediction head.
3.2 Motion-Aware Token Sparsification
Token sparsification plays a critical role in reducing the computational cost of Transformer-based visual object trackers by selectively focusing on the most relevant tokens. Typically, an importance score is assigned to each search token to determine whether it should be retained. Existing approaches often derive these scores either from an auxiliary prediction network or from cross-attention maps that measure the interaction between search and template tokens. Following OSTrack [54], we adopt the cross-attention map as the basis for token scoring. However, early-layer attention is often diffuse and noisy, which makes naive early pruning unreliable. To enable earlier and more stable token reduction, we inject a lightweight temporal motion prior derived from the previous prediction.
Importance Score. In our framework, the importance score of search tokens is derived from the cross-attention map in the Transformer encoder. Let the search tokens and template tokens be represented as (queries) and (keys), where and are the numbers of tokens in the search and template regions, respectively, and is the feature dimension. Following the approach explored in OSTrack, we simplify the aggregation process by only using the token from the center patch of the template as a representative feature. This reduces unnecessary complexity while retaining strong performance.
The cross-attention map , which measures the interaction between search and template tokens, is defined as:
where represents the attention weight between the -th search token and the -th template token. Given that we only use the center token of the template, denoted as , the importance score for the -th search token is simplified as:
where is the query feature of the -th search token. This formulation focuses the importance scoring process on the interaction between search tokens and the central template token, providing a lightweight yet effective means of measuring token relevance.
Motion Prior Injection. Directly using early-layer cross-attention scores for pruning is sub-optimal due to their diffuse and noisy nature. Tracking, however, provides a strong temporal cue, as the target location changes smoothly across frames. We therefore build a simple spatial prior from the previous prediction and use it to guide token selection.
Specifically, as illustrated in the center panel of Fig. 3, we construct a Motion Window over the search region, centered at the previous predicted target location, and use it to softly re-weight the cross-attention importance scores. In practice, we find that a 2D Gaussian provides an effective and lightweight realization. Given the predicted bounding box from the previous frame , where is the box center and are its width and height, the Gaussian is defined as:
where represents the spatial coordinates of a token in the search region, and , are the standard deviations of the Gaussian in the and directions, respectively. The scaling factor controls the size of the window, balancing the trade-off between including potentially relevant tokens and excluding irrelevant ones. We found that setting yields reasonable performance.
Q. Wei et al.
The Motion Window assigns higher weights to tokens closer to the previous predicted target center. We refine the importance scores by combining the cross-attention importance scores with the Motion Window values for each token:
where is the spatial location of the -th token. This combined score ensures that tokens within the likely target region (as constrained by the Motion Window) are prioritized, even if their raw attention scores are diffuse. Then we only keep the top-K tokens as the output of Motion-Aware Token Sparsification block, attached by the standard Transformer blocks in the encoder.
3.3 Fully Sparse Prediction Head
Our goal is to avoid the dense-head bottleneck when the backbone operates on a sparsified, unstructured token set. Let the retained search tokens be , where and each token keeps its original 2D location on the patch grid, denoted as . As illustrated in Fig. 4, unlike dense heads that must pad and reshape sparse tokens back to a full 2D grid before stacked convolutions, we design a natively sparse head that directly consumes without padding or reshaping back to a dense feature map. We parameterize both branches with lightweight MLPs, similar to prior MLP-based heads (e.g., LoRAT [34]). We further tailor the head for sparse token decoding via a score-first, regress-once computation path.

A: Dense Head
B: Sparse Head
Fig. 4: Dense vs. sparse prediction head. (A) Dense head pads and reshapes sparse tokens into a full 2D grid, wasting computation on empty positions. (B) Our sparse head applies an MLP directly on retained tokens via sparse anchors, with no padding or reshape.
Score-first, regress-once. As illustrated in Fig. 3, the head contains two lightweight branches.
– Score branch predicts a scalar confidence for each retained token. The target token is selected by
This selection can be implemented by scattering to a sparse score map aligned with the original grid and applying an ArgMax, but no dense feature computation is required.
- Regression branch predicts box parameters only once for the selected token . Denoting the regression output as , the final box is decoded as
followed by conversion from patch-grid coordinates to search-image pixels using the patch stride.
This is the same local anchor-based box definition used by dense anchor-based heads, which decode the bounding box at every grid location after a 2D reshape. MaST instead retrieves directly from the retained token's prepruning flattened-grid coordinate and evaluates the regression branch only at that location. Thus, only the dense reshape and redundant regressions are removed; the box parameterization is unchanged.
This design makes the head complexity scale with for scoring and constant-time for regression, matching the sparsified backbone and eliminating redundant computation on empty spatial positions.
Training objective. We supervise the score branch with a classification loss over sparse tokens, and supervise the regression branch on a single token aligned with the ground-truth target. Let be the ground-truth target center on the patch grid and define
The overall head loss is
where is the ground-truth box, and we set and .
4 Experiment
Device. Our MaST models are implemented using Python 3.10 and PyTorch 2.4.1. Training is conducted on a single NVIDIA RTX 3090 GPU. We evaluate inference speed on three representative edge platforms, namely Raspberry Pi 5, Apple M4, and NVIDIA Jetson Orin Nano. To ensure a consistent evaluation environment and better reflect real-world application deployment, we export ONNX files with OpSet 17 and benchmark with ONNXRuntime 1.20.1 to report practical on-device performance. For trackers whose source code is publicly available, we re-evaluate their speed under the same protocol to ensure a fair comparison.
Table 1: Details of our MaST model variants.
| Model | MaST | ||
|---|---|---|---|
| nano | tiny | small | |
| Backbone | ViT-Tiny | ||
| Encoder Layers | 8 | 12 | 12 |
| Template Size | 128 | 128 | 192 |
| Search Size | 256 | 256 | 384 |
| Token Rate (%) | 30 | 30 | 30 |
| MACs (G) | 0.59 | 0.84 | 1.82 |
| Params (M) | 3.85 | 5.63 | 5.63 |
Q. Wei et al.
Model. To demonstrate our method on
the low-cost edge device, we use ViT-Tiny [18] as the encoder and the training are initialized with the MAE-lite [45]. We provide three model variants with different backbones, encoder depths, and token retention rates, as summarized in Tab. 1. MaST-nano uses the first 8 layers of ViT-Tiny for maximum efficiency; MaST-tiny employs the full 12-layer ViT-Tiny; and MaST-small increases the input resolution for higher accuracy. All three default variants retain 30% of the search tokens. A supplementary ViT-Base scaling study further shows that the speedup persists beyond lightweight backbones while reaching the lower accuracy range of heavier trackers.
Training. The training splits of COCO [36], LaSOT [19], GOT-10k [25] TrackingNet [39] and VastTrack [40] are used for training. Common data augmentations including horizontal flip and brightness jittering are used in training. The GPU holds 128 image pairs as the batch size. We train the model with AdamW optimizer [37], set the weight decay to , the initial learning rate for the backbone to and other parameters to , respectively. The total training epochs are set to 300 with 60k image pairs per epoch and we decrease the learning rate by a factor of 10 after 240 epochs. The sparsification rate is gradually warmed-up during training following OSTrack [54]. More details of training and hyper-parameters can be found in the supplementary material.
4.1 Comparison with State-of-the-arts
We conduct a comprehensive comparison on five widely used tracking benchmarks. Trackers are grouped into three tiers, namely 500M, 1G, and 2G MACs, based on their computational cost, and compared within the same tier.
LaSOT. LaSOT [19] is a large-scale long-term tracking benchmark comprising 1,400 video sequences with 280 sequences reserved for testing. As shown in Tab. 2, MaST-tiny achieves the highest AUC of 63.8 and of 72.2 in the 1G group, outperforming AsymTrack-S [59] by +1.0 AUC and HiT-Small [27] by +3.3 AUC, while running at 22.6 FPS on Raspberry Pi 5. MaST-small further pushes to 65.8 AUC in the 2G group, surpassing FERMT [58] by +0.7 AUC.
TrackingNet. TrackingNet [39] is a large-scale short-term benchmark with 511 test sequences covering diverse real-world scenarios. MaST-tiny leads the 1G group with 80.1 SUC and of 85.3, surpassing AsymTrack-S by +2.2 SUC. In the 2G group, MaST-small achieves 82.3 SUC, outperforming all competing methods in its tier.
GOT-10k. GOT-10k [25] is a large-scale dataset with 180 test sequences featuring non-overlapping object categories between train and test splits, designed to measure generalization. MaST-tiny attains an AO of 66.6 and SR of 62.5 in the 1G group, outperforming AsymTrack-S by +1.1 AO and +3.6 SR . MaST-small achieves 70.0 AO and the highest SR of 67.0 in the 2G group.
LaSOT . LaSOT [19] extends LaSOT with 150 test sequences covering more diverse and challenging long-term scenarios. As reported in Tab. 3, MaST-
KCF is tested on the CPU of Jetson Orin Nano with 256 input size.
Table 2: State-of-the-art comparisons of efficient tracking on three large-scale benchmarks, grouped by computational cost. Red and blue denote the best and second-best results within each group. Gray FPS values indicate speeds below VOT realtime setting (20 FPS).
| Method | Pub. | LaSOT | TrackingNet | GOT-10k | MACs (G) | FPS | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AUC | P | SUC | P | AO | RPi5 | CPU | Nano | |||||||
| KCF [23] | TPAMI'14 | 21.1 | 22.8 | 18.4 | - | - | - | 27.9 | 26.3 | 9.9 | - | 142 | 946 | |
| ~500M MACs | ||||||||||||||
| MaST-nano | Ours | 58.6 | 67.7 | 59.4 | 77.2 | 82.5 | 72.4 | 61.6 | 71.8 | 53.7 | 0.585 | 30.1 | 101 | 230 |
| AsymTrack-T [59] | AAAI'25 | 60.8 | 68.7 | 61.2 | 76.2 | 80.9 | 71.6 | 62.3 | 71.3 | 54.7 | 0.708 | 18.1 | 60 | 99 |
| FEAR-XS [5] | ECCV'22 | 53.5 | - | 54.5 | - | - | - | 61.9 | 72.2 | - | 0.532 | 19.5 | 59 | 146 |
| LightTrack [52] | CVPR'21 | 53.8 | - | 53.7 | 72.5 | 77.8 | 69.5 | 61.1 | 71.0 | - | 0.483 | 13.4 | 44 | 124 |
| ~1G MACs | ||||||||||||||
| MaST-tiny | Ours | 63.8 | 72.2 | 67.2 | 80.1 | 85.3 | 77.2 | 66.6 | 76.0 | 62.5 | 0.836 | 22.6 | 72 | 152 |
| FARTrackpico [44] | ICLR'26 | 58.6 | 67.1 | 59.6 | 75.6 | 81.3 | 70.5 | 62.8 | 72.6 | 50.9 | 1.08 | 17.2 | 35 | 134 |
| AsymTrack-S [59] | AAAI'25 | 62.8 | 71.2 | 64.8 | 77.9 | 82.2 | 74.0 | 65.5 | 74.8 | 58.9 | 0.806 | 15.6 | 51 | 88 |
| ORTrack-D [48] | CVPR'25 | 54.6 | 62.6 | 54.3 | 73.7 | 79.1 | 68.2 | - | - | - | 1.54 | 18.5 | 52 | 138 |
| HiT-Small [27] | ICCV'23 | 60.5 | 68.3 | 61.5 | 77.7 | 81.9 | 73.1 | 62.6 | 71.2 | 54.4 | 1.13 | 21.5 | 78 | 106 |
| HiT-Tiny [27] | ICCV'23 | 54.8 | 60.5 | 52.9 | 74.6 | 78.1 | 68.8 | 52.6 | 59.3 | 42.7 | 0.995 | 27.3 | 97 | 118 |
| E.T.Track [3] | WACV'23 | 59.1 | - | - | 75.0 | 80.3 | 70.6 | - | - | - | 1.56 | 8.8 | 24 | 71 |
| ~2G MACs | ||||||||||||||
| MaST-small | Ours | 65.8 | 74.7 | 70.4 | 82.3 | 87.1 | 80.5 | 70.0 | 80.4 | 67.0 | 1.82 | 7.5 | 30 | 98 |
| FARTrack [44] | ICLR'26 | 61.3 | 69.7 | 64.1 | 79.1 | 84.5 | 75.6 | 69.9 | 81.2 | 61.4 | 1.78 | 10.4 | 25 | 117 |
| FARTrack [44] | ICLR'26 | 63.2 | 71.6 | 66.7 | 80.7 | 85.6 | 77.5 | 70.6 | 81.0 | 63.8 | 2.65 | 6.9 | 16 | 87 |
| AsymTrack-B [59] | AAAI'25 | 64.7 | 73.0 | 67.8 | 80.0 | 84.5 | 77.4 | 67.7 | 76.6 | 61.4 | 1.81 | 6.2 | 25 | 57 |
| FERMT [58] | ECCV'24 | 65.1 | 74.6 | 69.1 | 80.8 | 80.9 | 78.1 | 69.6 | 80.1 | 63.2 | 2.31 | 7.9 | 31 | 84 |
| HiT-Base [27] | ICCV'23 | 64.6 | 73.3 | 68.1 | 80.0 | 84.4 | 77.3 | 64.0 | 72.1 | 58.1 | 4.34 | 6.7 | 22 | 79 |
| Heavy Trackers | ||||||||||||||
| SUTrack-T [9] | AAAI'25 | 69.6 | 79.3 | 75.4 | 82.7 | 87.2 | 80.8 | 72.7 | 82.1 | 70.5 | 5.52 | 2.1 | 10.9 | 23 |
| MCITrack-T [26] | AAAI'25 | 71.7 | 81.5 | 78.2 | 84.8 | 89.4 | 83.7 | 74.0 | 83.9 | 72.1 | 12.6 | - | 4.3 | 9.1 |
| LoRAT [34] | ECCV'24 | 71.7 | 80.9 | 77.3 | 83.5 | 87.9 | 82.1 | 72.1 | 81.8 | 70.7 | 19.1 | - | 5.4 | 12.1 |
| OSTrack [54] | ECCV'22 | 69.1 | 78.7 | 75.2 | 83.1 | 87.8 | 82.0 | 71.0 | 80.4 | 68.2 | 18.6 | - | 6.5 | 13.7 |
small achieves the highest AUC of 45.3, surpassing FARTrack [44] by +0.3 and AsymTrack-B [59] by +0.7. MaST-tiny achieves 42.8 AUC at 22.6 FPS on Raspberry Pi 5, over 3× faster than AsymTrack-B (6.2 FPS), offering a favorable speed–accuracy trade-off for long-term tracking.
UAV123. UAV123 [38] is an aerial tracking benchmark with 123 low-altitude UAV sequences featuring fast motion, small targets, and frequent occlusion. MaST-tiny achieves the highest AUC of 66.6 among all compared methods, outperforming LiteTrack-B4 [46] (66.4) and AsymTrack-B [59] (66.5) while running at 22.6 FPS on Raspberry Pi 5. MaST-nano attains 62.9 AUC at a leading 30.1 FPS, making it well-suited for resource-constrained aerial applications.
NFS. NFS [28] is a high-frame-rate benchmark with 100 sequences featuring fast-moving objects that challenge tracker responsiveness. Under 30fps setting, MaST-tiny achieves 66.2 AUC, second only to FARTrack [44] (66.9) while
Q. Wei et al.
Table 3: Comparisons with lightweight trackers on more benchmarks.
| Method | FPS | LaSOT AUC | UAV123 AUC | NFS AUC | |
|---|---|---|---|---|---|
| RPi Nano | |||||
| LightTrack [52] | 13.4 | 124 | - | 62.5 | 55.3 |
| FEAR-XS [5] | 19.5 | 146 | - | 61.4 | 61.4 |
| E.T.Track [3] | 8.8 | 71 | - | 59.0 | 59.0 |
| HiT-Base [27] | 6.7 | 79 | 44.1 | 65.6 | 63.6 |
| MixformerV2-S [13] | 7.1 | 89 | 43.6 | 65.8 | - |
| LiteTrack-B4 [46] | 3.6 | 45 | - | 66.4 | 63.4 |
| CompressTracker-2 [24] | 6.1 | 97 | 40.4 | 62.5 | - |
| AsymTrack-B [59] | 6.2 | 57 | 44.6 | 66.5 | 64.4 |
| FARTrack [44] | 6.9 | 87 | 45.0 | 65.8 | 66.9 |
| MaST-nano | 30.1 | 230 | 41.1 | 62.9 | 64.4 |
| MaST-tiny | 22.6 | 152 | 42.8 | 66.6 | 66.2 |
| MaST-small | 7.5 | 98 | 45.3 | 66.4 | 65.7 |
Table 4: Comparison on the VastTrack [40] benchmark.
| Method | VastTrack | ||
|---|---|---|---|
| SUC | Prec | ||
| ATOM [14] | 17.2 | 14.1 | 10.2 |
| SiamRPN++ [29] | 28.1 | 29.7 | 24.9 |
| TransT [11] | 29.9 | 31.4 | 25.4 |
| STARK [51] | 33.4 | 34.3 | 30.8 |
| OSTrack [54] | 33.6 | 34.5 | 31.5 |
| ARTrack | 35.6 | 35.8 | 32.4 |
| MixFormerV2-B [13] | 35.2 | 36.5 | 33.0 |
| FARTrackpico [44] | 30.3 | 33.0 | 25.7 |
| FARTracknano [44] | 33.9 | 35.1 | 30.3 |
| FARTracktiny [44] | 35.2 | 36.5 | 32.3 |
| MaST-nano | 30.6 | 37.8 | 30.1 |
| MaST-tiny | 33.4 | 40.7 | 26.2 |
| MaST-small | 35.6 | 43.2 | 33.0 |
Table 5: Comparison of performance on various sparsification on encoder.
| Sparsification By | LaSOT | Encoder MACs | FPS | ||||
|---|---|---|---|---|---|---|---|
| AUC | P | RPi5 | CPU | Nano | |||
| None | 64.0 | 74.2 | 68.3 | 1752M | 9.1 | 37 | 94 |
| Attention | 60.5 | 71.9 | 65.6 | 824M | 22.9 | 73 | 157 |
| Prediction | 59.4 | 71.4 | 64.9 | 874M | 21.5 | 66 | 138 |
| Attention + Motion | 63.8 | 73.6 | 67.9 | 824M | 22.6 | 72 | 152 |
| Motion | 62.6 | 72.2 | 66.4 | 824M | 23.5 | 78 | 169 |
running substantially faster on edge devices. MaST-small achieves 65.7 AUC, surpassing AsymTrack-B [59] (64.4) and HiT-Base [27] (63.6).
VastTrack. VastTrack [40] is a large-vocabulary benchmark spanning 2,115 object categories with over 50,000 sequences, designed to evaluate tracking generalization across a vast range of target types. As shown in Tab. 4, MaST-small achieves a SUC of 35.6 and of 43.2, surpassing heavier MixFormerV2-B [13](35.2 SUC) by +0.4. The advantage is particularly striking at +6.7 over the next-best method, suggesting superior localization accuracy normalized by target scale.
4.2 Ablation Study
Impact of Different Sparsification Strategies. Tab. 5 compares various token sparsification strategies. Naive pruning based solely on attention scores (“Attention”) achieves significant compute reduction but suffers a severe accuracy drop, revealing that early cross-attention scores are too diffuse to reliably identify important tokens. Replacing attention with an MLP predictor (“Prediction”) is even worse, as it lacks spatial grounding. The proposed motion prior is the key enabler, as fusing attention scores with the Gaussian spatial prior (“Attention +
Table 6: Comparison of prediction heads on LaSOT with ViT-Tiny backbone.
| Prediction Head | AUC | MACs (G) | RPi FPS | |||
|---|---|---|---|---|---|---|
| Dense | Sparse | Dense | Sparse | Dense | Sparse | |
| Global Localization | ||||||
| Loc Tokens [13] | 59.0 | 57.9 | 1.76 | 0.845 | 10.0 | 23.9 |
| Trans. Decoder | 61.4 | 60.1 | 1.88 | 0.833 | 9.4 | 22.7 |
| Anchor-based Localization | ||||||
| 3×3 Conv [54] | 65.0 | 64.1 | 2.39 | 1.463 | 7.7 | 13.8 |
| MLP (Dense) [34] | 64.0 | 63.8 | 1.81 | 0.872 | 9.1 | 21.3 |
| MLP (Sparse) | 64.0 | 63.8 | 1.75 | 0.836 | 9.7 | 23.2 |
Motion") nearly closes the accuracy gap to the dense baseline while preserving the full compute savings. Using the motion window alone ("Motion") yields a middle ground, confirming that the fusion of both signals is optimal. These results underscore that a lightweight temporal prior is critical to making aggressive early-layer sparsification practically viable.

Fig. 5: AUC–FPS trade-off at different token retention rates on GOT-10k val
Analysis of Different Prediction Heads. Tab. 6 compares prediction heads under two paradigms. Global localization heads (Loc Tokens, Trans. Decoder) are naturally sparse-compatible and achieve good speedups, but their accuracy is limited (57.9–60.1 AUC) due to insufficient spatial prior. These variants also converge substantially more slowly in image-pair IoU; extending training to 3× the default schedule, initializing from a trained head, and teacher distillation did not close the gap (see the Appendix). Anchor-based heads yield higher accuracy (63.8–64.1 AUC), yet the conventional 3×3 Conv-stacked head must reshape sparse tokens back to a dense grid, incurring redundant computation and capping throughput at 13.8 FPS. Our sparse MLP head operates score-first, regress-once on retained tokens, improving throughput to 23.2 FPS with no accuracy loss over the dense MLP counterpart [34] (63.8 AUC in both cases), confirming the value of a natively sparse head design.
Impact of Token Retention Rate. Fig. 5 examines how the token retention rate affects the AUC–FPS trade-off at two input resolutions on GOT-10k val. For this diagnostic only, we warm up one checkpoint to a 10% retention rate during training and evaluate the same checkpoint at all plotted rates, rather than retraining a separate model for each operating point. At 384 resolution, retaining only 30–40% of tokens already matches the dense baseline in AUC while substantially boosting throughput; further reduction to 20% causes only a moderate drop.
Q. Wei et al.
At 256 resolution, 50–60% retention achieves near-lossless accuracy, and 30% retention remains competitive.0
Table 7: Effect of sparsification layer on tracking accuracy and efficiency.
| Sparsify at Layer | LaSOT AUC | RPi FPS | MACs (M) |
|---|---|---|---|
| 1 | 63.82 | 22.6 | 836 |
| 2 | 63.87 | 17.6 | 942 |
| 3 | 63.65 | 14.0 | 1004 |
| 4 | 63.83 | 12.1 | 1080 |
| 5 | 63.91 | 11.3 | 1154 |
| 6 | 63.96 | 10.1 | 1238 |
In both settings the motion prior guides early token selection reliably regardless of input scale, confirming that MaST's accuracy–efficiency trade-off is robust across resolution choices and that a single checkpoint supports a smooth post-training speed–accuracy trade-off.
Layer-wise Sparsification Analysis. Tab. 7 evaluates the effect of applying token sparsification at different layers (all with motion window) of the ViT-Tiny encoder. Under the motion prior, the choice of sparsification layer has only a negligible impact on accuracy: AUC varies by at most 0.4 points across all configurations. In contrast, the speed penalty of delaying sparsification is substantial, throughput nearly halves from 22.6 to 10.1 FPS when
sparsification is pushed to later layers. Sparsifying at Layer 1 therefore offers the best cost-effectiveness, as it matches the accuracy of later-layer alternatives while delivering the highest throughput (22.6 FPS) and the lowest compute (836M FLOPs), and we adopt it as our default.
Comparison with Alternative Compression Strategies. Tab. 8 compares MaST against three compression baselines under an identical compute budget ( 1G MACs, ViT-Tiny backbone): the full dense model (1752M MACs), progressive token pruning from OSTrack [54], resolution reduction from LoReTrack [17], and layer pruning from CompressTracker [24]. Progressive token pruning retains accuracy (64.0 AUC) but provides negligible speedup (9.1→10.5 FPS on RPi5) due to its multi-stage, non-one-shot design. Resolution reduction and layer pruning achieve comparable FPS ( 24 FPS on RPi5) but at a severe accuracy cost of -5.5 and -4.9 AUC, respectively. Our one-shot token sparsification achieves the lowest MACs (836M) and the best AUC (63.8), within 0.2 of the dense baseline, while maintaining competitive speed (22.6 FPS on RPi5). This demonstrates that spatially-guided one-shot token sparsification offers a clearly superior accuracy–efficiency trade-off compared to resolution reduction or model depth compression.
Visualization of the token sparsification process. As shown in Fig. 6, without a motion prior, raw attention scores are diffuse at early layers, causing retained tokens to scatter across irrelevant background regions. Injecting the motion prior re-ranks scores toward the predicted target location, yielding compact, target-centered retention that directly reduces wasted computation on empty positions.
Table 8: Comparison with alternative model compression strategies under the same computational budget ( 1G MACs, ViT-Tiny backbone). “ Resolution” reduces the input image size to (48,96); “ Layer” compresses the encoder into 4 layers; our method applies motion-aware token sparsification at Layer 1 with 30% retention.
| Compression Method | From | MACs (M) | LaSOT | FPS | ||||
|---|---|---|---|---|---|---|---|---|
| AUC | P | RPi5 | CPU | Nano | ||||
| Full model | - | 1752 | 64.0 | 74.2 | 68.3 | 9.1 | 37 | 94 |
| ↓ Token (Progressive) | OSTrack [54] | 1293 | 64.0 | 74.1 | 68.1 | 10.5 | 41 | 106 |
| ↓ Resolution | LoReTrack [17] | 990 | 58.5 | 67.7 | 59.4 | 23.6 | 83 | 176 |
| ↓ Layer | CompressTracker [24] | 937 | 59.1 | 68.5 | 60.1 | 24.1 | 89 | 177 |
| ↓ Token (One-shot) | Ours | 836 | 63.8 | 73.6 | 67.9 | 22.6 | 76 | 152 |

Search Region
Raw Importance
Tokens Remain
Previous Prediction
Raw Importance
Motion Window
Re-rank Importance
Tokens Remain
Fig. 6: Token sparsification visualization. Left (baseline) shows Search Region, Raw Importance, and Tokens Retained. Right (ours) shows Previous Prediction, Raw Importance, Motion Window, Re-ranked Importance, and Tokens Retained. Three tracking sequences are shown per row.
5 Conclusion
In this work, we present MaST, a sparse tracker that unifies motion-aware early token pruning with a natively sparse prediction head. Unlike prior methods that defer pruning to intermediate layers, a motion prior enables reliable one-shot reduction at the first encoder layer, letting all subsequent Transformer blocks operate on the compressed token set. A score-first, regress-once head decodes targets directly from retained tokens, eliminating dense reshape and redundant regression. Together, these designs achieve Pareto-optimal speed–accuracy trade-offs on edge platforms, showing that end-to-end sparsity is a practical path to real-time tracking. A remaining limitation is that high-resolution inputs still incur substantial attention computation before sparsification takes effect, motivating input-adaptive pruning as future work.
Q. Wei et al.
Acknowledgements
This research is supported by the Major Key Project of Pengcheng Laboratory (PCL2025A13, PCL2025A08), the National Natural Science Foundation of China (U24B20151), and the Guangdong Major Project of Basic and Applied Basic Research (2019B030302002).
References
-
Bertinetto, L., Valmadre, J., Henriques, J.F., Vedaldi, A., Torr, P.H.: Fully-convolutional siamese networks for object tracking. In: European conference on computer vision. pp. 850–865. Springer (2016)
-
Bhat, G., Danelljan, M., Gool, L.V., Timofte, R.: Learning discriminative model prediction for tracking. In: Proceedings of the IEEE/CVF International Conference on Computer Vision. pp. 6182–6191 (2019)
-
Blatter, P., Kanakis, M., Danelljan, M., Van Gool, L.: Efficient Visual Tracking with Exemplar Transformers. In: WACV. pp. 1571–1581 (2023)
-
Bolya, D., Fu, C.Y., Dai, X., Zhang, P., Feichtenhofer, C., Hoffman, J.: Token merging: Your ViT but faster. In: International Conference on Learning Representations (2023)
-
Borsuk, V., Vei, R., Kupyn, O., Martyniuk, T., Krashenyi, I., Matas, J.: FEAR: Fast, Efficient, Accurate and Robust Visual Tracker. In: ECCV. pp. 644–663 (2022)
-
Cao, Z., Fu, C., Ye, J., Li, B., Li, Y.: HiFT: Hierarchical feature transformer for aerial tracking. In: ICCV. pp. 15437–15446 (2021)
-
Cao, Z., Huang, Z., Pan, L., Zhang, S., Liu, Z., Fu, C.: Tctrack: Temporal contexts for aerial tracking. In: 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). pp. 14778–14788 (2022). https://doi.org/10.1109/CVPR52688.2022.01438
-
Chen, B., Li, P., Bai, L., Qiao, L., Shen, Q., Li, B., Gan, W., Wu, W., Ouyang, W.: Backbone is all your need: A simplified architecture for visual object tracking. In: European Conference on Computer Vision. pp. 375–392. Springer (2022)
-
Chen, X., Kang, B., Geng, W., Zhu, J., Liu, Y., Wang, D., Lu, H.: Sutrack: Towards simple and unified single object tracking. In: AAAI (2025)
-
Chen, X., Kang, B., Wang, D., Li, D., Lu, H.: Efficient Visual Tracking via Hierarchical Cross-Attention Transformer. In: ECCVW. pp. 461–477 (2022)
-
Chen, X., Yan, B., Zhu, J., Wang, D., Yang, X., Lu, H.: Transformer tracking. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. pp. 8126–8135 (2021)
-
Cui, Y., Jiang, C., Wang, L., Wu, G.: Mixformer: End-to-end tracking with iterative mixed attention. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp. 13608–13618 (2022)
-
Cui, Y., Song, T., Wu, G., Wang, L.: Mixformerv2: Efficient fully transformer tracking. In: NeurIPS. pp. 58736–58751 (2023)
-
Danelljan, M., Bhat, G., Khan, F.S., Felsberg, M.: Atom: Accurate tracking by overlap maximization. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. pp. 4660–4669 (2019)
-
Danelljan, M., Bhat, G., Shahbaz Khan, F., Felsberg, M.: Eco: Efficient convolution operators for tracking. In: Proceedings of the IEEE conference on computer vision and pattern recognition. pp. 6638–6646 (2017)
-
Danelljan, M., Gool, L.V., Timofte, R.: Probabilistic regression for visual tracking. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp. 7183–7192 (2020)
-
Dong, S., Feng, Y., Liang, J., Yang, Q., Lin, Y., Fan, H.: Efficient and accurate low-resolution transformer tracking. In: 2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). pp. 20677–20684. IEEE (2025)
-
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., Houlsby, N.: An image is worth words: Transformers for image recognition at scale. In: ICLR (2021)
-
Fan, H., Lin, L., Yang, F., Chu, P., Deng, G., Yu, S., Bai, H., Xu, Y., Liao, C., Ling, H.: Lasot: A high-quality benchmark for large-scale single object tracking. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (June 2019)
-
Gao, M., Jin, L., Jiang, Y., Guo, B.: Manifold siamese network: A novel visual tracking convnet for autonomous vehicles. IEEE Transactions on Intelligent Transportation Systems 21(4), 1612–1623 (2020)
-
Gao, S., Zhou, C., Zhang, J.: Generalized relation modeling for transformer tracking. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. pp. 18686–18695 (2023)
-
Gopal, G.Y., Amer, M.A.: Separable self and mixed attention transformers for efficient object tracking. In: Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision. pp. 6708–6717 (2024)
-
Henriques, J.F., Caseiro, R., Martins, P., Batista, J.: High-speed tracking with kernelized correlation filters. IEEE transactions on pattern analysis and machine intelligence 37(3), 583–596 (2014)
-
Hong, L., Li, J., Zhou, X., Yan, S., Guo, P., Jiang, K., Chen, Z., Gao, S., Li, R., Sheng, X., et al.: General compression framework for efficient transformer object tracking. In: Proceedings of the IEEE/CVF International Conference on Computer Vision. pp. 13427–13437 (2025)
-
Huang, L., Zhao, X., Huang, K.: Got-10k: A large high-diversity benchmark for generic object tracking in the wild. IEEE Transactions on Pattern Analysis and Machine Intelligence 43(5), 1562–1577 (2021)
-
Kang, B., Chen, X., Lai, S., Liu, Y., Liu, Y., Wang, D.: Exploring enhanced contextual information for video-level object tracking. In: Proceedings of the AAAI conference on artificial intelligence. vol. 39, pp. 4194–4202 (2025)
-
Kang, B., Chen, X., Wang, D., Peng, H., Lu, H.: Exploring lightweight hierarchical vision transformers for efficient visual tracking. In: ICCV. pp. 9612–9621 (2023)
-
Kiani Galoogahi, H., Fagg, A., Huang, C., Ramanan, D., Lucey, S.: Need for speed: A benchmark for higher frame rate object tracking. In: Proceedings of the IEEE International Conference on Computer Vision. pp. 1125–1134 (2017)
-
Li, B., Wu, W., Wang, Q., Zhang, F., Xing, J., Yan, J.: Siamrpn++: Evolution of siamese visual tracking with very deep networks. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. pp. 4282–4291 (2019)
-
Li, S., Yang, Y., Zeng, D., Wang, X.: Adaptive and background-aware vision transformer for real-time uav tracking. In: Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV). pp. 13989–14000 (October 2023)
-
Li, S., Yeung, D.Y.: Visual object tracking for unmanned aerial vehicles: A benchmark and new motion models. In: AAAI (2017)
Q. Wei et al.
-
Li, Y., Liu, M., Wu, Y., Wang, X., Yang, X., Li, S.: Learning adaptive and view-invariant vision transformer for real-time uav tracking. In: Forty-first International Conference on Machine Learning (2024)
-
Liang, Y., Ge, C., Tong, Z., Song, Y., Wang, J., Xie, P.: Not all patches are what you need: Expediting vision transformers via token reorganizations. arXiv preprint arXiv:2202.07800 (2022)
-
Lin, L., Fan, H., Zhang, Z., Wang, Y., Xu, Y., Ling, H.: Tracking meets lora: Faster training, larger model, stronger performance. In: ECCV. pp. 300–318. Springer (2024)
-
Lin, L., Fan, H., Zhang, Z., Xu, Y., Ling, H.: Swintrack: A simple and strong baseline for transformer tracking. NeurIPS 35, 16743–16754 (2022)
-
Lin, T.Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollar, P., Zitnick, L.: Microsoft coco: Common objects in context. In: ECCV (September 2014)
-
Loshchilov, I., Hutter, F.: Decoupled weight decay regularization. In: ICLR. pp. 1–9 (2018)
-
Mueller, M., Smith, N., Ghanem, B.: A benchmark and simulator for uav tracking. In: ECCV. pp. 445–461. Springer (2016)
-
Muller, M., Bibi, A., Giancola, S., Alsubaihi, S., Ghanem, B.: Trackingnet: A large-scale dataset and benchmark for object tracking in the wild. In: Proceedings of the European Conference on Computer Vision (ECCV). pp. 300–317 (2018)
-
Peng, L., Gao, J., Liu, X., Li, W., Dong, S., Zhang, Z., Fan, H., Zhang, L.: Vasttrack: Vast category visual object tracking. Advances in Neural Information Processing Systems 37, 130797–130818 (2024)
-
Rao, Y., Zhao, W., Liu, B., Lu, J., Zhou, J., Hsieh, C.J.: Dynamicvit: Efficient vision transformers with dynamic token sparsification. Advances in neural information processing systems 34, 13937–13949 (2021)
-
Robin, C., Lacroix, S.: Multi-robot target detection and tracking: taxonomy and survey. Autonomous Robots 40(4), 729–760 (2016)
-
Tang, Q., Zhang, B., Liu, J., Liu, F., Liu, Y.: Dynamic token pruning in plain vision transformers for semantic segmentation. In: ICCV. pp. 777–786 (2023), https://doi.org/10.1109/ICCV51070.2023.00078
-
Wang, G., Lin, T., Bai, Y., Cao, A., Liang, S., Zhao, W., Wei, X.: Fartrack: Fast autoregressive visual tracking with high performance. ICLR (2026)
-
Wang, S., Gao, J., Li, Z., Zhang, X., Hu, W.: A closer look at self-supervised lightweight vision transformers. In: Krause, A., Brunskill, E., Cho, K., Engelhardt, B., Sabato, S., Scarlett, J. (eds.) Proceedings of the 40th International Conference on Machine Learning. Proceedings of Machine Learning Research, vol. 202, pp. 35624–35641. PMLR (23–29 Jul 2023), https://proceedings.mlr.press/v202/wang23e.html
-
Wei, Q., Zeng, B., Liu, J., He, L., Zeng, G.: Litetrack: Layer pruning with asynchronous feature extraction for lightweight and efficient visual tracking. In: 2024 IEEE International Conference on Robotics and Automation (ICRA). pp. 4968–4975 (2024). https://doi.org/10.1109/ICRA57147.2024.10610022
-
Wei, X., Bai, Y., Zheng, Y., Shi, D., Gong, Y.: Autoregressive visual tracking. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. pp. 9697–9706 (2023)
-
Wu, Y., Wang, X., Yang, X., Liu, M., Zeng, D., Ye, H., Li, S.: Learning occlusion-robust vision transformers for real-time uav tracking. In: CVPR (2025)
-
Wu, Y., Wang, X., Zeng, D., Ye, H., Xie, X., Zhao, Q., Li, S.: Learning motion blur robust vision transformers with dynamic early exit for real-time uav tracking. arXiv preprint arXiv:2407.05383 (2024)
-
Xing, J., Ai, H., Lao, S.: Multiple human tracking based on multi-view upper-body detection and discriminative learning. In: 2010 20th International Conference on Pattern Recognition. pp. 1698–1701. IEEE (2010)
-
Yan, B., Peng, H., Fu, J., Wang, D., Lu, H.: Learning spatio-temporal transformer for visual tracking. In: Proceedings of the IEEE/CVF international conference on computer vision. pp. 10448–10457 (2021)
-
Yan, B., Peng, H., Wu, K., Wang, D., Fu, J., Lu, H.: Lighttrack: Finding lightweight neural networks for object tracking via one-shot architecture search. In: CVPR 2021 (June 2021)
-
Yao, L., Fu, C., Li, S., Zheng, G., Ye, J.: Sgdvit: Saliency-guided dynamic vision transformer for uav tracking. In: 2023 IEEE International Conference on Robotics and Automation (ICRA). pp. 3353–3359 (2023). https://doi.org/10.1109/ICRA48891.2023.10161487
-
Ye, B., Chang, H., Ma, B., Shan, S., Chen, X.: Joint feature learning and relation modeling for tracking: A one-stream framework. In: European conference on computer vision. pp. 341–357. Springer (2022)
-
Yu, H., Li, G., Zhang, W., Huang, Q., Du, D., Tian, Q., Sebe, N.: The unmanned aerial vehicle benchmark: Object detection, tracking and baseline. Int. J. Comput. Vision 128(5), 1141–1159 (May 2020). https://doi.org/10.1007/s11263-019-01266-1, https://doi.org/10.1007/s11263-019-01266-1
-
Zhang, G., Vela, P.A.: Good features to track for visual slam. In: Proceedings of the IEEE conference on computer vision and pattern recognition. pp. 1373–1382 (2015)
-
Zhao, W., Han, Y., Tang, J., Li, Z., Song, Y., Wang, K., Wang, Z., You, Y.: A stitch in time saves nine: Small vlm is a precise guidance for accelerating large vlms. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. pp. 19814–19824 (2025)
-
Zheng, J., Liang, M., Huang, S., Ning, J.: Exploring the feature extraction and relation modeling for light-weight transformer tracking. In: European Conference on Computer Vision. pp. 110–126. Springer (2025)
-
Zhu, J., Tang, H., Chen, X., Wang, X., Wang, D., Lu, H.: Two-stream beats one-stream: Asymmetric siamese network for efficient visual tracking. In: AAAI. vol. 39, pp. 10959–10967 (2025)
A Appendix
A.1 Training Details
Model Inputs. The tracker takes a pair of cropped images as input: a template patch Z and a search region patch X, both divided into non-overlapping patches. Input sizes differ across model variants (see Tab. 1): MaST-nano and MaST-tiny use a template of and a search region of , yielding 64 template tokens and 256 search tokens; MaST-small uses a larger template of and a search region of , yielding 144 template tokens and 576 search tokens. The backbone is initialized with MAE-lite [45] pre-trained weights.
Q. Wei et al.
Augmentation. Each training sample is constructed as a template-search image pair sampled from the same video sequence. Standard data augmentations are applied, including random horizontal flipping and brightness jittering. The batch size is set to 128 image pairs.
Training Pipeline. Training proceeds in two stages. In Stage 1, we train a dense base model (no token sparsification) using the full ViT-Tiny backbone at template and search resolution. We use the AdamW optimizer [37] with a weight decay of , a backbone learning rate of , and for all other parameters. Training runs for 300 epochs with 60,000 image pairs per epoch; the learning rate is decayed by a factor of 10 after epoch 240. This stage produces a single well-converged dense checkpoint shared by all variants.
In Stage 2, we fine-tune three variants from this checkpoint for 50 epochs each with sparsification enabled:
– MaST-tiny: fine-tuned directly from the Stage 1 checkpoint at the same 128/256 resolution.
– MaST-small: the position encodings are bilinearly interpolated to accommodate the larger template and search resolution, then fine-tuned.
– MaST-nano: the last 4 encoder layers are removed and the remaining 8-layer backbone is fine-tuned at 128/256 resolution.
Sparsification Warmup. Across all Stage 2 variants, token sparsification is introduced with a gradual warmup. Starting from epoch 1, the token retention rate is linearly annealed from 100% down to the target rate (30% for all variants) over the first 10 epochs, and then held constant for the remainder of Stage 2 fine-tuning.
Motion Prior During Training. At test time, the motion window is centered on the bounding box predicted in the previous frame. During training, the search region is cropped with a random spatial jitter around the ground-truth target location, so the target is approximately centered in the search patch. We therefore simply set the motion window center to the center of the search image, which naturally approximates the previous-frame prediction without requiring any additional placeholder or annotation. The motion window is enabled throughout Stage 2 (including during the sparsification warmup epochs).
A.2 Analysis of Motion Window
Tab. 9 presents an ablation study of various windowing strategies used in the proposed framework. We compare two window types (Gaussian and Cosine), evaluate the effect of incorporating cross-attention importance scores, and analyze whether dynamic window resizing (based on the width and height of the previous frame's bounding box) improves performance. Results show that combining importance scores with a Gaussian window achieves the best overall performance. The fixed windowing approach yields sub-optimal performance compared to dynamic window
Table 9: Comparison of different windowing strategies on GOT-10k val. We evaluate the impact of window type (Gaussian or Cosine), the use of importance scores, and whether the window dynamically adapts to the previous frame's bounding box size and aspect ratio.
| Window Type | Importance Score | Dynamic | AUC | P | |
|---|---|---|---|---|---|
| Gaussian | ✓ | ✓ | 79.9 | 71.7 | 91.5 |
| Gaussian | ✓ | - | 79.5 | 70.5 | 90.2 |
| Cosine | ✓ | ✓ | 79.8 | 71.1 | 91.2 |
| Cosine | ✓ | - | 79.1 | 70.2 | 89.9 |
| - | ✓ | - | 76.9 | 68.2 | 86.5 |
| Gaussian | - | ✓ | 78.2 | 69.1 | 88.1 |
sizes. The last two rows highlight that using only motion windows for sparsification performs better than using only cross-attention scores, but their combination consistently outperforms either individually. This confirms that both the spatial prior and cross-attention scores are crucial for effective token selection.
Source of the appearance importance score. We additionally compared the center template token used by MaST with max-pooling over all template tokens, following the aggregation considered in GRM [21]. Template max-pooling was slightly less accurate in our experiments and introduced an extra reduction operation with marginal latency. This is consistent with the target-centered construction of tracking templates: the center token is usually a clean foreground cue, whereas pooling over the full template can mix target evidence with background context. We therefore use the center template token as the default appearance-score source.
Table 10: Results of scaling to a ViT-Base model and increasing input resolution. Accuracy (Acc) and FPS are reported.
| Model | Input | %Tokens Retained | LaSOT AUC | GOT-10k AO | FPS (GPU) |
|---|---|---|---|---|---|
| ViT-base | 100% | 71.3 | 71.9 | 116 | |
| 30% | 69.8 | 70.2 | 215 | ||
| 100% | 72.1 | 73.3 | 51 | ||
| 30% | 70.4 | 71.5 | 104 | ||
| 20% | 68.9 | 70.6 | 119 | ||
| 10% | 67.2 | 68.4 | 126 |
Q. Wei et al.
Table 11: State-of-the-art comparison on three UAV-oriented tracking benchmarks. Methods above the double rule are traditional correlation-filter trackers; those below are deep trackers. Red and blue indicate the best and second-best results overall.
| Method | Pub. | DTB70 | UAVDT | UAV123 | Param. MACs (M) | MACs (G) | FPS | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SUC | P | SUC | P | SUC | P | RPi Nano | |||||
| HiFT [6] | ICCV'21 | 59.4 | 80.2 | 47.5 | 65.2 | 59.0 | 78.7 | 15.9 | 5.48 | 5.5 | 57 |
| TCTrack [7] | CVPR'22 | 62.2 | 81.2 | 53.0 | 72.5 | 60.5 | 80.0 | 9.7 | 8.8 | - | - |
| SGDViT [53] | ICRA'23 | 60.4 | 78.5 | 48.0 | 65.7 | 57.5 | 75.4 | 23.3 | 11.3 | - | - |
| Aba-ViTrack-DeiT [30] | ICCV'23 | 66.4 | 85.9 | 59.9 | 83.4 | 66.4 | 86.4 | 7.98 | 2.39 | 7.9 | 83 |
| SMAT [22] | WACV'24 | 63.8 | 81.9 | 58.7 | 80.8 | 64.6 | 81.8 | 3.76 | 2.49 | 7.7 | 77 |
| AVTrack-DeiT [32] | ICML'24 | 65.0 | 84.3 | 58.7 | 82.1 | 66.8 | 84.8 | 7.98 | 2.39 | 7.9 | 83 |
| ORTrack-DeiT [48] | CVPR'25 | 66.4 | 86.2 | 60.1 | 83.4 | 66.4 | 84.3 | 7.98 | 2.39 | 7.9 | 84 |
| ORTrack-D-DeiT [48] | CVPR'25 | 65.1 | 83.7 | 59.7 | 82.5 | 66.1 | 84.0 | 5.31 | 1.54 | 18.5 | 138 |
| MaST-nano | Ours | 61.8 | 79.9 | 55.1 | 75.3 | 62.9 | 82.4 | 3.85 | 0.585 | 30.1 | 230 |
| MaST-tiny | Ours | 63.3 | 81.9 | 57.5 | 77.8 | 66.6 | 86.9 | 5.63 | 0.836 | 22.6 | 152 |
| MaST-small | Ours | 66.2 | 85.6 | 63.0 | 85.9 | 66.4 | 86.2 | 5.63 | 1.82 | 7.5 | 98 |
A.3 Scaling to Larger Models
Experiments shown in Tab. 10 examine the scalability of our motion-aware sparsification by applying it to a ViT-Base tracker (LoRAT [34]) and increasing the input resolution from to . At , retention nearly doubles throughput from 116 to 215 FPS while attaining 69.8 LaSOT AUC and 70.2 GOT-10k AO. At , it more than doubles throughput from 51 to 104 FPS while attaining 70.4 AUC and 71.5 AO. These results place the sparse model in the lower accuracy range of heavier trackers and show that MaST's speedup is not tied to tiny backbones.
A.4 Additional Details on Global Box Decoding.
We explored two global localization alternatives that predict box coordinates directly from queries or tokens. Loc Tokens appends four box tokens to the encoder, following MixFormerV2 [13]; Trans. Decoder uses four queries that cross-attend to the search tokens after the encoder and then decode box coordinates. Both designs are naturally compatible with sparse tokens, but they converged much more slowly in image-pair IoU. Training for more epochs, replacing the head of a converged tracker, and teacher distillation did not resolve this optimization difficulty. Their LaSOT AUC remained at 57.9–60.1, compared with 63.8 for our local anchor-based sparse head. These attempts motivate preserving the established local anchor definition while removing only its dense implementation.
Table 12: State-of-the-art comparisons of efficient tracking on three large-scale benchmarks, grouped by computational cost. Red and blue denote the best and second-best results within each group. Gray FPS values indicate speeds below VOT realtime setting (20 FPS).
| Method | Pub. | LaSOT TrackingNet GOT-10k | Params (M) | MACs (G) | FPS | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RPi5 | M4 | 14900 | Nano | 3090 | |||||||
| KCF [23] | TPAMI'14 | 21.1 | - | 27.9 | - | - | 142 | 946 | 679 | - | |
| LightTrack [52] | CVPR'21 | 53.8 | 72.5 | 61.1 | 1.96 | 0.483 | 13.4 | 44 | 260 | 124 | 398 |
| FEAR-XS [5] | ECCV'22 | 53.5 | - | 61.9 | 6.21 | 0.532 | 19.5 | 59 | 453 | 146 | 650 |
| E.T.Track [3] | WACV'23 | 59.1 | 75.0 | - | 6.98 | 1.56 | 8.8 | 24 | 100 | 71 | 194 |
| HiT-Tiny [27] | ICCV'23 | 54.8 | 74.6 | 52.6 | 9.59 | 0.995 | 27.3 | 97 | 176 | 118 | 253 |
| HiT-Small [27] | ICCV'23 | 60.5 | 77.7 | 62.6 | 11.02 | 1.13 | 21.5 | 78 | 144 | 106 | 279 |
| HiT-Base [27] | ICCV'23 | 64.6 | 80.0 | 64.0 | 42.14 | 4.34 | 6.7 | 22 | 64 | 79 | 337 |
| FERMT [58] | ECCV'24 | 65.1 | 80.8 | 69.6 | 7.98 | 2.31 | 7.9 | 31 | 99 | 84 | 231 |
| MixformerV2-S [13] | NeurIPS'23 | 60.6 | 75.8 | 61.9 | 16.05 | 4.40 | 7.1 | 21 | 72 | 89 | 415 |
| LiteTrack-B4 [46] | ICRA'24 | 62.5 | 79.9 | 65.2 | 26.48 | 6.78 | 3.6 | 13 | 36 | 45 | 376 |
| ORTrack-D [48] | CVPR'25 | 54.6 | 73.7 | - | 3.76 | 1.54 | 18.5 | 52 | 174 | 138 | 480 |
| CompressTracker [24] | ICCV'25 | 60.4 | 78.2 | - | 21.24 | 6.38 | 3.9 | 17 | 56 | 97 | 605 |
| AsymTrack-T [59] | AAAI'25 | 60.8 | 76.2 | 62.3 | 3.05 | 0.708 | 18.1 | 60 | 186 | 99 | 308 |
| AsymTrack-S [59] | AAAI'25 | 62.8 | 77.9 | 65.5 | 3.36 | 0.806 | 15.6 | 51 | 165 | 88 | 269 |
| AsymTrack-B [59] | AAAI'25 | 64.7 | 80.0 | 67.7 | 3.36 | 1.81 | 6.2 | 25 | 79 | 57 | 265 |
| FARTrackpico [44] | ICLR'26 | 58.6 | 75.6 | 62.8 | 2.81 | 1.08 | 17.2 | 35.3 | - | 134.9 | - |
| FARTracknano [44] | ICLR'26 | 61.3 | 79.1 | 69.9 | 4.59 | 1.78 | 10.4 | 25.6 | - | 117.3 | - |
| FARTracktiny [44] | ICLR'26 | 63.2 | 80.7 | 70.6 | 6.82 | 2.65 | 6.9 | 16.1 | - | 87 | - |
| MaST-nano | Ours | 58.6 | 77.2 | 61.6 | 3.85 | 0.585 | 30.1 | 101 | 247 | 230 | 556 |
| MaST-tiny | Ours | 63.8 | 80.1 | 66.6 | 5.63 | 0.836 | 22.6 | 72 | 184 | 152 | 453 |
| MaST-small | Ours | 65.8 | 82.3 | 70.0 | 5.63 | 1.82 | 7.5 | 30 | 88 | 98 | 428 |
A.5 Comparison on UAV Benchmarks.
Tab. 11 provides a comprehensive comparison on three UAV-specific benchmarks. On UAVDT [55], MaST-small achieves the highest success (63.0) and precision (85.9), surpassing ORTrack-DeiT (60.1 / 83.4) by +2.9 / +2.5 while consuming only 1.82 G MACs versus 2.39 G; on Jetson Orin Nano, MaST-small also runs faster at 98 FPS versus 84 FPS. On UAV123 [38], MaST-tiny attains the highest precision of 86.9, outperforming Aba-ViTrack-DeiT (86.4) and AVTrack-DeiT (84.8). It also achieves the second-highest success of 66.6, all with only 0.836 G MACs. On edge devices, MaST-tiny runs at 22.6 FPS on Raspberry Pi 5 and 152 FPS on Jetson Orin Nano. On DTB70 [31], MaST-small achieves the second-highest success of 66.2 (behind the 66.4 shared by Aba-ViTrack-DeiT and ORTrack-DeiT) and a precision of 85.6, demonstrating competitive accuracy on this challenging aerial benchmark. MaST-nano is the lightest variant at 0.585 G MACs. It achieves 30.1 FPS on RPi5 and 230 FPS on Jetson Nano, the highest edge throughput among all compared methods, while maintaining solid accuracy across all three benchmarks. These results confirm that MaST's motion-aware sparse computation transfers favorably to UAV deployment scenarios, delivering a strong accuracy–efficiency trade-off on both general and edge hardware.
Q. Wei et al.
A.6 Running Latency on More Platforms
Our primary focus is on real-world deployment, particularly on edge devices where power consumption and thermal constraints are critical. High-power GPUs and desktop CPUs are convenient for offline benchmarking but rarely represent embedded or mobile deployment conditions. Critically, high throughput on powerful hardware does not imply efficiency on low-power devices. Server-grade GPUs and desktop CPUs have large L2/L3 caches and abundant on-chip SRAM. These resources hide irregular memory-access latency and keep arithmetic units saturated. Edge platforms such as Raspberry Pi 5 and Jetson Orin Nano have no such buffer. Their small caches and limited memory bandwidth penalize operations that are cache-friendly on high-end hardware but bandwidth-bound on constrained devices. This disparity is evident in Tab. 12. CompressTracker reaches 605 FPS on an RTX 3090 but only 3.9 FPS on Raspberry Pi 5, well below the VOT realtime threshold. LiteTrack-B4 similarly reaches 376 FPS on GPU but drops to 3.6 FPS on-device. MaST avoids dense operations that scale poorly on cache-limited hardware. MaST-nano and MaST-tiny sustain 30.1 and 22.6 FPS on Raspberry Pi 5 respectively, while remaining competitive or superior in accuracy.
A.7 NFS under Different Input Frame Rates
Tab. 13 compares MaST-tiny with OSTrack-Tiny under the 30 FPS and 240 FPS evaluation protocols on NFS. At 30 fps, MaST-tiny already outperforms OSTrack-Tiny by +1.1 AUC, +0.6 P , and +0.3 P. At 240 fps, the margin widens to +2.9 AUC, +4.0 P , and +4.0 P. Higher frame rates yield smaller inter-frame displacement and a clearer motion prior, allowing MaST to guide token selection more accurately than appearance-only methods.
The comparison also highlights the importance of tracker latency. From 30 to 240 fps, OSTrack-Tiny improves only marginally (+0.7 AUC), while MaST-tiny gains +2.5 AUC. A motion-aware tracker can better exploit improved temporal continuity when its inference latency is low. MaST-tiny runs at 152 FPS on Jetson Nano versus 83 FPS for OSTrack-Tiny, making high-frame-rate online tracking more practical in real deployments.
A.8 Robustness to Occlusion and Abrupt Motion
MaST does not rely on the motion prior alone. As shown by the main-paper sparsification ablation, fusing appearance attention with motion reaches 63.8 LaSOT AUC, compared with 62.6 for motion alone and 60.5 for attention alone. The Gaussian prior is a soft re-weighting, so strong off-center appearance evidence can still retain tokens outside the most likely motion region.
Fig. 7 illustrates the view-token-budget trade-off. After the bus is occluded, MaST-tiny may retain mainly the visible front of the vehicle and localize only
KCF is tested on the CPU of Jetson Orin Nano with 256 input size.
Table 13: Comparison on NFS [28] under different input frame-rate settings. We compare MaST-tiny with OSTrack-Tiny under the standard 30 FPS and 240 FPS protocols. Higher input frame rates provide a more stable motion prior, while lower tracker latency improves the ability to exploit this temporal continuity in practice. Please fill in the numeric entries.
| Method | @30 fps | @240 fps | Nano FPS | ||||
|---|---|---|---|---|---|---|---|
| AUC | P | AUC | P | ||||
| OSTrack-Tiny [54] | 65.1 | 81.2 | 78.4 | 65.8 | 81.3 | 78.5 | 83 |
| MaST-tiny | 66.2 | 81.8 | 78.7 | 68.7 | 85.3 | 82.5 | 152 |

Fig. 7: Robustness analyses. Left: per-frame IoU on the LaSOT bus-2 sequence, with representative predictions around an occlusion. Right: AUC on challenging LaSOT attributes. Under the same search factor and 256-pixel search input as FERMT, MaST-tiny is less robust to severe occlusion and fast motion; increasing the candidate field to a factor and 384-pixel input allows MaST-small to surpass FERMT while using much less computation.
its head. A larger search view gives MaST-small a wider candidate field and improves the challenging-attribute results. This suggests that long occlusion and large displacement are chiefly constrained by the local search crop and its token budget, rather than by a hard dependence on the motion center.
A.9 More Visualizations.
-
Rapid Motion Scenario. The visualization of Fig. 9 demonstrates that MaST (30% tokens with motion window) can robustly track rapidly moving objects, closely matching the performance of the full-token model (100% tokens). In contrast, a naive sparsification strategy without the motion-aware component fails completely. This clearly illustrates the crucial role of our motion-aware sparsification in handling rapid motion cases.
-
Failure Cases under Extremely Challenging Conditions. We acknowledge there exist extreme conditions, e.g., low-quality UAV footage with significant appearance ambiguity in Fig. 10, that surpass the capability of even the full-token model. Such difficulties are fundamentally challenging for existing state-of-the-art trackers, not limited to MaST. Therefore, performance degradation under these conditions stems from inherent limitations common to the tracking domain rather than from sparsification or motion-aware strategies.
Q. Wei et al.

Fig. 8: Token keep frequency on GOT-10k val. We align search crops to a common grid and accumulate binary keep/drop decisions. Warmer cells are retained more often. The product of appearance attention and the soft motion prior concentrates computation near the likely target while retaining off-center evidence.
A.10 Limitations
MaST inherits the local search region paradigm that is standard across modern one-stream and two-stream trackers. This design choice means that target loss under fast motion or prolonged occlusion remains an inherent challenge shared with the broader tracking community, rather than a problem introduced by our motion-aware sparsification. When the inter-frame displacement exceeds the search region radius, or when the target is occluded for an extended period, the tracker cannot relocate the target beyond the local window. This holds regardless of how tokens are selected within it. Looking forward, we see motion-aware sparse computation itself as a promising tool to address this limitation: by concentrating computation on a small set of informative tokens, the saved budget could be redistributed to extend the effective search area or to maintain a lightweight global context stream, enabling wider spatial coverage without increasing the overall computational cost. The retention rate is currently fixed for predictable latency. Our rate-sweep experiment shows mild adaptability from a single checkpoint; a stronger policy could vary the rate per frame using target confidence, motion uncertainty, or a device-level compute budget.

Fig. 9: Tracking a robot when it engage fast movement, leading to partially out-of-view. Sparsification without motion-aware fixing would quickly discard the features of the target, making the tracker focus on other objects in the view.

Fig. 10: Handling small objects like UAVs under extremely bad situation. With or without sparsification or motion-aware sparsification, the tracker is difficult to keep tracking the target.