betaFeedback

WorksComputer Science

TrackShield: An Efficient Runtime Defense Against Availability Attacks on High-Performance Real-Time Multi-Object Tracking

Abstract

High-performance camera-based perception pipelines must sustain per-frame real-time budgets on resource-constrained embedded GPU platforms. Availability attacks such as SlowTrack inflate the persistent state of multi-object trackers: data-association workload accumulates across frames, so per-frame latency increases and drives the pipeline past its deadline. Detector- and NMS-layer defenses do not directly control this persistent tracker-side resource. We present TrackShield, a lightweight runtime resource-management layer that protects the tracker at the point where attack-induced workload accumulates. TrackShield combines low-overhead anomaly monitoring with staged birth capping, pruning of young or weakly matched tracks, and per-stage association-input admission control. Its hard admission guard provides a deterministic bound on admitted association workload, independently of the heuristic monitor. On a Jetson AGX Orin, TrackShield reduces attacked tracking-stage latency from 139.90139.90 to 6.276.27,ms and whole-pipeline P99 latency from 190.9190.9 to 48.848.8,ms, at a benign MOTA cost of 1.061.06 points. As an availability defense, TrackShield focuses on keeping the tracker responsive under attack instead of recovering the full tracking accuracy degraded by adversarial detections.

Introduction

Camera-based perception in autonomous driving must complete within a real-time per-frame budget, commonly on the order of 33–100 ms in the evaluated frame-rate range (the specific value is workload- and architecture-dependent), to feed downstream planning and control. Perception is conventionally organized as a tracking-by-detection pipeline: a detector (e.g., YOLOX [1]) produces bounding boxes per frame, and a multi-object tracker (e.g., SORT [2], ByteTrack [3], BoT-SORT [4]) associates those boxes across frames into persistent tracks using a motion model (Kalman filter) and an assignment step (Hungarian / greedy matching over an IoU or appearance cost matrix).

Most adversarial-ML research on this pipeline has targeted integrity, causing objects to disappear, be misclassified, or have their identities swapped [5]. A distinct class of attack targets availability: the attacker’s optimization target is computational cost, forcing a real-time deadline miss [6]. The two are not exclusive. The adversarial detections produced by an availability attack may also degrade tracking integrity, and in our measurements they do so severely (Section V-D); we measure the two effects separately. Availability attacks threaten the timeliness of downstream perception-dependent control.

SlowTrack [7] exposes a gap in detector-side defenses: an adversary can inflate persistent tracker state across frames even when the number of detections retained in each frame is capped. Existing approaches primarily transform or harden detector inputs and outputs, whereas the exploited workload is formed inside the tracker update. TrackShield addresses this gap at runtime by monitoring and controlling tracker-pool growth and admitted association work.

This paper makes three contributions:

  1. A runtime tracking-layer defense. TrackShield acts inside tracker management, where SlowTrack-class attacks accumulate persistent state, and combines staged birth capping, pruning of young or weakly matched tracks, and association-input capping without retraining.

  1. Hardware-agnostic signal definitions. TrackShield monitors six tracker-internal quantities: pool size MtM_t, pool growth ΔMt\Delta M_t, birth demand UtU_t, the coarse association-demand proxy Wtdem=Mt∣Dt∣W_t^{\mathrm{dem}} = M_t|D_t|, and the track- and detection-association ratios RT(t)R_T(t) and RD(t)R_D(t), where DtD_t is the full post-threshold detection set entering the tracker.

  1. A deterministic admitted-workload bound. The hard admission guard caps the track and detection candidates entering each protected association stage, yielding the per-stage dimension bound of Proposition 1, independently of the heuristic monitor.

Availability attacks on detectors and pipelines: Availability attacks increase inference-time computation rather than directly corrupting model outputs; a recent cross-domain survey reviews such latency attacks and their defenses [6]. In camera perception, attacks such as Overload generate dense candidate boxes to amplify detector post-processing and NMS cost [8]. Corresponding defenses operate primarily at the input or detector layer: Schoof et al. report that dynamic random yy-axis resizing reduces NMS execution time by up to 90.18% on an attacked YOLOv5-L model [9]; Underload hardens the detector through adversarial training; and the EVADE evaluation framework tests defenses including a fixed post-NMS detection cap [9, 10, 11]. EVADE’s own findings also question the practical transfer of several NMS latency attacks across hardware and model families [11], further motivating evaluation at the actual resource boundary a given attack exploits (for TrackShield, the tracker pool). These approaches can limit detector-side or per-frame work, but they do not manage state that persists in a downstream tracker.

TrackShield overview

Figure 1. TrackShield overview. SlowTrack-style perturbations inflate ByteTrack’s persistent tracker pool and association demand. TrackShield monitors tracker-state signals (counts only, not timing) using robust EWMA/MAD scores and a qq-of-ww persistence vote, escalating the heuristic response from normal operation to L1 birth capping and L2 pruning of young or weakly matched tracks. The always-on L3 hard admission guard caps the track and detection candidates admitted to every protected association stage.

SlowTrack and tracker-pool inflation: SlowTrack extends availability attacks to the full detection–tracking pipeline by creating detections that initialize phantom tracks and keep them alive across frames [7]. With retention horizon RR and per-frame detection cap ∣D∣max⁡|D|_{\max}, its analysis gives a tracker pool of m=R∣D∣max⁡m = R|D|_{\max} and association complexity O(R∣D∣max⁡2)O(R|D|_{\max}^{2}). SlowTrack remains effective under the top-500 detection cap in its ByteTrack pipeline because that cap bounds current-frame boxes, not the cross-frame tracker pool. TrackFlood [12] shows that NMS-free detectors relocate rather than eliminate this attack surface, shifting the availability bottleneck to downstream tracking. Its bounded-admission layer limits the input at the detector–tracker boundary, whereas TrackShield caps both the track and detection dimensions of each association stage and controls the persistent state that accumulates across frames. Boundary admission also bounds per-detection work before association, such as ReID (Section V-E), which in-tracker caps cannot; the two defenses are complementary. Related MOT attacks target identities or trajectories rather than computational availability [5].

Runtime resource controls and MOT robustness: Runtime controls are effective only when placed at the resource boundary they are intended to constrain. Constant-time NMS is discussed as a mitigation direction, though the released code for that work implements the timing attack rather than a constant-time defense [13]; it and fixed detection caps bound aspects of detector post-processing [11, 13]. SlowPerception [14] suggests, but does not evaluate, limiting the tracking-pool size as a defense and notes the risk to benign tracking; fixed tracker caps may discard legitimate objects in dense scenes. TrackShield instead operates inside the tracker update without retraining: its early responses cap births and prune young or weakly matched tracks, while its deterministic hard admission guard bounds the dimensions of each admitted association matrix. GateDrain [15] shows a similar threat in confidence-gated edge–cloud inference: bounded perturbations redirect locally answerable requests into a shared cloud queue without raising the request rate, which can sharply degrade benign tail latency near capacity, and adaptive attacks defeat the evaluated training-free preprocessing defenses. Its Bounded Escalation defense applies the same admission-side principle as TrackShield, bounding admission to the shared cloud resource through per-source budgets and protected capacity.

Method familyLayerRetrainStateWork bound
Input transforms / resizing [9]Input–detectorNoNoNone
Underload [10]DetectorYesNoDetector-side only
Detection cap [11]Detector outputNoNoPer-frame boxes
Constant-time NMS (proposed) [13]NMSNoNoNMS processing
Pool-size threshold (suggested, not evaluated) [14]TrackerNoYesConfigured tracker resource
TrackShieldTrackerNoYesAdmitted association dimensions

Table 1. Positioning of representative defense families. “Work bound” denotes the computation directly constrained by each method.

Detector-side defenses (Table I) constrain current-frame computation, whereas TrackShield acts on persistent tracker state and bounds admitted track association work.

Background and Threat Model

Tracking-by-Detection and the Tracker Pool

Let frame tt yield a detection set DtD_t after confidence thresholding and non-maximum suppression (NMS). A tracking-by-detection tracker maintains a pool of tracks Tt−1\mathcal{T}_{t-1} from the preceding frame, with Mt=∣Tt−1∣M_t = |\mathcal{T}_{t-1}|. Each frame, it (1) predicts each track’s location, typically using a Kalman filter; (2) compares the MtM_t predicted tracks with the ∣Dt∣|D_t| retained detections; (3) solves an assignment and obtains a match set AtA_t; (4) initializes tracks from unmatched detections; and (5) retains temporarily unmatched tracks in a lost-track buffer before deleting them.

ByteTrack Data Association

ByteTrack [3] splits each frame’s detections into three confidence regions by two thresholds τhigh>τlow\tau_{\mathrm{high}} > \tau_{\mathrm{low}}: a high band DthighD_t^{\mathrm{high}}, a middle band DtlowD_t^{\mathrm{low}}, and boxes below τlow\tau_{\mathrm{low}} which are discarded. The middle band is retained because a low score often means occluded, blurred, or truncated rather than background: such a box is unsafe for creating an identity but may be credible enough to maintain one. Each frame runs a cascade: Kalman prediction, then association against DthighD_t^{\mathrm{high}} (high-score stage), then the unmatched tracks that are still in the Tracked state against DtlowD_t^{\mathrm{low}} (low-score stage, a recovery pass; previously Lost tracks are re-activated only through high-score association), then unconfirmed-track resolution and births. After these stages, reconciliation performs the tracker’s end-of-frame state bookkeeping: it applies match and birth results, updates track states, moves unmatched tracks between the tracked and lost sets, removes expired or duplicate entries, and constructs the persistent state carried into frame t+1t+1. Because the tracker runs three association stages per frame, association work is a sum of per-stage costs, and a cap on the first stage alone is insufficient. The low-score stage is also directly attackable: flooding its detection set keeps phantom tracked trajectories alive and enlarges the second-pass matrix even when the high-score stage looks nominal.

SlowTrack Attack Mechanism

SlowTrack adds an ℓ2\ell_2-style adversarial perturbation to each frame and optimizes score, box-area, and feature-matching losses to create numerous retained detections, initialize new trackers, and subsequently re-find lost trackers before they are deleted [7]. Its effect is temporal: phantom tracks accumulate over the retention horizon.

SlowTrack formalizes this mechanism through the data-association complexity O(mn0)O(mn_0), where mm is the number of tracks in the tracker pool and n0n_0 is the number of reserved detection boxes in the current frame [7]. Association work grows approximately with “number of tracks ×\times number of boxes.” In SlowTrack’s retention-horizon analysis [7], if the detector retains at most ∣D∣max⁡|D|_{\max} boxes per frame and unmatched tracks persist for up to RR frames, the attack-induced workload scale is

m=R∣D∣max⁡,O(mn0)=O(R∣D∣max⁡2).m = R|D|_{\max}, \qquad O(mn_0) = O(R|D|_{\max}^2).

The attack therefore remains effective even when a detector-side cap limits the instantaneous detection count: the exploited resource is the tracker pool accumulated across frames. Suppose unmatched tracks expire after RR frames and each detection use refreshes or creates at most one track. Then every live track was born or matched within the last R+1R+1 frames, so the pool holds at most R+1R+1 times the number of detection uses per frame: ∣D∣max⁡|D|_{\max} in stock ByteTrack, and up to ∣D∣max⁡+100|D|_{\max}+100 in the evaluated tracker, whose second stage can reuse first-stage detections (Section V-A). SlowTrack can drive the pool far beyond real-time capacity well before this bound, which does not hold for guard-excluded tracks on the evaluated host (Section IV-C). Because association demand Wtdem≈∣Dt∣MtW_t^{\mathrm{dem}} \approx|D_t|M_t keeps growing with the pool despite a detection cap, effective mitigation must control persistent state and association admission inside the tracker update.

Threat Model for the Defender

We assume a defender who:

  • Cannot observe the perturbation, attack gradients, or the attacker’s loss (black-box with respect to the attack).

  • Can observe the tracker’s internal state each frame: the post-threshold detection set DtD_t, the stage-local match sets {At,s}s=1S\{A_{t,s}\}_{s=1}^{S}, the frame-entry persistent-pool size MtM_t (tracked plus lost), pre-cap birth demand UtU_t, realized births BtB_t, and each track’s age, confidence, and hit streak (its matched-update count since activation or re-activation: the host’s tracklet length, which is 0 at activation, increases by one on each matched update, and resets on re-activation).

  • Operates at inference time only, without retraining or model-weight access.

On the attacker side, we assume the SlowTrack setting: an ℓ2\ell_2-style perturbation is optimized against the undefended pipeline to increase tracker-management work. The attacker may know the architecture and that TrackShield is deployed, and may influence monitored tracker state through adversarial detections, but cannot bypass the guard logic. We evaluate transferred adversarial frames; Section V-F discusses adaptive attacks.

Intuition: protect the queue, not only the door

Figure 1 (PDF p. 3). Intuition: protect the queue, not only the door

An MOT system has two stages: a detector that draws bounding boxes around objects in each frame, and a tracker that carries identities across frames. The tracker keeps a pool of tracks, including recently lost ones it hopes to re-find. Think of the tracker as a supermarket checkout queue: the detector controls how many customers arrive per minute (detections per frame), while the tracker pool is the backlog of customers still waiting (tracks carried across frames). A per-frame detection cap limits arrivals but not the accumulated queue. SlowTrack exploits this gap by sending in phantom customers who never check out (tracks that persist across frames), growing the pool and hence the association work, which is roughly proportional to the size of the association matrix. TrackShield instead monitors the queue itself (its size, growth, birth pressure, and association rates) and progressively caps new births, prunes young or weakly matched tracks, and, when necessary, caps the tracks and detections admitted to each association stage. These controls use tracker-internal counts and ratios only, requiring no GPU timing, retraining, or additional neural network.

TrackShield Design

TrackShield consists of a set of hook functions (Fig. 1) executed inside the existing tracker update, using variables that the tracker already computes.

Monitored Signals

We form a six-dimensional feature vector from counters already available in ByteTrack:

xt=[Mt,ΔMt,Ut,Wtdem,RT,RD],(1)x_t = [M_t, \Delta M_t, U_t, W_t^{\mathrm{dem}}, R_T, R_D], \tag*{(1)}

where MtM_t is the frame-entry persistent pool (tracked plus lost), ΔMt=Mt−Mt−1\Delta M_t = M_t - M_{t-1}, UtU_t is pre-cap birth demand (the number of unmatched detections presented to the birth step before ByteTrack’s activation-score filter and L1 capping, so it can exceed the realized births BtB_t), and Wtdem=Mt∣Dt∣W_t^{\mathrm{dem}} = M_t|D_t| is a coarse association-demand proxy, where DtD_t is the full post-threshold detection set entering the tracker before its high- and low-score partition. This frame-level quantity is a coarse demand proxy rather than the realized association work, which depends on the candidate dimensions at the individual association stages. All six signals are counts or ratios rather than wall-clock times: a latency-based trigger would need re-tuning for each device and would fire under thermal throttling or contention from other processes.

Let T~t,s\widetilde{T}_{t,s} and D~t,s\widetilde{D}_{t,s} denote the track and detection candidates admitted to protected stage ss, immediately before its cost matrix is constructed, and let At,sA_{t,s} be that stage’s matches. We define

RT(t)=∑s∣At,s∣∑s∣T~t,s∣,RD(t)=∑s∣At,s∣∑s∣D~t,s∣.(2)R_T(t) = \frac{\sum_s |A_{t,s}|}{\sum_s |\widetilde{T}_{t,s}|}, \qquad R_D(t) = \frac{\sum_s |A_{t,s}|}{\sum_s |\widetilde{D}_{t,s}|}. \tag*{(2)}

These stage-local, post-cap definitions guarantee RT,RD∈[0,1]R_T, R_D \in[0, 1].

The ratios are valid only when candidates exist on both sides:

at=1[∑s∣T~t,s∣>0∧∑s∣D~t,s∣>0].(3)a_t = \mathbf{1}\left[\sum_s |\widetilde{T}_{t,s}| > 0 \land\sum_s |\widetilde{D}_{t,s}| > 0\right]. \tag*{(3)}

This convention could mark a frame valid when no single stage has both tracks and detections; no logged run produced such a frame. When at=0a_t = 0, both ratios are assigned the neutral value 1 and excluded from scoring and baseline adaptation. The remaining signals capture the attack’s main effects: pool state and growth, birth pressure, and association demand. Trusted benign data initialize the monitor before deployment.

Toy example. Suppose one frame has three protected association stages with admitted track/detection counts (∣T~t,s∣,∣D~t,s∣)=((4,5),(2,3),(1,2))(|\widetilde{T}_{t,s}|, |\widetilde{D}_{t,s}|) = ((4, 5), (2, 3), (1, 2)), and the stages produce ∣At,s∣=(3,1,1)|A_{t,s}| = (3, 1, 1) matches, respectively. Then

∑s∣At,s∣=5,∑s∣T~t,s∣=7,∑s∣D~t,s∣=10,\sum_s |A_{t,s}| = 5,\qquad\sum_s |\widetilde{T}_{t,s}| = 7,\qquad\sum_s |\widetilde{D}_{t,s}| = 10,
RT(t)=5/7≈0.71,RD(t)=5/10=0.50,at=1.R_T(t) = 5/7 \approx0.71,\qquad R_D(t) = 5/10 = 0.50,\qquad a_t = 1.

Thus, 71% of the admitted track candidates and 50% of the admitted detection candidates participate in matches. If instead every stage has zero admitted tracks, then ∑s∣T~t,s∣=0\sum_s |\widetilde{T}_{t,s}| = 0, so at=0a_t = 0; both ratios are set to the neutral value 1 and excluded from scoring and baseline adaptation.

The six signals in (1) follow from the attack’s governing relation. Writing MtpreM_t^{\mathrm{pre}} for the pool carried into frame tt and MtpostM_t^{\mathrm{post}} for the pool after births, deletions, and reconciliation,

Mtpost=Mtpre+Bt−Xt+Ct,(4)M_t^{\mathrm{post}} = M_t^{\mathrm{pre}} + B_t - X_t + C_t, \tag*{(4)}

where BtB_t is the number of realized births, XtX_t is the number of realized deletions, and CtC_t collects any remaining change caused by end-of-frame state reconciliation, such as duplicate removal or tracked/lost-list merging. The current monitoring interface does not expose the deletions XtX_t or the composition of CtC_t separately. What the monitor can see is the left-hand side and the birth demand UtU_t that drives BtB_t, which is why (1) tracks MtM_t, its increment, and UtU_t rather than the terms it does not observe. SlowTrack attacks the balance by inflating UtU_t while suppressing XtX_t (phantoms keep being re-detected, so they never age out), so a defense must act on the two terms it can control: admit fewer births, and delete more aggressively. The first four terms capture pool state, growth, birth pressure, and association demand; the two ratios are intended to separate a normal busy scene, in which real objects keep matching frame to frame, from phantom inflation due to attacks, in which injected boxes match less often. SlowTrack re-finds some phantoms, so the ratios fall but do not vanish: on attacked L1–L2 runs the median RTR_T and RDR_D were 0.52 and 0.25, against 0.70 and 0.55 on benign L1–L3 runs on the Orin.

Robust Anomaly Detection

Whether a workload is unusual depends on the scene: twelve tracks is high on an empty road and normal at a crowded intersection. TrackShield therefore learns each signal’s normal level instead of using absolute thresholds. For each signal ii, it maintains an exponentially weighted moving-average (EWMA) estimate μi,t\mu_{i,t} of its normal level:

μi,t=(1−α)μi,t−1+αxi,t,\mu_{i,t} = (1-\alpha)\mu_{i,t-1} + \alpha x_{i,t},

where α\alpha controls how quickly the baseline adapts to recent observations. It also maintains a windowed median absolute deviation MAD⁡i,t\operatorname{MAD}_{i,t} to estimate the signal’s normal variability.

An initialization parameter LinitL_{\mathrm{init}} specifies the minimum number of baseline-eligible samples required for each signal before anomaly scoring is enabled. Until its baseline buffer contains LinitL_{\mathrm{init}} samples, the corresponding robust score is set to zero. Thereafter, baseline-eligible samples continuously update the EWMA and the sliding baseline window, which retains at most LL samples.

A frame contributes to the baseline only if its anomaly score does not exceed τano\tau_{\mathrm{ano}} and no admission cap binds on it; ratio statistics additionally require valid measurements. This limits contamination by obvious attacks.

The robust scores and aggregate anomaly score are

zi(t)=clip⁡(xi(t)−μi(t−1)si(t−1),−12,12),z_i(t)=\operatorname{clip}\left(\frac{x_i(t)-\mu_i(t-1)}{s_i(t-1)},-12,12\right),
St=∑i∈{M,ΔM,U,Wdem}wi[zi(t)]++at∑i∈{RT,RD}wi[−zi(t)]+,(5)S_t=\sum_{i\in\{M,\Delta M,U,W_{\mathrm{dem}}\}}w_i[z_i(t)]_+ + a_t\sum_{i\in\{R_T,R_D\}}w_i[-z_i(t)]_+, \tag*{(5)}

where [u]+=max⁡(u,0)[u]_+=\max(u,0). Count-like signals are suspicious when they rise, whereas match ratios are suspicious when they fall. The factor 1.4826 provides Gaussian-consistent MAD scaling [16] within the scale si=max⁡{1.4826MAD⁡i+λ∣med⁡i∣,φi}+ϵ0s_i=\max\{1.4826\operatorname{MAD}_i+\lambda|\operatorname{med}_i|,\varphi_i\}+\epsilon_0, computed from the window before the current update, where med⁡i\operatorname{med}_i is the window median, λ=0.05\lambda=0.05 is a relative floor, φi\varphi_i is an absolute floor (1 for count-like signals and 0.02 for ratios), and ϵ0=10−6\epsilon_0=10^{-6}. We use MAD to reduce the influence of isolated workload bursts, such as a group entering the scene, on the scale estimate. The relative floor λ∣med⁡i∣\lambda|\operatorname{med}_i| reduces sensitivity to small changes when MAD is near zero, as for a static pool, and scales with scene density.

TrackShield distinguishes emerging and sustained anomalies. A frame casts an anomaly vote when St>τanoS_t>\tau_{\mathrm{ano}}, where StS_t is the aggregate robust anomaly score. The number of votes in the most recent ww frames is

nV(t)=∑j=t−w+1t1[Sj>τano].(6)n_V(t)=\sum_{j=t-w+1}^{t}\mathbb{1}[S_j>\tau_{\mathrm{ano}}]. \tag*{(6)}

L1 handles an emerging anomaly: the current frame exceeds the anomaly threshold, St>τanoS_t>\tau_{\mathrm{ano}}, but the vote count has not yet reached the sustained-response quorum, nV(t)<qn_V(t)<q. L2 handles a sustained anomaly and requires nV(t)≥qn_V(t)\ge q. With consecutive above-threshold scores, L2 engages after qq anomaly votes; a burst that casts fewer than qq votes in every ww-frame window triggers at most L1.

TrackShield Levels

TrackShield separates a best-effort heuristic detector from a deterministic mechanism: L1–L2 use EWMA/MAD scores and persistence voting only to trigger cheaper, earlier responses. This detector may miss or over-trigger; the L3 hard admission guard bounds the track and detection dimensions admitted before cost-matrix construction, independently of the statistical monitor. L3 is always on; it is not a severity level above L2.

Intuition: TrackShield levels of defense
Suppose the detector retains at most ∣D∣max⁡=5|D|_{\max}=5 boxes per frame and lost tracks survive R=4R=4 frames. In a benign scene with two pedestrians, the pool holds Mt≈2M_t\approx2 tracks and association touches roughly 2×2=42\times2=4 candidate pairs per frame. Under SlowTrack, the five retained boxes are phantoms, and each box either spawns a new track or refreshes an existing phantom track; a track that is not refreshed expires after RR frames. Five such events per frame can keep up to R×5R\times5 tracks alive, so the pool grows toward R∣D∣max⁡=20R|D|_{\max}=20 while the per-frame box cap is never violated; association work grows to roughly 20×5=10020\times5=100 pairs, a 25×25\times inflation. TrackShield controls this workload at three points:
• L1 (birth capping). Admit at most Bmax⁡B_{\max} new tracks per frame, ranked by detection confidence. This leaves existing tracks unchanged but may suppress or delay legitimate births when demand exceeds Bmax⁡B_{\max}.
• L2 (track pruning). Delete tracks flagged by at least two of three indicators (young age, short hit streak, and low confidence), but only under the sustained qq-of-ww anomaly vote.
• L3 (per-stage association caps). Before every association stage, admit at most KˉT,s\bar K_{T,s} tracks and KˉD,s\bar K_{D,s} detections (e.g., 4×4=164\times4=16 candidate pairs), regardless of how many candidates exist. This always-evaluated hard admission guard provides the admitted-dimension bound even if the statistical monitor is fooled.

Table 3.

L1 (birth capping): L1 admits at most Bmax⁡B_{\max} new tracks per frame, ranked by detection confidence.

L2 (track pruning): L2 removes suspicious tracks from the persistent pool. For each track jj, it computes

Pj=1[agej<a0]+1[hit_streakj<h0]+1[confj<c0],(7)P_j=\mathbb{1}[\mathrm{age}_j<a_0]+\mathbb{1}[\mathrm{hit\_streak}_j<h_0]+\mathbb{1}[\mathrm{conf}_j<c_0], \tag*{(7)}

where a0a_0, h0h_0, and c0c_0 are the age, hit-streak, and confidence thresholds, respectively, and hit_streakj\mathrm{hit\_streak}_j is the matched-update count of track jj since activation or re-activation (Section III-D); age is counted from the track’s start frame, so a newborn has age 1. We use (a0,h0,c0)=(3,2,0.3)(a_0,h_0,c_0)=(3,2,0.3) and flag track jj when Pj≥γP_j\ge\gamma, with γ=2\gamma=2 by default. Pruning requires at least two of three indicators: young age, a short hit streak, and low confidence. Requiring two indicators reflects the asymmetry between retaining a phantom temporarily, which adds workload, and deleting a real track, which can cause an identity switch. A newborn track, however, carries both the young-age and short-hit-streak indicators on its birth frame, whatever its confidence, and pruning runs after birth initialization (Algorithm 1). While L2 is sustained, it therefore removes every newborn track, trading new-track admission for a smaller persistent pool. In the attacked accuracy replay at τano=10\tau_{\mathrm{ano}}=10 (Section V-D), L2 is active on 341 of 400 frames and removes all 1,361 tracks born on those frames.

L2 deletes a flagged track from both persistent lists (tracked_tracks and lost_tracks), so it does not carry forward. By contrast, the L3 guard only excludes a track from the current association matrix while retaining its state for possible later admission. Deletion is more destructive: a wrongly pruned real object may later be reinitialized with a new identity, potentially causing an identity switch or trajectory fragmentation. Pruning is enabled only under the sustained qq-of-ww quorum, which reduces responses to isolated anomalies.

L3 (per-stage association caps): The L3 hard admission guard caps the inputs to each protected association stage before cost-matrix construction. Let

Tt,s≜∣Tt,scand∣,Dt,s≜∣Dt,scand∣.T_{t,s}\triangleq|T^{\mathrm{cand}}_{t,s}|,\qquad D_{t,s}\triangleq|D^{\mathrm{cand}}_{t,s}|.

The guard activates when

gt,s=1[Tt,s>KˉT,s∨Dt,s>KˉD,s∨Tt,sDt,s>Wmax⁡,s],(8)g_{t,s}=\mathbb{1}[T_{t,s}>\bar K_{T,s}\mathbin{\lor}D_{t,s}>\bar K_{D,s}\mathbin{\lor}T_{t,s}D_{t,s}>W_{\max,s}], \tag*{(8)}

and, when active, admits at most KˉT,s\bar K_{T,s} tracks and KˉD,s\bar K_{D,s} detections in a fixed admission order: detections by descending confidence, and tracks by descending tracklet length, then earlier start frame, then higher confidence, with the track ID as a deterministic tie-break. The indicator is evaluated on the candidate sets entering stage ss immediately before its cost matrix is built. In our experiments Wmax⁡,s=KˉT,sKˉD,sW_{\max,s}=\bar K_{T,s}\bar K_{D,s}, so the product test is redundant with the two dimension checks and the admitted work never exceeds KˉT,sKˉD,s\bar{K}_{T,s}\bar{K}_{D,s}. A smaller product budget would not tighten admission by itself, because the guard truncates only to the two dimension caps; enforcing one would require an additional truncation rule, which we do not evaluate.

For each association stage ss, the dimension caps are derived from an inert benign (not under attack) profile of video frames:

KˉT,s=⌈Qp(∣T⋅,scand∣)⌉,KˉD,s=⌈Qp(∣D⋅,scand∣)⌉,\bar{K}_{T,s}=\left\lceil Q_p\left(\left|\mathcal{T}^{\mathrm{cand}}_{\cdot,s}\right|\right)\right\rceil,\qquad \bar{K}_{D,s}=\left\lceil Q_p\left(\left|\mathcal{D}^{\mathrm{cand}}_{\cdot,s}\right|\right)\right\rceil,
Wmax⁡,s=KˉT,sKˉD,s,(9)W_{\max,s}=\bar{K}_{T,s}\bar{K}_{D,s}, \tag*{(9)}

where QpQ_p is the empirical ppth percentile (p=99p=99 by default), and ⌈⋅⌉\lceil\cdot\rceil rounds up to an integer count. Equation (9) gives the base rule; the latency experiments multiply the percentile by a margin of 1.01 before rounding (§ 5-A). Track and detection dimensions are calibrated independently because their candidate distributions differ across stages. A product-only test cannot enforce both dimension caps. For example, if (KˉT,s,KˉD,s)=(20,25)(\bar{K}_{T,s},\bar{K}_{D,s})=(20,25), the candidate shape (Tt,s,Dt,s)=(5,100)(T_{t,s},D_{t,s})=(5,100) satisfies Tt,sDt,s=5⋅100=20⋅25=500T_{t,s}D_{t,s}=5\cdot100=20\cdot25=500, although its detection dimension is four times the configured cap. The separate condition Dt,s>KˉD,sD_{t,s}>\bar{K}_{D,s} correctly detects this unbalanced shape.

Detections excluded by the guard are discarded for that frame: they reach no later stage and are not eligible for births. L3 guard-excluded tracks are carried forward rather than deleted, permitting later readmission. In the host used for all reported ByteTrack experiments, SlowTrack’s released tracker with TrackShield hooks and its original retention rule (Table III–V and Figure 2–Figure 4), an excluded Tracked-state track stays in the Tracked state: it never moves to the Lost set, never accrues lost time, and cannot expire after RR frames, and its hit streak does not change, while its chronological age (used in (7)) keeps increasing. Excluded Lost-state tracks keep accruing lost time and expire normally. In the L3-only ablation, such tracks make up almost the entire pool (§ 5-B). Retaining them can preserve real trajectories, but their prediction, ranking, reconciliation, and memory costs are outside the bound.

Figure 2. Pool and latency results for the eight MOT17-02 conditions in Table III. Bars show medians and error bars show IQRs across five repetition-level means.

ConditionRR-LatPool meanTrk mean (ms)Pipe P99 (ms)
Benign, no defense0.0020.53.2741.4
Benign, TS L1–L20.0320.54.3842.5
Benign, TS L1–L30.0220.54.3542.4
Benign, TS L3-only0.0320.54.3842.5
Attack, no defense3.481,677.7139.90190.9
Attack, TS L1–L21.09365.044.1894.6
Attack, TS L1–L30.151.86.2748.8
Attack, TS L3-only0.30489.712.6258.4

Table III. Jetson AGX Orin results on MOT17-02-FRCNN. RR-Lat, pool mean, and tracking mean are medians of five repetition-level means; P99 pools all post-warm-up frames. L1–L2 disables association capping, whereas L3-only disables birth capping and pruning.

Figure 4. Persistent tracker-pool response during a separate clean-to-adversarial transition run on Jetson AGX Orin. Time is relative to the first adversarial frame (t=0t = 0); panel (a) shows the full trajectory on a log scale, and panel (b) enlarges the onset of the defended (L1–L3) run on a linear scale. MtM_t is sampled at frame entry, so the first attack-induced change appears at t=1t = 1.

Complexity: The reported tracking-stage latency TtrackTST_{\mathrm{track}}^{\mathrm{TS}} is the enclosing tracker-update time and includes all TrackShield operations. Its cost can be decomposed conceptually as

TtrackTS=Tpred+TL3+∑s=1STassoc(KT,s,KD,s)+TmonitorT_{\mathrm{track}}^{\mathrm{TS}}=T_{\mathrm{pred}}+T_{\mathrm{L3}}+\sum_{s=1}^{S}T_{\mathrm{assoc}}(K_{T,s},K_{D,s})+T_{\mathrm{monitor}}
+TL1/L2+Trecon,(10){}+T_{\mathrm{L1/L2}}+T_{\mathrm{recon}}, \tag*{(10)}

For ByteTrack’s fixed S=3S=3 stages, signal formation, scoring, voting, and guard checks are O(1)O(1) per frame, apart from O(L)O(L) median/MAD maintenance per accepted baseline update (L=120L=120). L1 sorts UtU_t birth candidates, O(Utlog⁡Ut)O(U_t\log U_t); L2 scans the persistent pool, O(Mt)O(M_t); and the L3 guard sorts the uncapped stage inputs NT,sN_{T,s} and ND,sN_{D,s} before truncation, O(∑s[NT,slog⁡NT,s+ND,slog⁡ND,s])O(\sum_s[N_{T,s}\log N_{T,s}+N_{D,s}\log N_{D,s}]), which linear-time top-KK selection could reduce. Proposition 1 therefore bounds only the post-cap dimensions (KT,s,KD,s)(K_{T,s},K_{D,s}) governing the association terms; guard selection, prediction, monitoring and response actions, reconciliation, and persistent-state maintenance may still depend on uncapped state.

Algorithm 1 TrackShield update at frame tt. Defaults are w=5w=5 and q=3q=3; ηV(t)\eta_V(t) is defined in (6).

  1. Mt←∣Tt−1∣M_t\gets|T_{t-1}|; ΔMt←Mt−Mt−1\Delta M_t\gets M_t-M_{t-1}.

  2. for each protected association stage ss do

  3. Form (Tscand,Dscand)(T^{\mathrm{cand}}_s,D^{\mathrm{cand}}_s).

  4. Evaluate gt,sg_{t,s} using the stage-local candidate dimensions.

  5. if gt,s=1g_{t,s}=1 then

  6. Truncate to ∣Tt,s∣≤KˉT,s|T_{t,s}|\le\bar{K}_{T,s} and ∣Dt,s∣≤KˉD,s|D_{t,s}|\le\bar{K}_{D,s}.

  7. end if

  8. Associate (Tt,s,Dt,s)(T_{t,s},D_{t,s}); log pre/post-cap dimensions.

  9. end for

  10. Set UtU_t to the number of detections left unmatched after the final association stage (before ByteTrack’s det_thresh score filter and before L1 capping).

  11. Form xt=(Mt,ΔMt,Ut,Wtdem,RT,RD)x_t=(M_t,\Delta M_t,U_t,W_t^{\mathrm{dem}},R_T,R_D) and compute StS_t and ηV(t)\eta_V(t).

  12. if ηV(t)≥q\eta_V(t)\ge q then

  13. ℓt←2\ell_t\gets2 {sustained}

  14. else if St>τanoS_t>\tau_{\mathrm{ano}} then

  15. ℓt←1\ell_t\gets1 {emerging}

  16. else

  17. ℓt←0\ell_t\gets0 {normal}

  18. end if

  19. if ℓt≥1\ell_t\ge1 then

  20. Keep at most Bmax⁡B_{\max} birth candidates.

  21. end if

  22. Initialize admitted births and reconcile tracked, lost, and removed sets.

  23. if ℓt=2\ell_t=2 then

  24. Prune tracks satisfying the pruning rule (7).

  25. end if

Proposition 1 (Conditional association-admission bound). Suppose that at every protected association stage s∈{1,…,S}s\in\{1,\ldots,S\} the hard admission guard is applied before cost-matrix construction, admitting at most KˉT,s\bar{K}_{T,s} tracks and KˉD,s\bar{K}_{D,s} detections (the admission order determines which candidates are admitted, never more than KˉT,s\bar{K}_{T,s} tracks and KˉD,s\bar{K}_{D,s} detections). Then for any finite candidate sets (in particular under an adversarial flood of arbitrarily many detections or births), KT,s≤KˉT,sK_{T,s}\le\bar{K}_{T,s}, KD,s≤KˉD,sK_{D,s}\le\bar{K}_{D,s}, and

Wtadm=∑s=1SKT,sKD,s≤∑s=1SKˉT,sKˉD,s.W_t^{\mathrm{adm}}=\sum_{s=1}^{S}K_{T,s}K_{D,s}\le\sum_{s=1}^{S}\bar{K}_{T,s}\bar{K}_{D,s}.

Consequently, any assignment implementation whose worst-case operation count is monotone non-decreasing in both admitted dimensions has a finite, implementation-specific worst-case operation count at those dimensions.

Proof. The guard enforces KT,s≤KˉT,sK_{T,s}\le\bar{K}_{T,s} and KD,s≤KˉD,sK_{D,s}\le\bar{K}_{D,s} before the cost matrix is built. Multiplying these inequalities gives the stage-wise bound, and summing over the protected stages gives the frame-wise bound; monotonicity of the solver’s worst-case operation count in both admitted dimensions gives the operation-count bound. □

The dimension caps in Table II control the admitted-workload–recall tradeoff; Bmax⁡B_{\max} and τano\tau_{\mathrm{ano}} control heuristic birth admission and response sensitivity. Tight caps may truncate legitimate candidates, while aggressive anomaly thresholds may cause excessive pruning.

ParameterRoleEffect of increase
KˉT,s,KˉD,s\bar{K}_{T,s}, \bar{K}_{D,s}Configured track/detection dimension capsMore candidates and work admitted
Wmax⁡,sW_{\max,s}Stage-local product-trigger thresholdLess frequent product-triggered capping
τano\tau_{\mathrm{ano}}Anomaly-score thresholdLater, less frequent heuristic response
wwAnomaly-vote window lengthLonger vote history
qqSustained-response quorumMore anomaly votes required
Bmax⁡B_{\max}Per-frame L1 birth capMore births admitted when L1 is active
γ\gammaL2 pruning thresholdFewer tracks satisfy the pruning rule
a0,h0,c0a_0, h_0, c_0Age, hit streak, and confidence thresholdsChanges pruning selectivity when L2 is active
α\alphaEWMA adaptation rateFaster baseline adaptation
LLMaximum baseline-window lengthMore accepted history retained
LinitL_{\mathrm{init}}Baseline samples required to enable scoringLater score activation

Table 2. TrackShield parameters.

Performance Evaluation

Experimental Setup

Platform and configuration. Latency experiments use YOLOX-S+ByteTrack at 608×1088608 \times1088, FP16, and at most 500 retained detections per frame on a Jetson AGX Orin (MAXN, locked clocks), with detector confidence/NMS thresholds 0.25/0.45, track_thresh = 0.6, match_thresh = 0.9, and R=30R = 30. All ByteTrack results use SlowTrack’s released tracker [7], against which the attack is defined. It differs from official ByteTrack in its evaluation preprocessing (RGB/255, without the ImageNet mean/std normalization of official ByteTrack) and in its second-pass detection set: an indexing quirk feeds the second stage the min⁡(m,100)\min(m, 100) highest-scoring detections overall (mm being the middle-band count) instead of the middle band, so a detection matched in the first stage can be reused there. Adversarial frames use the confidence-maximization path of the released SlowTrack code (220 normalized-gradient steps per frame pair, no norm budget), with its input normalization removed to match this preprocessing; the box-area and feature-matching terms of Section III-C are inactive in this path. Accuracy experiments replay cached detections (confidence 0.001, NMS 0.7, track_thresh = 0.5, match_thresh = 0.8) over the matched 400-frame range, separately from the latency runs, and are scored with motmetrics against MOTChallenge ground truth. Caps use benign p=99p = 99 calibration on clean frames of the same sequence. For the MOT17-02 latency runs, calibrated on frames 101–400 with a 0.1 margin, the caps are (24,20)(24, 20), (4,19)(4, 19), and (2,4)(2, 4) for the high-score, low-score, and unconfirmed stages, so by Proposition 1 at most 24⋅20+4⋅19+2⋅4=56424 \cdot20 + 4 \cdot19 + 2 \cdot4 = 564 candidate pairs are admitted to association per frame. The accuracy replay calibrates on the full 600-frame benign sequence without a margin, giving (37,25)(37, 25), (13,81)(13, 81), and (2,4)(2, 4). The monitor baseline is warm-started from the inert profiling pass.

Defense configuration. TrackShield protects all three association stages and the birth and reconciliation steps. Unless stated otherwise, τano=6\tau_{\mathrm{ano}} = 6, w=5w = 5, q=3q = 3, α=0.02\alpha= 0.02, Bmax⁡=15B_{\max} = 15, L=120L = 120, Linit=20L_{\mathrm{init}} = 20, and wRD=0.5w_{RD} = 0.5 (all other weights 1); the accuracy sweep evaluates τano∈{4,6,8,10}\tau_{\mathrm{ano}} \in\{4, 6, 8, 10\}.

Protocol. Paired runs use identical frames and detector settings. Pipeline latency is CUDA-synchronized whole-frame timing over the last 300 of 400 frames; each ByteTrack Jetson condition is repeated five times, and Table III and IV report medians of repetition-level means. R-Lat is mean pipeline latency relative to the paired benign no-defense baseline minus one, and Mˉt\bar{M}_t is the mean pool size. Cross-sequence attacks are generated per sequence; the BoT-SORT study reuses the MOT17-02 attack without re-optimization.

Edge Latency and Workload

The Orin campaign uses τano=6\tau_{\mathrm{ano}} = 6. Table III reports the eight evaluated conditions, and Figure 2 visualizes their pool and latency results.

Under attack, the undefended pipeline reaches RR-Lat = 3.48, a mean persistent pool of 1,677.7 tracks, and mean tracking-stage latency of 139.90 ms. Full TrackShield reduces these values to 0.15, 1.8 tracks, and 6.27 ms, respectively. At least one calibrated per-stage admission cap binds on every attacked frame. Under benign input, the mean pool remains 20.5 tracks across all conditions, while tracking-stage latency ranges from 3.27 to 4.38 ms.

For the MOT17-02-FRCNN campaign in Table III, the ablations reveal mechanism interaction. Without L3, attacked L1–L2 drops 414,395 birth candidates over the 5×3005 \times300 measured frame-repetitions (a sum of per-frame counts, not distinct objects); together with L2’s removal of newborn tracks, this reduces the mean pool from 1,677.7 to 365.0 tracks. With L3 enabled, L1 drops no birth candidates under full L1–L3, because births come only from the at most 4 detections admitted to the unconfirmed stage, below Bmax⁡=15B_{\max}=15; L2 remains active, recording 5,335 per-frame pruning events. With L1 inactive, the L3-only–to–full-policy difference is attributable to L2 in this campaign: the mean pool falls from 489.7 to 1.8 tracks and tracking-stage latency from 12.62 to 6.27 ms. The L3-only pool, almost entirely guard-excluded Tracked-state tracks (Section IV-C), grows linearly over the measured window, so its mean depends on the window length.

TrackShield’s internal overhead is approximately 1 ms per frame. Its timers cover monitoring, birth capping, pruning, association-input capping, and bookkeeping; the median across five repetition-level mean timer sums is 0.99 ms under benign input and 1.20 ms under attack. This overhead is included in the tracking-stage latency of Table III. The whole-pipeline effect is small (benign P99 41.4 versus 42.4 ms), but relative to the benign tracker it is not: benign tracking-stage latency rises from 3.27 to 4.35 ms under full L1–L3, about 33%.

The object detector-dominated benign pipeline already exceeds the commonly used 33 ms reference threshold, so that threshold does not distinguish benign operation from an attacked pipeline. We therefore evaluate deadline misses at an attainable 50 ms device-level threshold. The miss rate is the fraction of pooled post-warm-up frames across all five repetitions whose whole-frame latency exceeds 50 ms. The undefended attack and L1–L2 exceed this threshold on 100% of frames. L3-only, a static per-stage cap without monitoring or pruning, reduces the miss rate to 79.6%, whereas full L1–L3 reduces it to 0.7%, compared with 0.0% for the benign conditions. Figure 3 shows the full per-frame latency distributions.

Figure 3. Whole-pipeline per-frame latency CDFs on the Jetson AGX Orin for the benign no-defense baseline and the four attacked conditions; each CDF pools the per-frame latencies of all five repetitions. The vertical line marks the 50 ms device-level threshold used for the deadline-miss analysis.

The separate transition run in Figure 4 reveals onset dynamics hidden by the post-warm-up aggregates in Table III. In the undefended run, the pool rises rapidly toward approximately 1,700 tracks. Under full L1–L3, at least one stage-local admission cap binds on the first adversarial frame, and the pool peaks briefly at 24 tracks before falling below its benign level. The benign tracks present before onset gradually stop matching and expire R=30R=30 frames after their last match; with L2 removing newborns, the defended pool declines stepwise to 1–2 tracks within about 130 frames, below the benign level of about 20. This small pool is a result of the full policy, not of Proposition 1.

Cross-Sequence Robustness

We apply the protocol of § 5-A to seven MOT17 sequences (02, 04, 05, 09, 10, 11, and 13), generating attacks independently per sequence.

Before interpreting defended results as mitigation evidence, we apply a predeclared attack-efficacy gate: under no defense, the ratio of the attacked mean persistent-pool size to its benign counterpart must be at least 1.5×. A sequence that fails this gate is retained as a negative or specificity result but excluded from the mitigation aggregates. In Table IV, RR-Lat is residual whole-pipeline latency inflation; “Trk red.” is the undefended attacked tracking-stage latency divided by its full-L1–L3 counterpart; and “Def./benign” is the defended attacked mean pool divided by the benign no-defense mean pool. The six-sequence mean is unweighted; ratios are computed from unrounded measurements.

SequencePool ratioAttack RR-Lat no def.RR-Lat L1–L3Trk red.Benign poolDef. atk. poolDef./benign
MOT17-0282.0×3.510.14622.9×20.51.830.089
MOT17-05159.9×3.960.17324.7×11.11.730.156
MOT17-09198.1×4.020.14326.9×9.71.430.146
MOT17-10100.3×3.820.12824.6×18.22.300.127
MOT17-11200.8×4.120.19226.2×9.61.880.195
MOT17-13103.0×3.750.12124.5×17.31.810.105
6-seq mean140.7×3.860.15025.0×14.41.830.136
MOT17-04†1.2×0.06−0.0081.8×41.54.000.096

Table IV. Cross-sequence Jetson AGX Orin results over 300 measured frames after 100 warm-up frames. The MOT17-02 row is an independent rerun of Table III’s protocol. † marks a gate-failing sequence excluded from the six-sequence mean.

On the six sequences that pass the efficacy gate, the undefended attack inflates the mean persistent pool by 82–201× relative to benign operation, with an unweighted mean of 140.7×. The corresponding undefended RR-Lat values range from 3.51 to 4.12. Full L1–L3 reduces tracking-stage latency by 22.9–26.9×, with an unweighted mean reduction of 25.0×, and lowers R-Lat to 0.121–0.192, with an unweighted mean of 0.150. The calibrated admission caps bind on every attacked frame in all six attack-effective sequences.

The defended attacked pools are 8.9%–19.5% of the corresponding benign pools, below the benign level because L2 also removes legitimate newborns (Section IV-C).

MOT17-04 negative case: MOT17-04 fails the 1.5× attack-efficacy gate: its attacked mean pool of 50.2 tracks is only 1.2× its benign 41.5. Full L1–L3 reduces its attacked pool to 4.00 tracks, 9.6% of the benign pool, which suggests possible over-suppression.

Tracking Utility

Table 5 evaluates tracking utility under benign and attacked input over the same 400-frame range.

ConditionMOTAIDF1IDSWFPFNInterv.Bind
Benign input, matched 400-frame range
No defense57.5756.83891,1753,860——
TS L1–L3, τ=4\tau=417.4325.010329,93899.8%100.0%
TS L1–L3, τ=6\tau=656.5156.36831,1624,0075.2%11.2%
TS L1–L3, τ=8\tau=856.7556.32851,1623,9750.5%12.2%
TS L1–L3, τ=10\tau=1056.7556.32851,1623,9750.5%12.2%
Attacked input, same 400-frame range
No defense−1,544.081.12752189,5088,263——
TS L1–L3, τ=4\tau=4−0.070.4303612,04794.8%100.0%
TS L1–L3, τ=6\tau=6−0.070.4303612,04794.8%100.0%
TS L1–L3, τ=8\tau=8−0.130.4304412,04791.8%100.0%
TS L1–L3, τ=10\tau=10−0.130.4304412,04791.2%100.0%

Table 5. Tracking accuracy on MOT17-02-FRCNN over a matched 400-frame scope; benign and attacked rows are scored against the same 400-frame ground truth (12,075 boxes). Multiple Object Tracking Accuracy (MOTA) and identity F1 score (IDF1) are percentages; IDSW denotes identity switches, FP false positives, and FN false negatives. Interv. is the percentage of frames with selected response level ℓt>0\ell_t > 0, and Bind is the percentage on which at least one per-stage admission cap truncates a candidate set; Bind exceeds Interv. in every TrackShield row because the guard is evaluated independently of the monitor. Dashes indicate that TrackShield-specific rates are not applicable.

Under benign input at the default τano=6\tau_{\mathrm{ano}} = 6, MOTA decreases from 57.57 to 56.51 (−1.06 points) and IDF1 from 56.83 to 56.36 (−0.47 points); at τano=10\tau_{\mathrm{ano}} = 10 the losses are 0.82 and 0.51 points, so neither setting is better on both metrics. By contrast, at τano=4\tau_{\mathrm{ano}} = 4, the heuristic response is active on nearly every benign frame and an admission cap binds on every frame. Because sustained L2 removes every newborn track, FP falls to 32 and IDSW to zero, but FN rises to 9,938, causing MOTA to drop to 17.43%. In an auxiliary accuracy-replay sensitivity test, not used in any latency result, exempting each newborn on its birth frame and lowering h0h_0 to 1 removes this collapse (MOTA 56.99 at τano=4\tau_{\mathrm{ano}} = 4) and leaves the other benign rows unchanged or slightly improved. Among the tested settings, τano=6\tau_{\mathrm{ano}} = 6 is the lowest threshold that avoids the collapse under the default rule. At τano=8\tau_{\mathrm{ano}} = 8 and 10, the selected response level is identical on every benign frame, hence the identical benign rows.

Without defense, SlowTrack reduces MOTA/IDF1 from 57.57/56.83 under benign input to −1,544.08/1.12 under attack: the phantom detections become 189,508 false-positive outputs, while FN rises from 3,860 to 8,263. The attack degrades tracking accuracy as well as increasing workload. At

τano=10\tau_{\mathrm{ano}} = 10, full TrackShield removes nearly all of these false positives (44 versus 189,508), while FN rises to 12,047 of the 12,075 ground-truth boxes, giving attacked MOTA/IDF1 of −0.13/0.43. In the same auxiliary test (birth-frame exemption and h0=1h_0 = 1) at τano=10\tau_{\mathrm{ano}} = 10, the replayed attacked pool rises from 2.3 to 50.9 tracks and the false positives to 6,021 (MOTA −45.84), while FN stays above 95%.

Cross-Tracker Admission-Control Case Study

The preceding evaluations use ByteTrack. To examine the admission-control mechanism beyond ByteTrack, we apply the MOT17-02 attack, with the same cached-detection protocol, to a tracker-specific BoT-SORT-ReID integration. This integration retains per-stage association caps and track pruning, but has no

L1 birth cap and does not implement the complete ByteTrack monitoring interface; Table VI reports this integration as a case study. Pool, accuracy, and cap-binding values are medians over five GPU-cluster repetitions. The Trk latency row (including ReID) is the mean over all 400 frames of one Jetson run per condition, with no run-to-run spread, and is not comparable with Table III. The cluster runs use caps (30, 20), (12, 82), and (2, 4), calibrated on their 400-frame benign profile without a margin; the Jetson run uses (29, 20), (13, 82), and (2, 4) from its own benign profile. The integration’s monitor signals differ from Algorithm 1: AtA_t counts activated tracks and UtU_t unconfirmed tracks, so RTR_T and RDR_D are not confined to [0, 1], and monitor and pruning behavior is not directly comparable with ByteTrack.

MetricBenign No def.Benign TrackShieldAttack No def.Attack TrackShield
Mean pool22.6022.663,975.291.69
MOTA47.4146.82−6,972.63−0.81
IDF156.0956.660.420.21
IDSW80811,5512
FP9801,027847,624113
FN5,2905,3134,84512,058
Bind0%6.75%0%100%
Trk latency108.6 ms110.3 ms26.65 s10.94 s

Table VI. BoT-SORT-ReID admission-control case study on MOT17-02-FRCNN. The integration uses per-stage caps and pruning, with tracker-specific monitor signals and no L1 birth cap. Accuracy metrics use the same 400-frame ground truth as Table V. IDSW denotes identity switches.

On BoT-SORT-ReID, the transferred attack passes the efficacy gate and TrackShield reduces the mean attacked pool from 3,975.29 to 1.69, with caps binding on every attacked frame. Benign MOTA decreases by 0.59 points, while benign IDF1 rises slightly, from 56.09 to 56.66; under attack, FN reaches 12,058 of 12,075. TrackShield reduces attacked tracking-stage latency from 26.65 s to 10.94 s on Jetson, but ReID alone accounts for approximately 10.85 s because it processes the raw detections before the admission guard. The guard enforces Proposition 1, but upstream ReID cost lies outside it.

Limitations

Proposition 1 covers only admitted association work (Section IV-C), not object detector, ReID, or end-to-end cost. The evaluated attack is SlowTrack’s confidence-maximization path, white-box and without a perturbation budget, transferred from the undefended pipeline. An adaptive attacker cannot raise admitted association work above ∑sKˉT,sKˉD,s\sum_s \bar{K}_{T,s}\bar{K}_{D,s} (Proposition 1); we have not evaluated small-norm perturbations or attacks that evade anomaly voting or target uncapped stages such as ReID, prediction, and reconciliation.

Conclusion

TrackShield addresses SlowTrack-style availability attacks at the layer where their workload accumulates: persistent tracker state and data association. The always-on L3 guard provides a deterministic bound on the track and detection dimensions admitted to each protected association stage, while L1–L2 limit pool growth through birth capping and track pruning. On a Jetson AGX Orin, full TrackShield reduces attacked R-Lat from 3.48 to 0.15 on MOT17-02, and attacked tracking-stage latency by 22.9–26.9× across six attack-effective MOT17 sequences. Under attack, adversarial detections corrupt the tracker’s input, and TrackShield prioritizes timely output over tracking accuracy. Timely, if degraded, output still gives downstream monitoring and fallback mechanisms an opportunity to respond, whereas a stalled or unresponsive pipeline leaves downstream modules acting on stale world state. Remaining challenges include restoring tracking utility under attack, addressing pipeline costs outside the association bound, and evaluating and defending against adaptive attacks.

References

  1. [1]Z. Ge, S. Liu, F. Wang, Z. Li, and J. Sun, “YOLOX: Exceeding YOLO series in 2021,” arXiv preprint arXiv:2107.08430, 2021.arxiv.org/abs/2107.08430
  2. [2]A. Bewley, Z. Ge, L. Ott, F. Ramos, and B. Upcroft, “Simple online and realtime tracking,” in Proc. IEEE International Conference on Image Processing (ICIP), 2016, pp. 3464–3468.DOI
  3. [3]Y. Zhang, P. Sun, Y. Jiang, D. Yu, F. Weng, Z. Yuan, P. Luo, W. Liu, and X. Wang, “ByteTrack: Multi-object tracking by association every detection box,” in Proc. European Conference on Computer Vision (ECCV), 2022.arxiv.org/abs/2110.06864
  4. [4]N. Aharon, R. Orfaig, and B.-Z. Bobrovsky, “BoT-SORT: Robust associations multi-pedestrian tracking,” arXiv preprint arXiv:2206.14651, 2022.arxiv.org/abs/2206.14651
  5. [5]Y. Jia, Y. Lu, J. Shen, Q. A. Chen, H. Chen, Z. Zhang, and T. Wei, “Fooling detection alone is not enough: Adversarial attack against multiple object tracking,” in Proc. International Conference on Learning Representations (ICLR), 2020.arxiv.org/abs/1905.11026
  6. [6]Z. Gu, Z. Gao, A. Saremi, and S. Chakraborty, “Deep learning latency attacks and defenses: A cross-domain survey of availability threats,” arXiv preprint arXiv:2609.36732, 2026.arxiv.org/abs/2609.36732
  7. [7]C. Ma, N. Wang, Q. A. Chen, and C. Shen, “SlowTrack: Increasing the latency of camera-based perception in autonomous driving using adversarial examples,” in Proc. AAAI Conf. Artificial Intelligence, vol. 38, no. 5, 2024, pp. 4062–4070, code: https://github.com/ershang2/SlowTrack.
  8. [8]E.-C. Chen, P.-Y. Chen, I.-H. Chung, and C.-R. Lee, “Overload: Latency attacks on object detection for edge devices,” in Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR), 2024, arXiv:2304.05370.arxiv.org/abs/2304.05370
  9. [9]C. Schoof, S. Koffas, M. Conti, and S. Picek, “Beyond PhantomSponges: Enhancing sponge attack on object detection models,” in Proc. 2024 ACM Workshop on Wireless Security and Machine Learning (WiseML). ACM, 2024, pp. 14–19.DOI
  10. [10]T. Wang, Z. Wang, C. Wang, Y. Shu, R. Deng, P. Cheng, and J. Chen, “Can’t slow me down: Learning robust and hardware-adaptive object detectors against latency attacks for edge devices,” in Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR), 2025, pp. 19 230–19 240.arxiv.org/abs/2412.02171
  11. [11]J.-P. Monteuius, C. Chen, and J. Petit, “Latency NMS attacks: Is it real life or is it just fantasy?” in Proc. Advances in Neural Information Processing Systems (NeurIPS), 2025, https://openreview.net/pdf?id=Nk9QDWOFt8.
  12. [12]Z. Gu, J. Singh-Smith, J. Liao, D. Liu, and A. Saremi, “TrackFlood: Relocating latency attacks from NMS-free detectors to real-time trackers,” arXiv preprint arXiv:2609.33948, 2026.arxiv.org/abs/2609.33948
  13. [13]D. Biton, A. Misra, E. Levy, J. Kotak, R. Bitton, R. Schuster, N. Papernot, Y. Elovici, and B. Nassi, “The adversarial implications of variable-time inference,” in Proc. 16th ACM Workshop on Artificial Intelligence and Security (AISec). ACM, 2023, pp. 103–114.arxiv.org/abs/2309.02159
  14. [14]C. Ma, N. Wang, Z. Zhao, Q. A. Chen, and C. Shen, “SlowPerception: Physical-world latency attack against visual perception in autonomous driving,” arXiv preprint arXiv:2406.05800, 2024.arxiv.org/abs/2406.05800
  15. [15]Z. Gu, J. Singh-Smith, J. Liao, and D. Liu, “GateDrain: Availability attacks and admission-side defense for confidence-gated edge-cloud inference,” arXiv preprint arXiv:2609.33992, 2026.arxiv.org/abs/2609.33992
  16. [16]C. Leys, C. Ley, O. Klein, P. Bernard, and L. Licata, “Detecting outliers: Do not use standard deviation around the mean, use absolute deviation around the median,” Journal of Experimental Social Psychology, vol. 49, no. 4, pp. 764–766, 2013.DOI

Paper details

vlnc:W_bgah4dwy
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents