UBATrack: Spatio-Temporal State Space Model for General Multi-Modal Tracking Qihua Liang, Liang Chen, Yaozong Zheng, Jian Nong, Zhiyi Mo, Bineng Zhong Abstract Multi-modal object tracking has attracted considerable attention by integrating multiple complementary inputs (e.g., thermal, depth, and event data) to achieve outstanding performance. Although current general-purpose multi-modal trackers primarily unify various modal tracking tasks (i.e., RGB-Thermal infrared, RGB-Depth or RGB-Event tracking) through prompt learning, they still overlook the effective capture of spatio-temporal cues. In this work, we introduce a novel multi-modal tracking framework based on a mamba-style state space model, termed UBATrack. Our UBATrack comprises two simple yet effective modules: a Spatio-temporal Mamba Adapter (STMA) and a Dynamic Multi-modal Feature Mixer. The former leverages Mamba’s long-sequence modeling capability to jointly model cross-modal dependencies and spatio-temporal visual cues in an adapter-tuning manner. The latter further enhances multi-modal representation capacity across multiple feature dimensions to improve tracking robustness. In this way, UBATrack eliminates the need for costly full-parameter fine-tuning, thereby improving the training efficiency of multi-modal tracking algorithms. Experiments show that UBATrack outperforms state-of-the-art methods on RGB-T, RGB-D, and RGB-E tracking benchmarks, achieving outstanding results on the LasHeR, RGBT234, RGBT210, DepthTrack, VOT-RGBD22, and VisEvent datasets. I Introduction Fig. 1: (a) These trackers [ 30 , 31 , 74 ] primarily focus on modality fusion but often overlook effective spatio-temporal cue capture across modalities. (b) These trackers [ 69 ] learn temporal history information through full fine-tuning, which increases the training burden. (c) UBATrack improves tracking performance by leveraging adapter-tuning to jointly model multi-modal spatio-temporal visual cues. Visual object tracking [ 1 , 7 , 82 ] is fundamental in computer vision and is utilized in numerous vision tasks such as visual surveillance [ 39 ] , video compression [ 34 ] , and autonomous driving [ 32 ] . It aims to continuously locate arbitrary objects in a video sequence relying solely on their initial positions. Traditional RGB tracking methods often suffer performance degradation in complex scenarios such as nighttime or occlusion, which limits their applicability in broader real-world settings. Consequently, an increasing number of researchers have begun to explore effective and low-cost ways of incorporating multi-modal cues into tracking frameworks, aiming to achieve more accurate target localization in challenging environments. In recent years, many studies [ 33 , 2 ] have focused on modality-specific tracking tasks, attempting to explore effective multi-modal fusion strategies. For instance, TBSI [ 33 ] introduces a Template-Bridged Search region Interaction module to enable cross-modal interaction, thereby improving tracking robustness in challenging scenarios. However, the reliance on modality-specific designs limits their adaptability. More recently, to effectively aggregate multi-modal cues, several researchers [ 95 , 81 ] have proposed prompt learning multi-modal tracking frameworks, as illustrated in Fig. 1 (a), which can independently handle multiple sub-tracking tasks without modifying the model architecture. For example, ViPT [ 95 ] adopts parameter-efficient tuning to learn a set of modality-relevant prompts tailored for different downstream tracking tasks. These approaches leverage prompt tuning to integrate complementary modality information into a pre-trained RGB tracking model, thus alleviating, to some extent, the scarcity of multi-modal training data. Furthermore, as shown in Fig. 1 (b), a new dual-branch symmetric tracking framework [ 30 , 31 , 74 ] has been introduced, which fully fine-tunes multi-modal information while attempting to capture spatiotemporal contextual cues. UM-ODTrack [ 94 ] , for example, proposes two novel gated perceivers that adaptively learn cross-modal representations via a gated attention mechanism. Although these efforts have led to significant improvements in tracking performance, such full fine-tuning paradigms impose substantial training overhead, making it difficult to efficiently exploit richer multi-modal spatio-temporal information. To mitigate the aforementioned challenges, we explore state space models to efficiently capture spatio-temporal contextual knowledge, thereby enabling high-performance general multi-modal tracking. Specifically, we introduce a novel multi-modal tracking framework, termed UBATrack, built upon a mamba-style state space model to unify diverse modality-specific tracking tasks, as shown in Fig. 1 (c). Our UBATrack comprises two simple yet effective modules: a Spatio-temporal Mamba Adapter (STMA) and a Dynamic Multi-modal Feature Mixer. The former leverages mamba’s long-sequence modeling capability to jointly model cross-modal dependencies and spatio-temporal visual cues in an adapter-tuning manner. The latter further enhances multi-modal representation capacity across multiple feature dimensions to improve tracking robustness. In this way, UBATrack eliminates the need for costly full-parameter fine-tuning, thereby improving the training efficiency of multi-modal tracking algorithms. Extensive experiments demonstrate that UBATrack outperforms state-of-the-art methods on RGB-T, RGB-D, and RGB-E tracking benchmarks, achieving outstanding results. Our main contributions are summarized as follows: • We introduce a new general multi-modal tracking framework based on state space models, which leverages adapter-based fine-tuning to efficiently unify multiple modality-specific tracking tasks and enhance the generalization of multi-modal tracking. • We propose a Spatio-Temporal Mamba Adapter and a Dynamic Multi-modal Feature Mixer. The former is designed to capture spatio-temporal dependencies across diverse modalities, while the latter further strengthens the unified multimodal representation to enhance the robustness of the model. • Extensive experiments on six benchmarks with various modality, including LasHeR [ 42 ] , RGBT234 [ 40 ] , RGBT210 [ 43 ] , DepthTrack [ 79 ] , VOT-RGBD22 [ 37 ] , and VisEvent [ 71 ] , show that UBATrack achieves state-of-the-art performance and robust tracking. II Related Work With the advancement of deep learning techniques [ 28 , 29 , 26 , 27 , 45 , 83 , 9 , 14 , 13 , 15 , 12 , 48 , 50 , 49 , 47 , 18 , 16 , 17 , 61 , 60 , 59 , 22 , 24 , 23 , 54 , 52 , 53 , 88 , 87 , 70 , 57 , 56 , 85 , 86 ] , visual object tracking has attracted increasing attention from the research community. According to various data modalities, visual tracking is primarily categorized into sub-learning tasks, including RGB tracking and multi-modal tracking (i.e., RGB-T/D/E tracking). II-A Multi-modal object tracking Visual object tracking aims to locate the coordinates of an object in a video sequence based on its initial positions. It includes RGB tracking [ 93 , 82 , 4 , 91 , 46 ] and multi-modal tracking [ 90 , 33 , 95 ] . RGB trackers only utilize raw RGB images for object tracking. This makes the trackers highly challenging in complex scenarios such as occlusion, low illumination, and fast movement, and they are prone to failures. This limitation prompts research into adding additional modalities to enhance performance. For example, depth cues improve the tracking ability to locate objects at different camera distances [ 79 , 75 , 65 ] . Thermal camera data helps the trackers [ 33 , 2 , 69 ] deal with challenges such as insufficient illumination, while event cameras improve the temporal perception level of the trackers [ 71 , 72 ] . In parallel, a robust multi-source framework [ 36 ] was established by synergizing blockchain metrics, social sentiment, and regulatory signals, demonstrating that effectively capturing multi-modal dependencies can significantly improve predictive power in highly uncertain environments. These trackers are limited to specific tasks and cannot adapt to multiple tasks simultaneously with a single training process. Inspired by prompt learning [ 35 ] , some works [ 95 , 30 , 31 , 74 ] achieve general tracking for multiple tasks. However, they overlook multi-modal spatio-temporal context modeling, leading to weak performance in handling target appearance variations. Recently, some single-task multi-modal trackers [ 69 , 96 , 72 ] use historical modality frames and traditional score-based template updates. This weakens the discriminative power due to poor updates and requires extra modules for spatio-temporal modeling, adding complexity. II-B Vision Mamba Currently, Vision Transformers [ 11 ] are the main backbone network due to their excellent performance in computer vision. But the quadratic complexity of attention causes huge computational overhead in downstream tasks with large spatial resolutions, deterring many researchers. To further reduce the complexity, researchers propose the State Space Model (SSM) [ 64 , 20 ] . Building on this, Gu et al. [ 19 ] propose Mamba, a new architecture with linear complexity and long-sequence modeling ability. Compared to Transformers, mamba technology [ 58 ] achieves similar performance at a lower computational cost and better preserves long-range dependencies without needing to store and process cache for K and V values. It has been widely explored in visual tasks, including detection [ 25 ] , segmentation [ 80 ] , and video understanding [ 44 ] , among others. Inspired by the capability of Mamba, we design a Spatio-Temporal Mamba Adapter for UBATrack to efficiently learn spatio-temporal representations of target instance across diverse modalities, which helps enhance the tracker’s robustness in complex scenarios. II-C Vision MLP models Recently, MLP-based vision models [ 66 , 67 ] are proposed to reduce the inductive bias further and show competitive performances with CNN-based models and ViT [ 11 ] on mainstream visual recognition tasks. S 2 -MLP [ 84 ] uses spatial shifting and channel mixing for token interaction. Cycle-MLP [ 5 ] samples local points cyclically along the channel dimension for a more informative receptive field. Hire-MLP [ 21 ] rearranges regions to mix tokens and enable cross-region communication. Strip-MLP [ 3 ] uses cascaded group and local strip mixing modules to enhance token interaction by aggregating adjacent tokens across strips. Most of these methods use static fusion, focusing on spatial locality over high-level semantics. To address this, DynaMixer [ 73 ] creates dynamic mixing matrices from token content and improves visual recognition with dimensionality reduction and multi-segment fusion. Current general-purpose multi-modal trackers lack dynamic cross-modal fusion methods and fail to effectively learn discriminative features between modalities during this process. Inspired by the above approaches, we further design a Dynamic Multi-modal Feature Mixer to adaptively enhance the discriminative capability of multi-modal features for final target localization. Fig. 2: Overview architecture of UBATrack. UBATrack freezes the encoder and performs adapter-based fine-tuning only on the proposed Spatio-Temporal Mamba Adapter (STMA) and Dynamic Multi-modal Feature Mixer (DMFM). It takes multimodal video clips as input for feature extraction, where X denotes infrared, depth, or event modalities. The learned multi-modal token features are then divided into two groups and fed into STMA to enable cross-modal interaction and spatio-temporal modeling. Finally, the RGB and X modality features are processed by DMFM to enhance their representational capacity, thereby achieving multi-modal object localization. III Approach This paper presents a novel multi-modal tracking method, UBATrack, illustrated in Fig. 2 . We first introduce the design principles of the state space model. Specifically, we design a Spatio-Temporal Mamba Adapter (STMA) that leverages Mamba’s long-sequence modeling capability to unify cross-modal interaction and spatio-temporal context learning. Subsequently, we propose a Dynamic Multi-modal Feature Mixer (DMFM) to further enhance the representational capacity of multi-modal features, thereby improving the discriminative power of the model. III-A Preliminaries Gu et al. [ 20 ] propose the Structured State Space (S4) model, addressing the high computation and memory demands of the SSM. Since then, the SSM has become a promising architecture in deep sequence modeling. The models based on the SSM originate from a continuous system. This system maps the one-dimensional sequence x(t)\in\mathbb{R}^{L} to y(t)\in\mathbb{R}^{L} through the hidden state h(t)\in\mathbb{R}^{N} . It defines the sequence-to-sequence transformation through the evolution parameter \boldsymbol{A}\in\mathbb{R}^{N\times N} and the projection parameters \boldsymbol{B}\in\mathbb{R}^{N\times 1} and \boldsymbol{C}\in\mathbb{R}^{1\times N} as follows, \displaystyle\left\{\begin{aligned} &h^{\prime}(t)=\boldsymbol{A}h(t)+\boldsymbol{B}x(t),\\ &y(t)=\boldsymbol{C}h(t).\end{aligned}\right. (1) Modern SSMs (e.g., S4 and Mamba) are discrete forms of continuous state, discretized by zero-order hold (ZOH). \displaystyle\left\{\begin{aligned} &\overline{\boldsymbol{A}}=\exp(\Delta{\boldsymbol{A}}),\\ &\overline{\boldsymbol{B}}=(\Delta{\boldsymbol{A}})^{-1}(\exp(\Delta{\boldsymbol{A}})-I)\cdot\Delta{\boldsymbol{B}}.\\ &h_{t}=\overline{\boldsymbol{A}}h_{t-1}+\overline{\boldsymbol{B}}x_{t},\\ &y_{t}={\boldsymbol{C}}h_{t}.\end{aligned}\right. (2) The timescale parameter \Delta is introduced, with h_{t} and h_{t-1} representing discrete hidden states at different time steps. \overline{\boldsymbol{A}} and \overline{\boldsymbol{B}} are the discrete versions of parameters \boldsymbol{A} and \boldsymbol{B} . Mamba differs from previous time-invariant SSMs by incorporating the selective scan mechanism (S6), providing time-varying and context-aware features. The SSM parameters {\boldsymbol{B}}\in\mathbb{R}^{B\times L\times N} , {\boldsymbol{C}}\in\mathbb{R}^{B\times L\times N} , and \Delta\in\mathbb{R}^{B\times L\times D} are parameterized using linear projection on input x\in\mathbb{R}^{B\times L\times D} . III-B Overview As shown in Fig 2 , our UBATrack adopts a two-stream encoder structure with shared parameters for RGB-D, RGB-T, and RGB-E tracking. It consists of a Spatio-Temporal Mamba Adapter (STMA), a Dynamic Multi-modal Feature Mixer, and a prediction head. Specifically, UBATrack encodes the search and template frames of RGB, depth, infrared, and event modalities into image patches respectively. The search and template tokens of each modality are concatenated to form the RGB token x_{0}^{V} and the token of other modalities x_{0}^{X} . These tokens are input into the ViT module for feature extraction. As STMA (denoted as \mathcal{F}_{i}^{\text{STMA}} ) is embedded in some intermediate layers for modal interaction. If on the i -th layer, it applies a cross-combination of the previous ViT layer’s output to regroup tokens into x_{i}^{z} and x_{i}^{s} . For them, STMA then performs unified modeling of cross-modal feature interaction and spatio-temporal cues, as described below. \displaystyle\left\{\begin{aligned} &\hat{x}_{i}^{z}=\mathcal{F}_{i}^{\text{STMA}}(x_{i}^{z}),\\ &\hat{x}_{i}^{s}=\mathcal{F}_{i}^{\text{STMA}}(x_{i}^{s}),&i\in{2k\mid k\in\mathbb{N},1\leqslant k\leqslant 6},\end{aligned}\right. (3) where \hat{x}_{i}^{z} and \hat{x}_{i}^{s} represent the template and search features modeled by STMA, respectively. They are then recombined by modality into \hat{x}_{i}^{V} and \hat{x}_{i}^{X} for the next ViT layer. After all ViT layers and STMA blocks are done, we concatenate the search tokens of each modality along the channel dimension and input them into the Dynamic Multi-modal Feature Mixer module (denoted as \mathcal{F}^{\text{DMFM}} ) to get the final fusion feature token. The prediction head H then predicts tracking result B based on the output of the proposed mixer. \displaystyle B=H(\mathcal{F}^{\text{DMFM}}(\hat{x}_{\text{N}}^{s})), \displaystyle\text{N}=12. (4) Fig. 3: Spatio-Temporal Mamba Adapter (STMA) combines cross-modal interactions and spatio-temporal cues for multi-modal tracking. It uses Mamba blocks for token modeling and MultiFFT for channel mixing. MultiFFT, composed of EMM, FFT and IFFT, to boost multi-modal feature extraction. III-C Spatio-Temporal Mamba Adapter We propose a simple and effective Spatio-Temporal Mamba Adapter (STMA) module for unified multi-modal tracking. The spatio-temporal mamba adapter plays a central role in unifying diverse modalities into a common representation, improving the efficiency and robustness of multi-modal fusion. It enables the combined modeling of cross-modal feature interactions and spatio-temporal cues. As shown in Fig. 3 , STMA includes Mamba blocks, MultiFFT, normalization, and dropout to enhance the tracker’s ability to learn discriminative cross-modal features. it uses Mamba for multi-modal token modeling and MultiFFT for channel modeling. The simplified architectural details are as follows: \displaystyle\left\{\begin{aligned} &\overline{x}_{i}=\text{DP}(\mathcal{F}^{\text{MBA}}(\text{Norm}(x_{i})))+x_{i},\\ &\hat{x}_{i}=\text{DP}(\mathcal{F}^{\text{MFFT}}(\text{Norm}(\overline{x}_{i})))+\overline{x}_{i}.\end{aligned}\right. (5) Here, \mathcal{F}^{\text{MBA}} is Mamba block, i is the number of layers, DP refers to dropout, and Norm represents the normalization layer. The process normalizes the input x_{i} , applies the Mamba block, and performs a residual connection and dropout. Then, the output feature \overline{x}_{i} is normalized and processed with MultiFFT (denoted as \mathcal{F}^{\text{MFFT}} ) for frequency domain mixing. Finally, another dropout occurs, and the feature is added to the previous state. This structure applies to the i -th layer, with details as follows. The Mamba block models the input multi-modal sequence with linear complexity, improving the model’s ability to learn complex cross-modal features and spatio-temporal context. The normalization layer (Norm) enhances stability and convergence during training. MultiFFT uses Einstein matrix multiplication (EMM), an efficient feature channel mixing operation that boosts computation and feature extraction. It mixes channels of tokens modeled by Mamba, enhancing global visibility and energy concentration in complex multi-modal data. Below are the details of how MultiFFT processes \overline{x}_{i} at i -th layer. Fig. 4: Dynamic Multi-modal Feature Mixer fuses cross-modal features using a Mixer Layer, Global Average Pooling, and Channel-MLP. The Mixer Layer combines token and channel information, while MMixOp enhances feature fusion. \displaystyle\left\{\begin{aligned} &(\overline{x}_{i,R},\overline{x}_{i,M})=\text{FFT}(\overline{x}_{i}),\\ &(\widetilde{x}_{i,R},\widetilde{x}_{i,M})=\text{EMM}\left((\overline{x}_{i,R},\overline{x}_{i,M}),\mathcal{W},\mathcal{B}\right),\\ &{y}_{i}=({y}_{i,R},{y}_{i,M})=\sigma(\widetilde{x}_{i,R},\widetilde{x}_{i,M}),\\ &(\hat{x}_{i,R},\hat{x}_{i,M})=\text{EMM}\left({y}_{i},\mathcal{W},\mathcal{B}\right),\\ &\hat{x}_{i}=\text{IFFT}(\hat{x}_{i,R},\hat{x}_{i,M}).\end{aligned}\right. (6) Here, the Fast Fourier Transform (FFT) and Inverse Fast Fourier Transform (IFFT) work along the channel dimension. The FFT transforms the input from the physical domain to the frequency domain, while IFFT does the opposite. MultiFFT first applies FFT to \overline{x}_{i} , producing (\overline{x}_{i,R},\overline{x}_{i,M}) . It then uses Einstein Matrix Multiplication (EMM) to reduce complexity and optimizes tokens with the sigmoid function \sigma . Finally, the output \hat{x}_{i} is obtained via IFFT. In EMM, \mathcal{W}\in\mathbb{R}^{C_{b}\times C_{d}\times C_{d}} is the complex weight matrix, \mathcal{B} is the bias, and \mathcal{W}=\mathcal{W}_{R}+\mathcal{W}_{M} . Through the proposed spatio-temporal mamba adapter, we inject multi-modal information (including infrared, depth, and event modalities) and temporal contextual cues into the model, thereby enhancing its cross-modal complementary perception and improving its sensitivity to temporal cues. This design facilitates more accurate target localization and tracking across diverse multi-modal scenarios (see Fig. 6 and Fig. 7 ). III-D Dynamic Multi-modal Feature Mixer The Dynamic Multi-modal Feature Mixer (DMFM) consists of a Mixer Layer, Global Average Pooling (GAP), and Channel-MLP. It performs multi-stage fusion and dimensionality reduction to enhance the discriminative power of cross-modal target information. As shown in Fig. 4 , DMFM takes the input \hat{x}_{\text{N}}^{s} from the encoders, passes it through the Mixer Layer to generate output tokens b , and then applies Global Average Pooling. The details of DMFM are as follows. \displaystyle\begin{aligned} &\hat{b}=\mathcal{F}^{\text{DMFM}}(\hat{x}_{\text{N}}^{s})=\text{GAP}(\mathcal{F}^{\text{Mix}}(\hat{x}_{\text{N}}^{s})).\\ \end{aligned} (7) The Mixer Layer (denoted as \mathcal{F}^{\text{Mix}} ) effectively combines token and channel information to enhance the model’s ability to learn cross-modal features. It consists of two key components: the MultiMixer Block ( \mathcal{F}^{\text{MixB}} ) and the Channel-MLP Block ( \mathcal{F}^{\text{CMLP}} ). The details of \mathcal{F}^{\text{Mix}} are as follows. \displaystyle\left\{\begin{aligned} &s=\mathcal{F}^{\text{MixB}}(\text{Norm}(\hat{x}_{\text{N}}^{s}))+\hat{x}_{\text{N}}^{s},\\ &b=\mathcal{F}^{\text{CMLP}}(\text{Norm}(s))+s.\end{aligned}\right. (8) The MultiMixer Block uses the MultiMixer Operation (MMixOp). It performs column and row mixing (using MMixOp to generate dynamic matrices for multi-modal token fusion) and channel mixing (through linear transformation). This results in s_{w} , s_{h} , and s_{c} , which are summed and linearly transformed with \psi to produce the final output: \displaystyle s=\psi(s_{w}+s_{h}+s_{c}). (9) This process effectively fuses multi-modal token information, with MMixOp providing the core dynamic mixing capability. Specifically, MMixOp divides the features into segments, reduces the dimensionality of each segment, and computes its mixing matrix. It then mixes these results to obtain s_{w} , s_{h} , and s_{c} , which are combined via \psi to form the final output. It reduces computational complexity and enhances the model’s adaptability to multi-modal features. The Channel-MLP Block is a feed-forward layer, like in transformer, that fuses channel information to improve the model’s handling of multi-modal data. III-E Update, Prediction head and Loss function Update . Unlike methods that retrain classifiers for foreground quality [ 78 ] or use complex thresholding strategies [ 69 ] , we apply a simple and effective template update strategy. Similar to ODTrack [ 92 ] , the template index is determined using the formula: \displaystyle\left\{\begin{aligned} &\{0\}\cup\{i\cdot T+\left\lfloor\frac{T}{2}\right\rfloor\mid i\in\{0,1,\ldots,M-1\}\},&\text{if }M>1\\ &\{0\},&\text{if }M=1\end{aligned}\right. (10) Where T=\left\lfloor\frac{C_{i}}{M}\right\rfloor denotes the average memory duration of each template. {C_{i}} is the current frame index. This formulation determines that, during the inference phase of the entire video sequence, online template frames are sampled at uniform time intervals, effectively preserving important target contextual cues from both the initial and online templates, and facilitating long-term cross-frame contextual integration. Prediction head . For prediction head network design, we utilize traditional classification and bounding box regression heads. The classification score map \mathbb{R}^{1\times\frac{H_{s}}{p}\times\frac{W_{s}}{p}} , bounding box size \mathbb{R}^{2\times\frac{H_{s}}{p}\times\frac{W_{s}}{p}} , and offset size \mathbb{R}^{2\times\frac{H_{s}}{p}\times\frac{W_{s}}{p}} are derived from three sub-convolutional networks. Loss function . We use focal loss [ 63 ] as L_{cls} , L_{1} loss and GIoU loss [ 62 ] for regression. Total loss L is: \displaystyle L=L_{cls}+\lambda_{1}L_{1}+\lambda_{2}L_{GIoU}. (11) Using \lambda_{1}=5 and \lambda_{2}=2 as regularization parameters. For video segment modeling, each frame’s task loss is independent, with the final loss averaged over all search frames. TABLE I: Performance comparisons with state-of-the-art trackers on RGB-T tracking. The top three results are shown in red , blue , and green , respectively. Method LasHeR [ 42 ] RGBT234 [ 40 ] RGBT210 [ 43 ] SR PR NPR MSR MPR MSR MPR UBATrack-384 60.1 76.0 72.2 70.1 92.6 67.9 91.2 UBATrack-256 58.2 73.5 69.9 68.6 90.8 66.2 89.6 OneTracker [ 30 ] 53.8 67.2 - 64.2 85.7 - - SDSTrack [ 31 ] 53.1 66.5 - 62.5 84.8 - - Un-Track [ 74 ] 51.3 63.7 60.0 62.5 84.2 - - TATrack [ 69 ] 56.1 70.2 66.7 64.4 87.2 61.8 85.3 BAT [ 2 ] 56.3 70.2 66.4 64.1 86.8 - - GMMT [ 65 ] 56.6 70.7 67.0 64.7 87.9 - - TBSI [ 33 ] 56.3 70.5 66.6 64.3 86.4 62.5 85.3 ViPT [ 95 ] 52.5 65.1 61.7 61.7 83.5 59.2 81.3 OSTrack [ 82 ] 41.2 51.5 - 54.9 72.9 - - APFNet [ 76 ] 36.2 50.0 43.9 57.9 82.7 - - ProTrack [ 81 ] 53.8 42.0 49.8 59.9 79.5 - - DMCNet [ 51 ] 35.5 49.0 43.1 59.3 83.9 55.5 79.7 FANet [ 97 ] 30.9 44.1 38.4 55.3 78.7 - - CAT [ 41 ] 31.4 45.0 39.5 56.1 80.4 53.3 79.2 mfDiMP [ 89 ] 34.3 44.7 39.5 42.8 64.6 55.5 78.6 TABLE II: Performance comparisons with state-of-the-art trackers on RGB-D tracking. The top three results are shown in red , blue , and green , respectively. Method DepthTrack [ 79 ] VOT-RGBD22 [ 37 ] F-score Re Pr EAO Acc. Rob. UBATrack-384 67.3 66.9 67.7 77.8 82.5 93.7 UBATrack-256 63.5 63.7 63.3 77.2 81.4 93.2 OneTracker [ 30 ] 60.9 60.4 60.7 72.7 81.9 87.2 SDSTrack [ 31 ] 61.4 60.9 61.9 72.8 81.2 88.3 Un-Track [ 74 ] 61.0 60.8 61.1 72.1 82.0 86.9 ViPT [ 95 ] 59.4 59.6 59.2 72.1 81.5 87.1 ProTrack [ 81 ] 57.8 57.3 58.3 65.1 80.1 80.2 SPT [ 96 ] 53.8 54.9 52.7 65.1 79.8 85.1 SBT-RGBD [ 77 ] - - - 70.8 80.9 86.4 OSTrack [ 82 ] 52.9 52.2 53.6 67.6 80.3 83.3 DeT [ 79 ] 53.2 50.6 56.0 65.7 76.0 84.5 DMTrack [ 37 ] - - - 65.8 75.8 85.1 DDiMP [ 38 ] 48.5 56.9 50.3 - - - STARK-RGBD [ 78 ] - - - 64.7 80.3 79.8 KeepTrack [ 55 ] - - - 60.6 75.3 79.7 ATCAIS [ 38 ] 47.6 45.5 50.0 55.9 76.1 73.9 LTMU-B [ 8 ] 46.0 41.7 51.2 - - - Siam-LTD [ 38 ] 37.6 34.2 41.8 - - - TABLE III: Performance comparisons with state-of-the-art trackers on RGB-E tracking. The top three results are shown in red , blue , and green , respectively. STARK_E PrDiMP_E LTMU_E TransT_E SiamRCNN_E OSTrack ProTrack ViPT Un-Track SDSTrack OneTracker UBATrack UBATrack [ 78 ] [ 10 ] [ 8 ] [ 6 ] [ 68 ] [ 82 ] [ 81 ] [ 95 ] [ 74 ] [ 31 ] [ 30 ] -256 -384 MPR 61.2 64.4 65.5 65.0 65.9 69.5 63.2 75.8 75.5 76.7 76.7 77.3 79.7 MSR 44.6 45.3 45.9 47.4 49.9 53.4 47.1 59.2 58.9 59.7 60.8 60.4 62.7 TABLE IV: Comparison of performance, model parameters, and inference speed on LasHeR. Method Success Learnable Parameters (M) Speed (FPS) Device UBATrack-256 58.2 11.9 32.5 V100 UBATrack-384 60.1 11.9 18.4 V100 SDStrack [ 31 ] 53.1 14.8 17.9 V100 UnTrack [ 74 ] 51.3 6.2 19.5 V100 IV Experiments IV-A Implementation Details Model Variants . Two variants of UBATrack with diverse configurations are trained by us as follows. UBATrack-256 has the template size [128×128] and search region size [256×256]; UBATrack-384 has the template size [192×192] and search region size [384×384]. Training . We propose UBATrack, which handles multiple modality combinations in a single training phase. Using OSTrack [ 82 ] as the foundation tracker, UBATrack-256 and UBATrack-384 are trained on PyTorch with batch sizes of 16 and 8, respectively, using 4 NVIDIA RTX A800 GPUs. Input data consists of three reference frames and two search frames. During training, we freeze all foundation tracker parameters, fine-tuning only the Spatio-Temporal Mamba Adapter and the Dynamic Multi-modal Feature Mixer. We sample from LasHeR [ 42 ] , DepthTrack [ 79 ] , and VisEvent [ 71 ] datasets at a 1:1:1 ratio for 15 epochs, with each epoch containing 60k image pairs. The training follows the foundation tracker’s loss function parameters, using the AdamW optimizer with weight decay of 1e-4 and an initial learning rate of 2\times 1e-4 , which decays by a factor of 10 after 10 epochs. Inference . For consistency with training settings, we use three equally spaced reference frames in inference. Search frames are input frame by frame. Fig. 5: Precision scores of different attributes on the LasHeR [ 42 ] and VisEvent [ 71 ] dataset. IV-B Comparison with State-of-the-Arts LasHeR . LasHeR [ 42 ] is currently the largest RGB-T tracking dataset with precise annotation and alignment. As illustrated in Tab. I , UBATrack-256 outperforms all previous SOTA trackers. It attains the leading performance with precision and success rates of 73.5% and 58.2% respectively. Notably, the UBATrack-384’s precision exceeds the previous optimal result by 4.4%. RGBT234 . The RGBT234 [ 40 ] dataset comprises 234 sequences and approximately 116.7K frames. MSR and MPR are utilized for performance evaluation. As shown in Tab. I , UBATrack-256 achieves 90.8% MPR and 68.6% MSR, surpassing the MPR and MSR scores of the existing SOTA GMMT [ 65 ] by 3.9% and 2.9%, respectively. Additionally, UBATrack-384 outperforms UBATrack-256 by 1.8% and 1.5% on the same metrics. RGBT210 . The RGBT210 [ 43 ] dataset comprises 210 sequences with approximately 104.8K frames. In Tab. I , UBATrack-384 achieves the best performance in terms of MPR and MSR metrics on this dataset, which are 91.2% and 67.9% respectively. The UBATrack-256 also surpasses the MPR and MSR scores of the existing SOTA TBSI [ 33 ] by 3.7% and 4.3%, respectively. TABLE V: Ablation studies of each component in UBATrack. Variants Method LasHeR [ 42 ] VisEvent [ 71 ] DepthTrack [ 79 ] DMFM STMA SR PR NPR MSR MPR F-score Re Pr Baseline 52.5 66.0 62.1 57.6 75.1 55.9 55.9 55.9 I \checkmark 54.3 68.9 65.0 58.3 75.7 59.9 59.4 60.5 II \checkmark 57.5 72.3 69.0 60.4 76.9 61.5 61.8 61.2 III \checkmark \checkmark 58.2 73.5 69.9 60.4 77.3 63.5 63.7 63.3 TABLE VI: Ablation studies on the Spatio-Temporal Mamba Adapter and other modal interaction methods. Variants # Params LasHeR [ 42 ] VisEvent [ 71 ] DepthTrack [ 79 ] SR PR NPR MSR MPR F-score Re Pr Baseline - 52.5 66.0 62.1 57.6 75.1 55.9 55.9 55.9 Attention-based 42.527M 57.1 71.3 68.3 59.1 76.2 61.1 61.5 60.8 Mamba-based 0.016M 56.2 71.2 67.6 59.8 76.6 58.4 58.3 58.6 Mamba with MLP 42.794M 56.2 71.0 67.5 58.1 75.6 61.1 61.6 60.6 Mamba with MultiFFT 0.018M 57.5 72.3 69.0 60.4 76.9 61.5 61.8 61.2 DepthTrack . DepthTrack [ 79 ] serves as a comprehensive RGBD tracking benchmark, featuring 150 training and 50 testing sequences and evaluation metrics such as precision (Pr), recall (Re), and F-score. As shown in Tab. II , UBATrack-256 surpasses the precision, recall and F-score of the existing SOTA tracker’s SDSTrack [ 31 ] by 1.4%, 2.8% and 2.1%, respectively. UBATrack-384 achieves new SOTA performance, in terms of Pr, Re and F-score on this dataset, which are 67.7%, 66.9% and 67.3% respectively. VOT-RGBD2022 . VOT-RGBD2022 [ 37 ] is the recent dataset in RGB-D tracking, consisting of 127 short-term RGB-D sequences. Performance is evaluated by Accuracy, Robustness, and Expected Average Overlap (EAO), with EAO as the main metric. In Tab. II , our UBATrack models outperform all previous RGB+Depth tracking methods. UBATrack-384 achieves the highest EAO score of 77.8%. VisEvent . VisEvent [ 71 ] represents the largest dataset dedicated to RGB-E tracking. It comprises 500 pairs of videos for training and 320 pairs for testing. In Tab. III , UBATrack-256 surpasses the MPR scores of the existing SOTA OneTracker [ 30 ] by 0.6%. UBATrack-384 establishes the best MPR score of 79.7%, outperforming the OneTracker by 3%. Fig. 6: Qualitative comparison of UBATrack with other trackers using LasHeR [ 42 ] , VisEvent [ 71 ] and DepthTrack [ 79 ] dataset. TABLE VII: Ablation studies on the the number of STMA Blocks. Number # Params LasHeR [ 42 ] VisEvent [ 71 ] DepthTrack [ 79 ] FPS SR PR NPR MSR MPR F-score Re Pr 0 - 54.3 68.9 65.0 58.3 75.7 59.9 59.4 60.5 40.3 1 0.003M 56.7 71.6 68.0 59.8 76.8 61.3 61.4 61.1 37.1 2 0.006M 57.2 72.4 68.7 60.2 77.1 61.1 61.2 61.0 34.0 4 0.012M 57.8 73.1 69.5 60.1 77.0 61.9 61.8 61.9 29.6 6 0.018M 58.2 73.5 69.9 60.4 77.3 63.5 63.7 63.3 26.5 12 0.034M 57.5 72.5 69.1 60.1 77.0 58.5 58.2 58.8 18.4 IV-C Exploration Study Component Analysis . To analyze the effectiveness of UBATrack’s components, we create four ablation variants in Tab. V . The Baseline uses an RGB tracker [ 82 ] as the foundation. The I adds the DMFM module to Baseline. The II adds the STMA module to Baseline. The III is UBATrack-256 itself. Results in Tab. V (on the tri-modal dataset) show: (a) Comparing Baseline and the I, the I improves performance, indicating DMFM helps learn better fused search region features. (b) The II significantly outperforms Baseline, confirming STMA’s effectiveness. (c) Combining DMFM and STMA in the III surpasses all other variants, demonstrating each component’s effectiveness and their combined impact on performance. Fig. 7: Attention maps of the search regions in the RGB and other modalities for the baseline tracker (in Tab. V ) and UBATrack are visualized from the RGB234 [ 40 ] , VisEvent [ 71 ] and DepthTrack [ 79 ] dataset. The figure includes: (I) Original frames with highlighted tracked objects. (II) Attention maps in the baseline tracker. (III) Attention maps in UBATrack. TABLE VIII: Ablation studies on the Dynamic Multi-modal Feature Mixer. Variants LasHeR [ 42 ] VisEvent [ 71 ] DepthTrack [ 79 ] SR PR NPR MSR MPR F-score Re Pr Baseline 52.5 66.0 62.1 57.6 75.1 55.9 55.9 55.9 add conv 53.0 66.7 63.2 57.3 75.0 57.5 57.5 57.5 add MLP 52.4 65.9 62.2 57.7 75.1 59.6 59.3 59.9 add Attention 52.2 67.5 63.7 57.8 75.8 57.9 57.9 57.9 add DMFM 54.3 68.9 65.0 58.3 75.7 59.9 59.4 60.5 Analysis of the STMA . Spatio-Temporal Mamba Adapter (STMA) unifies cross-modal data interaction and spatio-temporal cue modeling. We design experiments to prove STMA’s effectiveness and discuss the relationship between STMA’s number of layers and efficiency. To verify STMA’s effectiveness, we conducted experiments in Tab. VI . Starting from the baseline, we develop four cross-modal interaction variants: (I) Attention-based, (II) Mamba-based, (III) Mamba with MLP, and (IV) Mamba with MultiFFT. Comparing I and IV reveals that IV achieves higher performance with fewer parameters, highlighting STMA’s advantage over attention. To assess MultiFFT’s effect, we compared II vs. IV and III vs. IV. These comparisons confirm that MultiFFT greatly enhances Mamba’s tracking performance while adding minimal parameters. To analyze the impact of STMA layer count on efficiency, we conduct experiments shown in Tab. VII . We create six UBATrack variants, each with a different number of STMA layers. Results show that increasing STMA layers improves performance, but also adds parameters and slows down speed. Optimal performance and a balance between speed and accuracy are achieved at six layers. Analysis of DMFM . To demonstrate the effectiveness of our Dynamic Multi-modal Feature Mixer (DMFM) for final multi-modal feature fusion in tracking, we conduct experiments based on the Baseline in Tab. VIII . We design four variants using convolution, MLP, attention and DMFM to explore different fusion methods. Comparing results across these four variants in three modalities, DMFM shows the best performance. Compared to the other three methods, DMFM consistently performs best across modalities, proving to be a more stable and effective fusion method for multi-modal features. IV-D Visualization and Speed Analysis Visualization Analysis . To demonstrate the effectiveness of the proposed multi-modal tracking algorithm UBATrack in real-world scenarios, we conduct comprehensive visualization analyses of tracking tasks involving infrared, depth, and event modalities. We compare UBATrack with three state-of-the-art RGB-T trackers on six sequences from the LasHeR [ 42 ] , VisEvent [ 71 ] , and DepthTrack [ 79 ] datasets, as shown in Fig. 6 . Benefiting from the proposed spatio-temporal mamba adapter and dynamic multi-modal feature mixer, the proposed UBATrack demonstrates superior cross-modal complementary perception compared with other RGB-E, RGB-D, and RGB-T trackers UnTrack [ 74 ] , SDSTrack [ 31 ] , and ViPT [ 95 ] . These results highlight UBATrack’s superior target identification capabilities. Additionally, Fig. 5 shows UBATrack consistently outperforms other trackers across all attributes on LasHeR [ 42 ] and VisEvent [ 71 ] , confirming its effectiveness and adaptability under various challenging attributes. Finally, in Fig. 7 , we also visualize attention maps on these three dataset, comparing the baseline (in Tab. V ) and UBATrack. The comparison reveals UBATrack’s ability to focus attention more precisely on target objects, demonstrating stronger discriminative capabilities. Speed Analysis . We comprehensively evaluate the efficiency of our model on an NVIDIA V100 GPU, considering module parameters, module computational complexity, and model inference speed to verify its advantages in modeling complexity. As shown in Tab. IV , SDSTrack adopts a symmetric multi-modal adapter with 9.47M parameters to integrate visible, infrared, depth, or event features. In comparison, our UBATrack achieves a significant reduction in the learnable parameters. Specifically, the proposed spatio-temporal mamba adapter and dynamic multi-modal feature mixer are both simple and effective, containing only 11.9M parameters, yielding a 2.9M reduction compared to SDSTrack. Benefiting from these advantages, UBATrack-256 achieves 32.5 FPS in multi-modal tracking. V Conclusion This paper has proposed a unified multi-modal tracking framework, UBATrack, which is designed to efficiently capture spatio-temporal dependencies across modalities. Inspired by Mamba’s linear complexity and long-sequence modeling, we have introduced the Spatio-Temporal Mamba Adapter (STMA), which unifies cross-modal interaction and spatio-temporal modeling. Additionally, we have proposed a Dynamic Multi-modal Feature Mixer that has focused more on high-level semantic information during final feature fusion for more effective integration. Experiments on various modal tracking benchmarks have shown that UBATrack has achieved state-of-the-art performance.