Most multi-object trackers work in two stages. A detector finds objects in each frame, and a matching step links those detections into tracks over time. The matching step runs on hand-tuned rules: keep or drop a low-confidence box, keep a lost track alive for a while or kill it, accept a weak match or wait. Whenever the detector misses an object or misplaces its box, these rules decide whether the tracker recovers or breaks the track. We propose to learn those decisions with reinforcement learning (RL), using the benchmark's own scoring as the reward instead of a hand-designed one. The main technical problem is that the score arrives only at the end of a long video. To get a usable training signal, we take each uncertain decision, replay the tracker forward a short window under each alternative choice, and compare the results against ground truth. Every replay sees the same frames and the same detections, so the comparison isolates the effect of that one choice.
This matters because two obstacles kept RL out of tracking, and both can be removed here. Earlier RL trackers depended on hand-built rewards and heavy per-target networks: C-DRL runs a prediction network and a decision network for every target, and its reward hand-weights IoU against a nearest-neighbor term. Modern RL, by contrast, is expensive mainly because generating rollouts from large models is slow (Sifa). A tracker's matching state is a few vectors per track, and OC-SORT runs at over 700 FPS on a CPU. Rollouts are therefore almost free. That turns a very noisy whole-video reward into a cheap, low-variance local comparison.
Core Claim
We claim that the hard cases of the detector bottleneck can be handled by a small learned policy that replaces the matching rules inside an existing tracker, while the detector stays fixed. These hard cases are deciding when to trust a low-score box, when to coast a track on its motion prediction because no box exists, and when to end a track. The policy is trained with what we call counterfactual branch advantages. At a decision point $t$ with candidate actions $\mathcal{C}_t$, each action $a$ is replayed for $K$ frames, after which the current greedy policy takes over. We then score the windowed outcome separately on two objectives, $k \in \{\text{det}, \text{assoc}\}$. These are local versions of the detection-accuracy and association-accuracy counts whose geometric mean is HOTA (Higher Order Tracking Accuracy). The advantage is
$$A(t,a) = \sum_{k} \frac{R_k^{[t,t+K]}(a) - \frac{1}{|\mathcal{C}_t|}\sum_{a' \in \mathcal{C}_t} R_k^{[t,t+K]}(a')}{\sigma_k},$$
where $R_k^{[t,t+K]}(a)$ is objective $k$ computed against ground-truth identities over the window, and $\sigma_k$ is the standard deviation of objective $k$'s centered rewards across all decision points in the batch.
Three things make this work, and each is a reuse of an existing idea. The group being compared consists of branches from the same state. This is a group-relative baseline in the GRPO sense, and like Self-Critical Sequence Training it compares against the policy's own deterministic behavior, so no learned critic is needed. Because all branches share every frame and detection, the noise that dominates whole-video returns cancels. Finally, each objective is normalized separately before summing, following MO-GRPO. That paper showed that summing rewards before normalizing lets the higher-variance term take over, and separate normalization removes the hand-chosen weights C-DRL needed.
Relation to Prior Work
Several papers motivate the gap. Milan et al. argue that much reported tracking progress comes from stronger detectors, which is why we hold the detector fixed and attribute all gains to the matching step. DanceTrack shows that association collapses when targets look alike and move non-linearly. This is the regime where fixed motion and confidence rules fail most.
The closest RL trackers confirm that learned decisions help but leave reward and variance unsolved. MDP REL models each track's lifecycle as a sequence of states and reports that interactive training beat offline training, which supports training on the policy's own mistakes. It uses an SVM policy and hand-crafted penalties, however. C-DRL adds "ignore" and "block" actions so a track can ride out detector dropouts, reaching 47.3 MOTA on MOT16. Its rewards are still hand-weighted, and its compute grows with the number of targets. We keep C-DRL's coast action. We replace its reward with metric-derived branch comparisons and its per-target networks with one shared lightweight scorer.
SPO supplies the closest variance-reduction method: it estimates advantages by Monte Carlo rollouts from uncertain points in a sequence. In text, those rollouts are expensive and stochastic. In tracking, a branch is a short deterministic replay against ground truth, so it is cheap and needs no sampling. Artemis shows that Hungarian matching against ground-truth boxes can replace hand-shaped rewards for a vision-language policy. It is limited to static images and a 3B model. We take its point that verifiable rewards can replace shaping, but we deliberately do not put a large model in the loop, because doing so would bring back the very rollout cost we are avoiding.
Two papers constrain the design. AIC and Fujimoto et al. document how learned critics destabilize visual RL. We therefore avoid critics and avoid sending RL gradients into the detector.
Research Program
We will build the policy as a scorer shared across all tracks. At each frame, for each track that faces an ambiguous choice, it ranks the candidate actions: match to one of the surviving high- or low-score boxes, coast on the motion prediction and output the predicted box, or terminate. Its inputs are features the host tracker already computes. These include the motion-model prediction, IoU with each candidate box, detection score, frames since the last match, OC-SORT's observation-centric momentum consistency, and, where available, appearance similarity. Unambiguous cases still go through the host's standard matching, so the policy only acts at a small set of decision points. These are the frames where the scorer's top two options are close or where the host's thresholds would fire. Restricting the policy to these points keeps branching cheap.
Training runs on the train splits with ground-truth identities and the host tracker's published detections. Each update samples videos, rolls out the current policy, collects decision points, and branches every candidate for $K$ frames. It then computes the two windowed objectives, applies the normalized advantage above, and takes a clipped policy-gradient step. There is no critic, no reward model, and no reference model. Beyond the method, the analysis has three parts. We will measure gradient variance per update under each advantage estimator. We will trace the bias–variance trade-off as $K$ grows toward the full video. And we will measure how often the learned coast action recovers ground-truth objects that received no detection box at all, which is exactly the failure that ByteTrack and OC-SORT cannot fix.
Baselines
The naive reference point is the host tracker run unchanged. We use OC-SORT and ByteTrack with their published thresholds and detections, scored on the same splits. For the strongest existing methods we use the numbers each paper reports. OC-SORT reports 54.6 HOTA on DanceTrack and 62.1 HOTA on MOT20 at over 700 FPS on CPU (OC-SORT). ByteTrack reports MOTA of 80.3 on MOT17 with identity switches cut from 291 to 159, at 30 FPS on a V100 (ByteTrack). We will also re-run both on our own splits so every comparison shares the same detections. Beating them means a gain in HOTA and in association accuracy on DanceTrack, and on MOT17 a reduction in identity switches without lower MOTA. The association step must also stay above 100 FPS on one CPU.
A second baseline is the host tracker with its thresholds re-tuned by black-box search, such as Bayesian optimization over confidence splits, track lifetime, and momentum window. It gets the same CPU budget as our training. This is the cheapest way to replace manual tuning, so the learned policy must clearly beat it to justify itself. No reported result was found on Lacuna for threshold search on these benchmarks.
A third baseline is imitation learning in the DAgger style, where the learner is trained on states its own policy visits. An oracle matches each track to its ground-truth identity, and the policy is trained by cross-entropy on those labels using the same features, scorer, and compute. No reported result was found on Lacuna for this baseline.
Among RL alternatives, we will compare against trajectory-level GRPO, where a group of stochastic rollouts per video is scored by whole-video HOTA. We will also compare against PPO with a learned critic and a C-DRL-style hand-weighted reward. Both use our architecture and matched environment steps. For reference, C-DRL reports 47.3 MOTA on MOT16 and MDP REL reports 30.3 MOTA on MOT15.
Three ablations isolate the key ingredients: summing the two objectives before normalizing instead of normalizing each separately, independent rollouts instead of shared-state branches, and removing the coast action.
Why not just…?
Why not just tune the heuristic thresholds? This is a real threat. If black-box search on validation data reaches the learned policy's HOTA, the decisions that matter are global constants, not context-dependent choices. The evidence that per-decision context matters is indirect: DanceTrack's drop for appearance-based trackers, and the fixed dual thresholds that ByteTrack and OC-SORT both rely on. The matched-compute search baseline settles the question directly. We will also report per-scene breakdowns, since a single global setting should do worst in scenes with mixed density and motion.
Why not just imitate an oracle built from ground-truth identities? This is the strongest alternative, because ground truth gives an oracle for most matching decisions, and DAgger avoids the exposure bias that MDP REL found in offline training. The oracle's label and the metric-optimal action can disagree, though, and this happens exactly at the bottleneck. One example is a detection that overlaps a true object at IoU 0.4: matching it may hurt detection accuracy while protecting the track's identity. Another is whether to coast through a gap. The oracle says "this is object 7," but it does not say whether outputting a poor box helps the score. If DAgger matches us overall and also on the subset of decisions where the oracle and branch comparisons disagree, we will report that RL is unnecessary here.
Why not just fine-tune or swap in a better detector? Milan et al. show that this is where most past gains came from, and it remains orthogonal to our work. The coast-recovery analysis tells us how many missed objects the matching step can recover without any new box. We will also run the trained policy on a second, weaker detector's outputs without retraining. If the policy stops helping once the detector is good, we will report that too.
Why not extend Artemis to video with a vision-language model reasoning in boxes? A 3B model producing boxes for every frame of every rollout would bring back the generation bottleneck and the rollout cost that make RL expensive. Such a model would also be judged against trackers running at hundreds of FPS. We see it as a complementary, much slower line of work and leave it out of scope.
Proposed Experiments
The primary benchmark is DanceTrack, since uniform appearance and non-linear motion are where fixed rules fail. MOT17 and MOT20 test transfer to crowded pedestrian scenes and extreme density. We report HOTA, detection accuracy, association accuracy, IDF1, MOTA, identity switches, CPU association FPS, and total training CPU-hours. There are three decisive checks.
The first concerns variance. The gradient variance of branch advantages should be at least an order of magnitude below trajectory-level GRPO at equal compute, and learning curves should reflect it. If they do not, shared-state branching provides no benefit.
The second concerns the reward. Summing the two objectives before normalizing should drift toward one of them, for example by inflating detections through coasting while association accuracy falls. Separate normalization should prevent that drift. This would reproduce MO-GRPO's variance trap in a visual sequence task.
The third is the comparison against the matched-compute threshold search and DAgger on DanceTrack. Success means beating OC-SORT's reported 54.6 HOTA using the same detections, beating both re-tuned and imitation baselines, and staying above 100 FPS. Gains should be concentrated on decision points where the oracle and branch comparisons disagree. A uniform gain everywhere would mean the advantage came from better features, not from the training signal.
References
- Collaborative Deep Reinforcement Learning for Multi-object Tracking
- Is Reinforcement Learning (Not) for Natural Language Processing: Benchmarks, Baselines, and Building Blocks for Natural Language Policy Optimization
- Observation-Centric SORT: Rethinking SORT for Robust Multi-Object Tracking
- Self-Critical Sequence Training for Image Captioning
- MO-GRPO: Mitigating Reward Hacking of Group Relative Policy Optimization on Multi-Objective Problems
- Multiple object tracking: A literature review
- DanceTrack: Multi-Object Tracking in Uniform Appearance and Diverse Motion
- Learning to Track: Online Multi-object Tracking by Decision Making
- Segment Policy Optimization: Effective Segment-Level Credit Assignment in RL for Large Language Models
- Artemis: Structured Visual Reasoning for Perception Policy Learning
- Stabilizing Visual Reinforcement Learning via Asymmetric Interactive Cooperation
- Addressing Function Approximation Error in Actor-Critic Methods
- ByteTrack: Multi-object Tracking by Associating Every Detection Box