SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.15896 · 2023

MixFormerV2: Efficient Fully Transformer Tracking

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2305.15896.json · badge: /api/ran/2305.15896.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
mcg-nju/mixformerv2 canonical (classifier label)
classifier basis not recorded on the link
8 ran · 1 no recorded run
FunctionStatusWhere it lives
all_gather Ran
ran; our contract draft was wrong, not the code
mcg-nju/mixformerv2/lib/utils/misc.py
pointer only (licence: MIT); the stored copy get_code serves, from kellyiss/situformer, is pointer only (licence: NONE) · get_code("aa6da43d05cfaf65")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from kellyiss/situformer, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

box_cxcywh_to_xyxy Ran
ran, honoured the contract we drafted
mcg-nju/mixformerv2/lib/utils/box_ops.py
code served (permissive licence) · get_code("e0a06ded5d4f6c3c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects a tensor x with shape (..., 4) where the last dimension
# contains [center_x, center_y, width, height] values
# It unbinds the last dimension and converts to [x_min, y_min, x_max, y_max]

x = torch.tensor([
    [10.0, 20.0, 4.0, 6.0],
    [30.0, 40.0, 8.0, 10.0]
])

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
box_xywh_to_xyxy Ran
ran; our contract draft was wrong, not the code
mcg-nju/mixformerv2/lib/utils/box_ops.py
code served (permissive licence) · get_code("40c655a7fe309e49")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function box_xywh_to_xyxy expects a tensor x with shape (..., 4)
# where the last dimension contains [x, y, width, height] values.
# It unbinds the last dimension into 4 components and stacks them back
# in the order [x1, y1, x1+w, y1+h] to convert to xyxy format.

x = torch.tensor([
    [10.0, 20.0, 30.0, 40.0],
    [5.0, 15.0, 25.0, 35.0]
])

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
box_xyxy_to_xywh Ran
ran; our contract draft was wrong, not the code
mcg-nju/mixformerv2/lib/utils/box_ops.py
code served (permissive licence) · get_code("b48a27604b9574e0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function box_xyxy_to_xywh takes a tensor x, unbinds it along the last dimension
# (expecting 4 elements: x1, y1, x2, y2), and converts to xywh format.
# It returns a stacked tensor with the same shape as input.

# Create a small tensor with shape (2, 4) representing 2 bounding boxes in xyxy format
x = torch.tensor([
    [10.0, 20.0, 30.0, 40.0],
    [5.0, 15.0, 25.0, 35.0]
])

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
collate_fn Ran
ran; our contract draft was wrong, not the code
mcg-nju/mixformerv2/lib/utils/misc.py
pointer only (licence: MIT); the stored copy get_code serves, from pinxueguo/x-prompt, is pointer only (licence: NONE) · get_code("3f82133185c8bcb4")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from pinxueguo/x-prompt, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_qkv Ran
ran; our contract draft was wrong, not the code
mcg-nju/mixformerv2/lib/utils/merge.py
pointer only (licence: MIT); the stored copy get_code serves, from event-ahu/mamba_fetrack, is pointer only (licence: NONE) · get_code("2e6c35cccbde1c71")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from event-ahu/mamba_fetrack, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

merge_template_search Ran
ran; our contract draft was wrong, not the code
mcg-nju/mixformerv2/lib/utils/merge.py
pointer only (licence: MIT); the stored copy get_code serves, from event-ahu/mamba_fetrack, is pointer only (licence: NONE) · get_code("c66db0b9eb9bb36a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from event-ahu/mamba_fetrack, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

reduce_dict Ran
ran; our contract draft was wrong, not the code
mcg-nju/mixformerv2/lib/utils/misc.py
pointer only (licence: MIT); the stored copy get_code serves, from kellyiss/situformer, is pointer only (licence: NONE) · get_code("05992505df9ef0cd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from kellyiss/situformer, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tensor_operation Not yet run
unverified (harvested, no recorded run)
mcg-nju/mixformerv2/lib/utils/tensor.py
code served (permissive licence) · get_code("f21dab9a5bfd18d4")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 9 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 9 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
box_cxcywh_to_xyxy 49 other papers
23 dated earlier, 26 later · 11 only as an assembly brick
1811.07628 (2018-11)
ATOM: Accurate Tracking by Overlap Maximization
2011.10881 (2020-11)
Rethinking Transformer-based Set Prediction for Object Detection
2103.12115 (2021-03)
End-to-End Trainable Multi-Instance Pose Estimation with Transformers
and 46 more not named here
reduce_dict 33 other papers
17 dated earlier, 16 later
1811.07628 (2018-11)
ATOM: Accurate Tracking by Overlap Maximization
1811.10200 (2018-11)
IDD: A Dataset for Exploring Problems of Autonomous Navigation in Unconstrained Environments
2007.02419 (2020-07)
Attention-based Joint Detection of Object and Semantic Part
and 30 more not named here
all_gather 30 other papers
14 dated earlier, 16 later
1811.07628 (2018-11)
ATOM: Accurate Tracking by Overlap Maximization
1811.10200 (2018-11)
IDD: A Dataset for Exploring Problems of Autonomous Navigation in Unconstrained Environments
2007.02419 (2020-07)
Attention-based Joint Detection of Object and Semantic Part
and 27 more not named here
collate_fn 16 other papers
8 dated earlier, 8 later
1811.07628 (2018-11)
ATOM: Accurate Tracking by Overlap Maximization
2104.00969 (2021-04)
TubeR: Tubelet Transformer for Video Action Detection
2104.08541 (2021-04)
TransVG: End-to-End Visual Grounding with Transformers
and 13 more not named here
box_xywh_to_xyxy 9 other papers
1 dated earlier, 8 later
1811.07628 (2018-11)
ATOM: Accurate Tracking by Overlap Maximization
2308.11322 (2023-08)
CiteTracker: Correlating Image and Text for Visual Tracking
2309.14611 (2023-09)
Event Stream-based Visual Object Tracking: A High-Resolution Benchmark Dataset and A Novel Baseline
and 6 more not named here
box_xyxy_to_xywh 8 other papers
1 dated earlier, 7 later
1811.07628 (2018-11)
ATOM: Accurate Tracking by Overlap Maximization
2308.11322 (2023-08)
CiteTracker: Correlating Image and Text for Visual Tracking
2309.14611 (2023-09)
Event Stream-based Visual Object Tracking: A High-Resolution Benchmark Dataset and A Novel Baseline
and 5 more not named here
get_qkv 5 other papers
5 later
2308.11322 (2023-08)
CiteTracker: Correlating Image and Text for Visual Tracking
2310.10071 (2023-10)
ZoomTrack: Target-aware Non-uniform Resizing for Efficient Visual Tracking
2404.18174 (2024-04)
Mamba-FETrack: Frame-Event Tracking via State Space Model
and 2 more not named here
merge_template_search 5 other papers
5 later
2308.11322 (2023-08)
CiteTracker: Correlating Image and Text for Visual Tracking
2310.10071 (2023-10)
ZoomTrack: Target-aware Non-uniform Resizing for Efficient Visual Tracking
2404.18174 (2024-04)
Mamba-FETrack: Frame-Event Tracking via State Space Model
and 2 more not named here
tensor_operation 1 other paper
1 later
Yuan_CAT_A_Unified_Click-and-Track_Framework_for_Realistic_Tracking_ICCV_2025_paper (2025 (year only))
CAT: A Unified Click-and-Track Framework for Realistic Tracking

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Transformer-based trackers have achieved strong accuracy on the standard benchmarks. However, their efficiency remains an obstacle to practical deployment on both GPU and CPU platforms. In this paper, to overcome this issue, we propose a fully transformer tracking framework, coined as \emph{MixFormerV2}, without any dense convolutional operation and complex score prediction module. Our key design is to introduce four special prediction tokens and concatenate them with the tokens from target template and search areas. Then, we apply the unified transformer backbone on these mixed token sequence. These prediction tokens are able to capture the complex correlation between target template and search area via mixed attentions. Based on them, we can easily predict the tracking box and estimate its confidence score through simple MLP heads. To further improve the efficiency of MixFormerV2, we present a new distillation-based model reduction paradigm, including dense-to-sparse distillation and deep-to-shallow distillation. The former one aims to transfer knowledge from the dense-head based MixViT to our fully transformer tracker, while the latter one is used to prune some layers of the backbone. We instantiate two types of MixForemrV2, where the MixFormerV2-B achieves an AUC of 70.6\% on LaSOT and an AUC of 57.4\% on TNL2k with a high GPU speed of 165 FPS, and the MixFormerV2-S surpasses FEAR-L by 2.7\% AUC on LaSOT with a real-time CPU speed.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2305.15896")
get_code_for_paper("2305.15896")
have("2305.15896")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2305.15896.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2305.15896.svg)](https://syntology.ai/paper/2305.15896)

Connect an agent — have() is free.