arXiv:2609.07070cs.CVSep 2026

Manuscript Offprint

arXiv:2609.07070

Continuous Token-Level Spatio-Temporal Context Modeling for Visual Object Tracking

Ding Xia, Meiqin Liu, Jing Zhou, Jian Lan

Ding Xia 1^{1}, Meiqin Liu 1,2^{1,2}, Jing Zhou 2^{2}, Jian Lan 3^{3}

Abstract—Spatio-temporal context has become increasingly crucial for visual tracking. However, most existing approaches extract spatio-temporal cues via discrete sampling strategies, which inherently deviate from the continuity of spatio-temporal context, thereby deteriorating tracking performance. To address this challenge, we propose TLCTrack, a novel tracking framework that models token-level spatio-temporal context through continuously updated salient tokens, enabling more accurate target representation. Specifically, TLCTrack incorporates three components: Masked Unidirectional Attention (MUA), Spatial Salient Token Collection (SSTC), and Temporal Salient Token Bank (TSTB) modules. By explicitly integrating spatio-temporal context, MUA extracts discriminative target-aware spatial features in the search region. To avoid the negative impact of background on feature learning, SSTC progressively suppresses background interference, thereby enhancing target spatial representation. Finally, TSTB captures high-quality spatio-temporal information through continuous salient token updates. Extensive experiments on five benchmarks demonstrate that our method achieves superior performance over state-of-the-art trackers. Code and models are available at https://github.com/xiading123/TLCTrack.

I. INTRODUCTION

Visual tracking aims to estimate the trajectory of a target object throughout a video sequence given its initial state, presenting a significant challenge in computer vision [1]–[3]. Traditional trackers [1]–[5] typically employ the divide-and-conquer strategy, decomposing the tracking pipeline into two stages: feature extraction and relation modeling. Recent advancements [6], [7] have introduced a one-stream framework based on Vision Transformer (ViT) [8], which unifies two stages into a single transformer architecture. This paradigm is favored for its powerful feature learning capability.

Despite their success, the one-stream framework still faces significant challenges in spatio-temporal context modeling. As shown in Fig. 1(a), most existing one-stream methods [6], [7] formulate visual tracking as an offline learning problem and rely on appearance modeling from template-search pairs. This approach hinders target relation modeling across search frames and fails to capture spatio-temporal context, thereby limiting tracking performance.

To overcome this limitation, recent methods [9]–[14] have attempted to leverage spatio-temporal context. These meth-

Figure

Fig. 1. Comparison of different tracking pipelines. (a): Offline learning. (b)-(c): Sampling-based discrete update strategies. (d): Token-level continuous update strategy.

ods can be broadly categorized into two paradigms: feature update and template update. As shown in Fig. 1(b), the feature update methods [9]–[11] refine tracking by updating state or motion feature over time. In contrast, as shown in Fig. 1(c), the template update methods [12]–[14] capture target appearance variations and establish sparse spatio-temporal context by maintaining online templates, thereby introducing temporal cues. However, both paradigms fundamentally rely on sampling-based discrete update strategies. This coarse discrete pipeline fails to capture continuous spatio-temporal context and incurs significant computational burden. These limitations naturally raise the following question: How to design a tracker that leverages token-level refined features to adaptively model evolving spatio-temporal context in a continuous manner?

To address the question, we propose TLCTrack, a novel tracking framework that models token-level spatio-temporal context using salient tokens that store high-quality target information. As shown in Fig. 1(d), TLCTrack continuously collects and updates salient tokens across the video sequence, enabling progressive token-level refinement. In contrast to existing sampling-based methods, this continuous updating mechanism facilitates more effective spatio-temporal context modeling. As shown in Fig. 2, the attention visualization

∗^{*}This work is supported by the National Key R&D Program of China under Grant 2024YFB4710600 and the National Natural Science Foundation of China under Grant U23B200653 (Corresponding author: Meiqin Liu).

1^{1}State Key Laboratory of Human-Machine Hybrid Augmented Intelligence, Xi'an Jiaotong University, Xi'an 710049, China.

2^{2}College of Electrical Engineering, Zhejiang University, Hangzhou 310027, China.

3^{3}School of Electronics and Information Engineering, Xi'an Jiaotong University, Xi'an 710049, China.

Figure

Fig. 2. Comparison of the response between OSTTrack and TLCTrack. TLCTrack consistently focuses on target-relevant region. (a)-(b): Search results with predicted boxes and template image (in the top-left corner). (c): Attention maps of OSTTrack at time t. (d): Attention maps of TLCTrack at time t.

demonstrates that TLCTrack consistently focuses on target-relevant regions, leading to better tracking performance compared to OSTTrack [6]. Specifically, we design three core components: the Masked Unidirectional Attention (MUA), the Spatial Salient Token Collection (SSTC), and the Temporal Salient Token Bank (TSTB) modules. To accurately aggregate target-aware spatial features in the search region, we introduce MUA to integrate spatio-temporal context of salient tokens into target features. Meanwhile, to enhance the quality of target spatial representations, SSTC is used to eliminate noisy background regions to avoid their negative impact on feature learning. Furthermore, to store high-quality spatio-temporal information, TSTB is employed to update salient tokens and filter out invalid temporal features.

The main contributions of this work are three-fold: (1) We propose TLCTrack, a tracking framework that models continuous token-level spatio-temporal context. Through the proposed TSTB and SSTC modules, TLCTrack effectively captures high-quality spatio-temporal information and constructs robust target representations. (2) We design MUA to integrate target spatio-temporal context for extracting discriminative target-aware spatial features from the search region, thereby enabling more accurate target localization and reducing drift under distractors. (3) We conduct extensive experiments and analyses on five standard benchmarks, demonstrating that TLCTrack consistently achieves state-of-the-art performance.

References (30)