All models

OSTrack-ViT-B-384

One-stream ViT tracker that matches template and search region inside one backbone, at 384 px search.

Detection and tracking · 495 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (19 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
92.8M
Operations
495
Framework
PyTorch
Recurrent
No
Published
ECCV 2022
Cited by
904 (as of 19 October 2026)
Authors
Botao Ye, Hong Chang, Bingpeng Ma and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m1983
Graph hash
da46c8619062c68d3537fdc45b16359e4e5a34b93144ee88deca84efbeeab7c2
Skeleton hash
301abcf244d339927d7e748635456ceb4dacdb15abda518dda0edfc98c5b674d
Architecture hash
dec79580e765c01b7540fbb7573d430e65e92118b66d3ecde57849989b354289
Diagram SHA-256
e8c886fdcc95136d953c1472b12a654a9fa598c4548b0c95c3363dc07cf20342
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

OSTrack is a visual object tracker that reads the template crop and the search region through a single Vision Transformer, so that feature extraction and the matching between them happen in the same layers. The flattened template and search patches are concatenated and passed through stacked self-attention layers, and the resulting search region features go straight to classification and regression.

Because every search token attends to the template from the first layer, the attention weights show early which parts of the search region are background. An early candidate elimination module progressively discards those background tokens inside the network, with a keeping ratio of 0.7 at layers 4, 7 and 10 of a ViT-Base pretrained with MAE. A lightweight fully convolutional head then predicts a classification score map, a local offset and a normalized box size.

This is OSTrack-384, with a 192 by 192 pixel template and a 384 by 384 pixel search region. The paper reports 73.7% AO on the one-shot GOT-10k benchmark, 71.1% AUC on LaSOT and 83.9% AUC on TrackingNet for OSTrack-384. At this resolution the elimination module raises speed from 41.4 to 58.1 FPS on an RTX2080Ti while LaSOT AUC moves from 71.0 to 71.1. The paper also found that MAE pretraining of the backbone gave better tracking than supervised ImageNet pretraining.

Key idea. OSTrack joins template and search tokens in one Vision Transformer so feature extraction and relation modeling happen together, and drops background tokens early to speed inference.

  • ostrack
  • one-stream tracking
  • visual object tracking
  • single object tracking
  • vision transformer
  • vit
  • mae
  • early candidate elimination
  • tracker
  • got-10k

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{ye2022jointfeaturelearningrelation,
      title={Joint Feature Learning and Relation Modeling for Tracking: A One-Stream Framework}, 
      author={Botao Ye and Hong Chang and Bingpeng Ma and Shiguang Shan and Xilin Chen},
      year={2022},
      eprint={2203.11991},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2203.11991}, 
}