Knowing When the Target Is Gone at Night

Long-term visual trackers follow one object through a long video. They survive occlusions and exits because they make a repeated yes-or-no decision: is the target still here, or should I stop updating and search the whole frame? That decision is usually a single fixed threshold on a verifier's similarity score, tuned on daylight video. At night, a camera's signal collapses, and similarity scores fall for the true target and for background alike. They also fall by different amounts depending on whether the target stands under a streetlamp or in an unlit doorway. The fixed threshold then fails in both directions. The tracker declares a visible target lost and gets stuck in slow full-frame search, or it accepts a glare patch as the target and corrupts its memory of what the target looks like.

We propose to replace the fixed threshold with a small learned calibrator. It maps the verifier's score, the shape of the tracker's response map, and the brightness around the candidate to a probability that the target is present. We train it without any nighttime box labels, by darkening daytime long-term tracking videos with spatially uneven synthetic lighting. The calibrated presence probability then also decides when to add a new appearance to a small template bank spanning lighting conditions. This lets a daylight-initialized tracker match a target that reappears as a dark silhouette. The bet is narrow and testable: much of the nighttime long-term tracking failure is a miscalibrated stop-or-search decision, and that decision depends on local illumination rather than on a single global offset.

Core Claim

Our claim has two parts. First, verifier score compression at night is not uniform within a sequence. It tracks local illumination around the candidate box, so no single retuned threshold can be right in both the lit and unlit parts of the same video. Second, a calibrator that is conditioned on local luminance and response-map peakiness can learn this dependence entirely from synthetically darkened daytime data. Plugged into an existing long-term tracker, it improves recovery after occlusion on real night video without retraining the backbone. If the first part is false, meaning compression is a global shift, the proposal reduces to threshold retuning. We say so up front and test it first.

Where This Sits

The re-detection literature supplies the architecture we modify. 'Skimming-Perusal' tracking (SPLT) pairs a local tracker with a verifier. It freezes updates and launches a lightweight full-frame skimming search whenever the verifier score drops below a fixed 0.65. Siam R-CNN re-detects over the whole image with region proposals and dynamic programming over tracklets. SINT shows that never updating and matching only against the first-frame template avoids drift. All three were built and evaluated on daylight benchmarks. We keep SPLT's two-state structure and change only the decision that switches between states, plus the template memory that this decision controls.

Two kinds of work motivate the gap. NT-VOT211 benchmarks 43 trackers on handheld night video. Trackers near 85% AUC on daytime data fall to around 40%, and the benchmark identifies dark or glaring backgrounds as a driver of drift. TLP shows that short-term trackers rarely recover after full disappearance, so local trackers cannot be the whole answer. Together these say that night tracking needs a recovery mechanism, and that the recovery mechanism's own decisions are likely to break.

The method borrows from three sources. LVPTrack judges response-map shape, treating a sharp single peak as trustworthy and multiple or flat peaks as suspect. It uses this only offline, to filter pseudo-labels during domain-adaptive training. We move the same peakiness signal online, as one input to the presence decision. The synthetic "Dark ISP" pipeline of DAI-Net turns daylight images into realistic dark images, and the sensor noise modeling of Zheng et al. supplies the noise model. DAI-Net applies uniform darkening for single-image detection. We need spatially varying illumination with local light sources, closer in spirit to the relighting in Sun Off, Lights On, applied to video with target-absence labels.

One line of work constrains the design. Wang et al., SGLDet, and DARTer report that image enhancement before recognition amplifies noise and does not close the semantic gap. DarkLighter, however, reports a 29.67% success gain for SiamAPN on UAVDark135 from a small Retinex enhancer. Because the evidence conflicts, we do not build on enhancement, but we keep it as a baseline. DARTer also maintains a dynamic template that it updates periodically. Its local-only search and ungated updates are exactly the failure our gated template bank targets.

Research Program

The first stage is diagnostic, and it decides whether the rest is needed. We run SPLT's verifier and the SPLT-style verifier attached to a modern transformer tracker over UAVDark135, NAT2021, and NT-VOT211. We record the verifier score at ground-truth boxes and at hard negative boxes. We bin both by mean luminance in a ring around the box. If the separating threshold moves substantially across luminance bins within individual sequences, the illumination-conditioned claim has support. If the threshold is roughly constant across bins and just lower than 0.65, we stop and report that a retuned global threshold suffices.

The second stage builds training data without night labels. We take daytime long-term sequences with box and absence annotations, namely LaSOT and the VOT2018LT style data SPLT trained on. We render each frame through a dark camera model with Poisson-Gaussian noise and an illumination field that varies in space and time. The field consists of a dim ambient level, a few moving or static point sources with halo and saturation, and occasional exposure jumps. Target boxes and present/absent flags carry over unchanged. This is where the annotation bottleneck is sidestepped. Humans cannot draw boxes on unseen dark pixels, but labels from daylight survive darkening exactly.

The third stage trains the calibrator. For each candidate, the features are the verifier score, the response-map peak value and peak-to-sidelobe ratio, the entropy of the map, and local and global luminance statistics. These are fed to a small network or monotone gradient-boosted model. The output is the probability that the target is present, trained with a log-loss against the absence flags. The tracker freezes updates and searches globally when this probability falls below 0.5. Because the output is a calibrated probability, we do not need to tune a separate threshold for each condition.

The fourth stage adds a gated template bank. Besides the first-frame template, we store up to a few templates, each tagged with the luminance under which it was captured. A new template is admitted only when the presence probability exceeds a high bar, and it replaces the stored template from the nearest luminance bin. At re-detection, candidates are scored against the stored template whose luminance tag is closest to the candidate's. This addresses the daylight-template versus dark-reappearance mismatch without the drift that ungated updates cause in darkness.

Last, we collect a small real evaluation set. On the NT-VOT211 sequences that carry occlusion attributes, plus NAT2021-L, annotators mark per-frame present/absent flags. These flags are far cheaper and more reliable than boxes on dark frames. Without them, night tracking benchmarks cannot score the stop-or-search decision at all.

Baselines

The naive reference is SPLT unchanged, with its 0.65 threshold and only the first-frame template, run on night data. Its reported daytime figure is an F-score of 0.616 on VOT2018LT (SPLT). We found no reported result on Lacuna for SPLT or any long-term re-detection tracker on a nighttime benchmark. Establishing that number is itself a contribution.

The strongest direct competitor is SPLT with its threshold retuned on held-out real night data. This is a one-parameter fix that a practitioner would try first, and it is the baseline our core claim must beat. We tune it on the same night validation split the calibrator is checked against, with an equal search budget. We will count the proposal as better only if it beats this baseline on long-term F-score on the absence-flagged night set, and specifically in the lowest-luminance bins.

The strongest existing night tracker is DARTer, a local tracker with a dynamic template. It reports 64.9% precision on NAT2021-L, and 85.2% precision with 65.6% AUC on NAT2024-1 (DARTer). On short-term night tracking the best reported figure is ProContEXT at 40.08% AUC on NT-VOT211 (NT-VOT211), and LVPTrack reports 62.03% AUC on NAT2021-test (LVPTrack). We run DARTer and LVPTrack with released weights on the same splits. To be fair, we also wrap DARTer's local tracker inside our calibrated two-state loop. That separates the gain from the decision rule from the gain from a stronger backbone.

We include SPLT with a DarkLighter enhancement front-end, because DarkLighter is the strongest evidence that enhancement helps trackers. We also include Siam R-CNN as the full-frame re-detection reference, at matched input resolution.

The ablations isolate the key ingredient. One calibrator drops the luminance inputs and keeps only peakiness and score. A second keeps luminance inputs but is trained on uniformly darkened data rather than spatially varying data. A third removes the template bank while keeping the calibrator. If the version without luminance inputs matches the full one, the illumination-conditioning claim fails, even if the system still improves overall.

Why not just…?

Why not just retune the threshold on night data? This is the real threat. If score compression at night is a global shift, a single lower threshold captures nearly all of the benefit at no cost. The diagnostic stage tests this directly by checking whether the optimal threshold moves with local luminance within sequences. The retuned-threshold baseline then measures the remaining gap end to end. If the gap is negligible, we will report the retuned threshold as the answer and treat the absence-flagged night set and the diagnostic analysis as the contribution.

Why not just enhance frames first? The evidence is split. Wang et al. and SGLDet find that enhancement does not repair semantics and amplifies noise, while DarkLighter helps a Siamese tracker on cropped patches. Full-frame skimming search over noise and glare is exactly where amplified artifacts could create false candidates. The SPLT plus DarkLighter baseline settles this empirically, and enhancement could also be combined with our calibrator if it helps.

Why not just use a strong local night tracker? TLP shows that local trackers rarely recover after full disappearance (TLP). DARTer's search is confined to a crop around the last prediction. We expect DARTer to win on frames where the target stays visible and to lose on frames after the target reappears. We report both separately so the comparison is not flattered.

Why not just fine-tune the verifier on pseudo-labeled night video, LVPTrack-style? Teacher-student self-training on dark, changing targets is prone to confirmation bias. More importantly, pseudo-labels never include absence, because a teacher's confident box is never "not here." Synthetic darkening keeps true absence labels. As an extra baseline, we will still fine-tune the verifier with peakiness-filtered pseudo-labels on unlabeled NT-VOT211 training video.

Proposed Experiments

The evaluation covers UAVDark135, NAT2021-test, NAT2021-L, and NT-VOT211, using the standard success-AUC and precision metrics. On the absence-flagged night subset, we report long-term tracking F-score, presence-decision AUROC, and expected calibration error, each broken down by local luminance bin. VOT2018LT and OxUvA serve as daytime checks, to confirm that the calibrator does not hurt in good light. We also report frames per second on a desktop GPU and on an embedded board, since a stuck global search shows up as lost throughput.

The decisive checks are four. Within-sequence threshold drift must appear in the diagnostic stage. The full calibrator must beat the retuned global threshold in the darkest luminance bins on real night video. Removing the luminance inputs must remove that advantage. The gated template bank must raise the rate of correct re-detection after occlusions that cross a lighting boundary, compared with the first-frame template alone. If all four hold, the work shows that a cheap, label-free fix to one decision recovers a measurable part of the nighttime long-term tracking loss.