arXiv:2610.10391cs.CVOct 2026

Manuscript Offprint

arXiv:2610.10391

MOTIP2: Spatial Priors for End-to-End Multi-Object Tracking

Benoît Roussel, Damien Bouet, Liming Chen, Pierre Perrault

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 3×3\times 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

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 3.2×3.2 \times faster than MOTIP. Marker shape denotes input resolution: square 640×640640 \times 640, gray triangle 800×1333800 \times 1333; MOTIP (black) and MOTIP2 (circles) run at 800×1440800 \times 1440. †\dagger 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 [1,4][1, 4]. 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 3×3 \times faster than MOTIP at matched accuracy (Fig. 1).

References (61)