arXiv(opens in a new tab)cs.CVSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.37801

ByteTraX: Enhancing the ByteTrack Architecture with Optimised Thresholding

Thomas A. O'Shea-Wheller

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

The ByteTrack algorithm is a widely used and computationally efficient multi-object tracking architecture. Its core innovation lies in the combination of lenient bounding box associations with tracklet similarity matching to robustly deal with object occlusions. However, this strategy is nevertheless vulnerable to erroneous track reclassification and identity switching, as detection confidence scores dictate association priority. To address this, I present a simple enhancement of the ByteTrack architecture—named ByteTraX—that optimises track continuity via a single unified matching threshold, while penalising identity switches through stringent track initiation criteria. This approach achieves consistently improved performance across a range of diverse benchmarks including GMOT-40, LC-MOT, SportsMOT, TeamTrack, DAMUNT, and DeepSea-MOT, while simultaneously increasing processing speed by >10%. Specifically, results demonstrate a >40% reduction in identity switches, accompanied by mean increases in HOTA of 3.6, IDF1 of 5.6, and FPS of 6.3. As such, adoption of the ByteTraX algorithm has the potential to substantially enhance tracking performance over the ByteTrack baseline, while retaining the efficiency needed for real-time deployment. To facilitate usage, I provide the source code, integration functionality for the YOLO family of object detection models, and deployment instructions via an open source repository.

1. Introduction

Multi-object tracking algorithms have seen substantial growth in recent years, with approaches broadly being divided into traditional two-stage tracking-by-detection methods [1–3], and emerging end-to-end tracking-by-propagation techniques [4–6]. While the latter continue to advance the state-of-the-art in absolute tracking accuracy, algorithms belonging to the former category remain the most broadly adopted—ostensibly due to their reduced computational requirements and ease of integration [7]. Indeed, when considering the application of object tracking pipelines more broadly, accessibility and modularity serve in large part to dictate the popularity and uptake of a given framework [7, 8]. Consequently, there is substantial merit in optimising existing tracking-by-detection algorithms to improve baseline performance, as this has the potential to yield immediate benefits across established deployment pipelines.

Among current approaches, the ByteTrack [9] algorithm constitutes one of the most widely utilised architectures, with a modular design and strong integration into the YOLO [10] family of deep learning models. Its utility as a tracking solution stems from its computational efficiency and enhanced occlusion tolerance when compared to earlier approaches. Specifically, this is achieved by considering all bounding boxes when associating tracklets—rather than only those with high confidence scores [9, 11]. As such, low confidence detections associated with partially occluded objects are not erroneously discarded, and thus track continuity is preserved. The elegance of this approach lies in the understanding that lower confidence detections may not always represent errors if they adhere to the algorithm's motion model, and instead may reflect true variance in an object's appearance.

Despite its versatility, ByteTrack nevertheless exhibits several limitations in its default configuration. Chief among these are the propensity for erroneous track reclassification—the assignation of a new ID to the same object following a brief tracklet loss—and identity switching—the transposition of IDs between proximate objects (Fig. 1a). These issues serve to impede long-term track identity preservation, and rapidly elevate error rates as tracklet length and motion complexity increase. Interestingly, both are caused by the mistaken elimination or supersedure of low confidence detections.

*Corresponding author e-mail: t.a.oshea-wheller@exeter.ac.uk a)

Figure

b)

Figure

Figure 1. Comparison of tracking ID losses across example video sequences for (a) ByteTrack, and (b) ByteTraX. The top two panels display a sequence from LC-MOT, a closed system dataset with fixed track counts; while the bottom two panels are from GMOT-40, an open system benchmark in which tracks can enter and leave the frame. Lines indicate tracked trajectories, coloured by ID, and white arrows denote instances of ID loss. ID losses occur when bounding box detection scores fall below a tracking algorithm's matching or similarity threshold, which can lead to the rapid accumulation of identity errors over time.

during thresholding, as object appearances frequently shift during motion. As noted previously, such low confidence detections sometimes indicate true object positions, and thus filtering them out can lead to irreversible tracking errors [9]. The salient aspect of this, however, is that the tracking algorithm itself has no prior indication of which confidence distributions are likely to represent true or false detections for a given model, as both are highly dependent upon upstream training data and deployment context [12]. Consequently, while low confidence scores generally correlate with the likelihood of false detections, there is often substantial distributional overlap between these and true positives in all but the most tightly-fit models [13, 14]. This fundamentally undermines the assumption that confidence thresholds alone can reliably discriminate between true and false detections, thus indicating the need for additional tracking cues.

With this in mind, there is merit in deferring to the motion and spatial prediction elements of tracking-by-detection algorithms, as these are generally model-agnostic and hence less contextually dependent [15]. In the case of ByteTrack specifically, this can be achieved by ensuring that confidence-based matching thresholds are as permissive as possible, hence preserving all candidate detections that adhere to the motion model. This serves to limit the potential for erroneous tracklet breaks, and thus associated downstream identity reassignments. As such, it might be expected that minimising the thresholds for track association and similarity, while penalising the generation of new track IDs, could together substantially enhance baseline tracking performance (Fig. 1b). However, the optimal approach to implementing this strategy is dependent upon the attributes of the systems in which it is deployed. In open systems—where tracks may enter and exit the frame—threshold adjustment is likely to be the most effective approach; yet in closed systems—where track numbers remain constant—there is the opportunity for heuristic-based implementation. Specifically, this is because in closed systems, global constants can be leveraged to robustly infer the likelihood that new tracklets belong to an existing rather than lost track identity. There is thus impetus to test both approaches as a means to improve tracking fidelity, as each can be implemented at little to no additional computational cost.

a)

Figure

b)

Figure 2. Example video sequences from the (a) open, and (b) closed system benchmarks used in performance evaluations. The top three panels detail sequences from SportsMOT, DeepSea-MOT, and GMOT-40; while the bottom three display sequences from LC-MOT, DAMUNT, and TeamTrack. Bounding boxes indicate ground truth tracks, coloured by ID, and green lines denote the crossing counter regions utilised in the calculation of line crossing accuracy.

To this end, I present ByteTraX, an enhancement of the ByteTrack architecture that maximises the association of low confidence detections through optimised thresholding, thus limiting the occurrence of erroneous identity switches. Crucially, ByteTraX considers all detections equally rather than sorting them by confidence score, predicts trajectories with broad uncertainty bounds, and deploys bespoke tracking strategies across open and closed systems. I compare this approach to the default ByteTrack algorithm across six standardised benchmarks—GMOT-40 [16], LC-MOT [17], SportsMOT [18], TeamTrack [19], DAMUNT [20], and DeepSea-MOT [21]—representing a combination of open and closed systems from diverse usage scenarios (Fig. 2). To ensure consistency, both algorithms employ the same YOLO26 front-end detection models, and are assessed with standard HOTA, CLEAR, and ID metrics. Trackers are further evaluated via a simple line crossing accuracy approach, selected to reflect an explainable and ubiquitous real-world use case. Results demonstrate that ByteTraX achieves consistent performance improvements over ByteTrack across benchmarks, while at the same time delivering increased speed and efficiency.

References (83)