Paper commentary
ByteTrack: Multi-Object Tracking by Associating Every Detection Box
ByteTrack keeps low-score detection boxes so occluded objects stay tracked
- Problem Trackers keep only detection boxes above a score threshold, so occluded objects with low scores vanish. This causes missed objects and fragmented trajectories.
- Method ByteTrack matches high-score boxes to tracks first. Then it matches leftover low-score boxes to unmatched tracks, instead of discarding them, and drops low-score boxes that match nothing.
- Results ByteTrack reached 77.8 MOTA, 75.2 IDF1 and 61.3 HOTA on the MOT20 test set under the private detection protocol.
Why low-score boxes get dropped
Most trackers keep only the detection boxes that pass a score threshold, with 0.5 as the example value, and send only those boxes into data association. The cost shows up under occlusion, when a real object's detector score can fall well below the cut and the object vanishes from the tracker's input even though it is still in the frame. The authors describe the resulting missed detections and fragmented trajectories as irreversible errors for multi-object tracking.
A motivating example follows one tracklet whose detection score drops from 0.8 to 0.4 and then to 0.1 as occlusion builds up. Once the score sits under the cut, the box is removed and the tracklet disappears with it.
Keeping every box is not a free fix, because background boxes then enter association and turn into false positives. The authors note that very few earlier methods have dealt with this trade-off between missed objects and false positives.
Using tracklet similarity to sort low-score boxes
The central cue is how well a low-score box agrees with the tracklets. The similarity between a low-score box and the predicted location of a tracklet separates real objects from background. A low-score box that lines up with a predicted tracklet is treated as a recovered object. A low-score box that matches no tracklet has nothing to join and is removed.
The matching is staged by score. High-score boxes are associated first, so the most dependable detections claim tracks before anything else. Only the tracklets that remain unmatched after that stage become candidates for the low-score boxes, so a low-score box can restore a track that lost its match but cannot take a track that a strong detection already holds.
The method is named BYTE, and its name compares each detection box to a byte, a small unit from which a larger structure is built. The authors locate the innovation at the junction between detection and association, where low-score boxes help both stages.
One frame, step by step
BYTE takes a video sequence, an object detector and a detection score threshold τ. Its output is a set of tracks, each holding a box and an identity for every frame in which it is active. On each frame, a box goes into the high-score set when its score is above τ, and into the low-score set otherwise.
Each existing track is first moved forward with a Kalman Filter, which predicts its location in the current frame. These predicted boxes are what detections are compared against. The first association links the high-score boxes to all tracks, including lost ones. The similarity is either IoU or the distance between Re-ID features, and the Hungarian Algorithm solves the assignment.
The second association matches the leftover low-score boxes to the tracks that remain unmatched after the first step, and it uses IoU alone as the similarity. In the linear assignment step used for MOT17, MOT20 and HiEve, a match whose IoU is below 0.2 is rejected. Low-score boxes that still match nothing are dropped as background.
Tracks left unmatched are not removed at once. They are kept as lost tracks and deleted once they exceed a count of 30 frames, and a new track starts from each unmatched high-score box. The default detection score threshold τ is 0.6 unless a setting specifies otherwise.
BYTE can take a Re-ID term into its first association without changing the other steps. With FairMOT, for example, the Re-ID feature is added to the first association and nothing else changes. For other Re-ID based trackers, the second association still omits appearance similarity.
Adding BYTE to existing trackers
The authors apply BYTE to nine trackers: JDE, CSTrack, FairMOT, TraDes, QDTrack, CenterTrack, Chained-Tracker, TransTrack and MOTR. These trackers differ in similarity. Some mix motion and Re-ID, QDTrack uses Re-ID alone, CenterTrack and TraDes learn their motion, Chained-Tracker associates by IoU inside a chain of two frames, and TransTrack and MOTR propagate boxes with attention.
The first integration mode inserts the second association after each tracker's original association, using the unmatched tracklets and IoU against the low-score boxes. Chained-Tracker is left out of this mode because the chain structure made it hard to implement. The second mode feeds the tracker's own detections through the whole BYTE procedure.
With CenterTrack and the Kalman Filter motion model, MOTA rose from 66.1 to 67.4, IDF1 from 64.2 to 74.0, and IDs fell from 528 to 144 on the MOT17 validation set. Under the same kind of motion setting, Chained-Tracker gained 1.9 MOTA and 5.8 IDF1, and TransTrack gained 1.2 MOTA and 4.1 IDF1.
Not every combination improves. TraDes in its motion-only mode lost 0.3 MOTA, and CSTrack in its motion-only mode lost 0.6 IDF1 while gaining 1.3 MOTA. The authors read the overall pattern as evidence that BYTE generalizes across trackers.
Similarity choices and baseline comparisons
Table 1 crosses IoU and Re-ID in the two association steps, on the MOT17 and BDD100K validation sets. On MOT17, IoU in the second step gave the higher MOTA in both pairings: 76.6 with IoU first against 75.8 with Re-ID second, and 76.3 with Re-ID first against 75.2 with Re-ID second. Re-ID in the first step gave higher IDF1 than IoU when the second step used IoU, 80.5 against 79.3.
On BDD100K, Re-ID in the first step gave much higher mMOTA, 45.5 against 39.4 with IoU in both steps. The authors link this to large camera motion and low frame-rate annotations, which make motion cues fail.
SORT uses only the Kalman Filter for motion, so it is the natural baseline for BYTE with the same motion model. On the MOT17 validation set, BYTE raised MOTA from 74.6 to 76.6, IDF1 from 76.9 to 79.3, and cut IDs from 291 to 159.
DeepSORT, with its Re-ID model, reached 75.4 MOTA, 77.2 IDF1 and 239 IDs on the same validation set. MOTDT reached 75.8 MOTA, 77.6 IDF1 and 273 IDs. BYTE with IoU alone reached 76.6 MOTA, 79.3 IDF1 and 159 IDs, and BYTE with Re-ID reached 76.3 MOTA, 80.5 IDF1 and 216 IDs. The authors suggest that a Kalman Filter can handle long-range association when detections are accurate enough.
They attribute MOTDT's gap to propagated boxes drifting, while BYTE re-associates unmatched tracks with low-score detections.
On BDD100K, BYTE reached 39.4 mMOTA without Re-ID and 45.5 with it, against 30.9 for SORT, 24.5 for DeepSORT and 26.7 for MOTDT. The Re-ID variant ran at 11.8 FPS in the table, against 29.6 FPS for the variant without Re-ID.
What the low-score boxes contain
The authors call the detection score threshold a sensitive hyper-parameter and vary it from 0.2 to 0.8. Across that range, BYTE was more robust to the threshold than SORT in MOTA and IDF1, which the authors attribute to the second association recovering boxes scored below the threshold.
To check the low-score boxes directly, the authors count true and false positives among them, training on the MOT17 half training set and CrowdHuman and evaluating on the MOT17 half validation set. Per sequence, BYTE obtained notably more true positives than false positives from the low-score boxes. MOT17-02 is an exception, with many more false positives among all detection boxes.
The authors link the extra true positives to the MOTA rise from 74.6 to 76.6 reported for BYTE.
ByteTrack on MOTChallenge, HiEve and BDD100K
ByteTrack uses YOLOX-X initialized from COCO-pretrained weights. For MOT17 the detector is trained for 80 epochs on MOT17, CrowdHuman, Cityperson and ETHZ. For MOT20 and HiEve, CrowdHuman is the only added training data.
Against ReMOT, the second-best tracker in the table, the gains are +3.3 MOTA, +5.3 IDF1 and +3.4 HOTA, with less training data (29K images against 73K).
On MOT20 under the private detection protocol, ByteTrack reached 77.8 MOTA, 75.2 IDF1 and 61.3 HOTA at 17.5 FPS. Its IDs fell from 4209 for SOTMOT, the second-best tracker, to 1223. The MOT20 test set averages 170 pedestrians per image.
On HiEve, the table row gives 61.7 MOTA and 63.1 IDF1 for ByteTrack against 40.9 and 45.1 for CenterTrack, while the text gives 61.3 MOTA and 62.9 IDF1 for the same comparison.
On BDD100K, ByteTrack uses Re-ID features from a ResNet-50 ImageNet model in UniTrack. It reached 45.5 mMOTA on the validation set against 36.6 for QDTrack. On the test set it reached 40.1 mMOTA against 35.5 for QDTrack.
Under the public detection protocol on MOT17 test, ByteTrack reached 67.4 MOTA and 70.0 IDF1, with new trajectories initialized only when their IoU with a public detection exceeds 0.8. On MOT20 under the same protocol it reached 67.0 MOTA and 70.2 IDF1, and tracklet interpolation is not applied in that protocol.
With YOLOX-Nano as the detector on the MOT17 validation set, BYTE reached 64.4 MOTA against 61.4 for DeepSORT.
Training data and tracklet interpolation
Training on the MOT17 half training set alone gave 75.8 MOTA and 76.5 IDF1 on the MOT17 validation set, using 2.7K images. Adding CrowdHuman raised this to 76.6 MOTA and 79.3 IDF1 with 22.0K images, and adding Cityperson and ETHZ gave 76.7 MOTA and 79.7 IDF1 with 26.6K images.
The authors attribute the large IDF1 gain to CrowdHuman helping the detector find occluded people, which makes the Kalman Filter predictions smoother. They attribute the strong 75.8 baseline to the Mosaic and Mixup augmentations.
Tracklet interpolation fills the gaps of fully occluded pedestrians, whose visible ratio is zero in the ground truth. Between two tracklet boxes separated by a gap of at most σ frames, the box at frame t is interpolated linearly: \(B_t = B_{t_1} + (B_{t_2} - B_{t_1})\frac{t-t_1}{t_2-t_1}\) for \(t_1 < t < t_2\), where each box holds its top-left and bottom-right coordinates.
Without interpolation the MOT17 validation set gave 76.6 MOTA, 79.3 IDF1 and 159 IDs. Interval 10 gave 77.4, 79.7 and 150, interval 20 gave 78.3, 80.2 and 146, and interval 30 gave 78.3, 80.2 and 147. The authors use σ equal to 20 and apply interpolation in the private detection test sets of MOT17, MOT20 and HiEve.
Limits of the evidence
The second association uses IoU alone because the authors judge Re-ID features of low-score boxes unreliable. Table 1 does test Re-ID in the second step, and it scored lower on MOT17 validation, with 75.8 MOTA against 76.6 for IoU when the first step uses IoU.
The Kalman Filter is not used on BDD100K, because the authors state it fails in autonomous driving scenes. The BDD100K ablations are reported on the validation set only.
The threshold is called a sensitive hyper-parameter, its default is 0.6, and the robustness comparison is made only against SORT on the MOT17 validation set.
The benchmark test results use extra training data, such as CrowdHuman, Cityperson and ETHZ for MOT17. The ablations use the MOT17 half training set with CrowdHuman.
Results on other trackers are mixed. Some motion-only variants lose a little, for example TraDes at -0.3 MOTA and CSTrack at -0.6 IDF1.
Paper info
- Authors
- Yifu Zhang, Peize Sun, Yi Jiang, Dongdong Yu, Fucheng Weng, Zehuan Yuan, Ping Luo, Wenyu Liu, Xinggang Wang
- Venue
- arXiv · Preprint
- First published
- 2021-10-13
- Added
- 2026-11-12
- Updated
- 2022-4-7
- Version
- v3
- arXiv
- 2110.06864
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Yifu Zhang, Peize Sun, Yi Jiang, Dongdong Yu, Fucheng Weng, Zehuan Yuan, Ping Luo, Wenyu Liu, Xinggang Wang (2021). ByteTrack: Multi-Object Tracking by Associating Every Detection Box. arXiv:2110.06864v3. https://arxiv.org/abs/2110.06864v3
BibTeX
@misc{zhang2021bytetrack,
title = {{ByteTrack: Multi-Object Tracking by Associating Every Detection Box}},
author = {Yifu Zhang and Peize Sun and Yi Jiang and Dongdong Yu and Fucheng Weng and Zehuan Yuan and Ping Luo and Wenyu Liu and Xinggang Wang},
year = {2021},
eprint = {2110.06864},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2110.06864v3}
}