Manuscript Offprint
arXiv:2610.10391MOTIP2: Spatial Priors for End-to-End Multi-Object Tracking
Abstract
End-to-end multi-object trackers have narrowed the gap with classical tracking-by-detection on association-difficult benchmarks. Yet they still make spatially implausible errors no classical tracker would, such as assigning one identity to objects on opposite sides of the frame. A model could learn to avoid them, but tracking annotations are scarce, so we encode spatial priors explicitly instead, while keeping inference fully end-to-end with no post-hoc association.
We propose three spatial priors, at the data, loss, and representation stages. Spatial ID Switches bias trajectory permutations toward spatially overlapping objects, reducing the mismatch between training and inference confusions. Spatial ID Loss scales each identity's penalty by its box distance, so a distant switch costs more than a nearby one. Spatial Anchor gives each track token its frame position, an explicit spatial cue for attention.
We instantiate the three priors in MOTIP2, a tracker adapted from MOTIP and built on the real-time DEIM detection transformer. Trained without extra data, its main model, MOTIP2-L, sets a new state of the art: 73.4 HOTA on DanceTrack, 76.0 on SportsMOT, and 71.1 IDF1 on PersonPath22. MOTIP2 is a family of models spanning the speed-accuracy trade-off: a lighter model, MOTIP2-S, matches the original MOTIP at over the speed, and MOTIP2-X reaches 74.8 HOTA on DanceTrack.
Introduction
Multi-object tracking supports autonomous driving [☐], sports analytics [☐], and video surveillance [☐], all of which need stable identities through occlusion and crowding. End-to-end multi-object trackers [☐, ☐, ☐] extend the DETR [☐] query paradigm to tracking: detection without NMS, and learned association replacing the hand-crafted IoU matching that breaks down under heavy occlusion. They match or surpass classical tracking-by-detection [☐, ☐, ☐, ☐] on association-difficult benchmarks such as DanceTrack [☐].
© 2026. The copyright of this document resides with its authors. It may be distributed unchanged freely in print or electronic forms. Accepted at the British Machine Vision Conference (BMVC) 2026.

Figure 1: Accuracy vs. latency. HOTA on DanceTrack-val vs. per-frame PyTorch FP32 latency (ms) on a single V100. At matched accuracy, MOTIP2-S is faster than MOTIP. Marker shape denotes input resolution: square , gray triangle ; MOTIP (black) and MOTIP2 (circles) run at . Estimated from RTX 4090 measurements [19] scaled by MOTIP's V100/4090 ratio.
Two recurring failure types, however, share one cause: association without spatial grounding. In the first, two distant boxes in consecutive frames, with no occlusion between them, are assigned the same identity (see Appendix D), a failure rare in classical trackers, whose motion gating makes such jumps expensive. In the second, the tracker swaps identities when objects cross or occlude. Neither is constrained by geometry: the cross-entropy penalizes an implausible cross-frame jump no more than an adjacent mistake, and training barely exposes the model to the nearby confusions where association is genuinely ambiguous. The association step needs an explicit spatial prior.
Tracking-by-detection encodes such constraints for free, as hand-crafted heuristics that need no training data: Kalman motion, IoU cost, and overlap-gated re-identification each forbid an association the moment it becomes spatially implausible . End-to-end trackers discard these components and leave the attention mechanism to learn the same constraints from data. But annotated tracking data is scarce, so these constraints are learned imperfectly, and the tracker makes the implausible associations they would have prevented.
We propose three explicit spatial priors to tackle both failures, one each at the data, loss, and representation stage, all encoding one bias: spatial proximity should govern association. At the data stage, Spatial ID Switches target the dominant occlusion confusions. MOTIP exposes its decoder to such errors by shuffling historical identities at random, but a random shuffle mostly fabricates long-range swaps that rarely occur at inference, while barely sampling the nearby occlusions that cause most errors. We instead bias permutations toward spatially overlapping objects, so augmented histories mirror the confusions the tracker actually encounters. This trains the decoder to look further back in the tracklet to disambiguate when nearby objects are present, rather than blindly trusting the most recent assignment (Fig. 4).
At the loss stage, the Spatial ID Loss targets the distant jump by restoring the geometric cost the cross-entropy leaves out. At the representation stage, the Spatial Anchor ties each track token to its frame position, a dedicated channel through which geometry enters association, so the model discriminates between candidates by where they are rather than only penalizing incoherent associations after the fact. Unlike the heuristic stack, these priors add no handcrafted matching at test time, leaving inference free of any post-hoc association module.
We instantiate the three priors in MOTIP2, an end-to-end tracker built on MOTIP [1] with a real-time DEIM [2] detection backbone and an adapted ID decoder, and evaluate it on DanceTrack [4], SportsMOT [5], and PersonPath22 [6]. The gains separate cleanly: the DEIM backbone drives detection and speed, while under a fixed backbone the priors alone add up to +2.1 HOTA and +3.5 AssA on DanceTrack test (Tab. 1). Transformer trackers have long been latency-bound; MOTIP2 runs at real-time rates, over faster than MOTIP at matched accuracy (Fig. 1).
(ii) Spatial ID Loss: a loss-stage term that scales each candidate identity’s penalty by its box distance to the detection.
(iii) Spatial Anchor: a representation-stage change that reinjects the detector’s positional encoding into the ID decoder, reusing a spatial cue it already computes.
(iv) MOTIP2: a real-time, DEIM-based end-to-end tracker, adapted from MOTIP, that validates the three priors with consistent gains across three tracking benchmarks.
2 Related Work
Tracking-by-detection. Tracking-by-detection pipelines [1, 2, 3, 4, 5] pair a frame-level detector [1] with a small, hand-designed association stack: a Kalman filter [2] propagates each track forward, IoU cost penalizes implausible jumps, and Hungarian matching [3] resolves the assignment. When appearance is added via a re-identification network [1, 2, 3, 4, 5, 6, 7], its score is gated by motion or overlap rather than consulted in isolation. Every component carries an explicit spatial prior, and the association module itself has essentially no learned parameters; this kept the pipeline competitive while annotated tracking data stayed scarce. These pipelines also commonly delay committing tentative tracks until they are observed across several consecutive frames [4], a tracklet-confirmation mechanism that prior query-based trackers have not adopted. The stack fails when crowding makes these geometric priors ambiguous: motion gating and IoU cost both lose their discriminative power as the IoU between an object's consecutive observations collapses toward the inter-object IoU with its neighbors. This limitation motivated learned association.
Detection Transformers. DETR [6] reformulates detection as set prediction on the transformer [46], dispensing with the NMS step that suppresses valid detections when targets overlap. A line of follow-up work progressively re-grounds the decoder in geometry: Deformable DETR [63] attaches reference points to each query, DAB-DETR [2] represents queries explicitly as 4D anchor boxes, and DN-DETR [1] and DINO [5] add box denoising objectives that anchor queries against ground-truth geometry during training. Real-time variants [1, 3, 6] bring this family to tracking-by-detection latencies while retaining the anchored-query structure; we build on DEIM [1] for its accuracy at real-time latency.
Tracking-by-query. Transformer-based trackers [☐, ☐, ☐] inherit DETR's set-prediction formulation and add temporal association by propagating object queries across frames. MOTR [☐] formalizes this as a fully end-to-end framework, but the decoder it shares between detection and association creates a supervision conflict that MOTRv2 [☐], MOTRv3 [☐], and CO-MOT [☐] address through query-specific supervision or external proposals. MOTIP [☐] resolves the conflict architecturally: a dedicated ID decoder predicts identity labels from the detector's outputs, decoupling the two tasks and enabling scalable training, with trajectory-level identity permutations as the main association augmentation. The ID decoder, however, consumes only the detector's content embeddings: the explicit per-query anchor that DAB-DETR and its successors introduced inside the detector is not carried through to association, leaving the module to recover spatial coherence from content alone. FDTA [☐], also building on MOTIP, instead learns more discriminative object embeddings for association and is our primary baseline (Sec. 4.2). Transformer trackers also remain substantially slower than tracking-by-detection, a gap that FastTrackTr [☐] begins to close. Concurrent work raises end-to-end association accuracy through segmentation-driven tracking built on foundation models [☐], a direction complementary to the spatial priors we introduce. Our work targets both gaps, spatial grounding and speed: we restore the missing spatial prior at three stages of the association pipeline (data, loss, representation) on a real-time DEIM backbone.
3 Spatial Priors for ID Association
We first present MOTIP2, our end-to-end tracker adapted from MOTIP [☐], together with modifications to its detector and ID decoder (Sec. 3.1, Fig. 2). We then instantiate the three spatial priors announced in Sec. 1, each acting at a different stage of the tracker: Spatial ID Switches at the data stage (Sec. 3.2), the Spatial ID Loss at the loss stage (Sec. 3.3), and Spatial Anchor at the representation stage (Sec. 3.4).
3.1 Overview: MOTIP2
MOTIP2 follows MOTIP [☐], which we briefly recap; readers familiar with it can skip to the changes. MOTIP decouples detection from identity prediction within a single end-to-end tracker. A detection transformer processes each frame independently, producing detection embeddings with bounding boxes . During training, bipartite matching assigns each prediction to a ground-truth object with identity label , as in DETR; a dedicated ID decoder then cross-attends over a historical context of the last T frames and predicts, for each detection, a distribution over an ID dictionary of learnable identity embeddings (K active identities plus a newborn class). The model is trained end-to-end on short clips sampled at random frame rates, jointly optimizing the detector and the ID decoder. At inference the video is processed online: each frame's assigned embeddings are appended to the context, maintained as a FIFO buffer of size T, and a greedy protocol turns the predicted distributions into unique identity assignments.
Throughout, end-to-end means no post-hoc association module rather than no tracking logic at inference: the greedy readout and the tracklet confirmation below manage track lifecycles, with no matching stage between separately produced detections and tracks. Beyond the three spatial priors that motivate this work (Secs. 3.2 to 3.4), our changes are confined to the detector, the ID decoder, and the training objective, described next; everything else above is inherited unchanged.

Figure 2: Overview of MOTIP2. DEIM produces detection embeddings independently per frame. Three explicit spatial priors then inject geometric structure at distinct stages: (i) Spatial ID Switches perturb the training-time historical context by GIoU-biased identity permutations that mirror the near-track confusions seen at inference; (ii) Spatial ID Loss supervises the ID decoder with a geometric penalty; (iii) Spatial Anchor carries each detection's positional encoding into the ID decoder, so every token holds an explicit cue to its image position.
Detection backbone. We replace MOTIP's Deformable DETR detector [6] with the real-time detector DEIM [1]. Profiling shows that over 80% of MOTIP's inference cost comes from the detector (Tab. 4), making it the primary target for acceleration. Selecting different DEIM backbone and decoder configurations instantiates a family of models (N/S/M/L/X): even the high-capacity X variant matches MOTIP's speed while being more accurate, and lighter variants cut latency further.
ID decoder. We keep MOTIP's ID decoder with two structural changes. First, we fuse detection features and identity embeddings by element-wise addition rather than concatenation, halving the hidden dimension to match the DETR decoder; we double the feed-forward network (FFN) ratio to preserve capacity. Second, we replace MOTIP's learned discrete temporal attention bias with rotary position embeddings (RoPE) [1] applied inside the query-key product, so attention between two tokens varies with their frame offset. RoPE enables context-window extension at inference beyond the training length [6]; because training samples clips at variable frame rates while inference runs at a fixed stride, we rescale the RoPE timescale at inference by a factor to match the average training timescale. Finally, at inference we add a lightweight tracklet-confirmation step absent from MOTIP: a track is confirmed only after consecutive consistent assignments, and unconfirmed tracks are discarded with their dictionary slots freed.
3.2 Spatial ID Switches
Because bipartite matching assigns each token to its ground-truth identity, the training-time historical context is, by construction, perfectly consistent. At inference, however, noisy detections and occlusions cause identity ambiguities. To bridge this gap, MOTIP [1] perturbs the training context with an ID-switch augmentation that selects a random subset of objects in each frame and permutes their identities among themselves. The ID decoder thus learns to recover from confusions rather than overfitting to a perfect history.
pairwise GIoU
perturbed affinity

Figure 3: Spatial ID Switches. A DanceTrack [45] frame with four annotated objects, of which only 2 and 3 overlap, and the identity permutation the augmentation draws for this frame. We perturb the pairwise GIoU affinity with i.i.d. Gaussian noise and let the Hungarian algorithm return the assignment maximizing it; cell means object takes identity , light where the identity is kept and dark where it is swapped. Since only spatially close pairs carry positive affinity, the perturbation swaps while the well-separated objects keep their identity.
Genuine confusions, however, are local: they arise between nearby objects under occlusion or close passage. Objects on opposite sides of the frame are never genuinely ambiguous, yet a uniform permutation, blind to geometry, fabricates mostly these long-range pairings while under-sampling the nearby confusions that cause most errors.
We keep this random selection of objects and change only how the selected identities are reassigned, biasing the permutation toward spatially proximate boxes instead of drawing it uniformly. Given the selected boxes in frame t, we compute their pairwise GIoU [5] affinity matrix and perturb it with Gaussian noise:
where sets the GIoU scale below which two objects are treated as confusable. The augmented permutation on the random subset is then obtained by solving the linear assignment on via the Hungarian algorithm (Fig. 3).
The augmentation recovers MOTIP's uniform permutation exactly as , where noise dominates the affinity. For finite , an object swaps only when a nearby box's perturbed affinity overtakes its self-affinity ( ), so is a confusion radius in GIoU space: objects with a close, high-GIoU neighbor face a real swap probability while well-separated objects stay virtually untouched. The augmentation thus adapts to scene geometry on its own, and because locality is fixed by geometry rather than a tuned swap rate, we use a single on all benchmarks without per-dataset tuning.
3.3 Spatial ID Loss
Cross-entropy ( ) over the ID softmax is spatially blind: a confident wrong prediction on a track across the frame is penalized identically to a confusion with an adjacent track. The gradient carries no geometric signal. We complement it with two spatial terms (L1 and GIoU) that weight each candidate identity by the distance between the detection and that identity's box:
(1) where is the softmax probability for identity , is the predicted box of the detection being classified, and is the ground-truth box of the object holding identity , taken from the same bipartite matching that supervises detection (Sec. 3.1). The sum runs over the identities present in the current frame plus the newborn class: identities absent from the frame have no box, so the probabilities are renormalized over this reduced set rather than taken from the full-dictionary softmax. The newborn class has no associated object, so we set to the detection's own ground-truth box, reducing the term to its localization error and leaving the cross-entropy to separate newborn from the correct existing identity. Because is detached, these terms shape only the ID logits and leave the detection regression head untouched.
The total ID objective adds these two spatial terms to the cross-entropy, weighted by the same as the DEIM detection loss:
3.4 Spatial Anchor
Detection in modern DETR variants [☐, ☐, ☐, ☐, ☐] is built on explicit spatial grounding: each query is a 4D anchor box, refined layer by layer, and a positional encoding (a learned embedding of the final-layer box) steers cross-attention toward the relevant image region at every decoder step. At the handoff to the ID decoder, however, only the content embedding is carried forward; is dropped, leaving the decoder to perform association without any explicit cue about where on the frame each track sits, despite this information being available one stage upstream.
End-to-end training could let encode location implicitly, but only entangled with appearance and re-learned from scratch, whereas the detector already computes this cue explicitly. We reuse it directly.
We retain at this handoff: it is added to each detection token as it enters the ID decoder, so every track carries its frame position, taken from its frame of origin, into association. Position then travels with the content embedding through the decoder's attention and feedforward layers, an explicit spatial signal the model would otherwise have to recover from appearance alone.
4 Experiments
We first describe the training data and evaluation protocol, then compare with state-of-the-art methods across benchmarks spanning varied tracking regimes (Sec. 4.2), analyze the speed-accuracy trade-off across model sizes (Sec. 4.3), and finally isolate each contribution through an ablation study on PersonPath22 and DanceTrack (Sec. 4.4).
4.1 Experimental Setup
Datasets. We evaluate on three benchmarks that stress different facets of association: DanceTrack [☐] (similar appearance with complex non-linear motion), SportsMOT [☐] (fast non-linear motion in team sports), and PersonPath22 [☐] (large-scale, diverse real-world scenes). We train one model per benchmark on its own training split, additionally co-training the PersonPath22 model with CrowdHuman [☐]. We report MOTIP2-L as our default variant for state-of-the-art comparisons unless otherwise specified, with MOTIP2-S used for ablations (Sec. 4.4).
Metrics. We primarily report Higher Order Tracking Accuracy (HOTA) [☐], which balances detection accuracy (DetA) and association accuracy (AssA); we also report MOTA [☐] and IDF1 [☐].
Network. We initialize DEIM [☐] from its official COCO [☐] pre-trained weights. The ID decoder mirrors the DEIM decoder's hidden dimension and number of layers, so both components scale together across model variants.
Training. We run all experiments on 4 NVIDIA V100 GPUs. Training follows a two-stage schedule: we first pretrain the DEIM detector alone, then jointly train the full model with AdamW [☐], gradient clipping, and exponential moving average (EMA). Full optimizer, schedule, clip-sampling, and augmentation settings are detailed in Appendix A.
Hyperparameters. The Spatial ID Loss uses , , and , matching the DEIM detection-loss weights. Spatial ID Switches use a confusion radius , tracklet confirmation requires consecutive frames, greedy ID assignment requires a minimum identity probability , and the RoPE timescale is rescaled by at inference. These, together with the inference resolution (shorter side 800 pixels, longer side capped at 1440, matching both tracking-by-detection [1, 6] and end-to-end [1, 1] protocols), are shared across all benchmarks. Only three settings track the benchmark: the training window and inference miss tolerance scale with typical occlusion length ( frames for DanceTrack and PersonPath22, 60 for SportsMOT); the ID dictionary size scales with crowd density ( for the crowded PersonPath22, 50 otherwise); and the detection and newborn thresholds ( ) are (0.4, 0.6) for PersonPath22 and (0.3, 0.7) for DanceTrack and SportsMOT.
4.2 Comparisons with State-of-the-art Methods
We compare MOTIP2 with state-of-the-art methods on the DanceTrack, SportsMOT, and PersonPath22 test splits, each using the corresponding model described above.
DanceTrack. DanceTrack stresses association under near-identical appearance and highly non-linear motion, the regime where learned association should help most (Tab. 1). Trained on DanceTrack alone, our default MOTIP2-L already reaches 73.4 HOTA, above the strongest prior end-to-end method (FDTA, 71.7) and every tracking-by-detection tracker. The larger MOTIP2-X raises this to 74.8 HOTA, 84.3 DetA, 66.5 AssA, and 78.7 IDF1, the best of any method trained without extra data; its HOTA surpasses even the extra-data FDTA (74.4). Disabling all three priors while keeping every other component isolates their contribution: MOTIP2-L drops to 71.5 HOTA, below FDTA, and MOTIP2-X to 72.7, losing 3.2 and 3.5 AssA while DetA moves by at most 0.2. The margin over prior end-to-end trackers is therefore associative, not an effect of the DEIM detector. Training additionally on the validation split (the extra-data protocol) lifts both variants further, with MOTIP2-X setting a new overall state of the art at 77.1 HOTA, 85.4 DetA, 69.8 AssA, and 81.2 IDF1 (MOTIP2-L reaches 76.1 HOTA).
Both variants keep gaining under the extra-data protocol (+2.3 for MOTIP2-X, +2.7 for MOTIP2-L) rather than saturating. Across both regimes the gains are largest in association:
| Method | HOTA | DetA | AssA | MOTA | IDF1 |
|---|---|---|---|---|---|
| Tracking-by-detection | |||||
| FairMOT [6] | 39.7 | 66.7 | 23.8 | 82.2 | 40.8 |
| CenterTrack [6] | 41.8 | 78.1 | 22.6 | 86.8 | 35.7 |
| ByteTrack [6] | 47.7 | 71.0 | 32.1 | 89.6 | 53.9 |
| OC-SORT [4] | 55.1 | 80.3 | 38.3 | 92.0 | 54.6 |
| StrongSORT [8] | 55.6 | 80.7 | 38.6 | 91.1 | 55.2 |
| C-BIoU [8] | 60.6 | 81.3 | 45.4 | 91.6 | 61.6 |
| C-TWiX [6] | 62.1 | 81.8 | 47.2 | 91.4 | 63.6 |
| DiffMOT [2] | 62.3 | 82.5 | 47.2 | 92.8 | 63.0 |
| UCMCTrack [6] | 63.6 | - | - | 88.9 | 65.0 |
| FastTracker [6] | 65.9 | - | - | 93.4 | 67.2 |
| End-to-end | |||||
| MOTR [6] | 54.2 | 73.5 | 40.2 | 79.7 | 51.5 |
| FastTrackTr [6] | 62.4 | 78.4 | 49.8 | 88.8 | 64.8 |
| CO-MOT [6] | 65.3 | 80.1 | 53.5 | 89.3 | 66.5 |
| MeMOTR [6] | 68.5 | 80.5 | 58.4 | 89.9 | 71.2 |
| MOTIP [6] | 69.6 | 80.4 | 60.4 | 90.6 | 74.7 |
| FDTA [6] | 71.7 | 81.0 | 63.5 | 91.3 | 77.2 |
| MOTIP2-L (w/o spatial priors) | 71.5 | 83.0 | 61.7 | 91.6 | 73.8 |
| MOTIP2-L | 73.4 | 83.1 | 64.9 | 91.6 | 77.0 |
| MOTIP2-X (w/o spatial priors) | 72.7 | 84.1 | 63.0 | 92.4 | 75.8 |
| MOTIP2-X | 74.8 | 84.3 | 66.5 | 92.5 | 78.7 |
| End-to-end with extra data | |||||
| CO-MOT [6] | 69.4 | 82.1 | 58.9 | 91.2 | 71.9 |
| MOTRv2 [6] | 69.9 | 83.0 | 59.0 | 91.9 | 71.7 |
| MOTRv3 [6] | 70.4 | 83.8 | 59.3 | 92.9 | 72.3 |
| MOTIP [6] | 72.0 | 81.8 | 63.5 | 91.9 | 76.8 |
| FDTA [6] | 74.4 | 82.7 | 67.0 | 92.2 | 80.0 |
| MOTIP2-L | 76.1 | 84.9 | 68.4 | 92.9 | 79.6 |
| MOTIP2-X | 77.1 | 85.4 | 69.8 | 93.3 | 81.2 |
Table 1: State-of-the-art comparison on the DanceTrack [45] test set. The best end-to-end result is in bold. † denotes extra training data (MOTIP2: DanceTrack train+val). MOTIP2-L/X (w/o spatial priors) disable all three priors under the same training setup, keeping every other component, which isolates their contribution from the DEIM detector.
MOTIP2-X lifts AssA by over MOTIP and over FDTA, while the detection gains track the stronger DEIM backbone.
SportsMOT. SportsMOT couples fast non-linear motion with frequent occlusions in basketball, volleyball, and soccer, stressing association under abrupt direction changes rather than crowd density (Tab. 2). Trained on SportsMOT alone, MOTIP2-L is the best end-to-end tracker on every metric and the best overall on the identity-centric ones: 76.0 HOTA (+1.8 over FDTA, +3.4 over MOTIP, and +3.9 over the strongest tracking-by-detection method, DiffMOT [2]), 85.6 DetA, 67.5 AssA, 93.8 MOTA, and 78.9 IDF1. As on DanceTrack, association accounts for most of the margin (+7.0 AssA over DiffMOT).
| Method | HOTA | DetA | AssA | MOTA | IDF1 |
|---|---|---|---|---|---|
| Tracking-by-detection | |||||
| FairMOT [7] | 49.3 | 70.2 | 34.7 | 86.4 | 53.5 |
| GTR [7] | 54.5 | 64.8 | 45.9 | 67.9 | 55.8 |
| QDTrack [7] | 60.4 | 77.5 | 47.2 | 90.1 | 62.3 |
| CenterTrack [7] | 62.7 | 82.1 | 48.0 | 90.8 | 60.0 |
| ByteTrack [7] | 62.8 | 77.1 | 51.2 | 94.1 | 69.8 |
| OC-SORT [7] | 68.1 | 84.8 | 54.8 | 93.4 | 68.0 |
| BoT-SORT [7] | 68.7 | 84.4 | 55.9 | 94.5 | 70.0 |
| DiffMOT [7] | 72.1 | 86.0 | 60.5 | 94.5 | 72.8 |
| End-to-end | |||||
| TransTrack [7] | 68.9 | 82.7 | 57.5 | 92.6 | 71.5 |
| SambaMOTR [7] | 69.8 | 82.2 | 59.4 | 90.3 | 71.9 |
| MeMOTR [7] | 70.0 | 83.1 | 59.1 | 91.5 | 71.4 |
| MOTIP [7] | 72.6 | 83.5 | 63.2 | 92.4 | 77.1 |
| FDTA [7] | 74.2 | 84.1 | 65.5 | 93.0 | 78.5 |
| MOTIP2-L | 76.0 | 85.6 | 67.5 | 93.8 | 78.9 |
Table 2: State-of-the-art comparison on the SportsMOT [7] test set. The best end-to-end result is in bold.
| Method | IDF1 | MOTA | IDSW↓ | FP↓ | FN↓ |
|---|---|---|---|---|---|
| Tracking-by-detection | |||||
| CenterTrack [7] | 46.4 | 59.3 | 10319 | 24K | 72K |
| FairMOT [7] | 61.1 | 61.8 | 5095 | 15K | 80K |
| ByteTrack [7] | 66.8 | 75.4 | 5931 | 17K | 40K |
| OC-SORT [7] | 68.2 | 74.0 | 4931 | 17K | 41K |
| Path Consistency [7] | 69.4 | 75.8 | 4663 | 15K | 38K |
| End-to-end | |||||
| TrackFormer [7] | 57.1 | 69.7 | 8633 | 23K | 47K |
| MOTIP2-L | 71.1 | 75.8 | 5045 | 18K | 40K |
Table 3: State-of-the-art comparison on the PersonPath22 [1] test set. The best end-to-end result is in bold. Numbers for comparison methods are compiled from [1] and [2]; these works do not report HOTA-family metrics. For completeness, MOTIP2-L additionally achieves HOTA 62.8, DetA 66.1, and AssA 60.4.
PersonPath22. PersonPath22 is a large-scale real-world benchmark (236 videos spanning diverse indoor and outdoor scenes, lighting and weather conditions, camera viewpoints, and crowd densities) targeting smart-home and smart-city deployment (Tab. 3). As the only modern end-to-end tracker reported on it, MOTIP2-L improves substantially over TrackFormer (IDF1 71.1 vs 57.1, MOTA 75.8 vs 69.7) and attains the best IDF1 overall, +1.7 over the strongest dedicated tracker, Path Consistency [26] (69.4), while matching its MOTA (75.8). The count-based metrics show the expected trade-off of identity-centric association: MOTIP2-L keeps identity switches competitive (5045, fewer than ByteTrack and TrackFormer) but produces more false positives than the most conservative trackers. Prior work here does not report HOTA-family metrics; for reference, MOTIP2-L reaches 62.8 HOTA (66.1 DetA, 60.4 AssA).
| Method | Accuracy | V100 PT FP32 | T4 TRT FP16 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HOTA | DetA | AssA | Det. | ID Dec | Total | Det. | ID Dec | Total | |
| MOTIP [1] | 64.0 | 75.4 | 54.7 | 72.7 | 14.2 | 86.9 | - | ||
| MOTIP2-X | 70.1 | 80.7 | 61.1 | 71.2 | 9.9 | 81.1 | 38.8 | 1.3 | 40.1 |
| MOTIP2-L | 68.0 | 77.3 | 60.0 | 45.0 | 9.8 | 54.8 | 21.9 | 1.3 | 23.2 |
| MOTIP2-M | 67.3 | 76.4 | 59.7 | 32.5 | 6.8 | 39.3 | 15.8 | 0.9 | 16.7 |
| MOTIP2-S | 64.5 | 74.0 | 56.5 | 21.8 | 5.3 | 27.1 | 9.4 | 0.7 | 10.1 |
| MOTIP2-N | 59.2 | 69.3 | 50.9 | 14.9 | 3.9 | 18.8 | 4.0 | 0.4 | 4.4 |
Table 4: Per-component latency breakdown. HOTA on DanceTrack-val and per-component latency (ms). Det. = detector (Deformable DETR for MOTIP, DEIM for MOTIP2); PT = PyTorch, TRT = TensorRT. MOTIP has no standard TensorRT path. Input resolution: . ID Decoder profiled with frames, 50 trajectories, and 50 detections.
4.3 Speed and Accuracy
Trackers typically run online, on a live video stream feeding downstream tasks, and must keep pace with the incoming frames; we therefore evaluate accuracy jointly with latency.
Figure 1 plots the HOTA-versus-latency trade-off on DanceTrack-val (the state-of-the-art tables above report the test split), with the exact per-model HOTA and latency behind each point listed in Appendix F. Across model sizes, MOTIP2 traces a Pareto front ahead of prior end-to-end trackers (FastTrackTr [1], PuTR [2]): MOTIP2-S matches MOTIP's accuracy while running over faster (27.1 vs 86.9 ms), and our larger variants surpass them in accuracy while remaining faster. The association advantage holds even before detection catches up: with a shallower ID decoder than MOTIP (3 vs 6 layers), MOTIP2-S surpasses MOTIP's HOTA despite 1.4 lower DetA (+1.8 AssA), and once detection reaches MOTIP's level (MOTIP2-M) association leads by +5.0 AssA. The improvement is concentrated in association, not the DEIM backbone.
Latency breakdown. Table 4 reports per-component latency for MOTIP2 across V100 (PyTorch FP32) and T4 (TensorRT FP16), profiling DEIM and the ID decoder separately; a full comparison against baselines is given in Appendix F. DEIM latency is fixed once the model size is chosen, while the ID decoder's latency grows roughly linearly with the number of tracked objects in the trajectory history. Sparser scenes such as DanceTrack therefore run faster, while denser scenes incur only a moderate increase. MOTIP has no entry in the TensorRT columns: its Deformable DETR detector relies on deformable attention, which has no standard TensorRT path, so it cannot be exported or benchmarked on a deployment GPU. Both MOTIP2 components export to TensorRT as separate engines, where MOTIP2-S reaches 10.1 ms ( 99 FPS) on a T4 under FP16.
4.4 Ablation Studies
All ablations use MOTIP2-S. We train one model per evaluation benchmark following its standard recipe: one on PersonPath22+CrowdHuman, scored on the PersonPath22 test set, and one on the DanceTrack training split, scored on the DanceTrack validation set. Every ablated variant is retrained under both recipes and evaluated on its corresponding split.
The three spatial priors all inject geometric structure into association (Tab. 5). Removing
| PersonPath22 | DanceTrack | |||||||
|---|---|---|---|---|---|---|---|---|
| HOTA | DetA | AssA | IDF1 | HOTA | DetA | AssA | IDF1 | |
| Full model | 61.6 | 63.8 | 60.3 | 70.4 | 64.5 | 74.0 | 56.5 | 68.8 |
| uniform IDSW | 56.1 | 58.6 | 54.4 | 64.0 | 63.7 | 73.0 | 55.8 | 68.1 |
| w/o IDSW | 59.5 | 64.2 | 55.8 | 66.8 | 60.1 | 73.3 | 49.7 | 63.0 |
| w/o Spatial ID Loss | 61.4 | 64.2 | 59.4 | 70.1 | 63.5 | 73.3 | 55.5 | 67.3 |
| w/o Spatial Anchor | 61.6 | 64.3 | 59.9 | 70.4 | 64.0 | 73.3 | 56.1 | 68.6 |
| w/o all priors | 58.7 | 64.1 | 54.5 | 65.7 | 63.0 | 74.0 | 54.0 | 66.9 |
Table 5: Ablation of the spatial priors. MOTIP2-S, each variant trained and evaluated per benchmark (PersonPath22+CrowdHuman; DanceTrack train split). uniform IDSW downgrades our Spatial ID Switches to a non-spatial permutation; w/o IDSW removes the augmentation entirely. With all priors off, the data-stage prior is removed on PersonPath22 but set to uniform on DanceTrack, where uniform is near-neutral rather than harmful (cf. rows above). The full model (bold row label) is the reference each removal is compared against.
all three at once costs -2.9 HOTA and -5.8 AssA on PersonPath22 and -1.5 HOTA and -2.5 AssA on DanceTrack; Appendix D shows the qualitative effect on a DanceTrack sequence, where the no-prior baseline teleports an identity across the frame. The loss- and representation-stage priors hold up even with the data-stage prior neutralized: against the matched reference (w/o IDSW on PersonPath22, uniform IDSW on DanceTrack, both of which keep the loss and anchor under the same data-stage setting), dropping them costs a further -0.8 / -0.7 HOTA and -1.3 / -1.8 AssA, so their benefit is not merely an artifact of the spatial augmentation. The two benchmarks expose them differently: PersonPath22's wide, crowded scenes make the data-stage prior decisive, while DanceTrack's compact crowds of near-identical dancers bring out the loss- and representation-stage priors. We discuss each in turn, in the order of Sec. 3, then ablate two architectural tweaks to the ID decoder and inference separately (Sec. 4.5).
Spatial ID Switches. Spatial ID Switches are by far the most important prior on PersonPath22, where they also expose a failure mode of the uniform permutation they replace. Removing the augmentation altogether costs -2.1 HOTA (almost all association, -4.5 AssA), but reverting it to MOTIP's uniform permutation is worse still: at 56.1 HOTA it falls 3.4 points below the no-augmentation baseline (59.5) and drags detection down with it (-5.6 DetA). On PersonPath22 a uniform permutation is therefore harmful, not just uninformative: it destabilizes joint training instead of teaching the decoder to recover from confusions (training curves in Appendix C). Figure 4 shows the three behaviors on a representative crossing: only our model recovers the correct identities, the no-augmentation variant trusts its trajectory history blindly and never undoes the swap, and the uniform variant grows uncertain through the occlusion, losing the detection before switching identity.
The cause is the train/inference mismatch that GIoU sampling removes (Sec. 3.2): PersonPath22 spreads objects across the frame, so uniform permutations fabricate mostly implausible long-distance swaps. Restricting confusions to spatially plausible pairs recovers +5.5 HOTA over the uniform variant. Training on the confusions the tracker meets at inference concentrates the decoder's uncertainty on the few tracks an object actually crosses, rather than on every identity in the frame. DanceTrack shows why the effect is dataset-dependent: the
Ours
w/o IDSW
uniform IDSW

Figure 4: Qualitative tracking comparison on PersonPath22 (uid_vid_00063). Rows (top to bottom): our GIoU-based sampling (Ours), no augmentation (w/o IDSW), and MOTIP's uniform permutation (uniform IDSW). Columns are ordered in time, left to right. Two pedestrians cross and occlude; only ours recovers the correct identities afterward.
augmentation is again critical (−4.4 HOTA when removed), but its uniform variant costs only −0.8, because dancers stay clustered, so even a random permutation swaps mostly nearby objects.
Spatial ID Loss. The Spatial ID Loss (Sec. 3.3) mainly improves association and complements the dominant Spatial ID Switches: removing it costs only -0.2 HOTA and -0.9 AssA on PersonPath22, but -1.0 HOTA and -1.0 AssA on DanceTrack, where near-identical appearance makes geometric supervision more valuable.
Spatial Anchor. Reinjecting the detector’s per-frame positional encoding into every ID-decoder token is the lightest of the three priors: no new parameters, no new supervision, just reusing an encoding the detector has already produced. We expect a correspondingly modest gain, concentrated where many candidate tracks share similar content embeddings and an explicit spatial cue is most discriminative. The data agree: removal costs -0.4 AssA and no HOTA on PersonPath22, but -0.5 HOTA and -0.4 AssA on DanceTrack, where appearance alone is weakly discriminative.
4.5 Decoder and Inference Ablations
Two changes to MOTIP2's ID decoder and inference fall outside the spatial priors: rotary temporal encoding in the decoder and tracklet confirmation at inference.
Rotary Position Embedding. Replacing MOTIP's learned temporal bias with RoPE lifts AssA by +1.0 and HOTA by +0.3 at the best timescale (Tab. 6). The gain hinges on the inference timescale : training samples wider temporal intervals than inference, so the raw
| Method | α | HOTA | DetA | AssA | MOTA | IDF1 |
|---|---|---|---|---|---|---|
| Rel. PE | - | 61.3 | 64.1 | 59.3 | 73.4 | 70.2 |
| RoPE | 1.0 | 60.4 | 63.7 | 58.0 | 72.7 | 68.7 |
| 1.5 | 61.0 | 63.7 | 59.1 | 72.8 | 69.6 | |
| 2.0 | 61.6 | 63.8 | 60.3 | 72.9 | 70.4 | |
| 2.5 | 61.6 | 63.8 | 60.3 | 72.9 | 70.4 |
Table 6: Effect of positional encoding type and time rescaling factor . Results on PersonPath22 test. We compare RoPE with the learned relative positional encoding from MOTIP [□] (Rel. PE). The best result for each metric is shown in bold.
encoding () trails the learned bias, while rescaling toward the training mean recovers and surpasses it, plateauing across . We adopt .
Tracklet Confirmation. Requiring consecutive frames of consistent assignment before committing a tentative track trims identity switches without hurting accuracy: from to 3, identity switches drop by 12.5% on PersonPath22 and 28.3% on DanceTrack, while HOTA stays flat and IDF1 and MOTA edge up only slightly. Evicting unconfirmed tracks also keeps the historical context clean, freeing ID-bank slots that short-lived false detections would otherwise occupy. Accuracy plateaus at , and identity switches fall only marginally beyond it, so we adopt ; the full sweep is in Appendix E.
5 Conclusion
We argue that the association errors separating end-to-end trackers from tracking-by-detection are mainly geometric, and we correct them with three explicit spatial priors. Which prior helps most depends on scene geometry rather than the benchmark. In wide, crowded scenes the data-stage prior is decisive: the uniform shuffling it replaces trains the model on implausible long-distance swaps and makes training unstable, whereas restricting confusions to nearby boxes recovers +5.5 HOTA on PersonPath22. When objects look nearly identical, the other two matter more. The loss-stage prior makes a confident long-distance error cost more than a nearby one, and the representation-stage prior ties each track to its image position; both separate identities that appearance alone confuses. This reliance on proximity also sets the failure case we expect to be hardest: a simultaneous exit and entry at the same location, where proximity draws the leaving identity onto the new object. The result is a family of end-to-end trackers spanning the speed-accuracy trade-off, from a real-time model to variants that set a new state of the art on identity association across all three benchmarks.
Acknowledgements
This work was granted access to the HPC resources of IDRIS under the allocations AD011014610 and A0191013894 made by GENCI.
References
[1] Nir Aharon, Roy Orfaig, and Ben-Zion Bobrovsky. Bot-sort: Robust associations multi-pedestrian tracking. CoRR, abs/2206.14651, 2022. doi: 10.48550/ARXIV.2206.14651. URL https://doi.org/10.48550/arXiv.2206.14651.
[2] Keni Bernardin and Rainer Stiefelhagen. Evaluating multiple object tracking performance: The CLEAR MOT metrics. EURASIP J. Image Video Process., 2008, 2008. doi:10.1155/2008/246309. URL https://doi.org/10.1155/2008/246309.
[3] Alex Bewley, Zongyuan Ge, Lionel Ott, Fabio Ramos, and Ben Upcroft. Simple online and realtime tracking. In 2016 IEEE International Conference on Image Processing, ICIP 2016, Phoenix, AZ, USA, September 25-28, 2016, pages 3464–3468. IEEE, 2016. doi: 10.1109/ICIP.2016.7533003. URL https://doi.org/10.1109/ICIP.2016.7533003.
[4] Jinkun Cao, Jiangmiao Pang, Xinshuo Weng, Rawal Khirodkar, and Kris Kitani. Observation-centric SORT: rethinking SORT for robust multi-object tracking. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2023, Vancouver, BC, Canada, June 17-24, 2023, pages 9686–9696. IEEE, 2023. doi: 10.1109/CVPR52729.2023.00934. URL https://doi.org/10.1109/CVPR52729.2023.00934.
[5] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm, editors, Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part I, volume 12346 of Lecture Notes in Computer Science, pages 213–229. Springer, 2020. doi: 10.1007/978-3-030-58452-8_13. URL https://doi.org/10.1007/978-3-030-58452-8\_13.
[6] Shouyuan Chen, Sherman Wong, Liangjian Chen, and Yuandong Tian. Extending context window of large language models via positional interpolation. CoRR, abs/2306.15595, 2023. doi: 10.48550/ARXIV.2306.15595. URL https://doi.org/10.48550/arXiv.2306.15595.
[7] Yutao Cui, Chenkai Zeng, Xiaoyu Zhao, Yichun Yang, Gangshan Wu, and Limin Wang. Sportsmot: A large multi-object tracking dataset in multiple sports scenes. In IEEE/CVF International Conference on Computer Vision, ICCV 2023, Paris, France, October 1-6, 2023, pages 9887–9897. IEEE, 2023. doi: 10.1109/ICCV51070.2023.00910. URL https://doi.org/10.1109/ICCV51070.2023.00910.
[8] Yunhao Du, Zhicheng Zhao, Yang Song, Yanyun Zhao, Fei Su, Tao Gong, and Hongying Meng. Strongsort: Make deepsort great again. IEEE Trans. Multim., 25:8725–8737, 2023. doi: 10.1109/TMM.2023.3240881. URL https://doi.org/10.1109/TMM.2023.3240881.
[9] Ruopeng Gao and Limin Wang. Memotr: Long-term memory-augmented transformer for multi-object tracking. In IEEE/CVF International Conference on Computer Vision, ICCV 2023, Paris, France, October 1-6, 2023, pages 9867–9876. IEEE, 2023. doi: 10.
1109/ICCV51070.2023.00908. URL https://doi.org/10.1109/ICCV51070.2023.00908.
[10] Ruopeng Gao, Ji Qi, and Limin Wang. Multiple object tracking as ID prediction. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2025, Nashville, TN, USA, June 11-15, 2025, pages 27883–27893. Computer Vision Foundation / IEEE, 2025. doi: 10.1109/CVPR52734.2025.02596. URL https://openaccess.thecvf.com/content/CVPR2025/html/Gao_Multiple_Object_Tracking_as_ID_Prediction_CVPR_2025_paper.html.
[11] Zheng Ge, Songtao Liu, Feng Wang, Zeming Li, and Jian Sun. YOLOX: exceeding YOLO series in 2021. CoRR, abs/2107.08430, 2021. URL https://arxiv.org/abs/2107.08430.
[12] Hamidreza Hashempoor and Yu Dong Hwang. FastTracker: Real-time and accurate visual tracking. CoRR, abs/2508.14370, 2025. URL https://arxiv.org/abs/2508.14370.
[13] Shihua Huang, Zhichao Lu, Xiaodong Cun, Yongjun Yu, Xiao Zhou, and Xi Shen. DEIM: DETR with improved matching for fast convergence. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2025, Nashville, TN, USA, June 11-15, 2025, pages 15162–15171. Computer Vision Foundation / IEEE, 2025. doi: 10.1109/CVPR52734.2025.01412. URL https://openaccess.thecvf.com/content/CVPR2025/html/Huang_DEIM_DETR_with_Improved_Matching_for_Fast_Convergence_CVPR_2025_paper.html.
[14] Junjie Jiang, Zelin Wang, Manqi Zhao, Yin Li, and Dongsheng Jiang. SAM2MOT: A novel paradigm of multi-object tracking by segmentation. In Proceedings of the Fortieth AAAI Conference on Artificial Intelligence, AAAI 2026, volume 40, pages 5388–5396. AAAI Press, 2026. URL https://ojs.aaai.org/index.php/AAAI/article/view/37455.
[15] Rudolf E. Kalman. A new approach to linear filtering and prediction problems. Journal of Basic Engineering, 82(1):35–45, 1960. doi: 10.1115/1.3662552. URL https://doi.org/10.1115/1.3662552.
[16] Harold W. Kuhn. The hungarian method for the assignment problem. In Michael Jünger, Thomas M. Liebling, Denis Naddef, George L. Nemhauser, William R. Pulleyblank, Gerhard Reinelt, Giovanni Rinaldi, and Laurence A. Wolsey, editors, 50 Years of Integer Programming 1958-2008 - From the Early Years to the State-of-the-Art, pages 29–47. Springer, 2010. doi: 10.1007/978-3-540-68279-0_2. URL https://doi.org/10.1007/978-3-540-68279-0\_2.
[17] Feng Li, Hao Zhang, Shilong Liu, Jian Guo, Lionel M. Ni, and Lei Zhang. DN-DETR: accelerate DETR training by introducing query denoising. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2022, New Orleans, LA, USA, June 18-24, 2022, pages 13609–13617. IEEE, 2022. doi: 10.1109/CVPR52688.2022.01325. URL https://doi.org/10.1109/CVPR52688.2022.01325.
[18] Xiang Li, Wenhai Wang, Lijun Wu, Shuo Chen, Xiaolin Hu, Jun Li, Jinhui Tang, and Jian Yang. Generalized focal loss: Learning qualified and distributed bounding boxes for dense object detection. In NeurIPS, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/f0bda020d2470f2e74990a07a607ebd9-Abstract.html.
[19] Pan Liao, Feng Yang, Di Wu, Jinwen Yu, Xingxin Li, and Dingwen Zhang. Fasttrackr: Real-time multiobject tracking with transformers for real world. IEEE Trans. Ind. Informatics, 22(3):1817–1827, 2026. doi: 10.1109/TII.2025.3631698. URL https://doi.org/10.1109/TII.2025.3631698.
[20] Tsung-Yi Lin, Michael Maire, Serge J. Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick. Microsoft COCO: common objects in context. In David J. Fleet, Tomás Pajdla, Bernt Schiele, and Tinne Tuytelaars, editors, Computer Vision - ECCV 2014 - 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part V, volume 8693 of Lecture Notes in Computer Science, pages 740–755. Springer, 2014. doi: 10.1007/978-3-319-10602-1_48. URL https://doi.org/10.1007/978-3-319-10602-1\_48.
[21] Tsung-Yi Lin, Priya Goyal, Ross B. Girshick, Kaiming He, and Piotr Dollár. Focal loss for dense object detection. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017, pages 2999–3007. IEEE Computer Society, 2017. doi: 10.1109/ICCV.2017.324. URL https://doi.org/10.1109/ICCV.2017.324.
[22] Chongwei Liu, Haojie Li, Zhihui Wang, and Rui Xu. Is a pure transformer effective for separated and online multi-object tracking? ACM Trans. Multim. Comput. Commun. Appl., 21(12):1–25, 2025. doi: 10.1145/3749105. URL https://doi.org/10.1145/3749105.
[23] Shilong Liu, Feng Li, Hao Zhang, Xiao Yang, Xianbiao Qi, Hang Su, Jun Zhu, and Lei Zhang. DAB-DETR: dynamic anchor boxes are better queries for DETR. In The Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25-29, 2022. OpenReview.net, 2022. URL https://openreview.net/forum?id=oMI9PjOb9Jl.
[24] Zelin Liu, Xinggang Wang, Cheng Wang, Wenyu Liu, and Xiang Bai. Sparsetrack: Multi-object tracking by performing scene decomposition based on pseudo-depth. IEEE TCSVT, 35(5):4870–4882, 2025. doi: 10.1109/TCSVT.2024.3524670.
[25] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In Int. Conf. Learn. Represent., 2019. URL https://openreview.net/forum?id=Bkg6RiCqY7.
[26] Zijia Lu, Bing Shuai, Yanbei Chen, Zhenlin Xu, and Davide Modolo. Self-supervised multi-object tracking with path consistency. In CVPR, pages 19016–19026, 2024. doi: 10.1109/CVPR52733.2024.01799. URL https://doi.org/10.1109/CVPR52733.2024.01799.
[27] Jonathon Luiten, Aljosa Osep, Patrick Dendorfer, Philip H. S. Torr, Andreas Geiger, Laura Leal-Taixé, and Bastian Leibe. HOTA: A higher order metric for evaluating multi-object tracking. Int. J. Comput. Vis., 129(2):548–578, 2021. doi: 10.1007/S11263-020-01375-2. URL https://doi.org/10.1007/s11263-020-01375-2.
[28] Weiyi Lv, Yuhang Huang, Ning Zhang, Ruei-Sung Lin, Mei Han, and Dan Zeng. DiffMOT: A real-time diffusion-based multiple object tracker with non-linear prediction. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2024, Seattle, WA, USA, June 16-22, 2024, pages 19321–19330. IEEE, 2024. doi: 10.1109/CVPR52733.2024.01828. URL https://doi.org/10.1109/CVPR52733.2024.01828.
[29] Tim Meinhardt, Alexander Kirillov, Laura Leal-Taixé, and Christoph Feichtenhofer. Trackformer: Multi-object tracking with transformers. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2022, New Orleans, LA, USA, June 18-24, 2022, pages 8834–8844. IEEE, 2022. doi: 10.1109/CVPR52688.2022.00864. URL https://doi.org/10.1109/CVPR52688.2022.00864.
[30] Mehdi Miah, Guillaume-Alexandre Bilodeau, and Nicolas Saunier. Learning data association for multi-object tracking using only coordinates. Pattern Recognition, 160:111169, 2025. doi: 10.1016/j.patcog.2024.111169. URL https://doi.org/10.1016/j.patcog.2024.111169.
[31] Anton Milan, Laura Leal-Taixé, Ian D. Reid, Stefan Roth, and Konrad Schindler. MOT16: A benchmark for multi-object tracking. CoRR, abs/1603.00831, 2016. URL http://arxiv.org/abs/1603.00831.
[32] Jiangmiao Pang, Linlu Qiu, Xia Li, Haofeng Chen, Qi Li, Trevor Darrell, and Fisher Yu. Quasi-dense similarity learning for multiple object tracking. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2021, virtual, June 19-25, 2021, pages 164–173. Computer Vision Foundation / IEEE, 2021. doi: 10.1109/CVPR46437.2021.00023. URL https://openaccess.thecvf.com/content/CVPR2021/html/Pang_Quasi-Dense_Similarity_Learning_for_Multiple_Object_Tracking_CVPR_2021_paper.html.
[33] Yansong Peng, Hebei Li, Peixi Wu, Yueyi Zhang, Xiaoyan Sun, and Feng Wu. D-FINE: redefine regression task of detrs as fine-grained distribution refinement. In The Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net, 2025. URL https://openreview.net/forum?id=MFZjrTFE7h.
[34] Zheng Qin, Sanping Zhou, Le Wang, Jinghai Duan, Gang Hua, and Wei Tang. Motiontrack: Learning robust short-term and long-term motions for multi-object tracking. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2023, Vancouver, BC, Canada, June 17-24, 2023, pages 17939–17948. IEEE, 2023. doi: 10.1109/CVPR52729.2023.01720. URL https://doi.org/10.1109/CVPR52729.2023.01720.
[35] Hamid Rezatofighi, Nathan Tsoi, JunYoung Gwak, Amir Sadeghian, Ian D. Reid, and Silvio Savarese. Generalized intersection over union: A metric and a loss for bounding box regression. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019, pages 658–666. Computer Vision Foundation / IEEE, 2019. doi: 10.1109/CVPR.2019.00075. URL http://openaccess.thecvf.com/content_CVPR_2019/html/
Rezatofighi_Generalized_Intersection_Over_Union_A_Metric_and_a_Loss_for_CVPR_2019_paper.html.
[36] Ergys Ristani, Francesco Solera, Roger S. Zou, Rita Cucchiara, and Carlo Tomasi. Performance measures and a data set for multi-target, multi-camera tracking. In Gang Hua and Hervé Jégou, editors, Computer Vision - ECCV 2016 Workshops - Amsterdam, The Netherlands, October 8-10 and 15-16, 2016, Proceedings, Part II, volume 9914 of Lecture Notes in Computer Science, pages 17–35, 2016. doi: 10.1007/978-3-319-48881-3_2. URL https://doi.org/10.1007/978-3-319-48881-3\_2.
[37] Mattia Segù, Luigi Piccinelli, Siyuan Li, Yung-Hsu Yang, Luc Van Gool, and Bernt Schiele. Samba: Synchronized set-of-sequences modeling for multiple object tracking. In The Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net, 2025. URL https://openreview.net/forum?id=OeBY9XqiTz.
[38] Jenny Seidenschwarz, Guillem Brasó, Victor Castro Serrano, Ismail Elezi, and Laura Leal-Taixé. Simple cues lead to a strong multi-object tracker. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2023, Vancouver, BC, Canada, June 17-24, 2023, pages 13813–13823. IEEE, 2023. doi: 10.1109/CVPR52729.2023.01327. URL https://doi.org/10.1109/CVPR52729.2023.01327.
[39] Shuai Shao, Zijian Zhao, Boxun Li, Tete Xiao, Gang Yu, Xiangyu Zhang, and Jian Sun. Crowdhuman: A benchmark for detecting human in a crowd. CoRR, abs/1805.00123, 2018. URL http://arxiv.org/abs/1805.00123.
[40] Yuqing Shao, Yuchen Yang, Rui Yu, Weilong Li, Xu Guo, Huaicheng Yan, Wei Wang, and Xiao Sun. From detection to association: Learning discriminative object embeddings for multi-object tracking. CoRR, abs/2512.02392, 2025. URL https://arxiv.org/abs/2512.02392.
[41] Bing Shuai, Alessandro Bergamo, Uta Büchler, Andrew G. Berneshawi, Alyssa Boden, and Joseph Tighe. Large scale real-world multi-person tracking. In Shai Avidan, Gabriel J. Brostow, Moustapha Cissé, Giovanni Maria Farinella, and Tal Hassner, editors, Computer Vision - ECCV 2022 - 17th European Conference, Tel Aviv, Israel, October 23-27, 2022, Proceedings, Part VIII, volume 13668 of Lecture Notes in Computer Science, pages 504–521. Springer, 2022. doi: 10.1007/978-3-031-20074-8_29. URL https://doi.org/10.1007/978-3-031-20074-8\_29.
[42] Vukašin Stanojević and Branimir Todorović. BoostTrack++: using tracklet information to detect more objects in multiple object tracking. Filomat, 39(16):5685–5702, 2025. doi:10.2298/FIL2516685S. URL https://doi.org/10.2298/FIL2516685S.
[43] Jianlin Su, Murtadha H. M. Ahmed, Yu Lu, Shengfeng Pan, Wen Bo, and Yunfeng Liu. Roformer: Enhanced transformer with rotary position embedding. Neurocomputing, 568:127063, 2024. doi: 10.1016/J.NEUCOM.2023.127063. URL https://doi.org/10.1016/j.neucom.2023.127063.
[44] Peize Sun, Yi Jiang, Rufeng Zhang, Enze Xie, Jinkun Cao, Xinting Hu, Tao Kong, Zehuan Yuan, Changhu Wang, and Ping Luo. Transtrack: Multiple-object tracking with transformer. CoRR, abs/2012.15460, 2020. URL https://arxiv.org/abs/2012.15460.
[45] Peize Sun, Jinkun Cao, Yi Jiang, Zehuan Yuan, Song Bai, Kris Kitani, and Ping Luo. Dancetrack: Multi-object tracking in uniform appearance and diverse motion. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2022, New Orleans, LA, USA, June 18-24, 2022, pages 20961–20970. IEEE, 2022. doi: 10.1109/CVPR52688.2022.02032. URL https://doi.org/10.1109/CVPR52688.2022.02032.
[46] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors, Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 5998–6008, 2017. URL https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html.
[47] Zhongdao Wang, Liang Zheng, Yixuan Liu, Yali Li, and Shengjin Wang. Towards real-time multi-object tracking. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm, editors, Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XI, volume 12356 of Lecture Notes in Computer Science, pages 107–122. Springer, 2020. doi: 10.1007/978-3-030-58621-8_7. URL https://doi.org/10.1007/978-3-030-58621-8\_7.
[48] Nicolai Wojke, Alex Bewley, and Dietrich Paulus. Simple online and realtime tracking with a deep association metric. In 2017 IEEE International Conference on Image Processing, ICIP 2017, Beijing, China, September 17-20, 2017, pages 3645–3649. IEEE, 2017. doi: 10.1109/ICIP.2017.8296962. URL https://doi.org/10.1109/ICIP.2017.8296962.
[49] Feng Yan, Weixin Luo, Yujie Zhong, Yiyang Gan, and Lin Ma. CO-MOT: boosting end-to-end transformer-based multi-object tracking via coopetition label assignment and shadow sets. In The Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net, 2025. URL https://openreview.net/forum?id=0ov0dMQ3mN.
[50] Mingzhan Yang, Guangxin Han, Bin Yan, Wenhua Zhang, Jinqing Qi, Huchuan Lu, and Dong Wang. Hybrid-sort: Weak cues matter for online multi-object tracking. In Michael J. Wooldridge, Jennifer G. Dy, and Sriraam Natarajan, editors, Thirty-Eighth AAAI Conference on Artificial Intelligence, AAAI 2024, Thirty-Sixth Conference on Innovative Applications of Artificial Intelligence, IAAI 2024, Fourteenth Symposium on Educational Advances in Artificial Intelligence, EAAI 2014, February 20-27, 2024, Vancouver, Canada, pages 6504–6512. AAAI Press, 2024. doi: 10.1609/AAAI.V38I7.28471. URL https://doi.org/10.1609/aaai.v38i7.28471.
[51] Kefu Yi, Kai Luo, Xiaolei Luo, Jiangui Huang, Hao Wu, Rongdong Hu, and Wei Hao. UCMCTrack: Multi-object tracking with uniform camera motion compensation. In AAAI, volume 38, pages 6702–6710, 2024. doi: 10.1609/aaai.v38i7.28493.
[52] En Yu, Tiancai Wang, Zhuoling Li, Yuang Zhang, Xiangyu Zhang, and Wenbing Tao. Motrv3: Release-fetch supervision for end-to-end multi-object tracking. CoRR, abs/2305.14298, 2023. doi: 10.48550/ARXIV.2305.14298. URL https://doi.org/10.48550/arXiv.2305.14298.
[53] Fisher Yu, Haofeng Chen, Xin Wang, Wenqi Xian, Yingying Chen, Fangchen Liu, Vashisht Madhavan, and Trevor Darrell. BDD100K: A diverse driving dataset for heterogeneous multitask learning. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 2633–2642. Computer Vision Foundation / IEEE, 2020. doi: 10.1109/CVPR42600.2020.00271. URL https://openaccess.thecvf.com/content_CVPR_2020/html/Yu_BDD100K_A_Diverse_Driving_Dataset_for_Heterogeneous_Multitask_Learning_CVPR_2020_paper.html.
[54] Fangao Zeng, Bin Dong, Yuang Zhang, Tiancai Wang, Xiangyu Zhang, and Yichen Wei. MOTR: end-to-end multiple-object tracking with transformer. In Shai Avidan, Gabriel J. Brostow, Moustapha Cissé, Giovanni Maria Farinella, and Tal Hassner, editors, Computer Vision - ECCV 2022 - 17th European Conference, Tel Aviv, Israel, October 23-27, 2022, Proceedings, Part XXVII, volume 13687 of Lecture Notes in Computer Science, pages 659–675. Springer, 2022. doi: 10.1007/978-3-031-19812-0_38. URL https://doi.org/10.1007/978-3-031-19812-0\_38.
[55] Hao Zhang, Feng Li, Shilong Liu, Lei Zhang, Hang Su, Jun Zhu, Lionel M. Ni, and Heung-Yeung Shum. DINO: DETR with improved denoising anchor boxes for end-to-end object detection. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net, 2023. URL https://openreview.net/forum?id=3mRwyG5one.
[56] Haoyang Zhang, Ying Wang, Feras Dayoub, and Niko Sünderhauf. VarifocalNet: An IoU-aware dense object detector. In CVPR, pages 8514–8523, 2021. URL https://openaccess.thecvf.com/content/CVPR2021/html/Zhang_VarifocalNet_An_IoU-Aware_Dense_Object_Detector_CVPR_2021_paper.html.
[57] Yifu Zhang, Chunyu Wang, Xinggang Wang, Wenjun Zeng, and Wenyu Liu. Fairmot: On the fairness of detection and re-identification in multiple object tracking. Int. J. Comput. Vis., 129(11):3069–3087, 2021. doi: 10.1007/S11263-021-01513-4. URL https://doi.org/10.1007/s11263-021-01513-4.
[58] Yifu Zhang, Peize Sun, Yi Jiang, Dongdong Yu, Fucheng Weng, Zehuan Yuan, Ping Luo, Wenyu Liu, and Xinggang Wang. Bytetrack: Multi-object tracking by associating every detection box. In Shai Avidan, Gabriel J. Brostow, Moustapha Cissé, Giovanni Maria Farinella, and Tal Hassner, editors, Computer Vision - ECCV 2022 - 17th European Conference, Tel Aviv, Israel, October 23-27, 2022, Proceedings, Part XXII, volume 13682 of Lecture Notes in Computer Science, pages 1–21. Springer, 2022. doi: 10.1007/978-3-031-20047-2_1. URL https://doi.org/10.1007/978-3-031-20047-2\_1.
[59] Yuang Zhang, Tiancai Wang, and Xiangyu Zhang. Motrv2: Bootstrapping end-to-end multi-object tracking by pretrained object detectors. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2023, Vancouver, BC, Canada, June 17-24, 2023, pages 22056–22065. IEEE, 2023. doi: 10.1109/CVPR52729.2023.02112. URL https://doi.org/10.1109/CVPR52729.2023.02112.
[60] Yian Zhao, Wenyu Lv, Shangliang Xu, Jinman Wei, Guanzhong Wang, Qingqing Dang, Yi Liu, and Jie Chen. Detrs beat yolos on real-time object detection. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2024, Seattle, WA, USA, June 16-22, 2024, pages 16965–16974. IEEE, 2024. doi: 10.1109/CVPR52733.2024.01605. URL https://doi.org/10.1109/CVPR52733.2024.01605.
[61] Xingyi Zhou, Vladlen Koltun, and Philipp Krähenbühl. Tracking objects as points. In Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part IV, volume 12349 of Lecture Notes in Computer Science, pages 474–490. Springer, 2020. doi: 10.1007/978-3-030-58548-8_28. URL https://doi.org/10.1007/978-3-030-58548-8\_28.
[62] Xingyi Zhou, Tianwei Yin, Vladlen Koltun, and Philipp Krähenbühl. Global tracking transformers. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2022, New Orleans, LA, USA, June 18-24, 2022, pages 8761–8770. IEEE, 2022. doi: 10.1109/CVPR52688.2022.00857. URL https://doi.org/10.1109/CVPR52688.2022.00857.
[63] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable DETR: deformable transformers for end-to-end object detection. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021. URL https://openreview.net/forum?id=gZ9hCDWe6ke.
MOTIP2: Spatial Priors for End-to-End Multi-Object Tracking
Supplementary Material
A Training Details
Optimizer Configuration. We use AdamW [☐] with per-parameter-group learning rates and weight decay. The encoder and decoder use a base learning rate of for MOTIP2-N, for MOTIP2-S/M, and for MOTIP2-L/X. The ID decoder uses twice this rate. The backbone uses this rate for MOTIP2-N/S, for MOTIP2-M, for MOTIP2-L, and for MOTIP2-X. Weight decay is set per model size as well and is disabled for normalization layers, bias terms, and embedding parameters. Gradients are clipped to a max norm of 0.1. We apply EMA with a decay of 0.9995, with no warmup during pretraining and a 1000-step warmup during joint training.
Learning Rate Schedule. Training follows a two-stage schedule, both stages at a constant learning rate with 40k samples per epoch. We first pretrain the DEIM [☐] detector alone, with no learning-rate warmup, then jointly train the full model (detector + ID decoder) with a 500-iteration linear warmup.
Batch Size. For MOTIP2-S/M/L/X, we use 8 images per GPU during detector pretraining and 2 clips per GPU during joint training, giving global batch sizes of 32 images and 8 clips across four GPUs. MOTIP2-N uses 32 images and 4 clips per GPU, giving global batch sizes of 128 images and 16 clips, respectively. We do not accumulate gradients.
Clip Sampling. We sample clips of 30 frames (60 for SportsMOT) with a temporal interval uniformly sampled from 1 to 4. The detection loss is computed on 4 randomly sampled frames per clip (8 for the nano model), while the ID decoder receives the full clip.
Data Augmentation Details. We apply augmentations at two levels: image-level and trajectory-level.
Image-level geometric. Horizontal flip with probability 0.5; random zoom-out with probability 0.5 and scale range [1.0, 2.0]; IoU-aware random crop with probability 0.8, scale range [0.3, 1.0], and aspect ratio range [1.5, 2.0].
Multi-scale resizing. Every clip is randomly resized to one of a set of resolutions spanning roughly 75% to 125% of the base size, each snapped to a multiple of 32, with a tunable sampling bias toward the base resolution; all frames within a clip share the sampled scale. Exposing the model to many resolutions during training yields a single network that handles a range of input sizes at inference without retraining, so the test-time resolution becomes a free accuracy-latency dial.
Photometric. Applied with probability 0.5: brightness jitter in [0.875, 1.125], contrast in [0.5, 1.5], saturation in [0.5, 1.5], and hue shift in [-0.05, 0.05].
Trajectory-level. Spatial ID Switches are applied with probability 1.0, sampling identity permutations weighted by pairwise GIoU affinity. Random occlusion masking is applied with probability 0.5. Trajectories are organized into 6 groups of 100 IDs each.
Loss Weights. The DEIM detection losses use the following weights: classification (MAL) 1.0, bounding box L1 5.0, GIoU 2.0, FGL 0.15, and DDF 1.5 (the last two from D-FINE [63]), with focal loss [21] parameters and . The Hungarian matcher costs are: class 2.0, bounding box 5.0, GIoU 2.0. The ID association loss weight is 1.0. Following quality-aware detection losses [18, 56], the ID cross-entropy is weighted per-sample by the predicted-to-ground-truth IoU, concentrating association learning on well-localized detections.
B Reference Comparison on MOT17
We train MOTIP2-L/X on MOT17 [6] and CrowdHuman [6], matching MOTIP's recipe, and evaluate on the MOT17 test set (Tab. 7). MOTIP2 improves over MOTIP [6] on every metric, including association (+1.0 AssA and +1.4 IDF1 at L), though the gains concentrate in detection (+1.9 DetA at X). Scaling L to X leaves AssA flat at 58.0: association on MOT17 is data-bound rather than capacity-bound, since CrowdHuman's static images supervise detection only, leaving MOT17's 7 training sequences as the sole association supervision, whose near-linear motion favors training-free Kalman [6] association. This regime motivated our focus on PersonPath22, a pedestrian benchmark with 138 training videos.
C Training Stability of Spatial ID Switches
Figure 5 tracks PersonPath22 HOTA across the joint-training epochs for the three augmentation variants ablated in Sec. 4.4. The uniform permutation of MOTIP [1] improves for the first few epochs, then diverges and ends well below the no-augmentation baseline. Because PersonPath22's wide scenes spread objects across the frame, a uniform permutation fabricates mostly long-distance swaps that rarely occur at inference (Sec. 3.2); supervised against these implausible histories, the ID decoder destabilizes the jointly trained detector rather than learning to recover from realistic confusions. GIoU-based sampling (ours) restricts confusions to spatially plausible pairs, trains stably throughout, and reaches the best HOTA.
Table 8 quantifies the augmentation over one epoch. The uniform permutation mostly swaps non-overlapping boxes ( ), fabricating long-range swaps; Spatial ID Switches realize fewer swaps, focused on overlapping objects (mean GIoU 0.20/0.15), yet reach a higher HOTA. At inference, the uniform variant produces the most long-range ID switches ( the no-augmentation counts), whereas ours stays close to the no-augmentation level while learning to recover from identity errors.
D A Long-Distance Identity Switch
Figure 6 illustrates the long-distance switch raised in Sec. 1, the failure our spatial priors are designed to suppress. On a crowded DanceTrack sequence, the baseline trained without any of the spatial priors teleports an identity nearly across the full frame width between two consecutive frames, with no occlusion and no plausible motion path, merging two distant
| Method | HOTA | DetA | AssA | MOTA | IDF1 |
|---|---|---|---|---|---|
| Tracking-by-detection | |||||
| CenterTrack [6] | 52.2 | 53.8 | 51.0 | 67.8 | 64.7 |
| FairMOT [7] | 59.3 | 60.9 | 58.0 | 73.7 | 72.3 |
| DeepSORT [8] | 61.2 | 63.1 | 59.7 | 78.0 | 74.5 |
| SORT [9] | 63.0 | 64.2 | 62.2 | 80.1 | 78.2 |
| ByteTrack [10] | 63.1 | 64.5 | 62.0 | 80.3 | 77.3 |
| OC-SORT [11] | 63.2 | 63.2 | 63.4 | 78.0 | 77.5 |
| C-BIoU [12] | 64.1 | 64.8 | 63.7 | 81.1 | 79.7 |
| MotionTrack [13] | 65.1 | 65.4 | 65.1 | 81.1 | 80.1 |
| SparseTrack [14] | 65.1 | - | - | 81.0 | 80.1 |
| FastTracker [15] | 66.4 | 66.3 | 66.9 | 81.8 | 82.0 |
| BoostTrack++ [16] | 66.6 | - | - | 80.7 | 82.2 |
| End-to-end | |||||
| TrackFormer [17] | - | - | - | 74.1 | 68.0 |
| MOTR [18] | 57.2 | 58.9 | 55.8 | 71.9 | 68.4 |
| MOTRv2 [19] | 57.6 | 58.1 | 57.5 | 70.1 | 70.3 |
| MeMOTR [20] | 58.8 | 59.6 | 58.4 | 72.8 | 71.5 |
| MOTIP [21] | 59.3 | 62.0 | 57.0 | 75.3 | 71.3 |
| CO-MOT [22] | 60.1 | 59.5 | 60.6 | 72.6 | 72.7 |
| MOTRv3 [23] | 60.2 | 62.1 | 58.7 | 75.9 | 72.4 |
| FastTrackTr [24] | 62.4 | 62.8 | 63.0 | 76.7 | 77.2 |
| MOTIP2-L | 60.4 | 63.2 | 58.0 | 76.3 | 72.7 |
| MOTIP2-X | 60.7 | 63.9 | 58.0 | 77.3 | 72.6 |
Table 7: State-of-the-art comparison on the MOT17 [6] test set. The best end-to-end result is in bold. MOTIP2-L/X are trained on MOT17 + CrowdHuman, matching MOTIP's recipe.

Figure 5: ID-switch augmentation variants. PersonPath22 (test) HOTA over joint-training epochs (MOTIP2-S): GIoU-based sampling (Ours), no augmentation (w/o IDSW), and MOTIP's uniform permutation (uniform IDSW). The uniform permutation diverges and ends below the no-augmentation baseline, while ours trains stably to the highest HOTA.
but near-identical dancers into a single track. Among the three priors, the Spatial ID Loss most directly targets this error by restoring the geometric cost that cross-entropy leaves out (Sec. 3.3). With all three priors active, our full model keeps both identities stable.
| Sampling | Training | Inference | |||
|---|---|---|---|---|---|
| Swap% | LR% | GIoU | HOTA | LR-sw | |
| DanceTrack | |||||
| None | - | - | - | 60.1 | 120 |
| Uniform | 37% | 85% | -0.40 | 63.7 | 260 |
| Ours | 10% | 26% | 0.20 | 64.5 | 134 |
| PersonPath22 | |||||
| None | - | - | - | 59.5 | 186 |
| Uniform | 43% | 94% | -0.65 | 56.1 | 322 |
| Ours | 10% | 31% | 0.15 | 61.6 | 195 |
Table 8: Spatial ID-switch augmentation behavior. Training, over one epoch: the realized swap rate (Swap%), the fraction of swapped pairs that are long-range (LR%: GIoU ≤ 0, non-overlapping), and their mean overlap (GIoU). Inference: the number of long-range ID switches produced by each variant (LR-sw).

Figure 6: A long-distance identity switch our spatial priors prevent. DanceTrack dancetrack0090, consecutive frames 710 and 711. Top: with the spatial priors disabled, identity 2 jumps px across the frame (yellow arrow), merging two distant dancers into a single track (Sec. 1). Bottom: our full model keeps both identities stable.
E Tracklet Confirmation Sweep
Table 9 reports the full tracklet-confirmation sweep summarized in Sec. 4.5. Requiring consecutive frames of consistent assignment before committing a tentative track leaves HOTA essentially unchanged, with only slight gains in IDF1 and MOTA, while steadily reducing identity switches, by on PersonPath22 (5612 4911) and on DanceTrack (3287 2356) from to 3. Accuracy plateaus at , and identity switches fall only marginally beyond it; we adopt as the smallest threshold that captures the gain.
| PersonPath22 | DanceTrack | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| HOTA | DetA | AssA | MOTA | IDF1 | IDSW↓ | HOTA | DetA | AssA | MOTA | IDF1 | IDSW↓ | |
| 1 | 61.5 | 63.7 | 60.0 | 72.5 | 70.3 | 5612 | 64.3 | 73.7 | 56.4 | 81.9 | 67.7 | 3287 |
| 2 | 61.6 | 63.8 | 60.3 | 72.9 | 70.4 | 5069 | 64.5 | 74.0 | 56.5 | 82.9 | 68.8 | 2489 |
| 3 | 61.6 | 63.8 | 60.3 | 73.1 | 70.4 | 4911 | 64.5 | 74.2 | 56.3 | 83.2 | 68.3 | 2356 |
Table 9: Effect of tracklet confirmation . MOTIP2-S on PersonPath22 test and DanceTrack val. is the number of consecutive frames a new tracklet must be matched before being confirmed. Best per metric and benchmark in bold.
F Latency Comparison with Baselines
Tab. 10 compares per-frame latency against end-to-end baselines. MOTIP2 and MOTIP are profiled in PyTorch FP32 on a single V100; the FastTrackTr and PuTR figures (marked ) are estimated from the RTX 4090 measurements reported by [19], scaled by MOTIP's V100/4090 latency ratio, so we read these cross-GPU comparisons as indicative rather than exact. At matched accuracy MOTIP2-S runs at 27.1 ms against MOTIP's 86.9 ms (3.2× faster) while reaching higher HOTA (64.5 vs 64.0), and the lighter MOTIP2-N drops to 18.8 ms.
| Method | HOTA | Latency (ms) | Resolution |
|---|---|---|---|
| End-to-end | |||
| FastTrackTr-R18-Dec3 [19] | 47.4 | 640×640 | |
| FastTrackTr-Dec3 [19] | 51.2 | 640×640 | |
| PuTR [20] | 54.5 | 800×1333 | |
| FastTrackTr (640) [19] | 54.8 | 640×640 | |
| FastTrackTr (1333) [19] | 56.9 | 800×1333 | |
| MOTIP [19] | 64.0 | 86.9 | 800×1440 |
| End-to-end (Ours) | |||
| MOTIP2-N | 59.2 | 18.8 | 800×1440 |
| MOTIP2-S | 64.5 | 27.1 | 800×1440 |
| MOTIP2-M | 67.3 | 39.3 | 800×1440 |
| MOTIP2-L | 68.0 | 54.8 | 800×1440 |
| MOTIP2-X | 70.1 | 81.1 | 800×1440 |
Table 10: Latency comparison with end-to-end baselines. HOTA on DanceTrack-val and per-frame latency (ms) in PyTorch on a single V100. Estimated from RTX 4090 measurements [19] scaled by MOTIP's V100/4090 latency ratio.