Detectors trained on daytime satellite and drone imagery fail at night, and nighttime aerial labels are expensive. The standard fix is self-training: run a teacher model on unlabeled night images, keep its confident predictions as "pseudo-labels," and train a student on them. At night this breaks for a specific reason. A low confidence score might mean the teacher is wrong. It might also mean the object is a twelve-pixel car that received only a handful of photons, so the teacher is right but cannot be sure. Confidence thresholds cannot separate these two cases. They discard dim small targets wholesale, or they admit noise-driven false positives.
We propose to let the camera physics decide how much each pseudo-label should be trusted. Unprocessing means mapping ordinary sRGB images back to linear sensor values and adding physically correct shot and read noise. With it, we can turn labeled daytime aerial imagery into night imagery where we know both the ground truth and each object's photon budget. Our central use of this synthetic night data is not as more training images. We use it to measure how teacher confidence relates to correctness as a function of a per-object signal-to-noise ratio. We then carry that calibration over to real night images, where the same signal-to-noise ratio can be estimated from the pixels alone. The claim is that this physics-indexed calibration admits more correct small and dim pseudo-labels, and fewer wrong ones, than size-based or image-level rules. It also tells the student when to learn an object's class but not its orientation.
Core Claim
A pseudo-label's reliability at night is governed by how many photons fall on the object relative to sensor noise. Object size or image-level brightness alone does not govern it. Consider the Poisson-Gaussian sensor model, in which each pixel's variance is its mean photon count plus read-noise variance. For an object covering $A$ pixels with mean linear signal $\mu$ photo-electrons per pixel and read-noise standard deviation $\sigma_r$, the object-level signal-to-noise ratio is
$$\mathrm{SNR} = \frac{A\mu}{\sqrt{A(\mu + \sigma_r^2)}} = \frac{\sqrt{A}\,\mu}{\sqrt{\mu+\sigma_r^2}}.$$
The numerator sums signal over the object, and the denominator sums independent per-pixel variances. This quantity couples the two variables that prior work treats separately: area, which drives the small-object "confidence gap," and illumination, which drives night degradation. We will learn a map $g(s, \mathrm{SNR}, c) \approx P(\text{pseudo-label correct} \mid \text{confidence } s, \mathrm{SNR}, \text{class } c)$ on synthetic night data with known labels. We will then use $g$ as the per-box weight and threshold during self-training on real night imagery. The approach is new if $g$, transferred from synthetic to real night, is better calibrated on real night data than size-conditioned or illumination-conditioned alternatives, and if that calibration turns into detection gains.
Where This Sits
Three lines of work motivate the gap. Rethinking Scale Imbalance in Semi-supervised Object Detection for Aerial Images shows that small aerial objects get systematically lower confidence. It fixes this with separate percentile thresholds for small and large objects, but only on daytime DOTA-v1.5, where size is a good proxy for difficulty. At night, a large dark truck and a small lit car can swap difficulty, and the size proxy should fail. Our ablations test exactly that. Drone Based RGBT Vehicle Detection and Counting: A Challenge down-weights RGB losses using image-level illumination and cross-modal agreement with infrared. We keep its intuition that darkness should lower trust, but drop the infrared dependence and move from a whole-image score to a per-object photon budget. Exploiting Unlabeled Data with Multiple Expert Teachers for Open Vocabulary Aerial Object Detection and Its Orientation Adaptation (CastDet) filters pseudo-boxes by how much the predicted box and angle vary under geometric jitter. That is a strong stability test, but it measures the teacher's self-consistency. Under heavy noise, a teacher can be consistently wrong.
The method comes from the raw-denoising literature. Unprocessing Images for Learned Raw Denoising inverts tone curves, gamma, white balance, and mosaicing to recover linear sensor values, then injects Poisson-Gaussian noise. Toward Convolutional Blind Denoising of Real Photographs adds forward-backward camera pipeline simulation, including compression. We reuse both for synthesis. We also reuse the variance-versus-mean structure of the noise model to estimate $\mu$ and $\sigma_r$ on real night frames. HLA-Face: Joint High-Low Adaptation for Low Light Face Detection corrupts sRGB pixels with noise for ground-level face adaptation. It does not invert the camera pipeline and never sees nadir geometry.
Two works constrain the design. LIME-Eval shows that detectors retrained on processed low-light images learn the artifacts of that processing rather than real signal. This is why we treat synthetic night data mainly as a calibration instrument and check whether the calibration, not just the features, transfers. Unsupervised Domain Adaptation for Nighttime Aerial Tracking needed enhancement, adversarial alignment, and temporal trajectory consistency to mine nighttime pseudo-targets. Static detection has no temporal cue, so a per-frame reliability signal has to come from somewhere else.
The closest synthetic-aerial work is Adapting Vehicle Detectors for Aerial Imagery to Unseen Domains with Weak Supervision. It generates target-domain aerial images with a fine-tuned latent diffusion model, a generator that learns to turn noise into images, at 112×112 px. It filters pseudo-labels with a learned classifier and evaluates daytime geographic transfer. It models no sensor physics, and its filter carries no notion of photon budget. TrafficNight supplies real nighttime aerial sRGB with oriented labels, and its own labels come from an automated detector-plus-segmentation pipeline.
Research Program
The first stage is a synthetic night generator for aerial imagery. Each labeled daytime image from DOTA, DIOR-R, and the daytime RGB portion of DroneVehicle is unprocessed to linear space. It is attenuated by an exposure factor drawn from a range fitted to real night frames, given Poisson shot noise and Gaussian read noise with parameters sampled from the range estimated on real night data, and re-rendered through a forward pipeline with gamma, tone curve, and JPEG compression. Artificial point lights such as streetlamps and headlights matter for night aerial scenes. We add them as localized additive irradiance in linear space before noise injection, so each lit object's photon count is known exactly. For every ground-truth object, we record its true SNR from the equation above.
The second stage is a real-image SNR estimator. On a real night frame, we unprocess with the same approximate inverse pipeline. We fit the noise parameters by regressing local variance on local mean over flat patches, which the Poisson-Gaussian model makes linear. We then compute, for each predicted box, $\mu$ from the mean linear intensity inside the box and $A$ from its area. On synthetic data, where true SNR is known, we validate that the estimated SNR tracks the true one before using it anywhere.
The third stage learns the calibration map. A teacher is trained on daytime labels plus synthetic night images. Without any night exposure it has almost no night recall, so this step is needed. On a held-out synthetic night split, we match teacher predictions to ground truth and fit $g$ by isotonic regression of correctness on confidence within SNR bins and per class. Separately, we fit how angle and box errors grow with SNR. This yields a second, lower SNR cutoff below which a pseudo-label is used only for classification and center loss, not for orientation regression. Nadir objects that are barely visible still say "a car is here" long after their heading becomes unreadable, so this split matters for oriented boxes in a way it would not for horizontal ones.
The fourth stage is self-training. A mean-teacher loop, in which the teacher is a slowly updated average of the student, runs on unlabeled real night frames. Each pseudo-box gets weight $g(s,\widehat{\mathrm{SNR}},c)$, and its regression terms are gated by the angle-reliability cutoff. The map $g$ is refit every few thousand iterations on fresh synthetic night data using the current teacher, so calibration follows the changing model.
Night ground truth is never used for training or tuning. It is reserved for evaluation, stratified by estimated SNR.
Baselines
The naive reference point is a source-only oriented detector trained on daytime RGB and applied directly to real night RGB. We use one detector architecture throughout, Oriented R-CNN-style with a YOLOv8-OBB replicate. Everything else must beat this. Beside it sits the trivial synthesis baseline: the same detector trained with daytime images darkened by a scalar and given additive Gaussian noise in sRGB, with no unprocessing. This isolates whether the camera-pipeline physics matters at all.
The strongest existing single-modality method for this question is S3OD-style self-training, from Rethinking Scale Imbalance in Semi-supervised Object Detection for Aerial Images, with size-aware adaptive thresholds, Wasserstein-distance label assignment, and teacher-guided negative learning. It is the strongest competitor because it already addresses the small-object confidence gap. It reports 40.02 mAP on DOTA-v1.5 with 1% labels, a 10.72-point gain over its supervised baseline, and a 75.7% improvement on small vehicles. We run it with the same synthetic-augmented teacher, the same unlabeled night pool, the same iteration count, and the same hyperparameter search budget as our method, so the only difference is the trust rule. The second strong competitor is CastDet's regression and angle jittering variance filter from CastDet, run under identical conditions with its variance thresholds tuned on the same budget. Beating them means higher mAP on real night test sets, with the gain concentrated in the low-SNR strata. A gain spread uniformly would point to a tuning artifact rather than the mechanism.
Three ablations isolate the key ingredient. In the first, $g$ is conditioned on box size only, which approximates S3OD's logic with our machinery. In the second, it is conditioned on image-level brightness only, an RGB-only analogue of the uncertainty weighting in Drone Based RGBT Vehicle Detection and Counting: A Challenge. In the third, a single global temperature-scaling calibration is fit on synthetic night data with no conditioning. If size-only matches full SNR conditioning, the photon-budget claim is false. A fourth ablation removes the orientation gate.
For reference ceilings, we train the same detector fully supervised on real night labels. Reported points of comparison from the file are a DroneVehicle RGB-only baseline of 47.91% mAP, against 64.01% for the RGB-infrared UA-CMDet and 71.7% for the fusion method in A Modality Alignment and Fusion-Based Method for Around-the-Clock Remote Sensing Object Detection, and YOLOv8-OBB at 77.83% AP50 on TrafficNight sRGB versus 91.10% on thermal. These are supervised, and mostly multimodal, upper references rather than competitors. No reported result was found on Lacuna for unsupervised daytime-to-nighttime adaptation of RGB-only oriented aerial detectors, so our method and the re-run S3OD and CastDet numbers will define that baseline.
Why not just…?
Why not just augment with physically synthesized night images and run S3OD unchanged? This is the real threat, because synthesis plus size-aware thresholds may capture most of the benefit. Size and SNR are correlated, and S3OD's percentile thresholds adapt to the confidence distribution. The proposal settles it directly: the S3OD baseline uses the same synthetic-augmented teacher, and the size-only ablation uses our calibration machinery. If neither trails full SNR conditioning in the low-light strata, we will report that physics-based synthesis is useful for the teacher, and that per-object photon accounting adds nothing beyond size.
Why not just enhance the night images and run the daytime detector? LIME-Eval shows that enhancement amplifies noise and creates artifacts that detectors learn to exploit. In Unsupervised Domain Adaptation for Nighttime Aerial Tracking, enhancement alone was not enough and alignment and temporal mining were added. Enhancement also cannot create photons, so objects below the noise floor stay unrecoverable either way. We include enhance-then-detect, and enhance-then-self-train, as baselines on the same data.
Why not just fly a thermal camera? Thermal works well when available, as the 91.10% versus 77.83% AP50 on TrafficNight shows. But Drone Based RGBT Vehicle Detection and Counting: A Challenge reports thermal crossover and an infrared-only score of 59.15% mAP, below fusion. Large volumes of archival and commercial imagery are RGB-only. This proposal targets that setting and does not claim to beat infrared fusion.
Why not just generate night images with a diffusion model? Adapting Vehicle Detectors for Aerial Imagery to Unseen Domains with Weak Supervision had to work on 112×112 crops because diffusion struggles with small aerial objects. More fundamentally, a generated image comes with no known photon count per object, so it cannot supply the calibration signal that is the core of this proposal.
Why not just use CastDet's jitter variance as the trust signal? Jitter variance measures whether the teacher agrees with itself. Under heavy noise, the teacher can be stably wrong, for example by firing confidently on a streetlamp glare blob. We test this by comparing the calibration error of jitter variance against the SNR-conditioned map on held-out real night labels. A combined variant also lets us see whether the two signals are complementary.
Proposed Experiments and Decisive Checks
The labeled sources are DOTA-v1 and v1.5, DIOR-R, and the daytime RGB portion of DroneVehicle. The unlabeled targets are the nighttime RGB frames of DroneVehicle and TrafficNight sRGB, with their labels held out for evaluation only. As a domain stress test, the calibration map is fit on synthetic data derived from DOTA and applied to DroneVehicle night, which is a different sensor and altitude. Metrics are oriented mAP and AP50, both reported per SNR stratum and per size stratum. We also report expected calibration error of pseudo-label correctness on real night data, and pseudo-label precision and recall at each self-training round.
The first decisive check runs before any self-training. On real night images with held-out labels, we compare the calibration error of the SNR-conditioned map transferred from synthetic data against size-only, brightness-only, and global calibration. If the transferred SNR map is not better calibrated on real data, the synthetic-to-real transfer of reliability fails, and the method stops there.
The second check is whether estimated SNR on real frames is meaningful. Detection recall of the supervised night oracle should rise monotonically with estimated SNR. DroneVehicle night labels partly reflect infrared-visible objects, so some labeled vehicles should fall below any recoverable SNR. These should be missed by every RGB method, including the oracle. A method that "detects" them is fitting label priors, not the image.
The third check is the main result: our self-training against S3OD and CastDet under matched budgets, with gains expected to concentrate in the middle SNR band, dim but recoverable objects. The fourth checks whether the orientation gate reduces angle error on low-SNR objects without lowering their recall.
A last sensitivity analysis targets the known weakness of unprocessing. Real drone pipelines use local tone mapping and in-camera denoising that a global inverse cannot undo. We will perturb the assumed inverse pipeline and measure how quickly calibration transfer degrades. That tells practitioners how much camera knowledge the approach actually requires.
References
- Rethinking Scale Imbalance in Semi-supervised Object Detection for Aerial Images
- Drone Based RGBT Vehicle Detection and Counting: A Challenge
- Exploiting Unlabeled Data with Multiple Expert Teachers for Open Vocabulary Aerial Object Detection and Its Orientation Adaptation
- Unprocessing Images for Learned Raw Denoising
- Toward Convolutional Blind Denoising of Real Photographs
- HLA-Face: Joint High-Low Adaptation for Low Light Face Detection
- LIME-Eval: Rethinking Low-light Image Enhancement Evaluation via Object Detection
- Unsupervised Domain Adaptation for Nighttime Aerial Tracking
- Adapting Vehicle Detectors for Aerial Imagery to Unseen Domains with Weak Supervision
- TrafficNight: An Aerial Multimodal Benchmark for Nighttime Vehicle Surveillance
- A Modality Alignment and Fusion-Based Method for Around-the-Clock Remote Sensing Object Detection