When two people cross paths in a video, a tracker usually loses them in a predictable way. For a few frames their boxes merge into one blob, the detector fires once or twice, and the tracker hands the surviving detection to the wrong identity. A multi-object tracker is a system that follows many objects across video frames and keeps each one's identity. Most trackers deal with this moment through motion extrapolation or appearance matching. Neither helps much when the people look alike and move unpredictably. This note proposes using a piece of information that is cheap to observe before the crossing and almost never changes during it: which of the two is in front. The front object stays visible. The back object is hidden behind it and later reappears at its edge. A tracker that carries this front/back relation as part of its state, instead of re-estimating depth in every frame, knows during the crossing which identity owns the visible detection and which identity should be held in reserve.
The opportunity comes from two lines of work. SparseTrack showed that splitting a crowded scene into depth layers and matching layer by layer gives large gains: it reports +7.8 HOTA over ByteTrack on DanceTrack. Its depth, however, is a heuristic: the height of the box's bottom edge in the image, which assumes a flat floor and a raised camera. Work on depth ordering (Instance-wise Occlusion and Depth Orders in Natural Scenes, LaRender) treats occlusion as an explicit graph over objects. That work is limited to single images, and it either scores all pairs at quadratic cost or takes the graph as given. Our contribution is to make the occlusion graph a sparse, time-persistent part of the tracker's state. It is measured only for overlapping pairs, filtered over time, and used directly in data association, the step that decides which detection belongs to which existing track.
Core Claim
During a crossing, the depth-ordering signal must be remembered rather than measured. The best evidence about who is in front arrives before the boxes fully overlap, from partial truncation, overlap shape, and the relative size and position of the boxes. At full overlap, any per-frame estimate degrades. A monocular depth network returns the depth of the visible front surface for both boxes. The foot-point heuristic breaks when a dancer jumps. A pairwise classifier sees one blob. We therefore claim that a tracker which keeps a filtered belief over each overlapping pair's front/back order, and conditions association on it, will cut identity switches at crossing events. It should do better than both the foot-point heuristic and a learned per-frame depth signal, at a cost of a small head evaluated only on overlapping pairs. The cleanest falsification is an ablation that uses the identical per-frame order signal without temporal persistence. If that ablation matches the full method, the claim is wrong.
Research Program
The tracker starts from the same detector and Kalman motion model used by ByteTrack, OC-SORT and SparseTrack, so that every difference we measure comes from ordering. We add three components.
The first is a pairwise occlusion-order head. It is a small network over pooled detector features from the union region of two boxes. It predicts the four relations defined in InstaOrder: no occlusion, A occludes B, B occludes A, and mutual occlusion. We pretrain it on the INSTAORDER pairwise annotations, which Lee and Park show to be distinct from depth order: a closer object usually does not occlude the farther one, with no occlusion in 83% of such pairs. This matters because association needs occlusion order, not depth. The head runs only on pairs of tracks whose predicted boxes overlap. The number of such pairs grows with local crowding, not with $N^2$, which answers InstaOrder's own scaling limitation.
The second component is a persistent edge belief. For each overlapping track pair $(A,B)$ we keep a logit $b_{AB}^t$ for "A is in front of B" and update it as
$$b_{AB}^t = \lambda\, b_{AB}^{t-1} + c_t\, s_{AB}^t,$$
Here $s_{AB}^t$ is the head's front/back logit at frame $t$, and $c_t \in [0,1]$ is a confidence weight that falls toward zero as the two boxes approach full overlap, when the head's input becomes uninformative. The constant $\lambda$ close to 1 encodes that order rarely flips mid-crossing. An edge is created when two tracks first overlap and deleted after they separate. A genuine order flip, such as one dancer circling another, can still overturn the belief, but only through sustained evidence.
The third component is order-conditioned association. It has two effects on the matching cost. A track that is behind a confident edge and heavily covered is marked "held": a missing detection does not penalize it, and its expected visible region is its predicted box minus the occluder's box, so a partial detection can be matched to the visible remainder. The front track of a confident edge gets priority for the merged detection, in the spirit of SparseTrack's front-to-back cascade but driven by the edge belief instead of foot-point height. When the held track re-emerges, candidate detections at the occluder's boundary get a lower matching cost. This gives the tracker a concrete spatial hypothesis during occlusion. OC-SORT's after-the-fact re-update lacks such a hypothesis, and BURST names the resulting failure the recovery problem (BURST).
We also study self-supervised refinement of the head on tracking video. Once a crossing is resolved with high confidence, the track that stayed continuously detected gives a pseudo-label for "front." This adapts the head to domains such as dance and crowds that InstaOrder's COCO images cover poorly.
Baselines
The naive reference point is ByteTrack-style association with the same detections and no ordering at all. All proposed gains are measured against it.
The structural competitor is SparseTrack: foot-point pseudo-depth with depth cascading matching. It is the strongest published method that uses depth layering for association at tracker-level speed. It reports 65.1 HOTA on MOT17 and 63.4 HOTA on MOT20, plus the +7.8 HOTA DanceTrack gain over ByteTrack (SparseTrack). We run it from identical detections with its released layer count and tune its thresholds on the same validation split and budget as ours.
The motion competitor is OC-SORT, which reports 54.6 HOTA on DanceTrack and 62.1 HOTA on MOT20 at over 700 FPS on CPU (OC-SORT). It is the method we most need to beat on non-linear motion without appearance. Since our layers sit on top of a Kalman tracker, we also run an OC-SORT plus ordering variant.
For accuracy, the ceiling is MOTE, which reports 66.3 HOTA on MOT17 and 93.2 MOTA on DanceTrack while running near 6 FPS on an A100 because it computes dense optical flow (More Than Meets the Eye). We do not expect to exceed MOTE on raw MOTA. We count success as matching or exceeding its identity-switch reduction on crossing events at more than ten times its frame rate, reported on an accuracy-versus-latency plot. DiffusionTrack (52.4 HOTA on DanceTrack, DiffusionTrack) and PermaTrack (Learning to Track with Object Permanence, code) are secondary references for generative association and learned object permanence.
Two ablations isolate the key ingredient. The first is per-frame depth: a monocular depth network's median depth inside each box replaces SparseTrack's pseudo-depth in the same cascade. We found no reported tracking result on Lacuna for this variant, so we must run it ourselves. The second is per-frame order: our own head's output is used directly, with $\lambda=0$. Beating both on crossing-event identity preservation is the result that would support the claim.
Why not just…?
Why not just feed a monocular depth network's per-box depth into SparseTrack's cascade? This is the most serious threat, because it fixes the flat-world failure with no new design. Its weakness falls exactly where tracking fails. Visible-surface depth inside two merged boxes reports the front object's surface for both, a limitation that motivated Amodal depth anything. It also adds a dense network per frame. If this ablation matches our method on the crossing subset, the persistence claim fails, and we would report that per-frame learned depth is enough.
Why not just use the foot-point heuristic, since it is free and already gives +7.8 HOTA? SparseTrack's authors acknowledge the flat-ground, raised-camera assumption. DanceTrack's jumps and lifts and MOT17's low cameras violate it. Our stratified evaluation splits crossings by vertical displacement and camera height, which shows directly where it breaks and whether ordering helps outside those cases.
Why not just rely on stronger appearance re-identification? DanceTrack shows that appearance features become entangled when targets dress alike, with HOTA falling from roughly 60–70 on MOT17 to 40–50 on DanceTrack, and sometimes doing worse than motion-only matching. Order is an appearance-independent cue, so the two are complementary. We report a re-identification baseline and a combined variant.
Why not just let OC-SORT's re-update absorb crossings? Its re-update fires only after reappearance and keeps no hypothesis about where the hidden target is. Our held-track mechanism supplies one. The crossing-subset metric measures directly whether that hypothesis prevents switches that OC-SORT repairs late or never repairs.
Proposed Experiments
The primary benchmark is DanceTrack, chosen for uniform appearance, frequent crossings, and violations of the flat floor. MOT17 and MOT20 test crowded pedestrian scenes, and KITTI tests driving. We report HOTA, AssA, IDF1, and identity switches, all computed from shared YOLOX detections.
The decisive analysis uses a crossing-event subset. We extract every ground-truth pair whose boxes reach high overlap and later separate, and we score whether both identities survive. Results are stratified by occlusion duration, vertical displacement, and crowd density. On MOT17 and MOT20 we also use the provided visibility annotations to check that held tracks are the truly occluded ones.
We evaluate the head's ordering accuracy separately on the INSTAORDER test split and on KINS, against InstaOrderNet's reported superiority over earlier ordering networks. We also measure order accuracy as a function of overlap, to confirm that per-frame evidence decays near full overlap, which is the premise that persistence relies on.
Latency is reported per frame, with pair count logged against crowd size. This tests the claim that cost grows with local overlaps rather than quadratically.
The claim holds if the persistent variant beats both the per-frame-depth and per-frame-order ablations on crossing-event identity preservation by a margin larger than seed variance, while staying near SparseTrack's speed.
References
- SparseTrack: Multi-Object Tracking by Performing Scene Decomposition Based on Pseudo-Depth
- Instance-wise Occlusion and Depth Orders in Natural Scenes
- LaRender: Training-Free Occlusion Control in Image Generation via Latent Rendering
- Observation-Centric SORT: Rethinking SORT for Robust Multi-Object Tracking
- BURST: A Benchmark for Unifying Object Recognition, Segmentation and Tracking in Video
- More Than Meets the Eye: Enhancing Multi-Object Tracking Even with Prolonged Occlusions
- DiffusionTrack: Diffusion Model for Multi-Object Tracking
- Learning to Track with Object Permanence
- Amodal depth anything: Amodal depth estimation in the wild
- DanceTrack: Multi-Object Tracking in Uniform Appearance and Diverse Motion