In a crowded video, a multi-object tracker has to decide every frame which new detection belongs to which existing person. The most reliable cue for that decision is an appearance fingerprint: an embedding from a re-identification (Re-ID) network, a model trained to tell individuals apart by how they look. Computing that fingerprint for every person in every frame is expensive when a frame contains two hundred people, and it is mostly wasted. A person walking alone in open space is matched correctly from motion alone. Only the few people who are crossing, overlapping, or reappearing after occlusion actually need a fresh embedding. We propose to treat each Re-ID computation as a request competing for a fixed per-frame compute budget. The requests are scheduled the way distributed systems schedule traffic across servers: the scheduler first solves a small continuous optimization that assigns each kind of track a probability of being served, then samples which tracks to serve.
The central claim is that randomization is necessary here, not decorative. Nobody knows in advance how much an embedding helps a given track. The benefit can only be observed for tracks that were actually served, which makes it a partial-feedback learning problem. Because we know each track's serving probability, we can form unbiased estimates of that benefit and keep improving the allocation online. A deterministic "refresh the most uncertain tracks" rule cannot do this: its estimates are biased toward the tracks it already chooses, and tracks it rates as easy never get checked. The goal is to recover most of the identity accuracy of a tracker that runs Re-ID on every detection, while using a fraction of the calls, and to degrade gracefully when a hard frame-rate deadline forces the budget down.
What exists and where this sits
The tracking side supplies the problem and the two reference points. ByteTrack associates detections in two stages: first high-confidence boxes, then low-confidence boxes by motion overlap. It is fast and largely motion-driven. SolidTrack adds a transformer Re-ID model (SOLIDER, pretrained on Market-1501) with moving-average appearance updates, and reports better identity metrics. It pays for that with an appearance pass over every detection, and it still depends on the confidence threshold. FasterVideo motivates the concern about cost: on MOT20 its speed falls from 15 FPS to 2.3 FPS, and the authors blame building the pairwise distance matrix and running Hungarian matching. That paper constrains us as much as it motivates us. If association really dominates runtime, scheduling Re-ID attacks the wrong term, so our first experiment profiles where time actually goes. FasterVideo's fixed top-K proposal pruning is the deterministic analogue of what we do, but it prunes detections rather than scheduling a per-track operation.
The scheduling side supplies the method. Non-Stationary Online Resource Allocation: Learning from a Single Sample solves a continuous "fluid" relaxation for target service probabilities per request type and turns them into online decisions through thresholds on quantiles of each type's reward. It explicitly leaves the partial-feedback setting open, and it requires a minimum arrival probability per type. We borrow the probability-per-type structure. We take on the partial-feedback case in a specific form where the logging probabilities are known. We turn the minimum-probability condition into a design choice: a floor on each type's service rate, which also prevents any track from going unchecked indefinitely. ThemisIO supplies the execution mechanism for sharing across streams. Idle workers draw a random number over probability segments set by fair shares, so they need no locks, and fairness is enforced only under congestion. We reuse this only in the multi-camera extension. As far as the file shows, no work applies either idea to allocating perception compute across tracks. The nearest "scheduling" work in tracking, SSTrack, schedules training samples for a single-target tracker, which is a different problem.
Core mechanism
At frame $t$, each live track is assigned a type $k$ from a small discretized feature set. The features are: overlap with neighboring boxes, frames since the last fresh embedding, trace of the motion filter's covariance, and detection confidence. $n_k$ is the number of tracks of type $k$, $g_k$ is the estimated gain of refreshing one such track, $B$ is the number of Re-ID calls the frame deadline allows, and $p_{\min}$ is the service floor. The scheduler solves
$$\max_{p}\ \sum_k n_k\, p_k\, g_k \quad \text{s.t.}\quad \sum_k n_k\, p_k \le B,\qquad p_{\min} \le p_k \le 1,$$
which is a fractional knapsack solvable by sorting. It then samples exactly $B$ tracks with inclusion probabilities $p_k$ using systematic sampling. Unserved tracks are matched on motion and their stale moving-average embedding.
The gain signal can be observed online without ground truth. For a served track, we compare the association computed with the fresh embedding to the association computed without it. The gain is 1 if the match changes and the fresh-embedding match has lower cost, and 0 otherwise. Because the serving probability is known, the estimate $\hat g_k = \frac{1}{|S_k|}\sum_{i \in S_k} r_i / p_k$ over served tracks $S_k$, normalized by type population, is unbiased. We update it with a sliding window to follow changes in crowd density. On training sequences with ground truth we check whether these "flips" actually predict identity switches. If they do not, the gain proxy is replaced by a small regressor trained offline to predict switch probability, and the rest of the scheduler is unchanged.
Research Program
The first stage is a profiling study on MOT17 and MOT20 with a SolidTrack-style pipeline. It splits per-frame time into detection, Re-ID, cost-matrix construction, and matching as crowd size grows. This tests whether FasterVideo's attribution to matching holds for a modern pipeline. The proposal is worth pursuing only if Re-ID is a large share of runtime in crowds. The second stage builds the scheduler as described and traces the accuracy-versus-budget curve by sweeping $B$ from zero calls to all detections. The third stage is a latency-deadline mode: $B$ is set each frame from measured detector time so that a 30 FPS target is met, and we measure identity accuracy and deadline misses. The fourth, smaller stage runs several sequences at once against one Re-ID worker pool. Workers pull requests through ThemisIO-style random draws over per-stream shares with opportunity fairness. This tests whether a dense stream can borrow idle capacity from sparse streams without starving them.
Baselines
The do-nothing reference is ByteTrack with motion-only association, run with the same detector, which is the budget $B=0$ end of our curve. ByteTrack reports MOTA above 80.3 on MOT17 at 30 FPS on a V100. If the scheduler gives no identity gain over this at modest budgets, appearance is not worth scheduling.
The strongest existing method, and the accuracy ceiling, is SolidTrack with Re-ID on every detection. It reports MOTA 80.6, IDF1 80.0, HOTA 65.0 on the MOT17 test set, and MOTA 77.9, IDF1 77.5, HOTA 63.4 on the MOT20 test set. No reported frame rate for SolidTrack was found on Lacuna, so we measure it ourselves on the same GPU. All methods share the same detector weights, Re-ID weights, moving-average rule and thresholds. Sweeps and tuning run on half-train validation splits with equal tuning budgets, and only final configurations go to the test servers. Beating it means matching its IDF1 and HOTA within 1 point on MOT20 validation while using at most 30% of its Re-ID calls. Alternatively, it means exceeding its IDF1 when both run under the same hard 30 FPS deadline, where full Re-ID has to drop frames or embeddings.
Two budget-matched heuristic schedulers use the same $B$. Round-robin refreshes each track every $\lceil N/B \rceil$ frames. Greedy-uncertainty refreshes the top-$B$ tracks by the same features the scheduler uses. Three ablations isolate the key ingredient. The first is uniform random sampling of $B$ tracks, which keeps randomness but drops learned gains. The second is the fluid solution with deterministic rounding, which keeps learned gains and removes randomness, so gains are estimated only on chosen tracks. The third sets $p_{\min}=0$. If deterministic rounding matches the full method, the claim that randomization matters is false, and we will report it as such.
Why not just…?
Why not just refresh the top-B most uncertain tracks each frame? This is the real threat. With well-calibrated uncertainty it could match our method. Its weakness is that the ranking features are hand-set proxies, and the rule never collects evidence on tracks it rates as easy. In non-stationary scenes this matters, for example on MOT20-08, where the file's Faster R-CNN reference reaches only 20.76 MOTA against 86.06 on MOT20-01 (MOT20). The deterministic-rounding ablation and the greedy baseline settle the question directly. We expect the gap to be largest on DanceTrack, where uniform appearance makes the true value of Re-ID low, and a learned allocation should discover that while a fixed ranking cannot.
Why not just use a smaller Re-ID model on everyone? Distillation cuts cost per call. It is complementary to scheduling rather than a replacement, but it is a genuine competitor at equal compute. We run an equal-FLOPs comparison: a small Re-ID network on all detections against the SOLIDER model on a scheduled subset. We also run the combination. If the small-for-all option dominates at every budget, scheduling adds little, and we will report that.
Why not just refresh every k frames? Periodic refresh spends the same budget on the isolated walker as on the person emerging from a group. The round-robin baseline measures this cost. We expect it to fall short most clearly on identity switches during crossings.
Why not replace Hungarian matching with the fluid relaxation, as the research file suggests? For a few hundred tracks, the matching step is a small optimization, and relaxing it risks inconsistent assignments. Our profiling tests whether it is the bottleneck. We relax the compute allocation instead, where fractional solutions are harmless because they are sampled.
Proposed Experiments
The benchmarks are MOT17 and MOT20 for moderate and extreme density, and DanceTrack for weak appearance cues. ConsistencyTrack reports 87.8 MOTA there (ConsistencyTrack), which serves as context only, since its detector differs. Metrics are HOTA, IDF1, MOTA and identity switches, plotted against Re-ID calls per frame. We also report end-to-end FPS and deadline-miss rate under the 30 FPS mode.
Three checks are decisive. First, the budget curve has to reach 95% of full-Re-ID IDF1 on MOT20 validation by 30% of the calls, with the greedy and deterministic-rounding variants reaching it later or not at all. Second, the flip-based gain signal has to predict ground-truth identity switches with an AUC clearly above that of the raw uncertainty features. Third, in the multi-stream test, a MOT20 stream sharing a worker pool with MOT17 streams has to gain IDF1 over static equal partitioning, without the MOT17 streams losing more than half a point. A negative result on the first check, together with profiling that shows Re-ID is a minor cost, would end the project early and cheaply.
References
- ByteTrack: Multi-object Tracking by Associating Every Detection Box
- SolidTrack: A Novel Method for Robust and Reliable Multi-Pedestrian Tracking
- FasterVideo: Efficient Online Joint Object Detection and Tracking
- Non-Stationary Online Resource Allocation: Learning from a Single Sample
- Fine-grained Policy-driven I/O Sharing for Burst Buffers
- SSTrack: Sample-interval Scheduling for Lightweight Visual Object Tracking
- MOT20: A benchmark for multi object tracking in crowded scenes
- ConsistencyTrack: A robust multi-object tracker with a generation strategy of consistency model