NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SeqTrack: Sequence to Sequence Learning for Visual Object Tracking

Xin Chen, Houwen Peng, Dong Wang, Huchuan Lu, Han Hu

Abstract

Visual object tracking has traditionally relied on complex, multi-branch architectures with specialized heads for classification and regression. SeqTrack redefines this task as a pure sequence generation problem. By employing a simple transformer encoder-decoder to "read out" bounding box coordinates as discrete tokens, SeqTrack eliminates the need for task-specific architectural tuning and multiple loss functions. This unified framework achieves state-of-the-art performance across eight major benchmarks while maintaining real-time processing speeds.

The Paradigm Shift in Visual Tracking

Modern visual object trackers typically follow a "divide-and-conquer" strategy. They utilize specialized "heads"—separate neural network branches designed for subtasks like classification (determining object presence) and regression (estimating boundary coordinates). While effective, this approach introduces significant architectural complexity and requires balancing a "cocktail" of loss functions (e.g., $\ell_1$, GIoU, and cross-entropy) using sensitive hyperparameters.

Comparison of traditional tracking heads (a, b) versus the proposed sequence-to-sequence approach (c).

SeqTrack departs from this convention by asking: If a model understands an object's location, why can't it simply output the coordinates directly, much like a language model generates words?

Methodology: Tracking as Sequence Generation

SeqTrack treats tracking as a Sequence-to-Sequence (seq2seq) problem. Instead of predicting continuous values, it converts bounding box coordinates into discrete "tokens" within a spatial vocabulary.

Architecture

The model utilizes a standard transformer encoder-decoder architecture:

  • Encoder: A Vision Transformer (ViT) processes a "template" image and a "search" image simultaneously. This joint encoding allows the model to learn correspondences between the target and the search region early in the feature extraction process.
  • Decoder: A causal transformer generates the output sequence ($x, y, w, h$) one token at a time. This autoregressive property ensures that the prediction of later tokens (like width $w$) is informed by previously predicted ones (like center coordinates $x, y$).
Detailed architecture of SeqTrack (a), showing the joint encoder and the autoregressive decoder, alongside the internal block structure (b).

Discretization and Unified Loss

Continuous coordinates are mapped to a vocabulary of 4,000 discrete bins. This transformation turns a localization problem into a classification problem over a spatial vocabulary. Consequently, the entire model is trained using a single, plain cross-entropy loss, removing the need for complex loss balancing.

Key Insights

  • Autoregressive Advantage: Predicting coordinates sequentially significantly outperforms simultaneous (bidirectional) prediction. The causal dependency—knowing the center before determining the scale—mirrors human-like spatial reasoning.
  • Joint Encoding: Processing template and search images together in the encoder is more effective than the separate processing typical of Siamese trackers, as it facilitates better attention to correspondences.
  • Scalability through Simplicity: By removing specialized geometric heads, the model becomes more robust and scales efficiently with larger backbones like ViT-Large.

Experimental Results

SeqTrack establishes new state-of-the-art (SOTA) benchmarks:

  • LaSOT: Achieved 72.5% AUC, surpassing previous top-tier trackers like OSTrack.
  • GOT-10k: Reached 74.8% AO, a significant margin over existing models.
  • Real-Time Performance: The SeqTrack-B256 variant runs at 40 FPS on standard hardware, making it suitable for real-time applications.
  • VOT2020: Secured the best results in the real-time challenge with an EAO of 0.319.

Limitations and Future Directions

Despite its performance, SeqTrack faces challenges common in the field. It can struggle with complete occlusion or objects moving out of frame due to the lack of an explicit re-detection module. Additionally, the current version utilizes limited temporal context. Future research may explore modeling entire videos as single long sequences to capture long-term object trajectories. While discretization introduces minor quantization errors, these are largely mitigated by the high resolution of the 4,000-bin vocabulary.

Summary updated

BibTeX
@inproceedings{chen2023seqtrack,
  author = {Xin Chen and Houwen Peng and Dong Wang and Huchuan Lu and Han Hu},
  title = {{SeqTrack: Sequence to Sequence Learning for Visual Object Tracking}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.01400},
}
Figure