Phase-Complete Small-Object Detection in One Forward Pass

When a detector's strided layers shrink the image, a small object's fate depends partly on where it happens to fall relative to the stride grid. A stride is the step a convolution or pooling window moves between outputs. An 8-pixel drone that straddles two cells of a stride-8 feature map can be detected, and the same drone shifted by three pixels can vanish. Fully convolutional inference runs one network over the whole image instead of over cropped patches. Its older literature already knew how to compute every possible grid offset, or "phase," exactly in a single pass. The MaxPoolingFragment layer of Giusti et al. splits each pooling stage into all $k^2$ offsets of its pooling grid, where $k$ is the pooling factor. This removes the offset dependence completely, but memory and compute grow multiplicatively with depth, so the authors used it only on shallow segmentation networks.

We propose to separate two causes of small-object loss that the small-object literature usually treats as one. The first is input resizing. Running a modern fully convolutional detector on the full native-resolution frame should fix it, at lower cost than tiling. The second is phase aliasing inside the backbone: the network's output changes with an object's sub-stride position. We fix the second by computing the missing phases only in a few dense blocks of the feature map, chosen by a gate that reads early, still high-resolution features. Inside those blocks, the result is exactly what an un-strided network would compute. Everywhere else the network runs at normal cost and as ordinary dense convolution, with no sparse-convolution index tables.

Core Claim

Our first claim is that the large accuracy gains attributed to tiling come almost entirely from avoiding input resizing. The Power of Tiling for Small Object Detection cuts drone frames into a 5×3 grid of overlapping tiles and reports VisDrone2018 mAP rising from 11% to 36%. The older fully convolutional literature (Liu et al., Havaei et al., Sickert et al.) shows that a single pass over the whole input reproduces patch-wise evaluation away from patch borders. A single native-resolution pass should therefore recover the tiling gain without the 25% overlap or the seam-merging step.

Our second claim is that, at native resolution, a residual and measurable loss remains for objects smaller than about twice the stride of the head that detects them. This loss shows up as recall that swings with sub-stride shifts of the input. Computing all phases of the last one or two stride-2 transitions fixes it. Doing so only in a small budgeted fraction of blocks recovers most of the gain.

Two equations make this testable. We measure phase sensitivity for an object-size bin as

$$\Delta_{\text{phase}} = \max_{\delta} R(\delta) - \min_{\delta} R(\delta),$$

where $R(\delta)$ is recall in that size bin after translating the input by a sub-stride offset $\delta \in \{0,\dots,s-1\}^2$, and $s$ is the head's stride. Un-decimating $m$ stride-2 stages over a fraction $\rho$ of blocks costs approximately

$$C(\rho) = C_{\text{base}} + \rho\,(4^m - 1)\,C_{\text{tail}},$$

where $C_{\text{base}}$ is the normal pass and $C_{\text{tail}}$ is the cost of the layers after the un-decimated stages. The $4^m$ term follows from the MPF construction, which carries $k^2 = 4$ fragments per stride-2 stage. Giusti et al. found that this exact fragment bookkeeping is accurate: 6.8% pixel error on ISBI EM against 6.6% for slow patch scanning. They also found it is extremely fast when done as contiguous array slicing: 0.07 s against 110 s per image on steel-defect inspection. Our contribution is to make it selective and to place it in a multi-scale detector.

Relation to Prior Work

Three lines of work keep resolution only where it matters. QueryDet uses a coarse stride-8 feature map to decide where to compute a stride-4 detection head with sparse convolutions. Its known weakness motivates our design: an object already blurred away before the stride-8 map is never queried. Content-Adaptive Downsampling keeps full resolution in informative regions of a quadtree grid, using submanifold sparse convolutions. It matches a dilated ResNet-101 on Cityscapes (0.775 mIoU) with 35% fewer multiply-adds, but it was not tested on targets of a few pixels and it depends on sparse kernels. GLAD re-runs a detector on 300×300 native crops chosen by a Kalman filter and switching heuristics.

We share their premise that high-resolution compute should be spent selectively. We differ in three ways. First, we choose regions from stride-4 backbone features, before the lossy transitions, not from a stride-8 head. Second, our high-resolution computation is the exact phase-complete version of the same backbone, not a separate branch or head. Third, we gather selected blocks into a dense batch, so execution stays ordinary dense convolution.

Learnable and lossless downsamplers attack the same degradation from another direction. LIP learns pooling weights and raises Faster R-CNN AP on small objects from 21.9 to 24.0 on COCO. Orthogonal wavelet downsampling (Han et al.) is invertible. Neither changes the fact that the output grid has one fixed phase. LIP picks better contents for each cell but still collapses sub-cell position. A wavelet keeps the information, but later strided layers can still alias it. We treat these as complementary components and test them inside our system rather than as rivals.

S4ND found that max-pooling preserves tiny-nodule peaks better than strided or average pooling. This constrains our design: we keep max-pooling and strided convolution semantics and add phases, rather than smoothing before subsampling.

Research Program

We build the system on FCOS, an anchor-free detector that has no fully connected layers and so accepts arbitrary input size. The backbone is a ResNet-50 with a feature pyramid.

The program has three stages. The first is a measurement study. It quantifies how much small-object loss comes from resizing and how much comes from phase, on VisDrone and ARD-MAV. For the phase part, we translate inputs by every sub-stride offset and compute $\Delta_{\text{phase}}$ per object-size bin.

The second stage is the phase-complete operator. We re-implement MPF-style fragmenting for strided convolutions and max-pooling in a modern backbone. We verify numerically that its output equals that of the corresponding stride-removed, dilated network.

The third stage is the selective version. A gate reads the stride-4 features and scores fixed blocks, for example 16×16 cells, at the stride-8 level. The top fraction $\rho$ of blocks, plus a context margin equal to the downstream receptive field, are cropped and evaluated phase-complete as one dense batch. Their outputs are interleaved back into an un-decimated stride-8 map, which feeds a stride-4-equivalent head for the smallest objects. The gate is trained with a recall-weighted loss on blocks containing small ground-truth boxes. A budget term sets $\rho$. Training uses random native-resolution crops, so the training-time object scale matches test-time scale.

Baselines

The naive reference point is FCOS run on frames resized to a standard input size such as 640 pixels. This is the setting in which Unel et al. report 11% VisDrone mAP for their single-frame baseline and GLAD reports YOLOv5s at 0.56 AP on ARD-MAV. We rerun it with our backbone so the numbers are comparable.

The tiling baseline runs the same FCOS model on the 5×3 overlapping-tile protocol of Unel et al., with their cross-tile NMS. Their reported figure is 36% VisDrone2018 mAP with a Pelee38 backbone. Because their backbone differs, our comparison is our own tiled run against our own other variants, with identical weights, training data and schedule.

The native single-pass baseline runs the same FCOS model on the full frame once. We expect it to be the strongest simple competitor. Beating tiling with it is not our contribution; showing that it matches tiling at lower cost is our first finding.

The strongest existing selective method is QueryDet. On VisDrone it reports a 2.1 mAP and 3.2 AP50 gain over its baseline at 2.3× the speed of the dense high-resolution detector. On COCO it reports a 2.0 AP gain on small objects at 14.9 FPS against 4.8 FPS for dense high resolution. We reimplement its cascade on our backbone with the same training budget and tuned query threshold. We also include Content-Adaptive Downsampling as a second selective competitor, configured to the same compute target.

The upper bound is the fully phase-complete network over the whole image, which is equivalent to a dilated backbone. On ARD-MAV, the domain-specific reference is GLAD at 0.80 AP and 146.5 FPS on an RTX 3070, as reported by Guo et al.. No reported result was found on Lacuna for any single-pass, native-resolution FCOS on ARD-MAV.

Two ablations isolate the key ingredients. Gating from stride-8 head features instead of stride-4 features tests whether early gating actually avoids the QueryDet failure mode. Replacing phase-complete blocks with the same blocks evaluated at their original single phase plus extra convolutional capacity tests whether gains come from phase completeness or merely from extra compute.

The success criterion is to reach at least 80% of the upper bound's small-object AP gain over native single-pass while adding at most 30% wall-clock cost on both a desktop GPU and a Jetson-class device. The method should also exceed QueryDet's small-object AP at equal measured latency on the same hardware.

Why not just…?

Why not just run the detector at native resolution in one pass? This is the real threat. If $\Delta_{\text{phase}}$ at native resolution is within seed noise, or if the full phase-complete upper bound adds less than about 1 AP on the smallest size bin, phase aliasing is not a bottleneck and the selective machinery is unjustified. We would then publish the measurement as a negative result: tiling equals native single-pass, and nothing more is needed. The first experiment is designed to settle this before anything else is built.

Why not just average over shifted inputs at test time? Averaging detections over all $s^2$ input shifts reproduces exactly what phase-complete evaluation computes at the head, but it repeats the entire network $s^2$ times. That is 64 passes at stride 8. This reintroduces the redundancy that fully convolutional inference removed, as in the latency drop from 114 s to 1.8 s reported by Dubrovina et al.. We include a 4-shift version as a matched-cost comparison. Our method should beat it because it spends phases where objects are, not uniformly.

Why not just make downsampling learnable or lossless? LIP improves which content survives into each pooled cell, and wavelet downsampling keeps all of it. Neither restores sub-cell position at the output, and later strided stages can still alias. We test FCOS+LIP and a wavelet-downsampling backbone, each with and without our selective phases. If either alone closes the gap to the upper bound, our operator is redundant, and we would report that.

Why not just use QueryDet or sparse adaptive downsampling? Both are strong. Their weaknesses are specific and testable. QueryDet gates on stride-8 features, after small objects may already be lost, and sparse kernels pay an indexing cost on edge hardware. The gate-source ablation and wall-clock measurements on a Jetson-class device directly test both points. If sparse execution matches dense block gathering in latency there, our hardware argument weakens and only the gating argument remains.

Proposed Experiments

We evaluate on VisDrone, ARD-MAV (targets down to 8×8 pixels) and COCO, reporting the small-object AP split on COCO. We report mAP, AP50 and AP for small objects, recall per size bin, $\Delta_{\text{phase}}$, multiply-adds, and measured latency on an RTX-class GPU and a Jetson-class device, averaged over three seeds.

The decisive checks run in order. First, native single-pass should match tiled mAP within one point, with lower latency and no seam duplicates. Second, $\Delta_{\text{phase}}$ should be large for objects under twice the stride and near zero for large objects, and the full phase-complete network should drive it near zero. Third, selective phase completion should trace an accuracy-cost curve, as $\rho$ varies, that dominates both QueryDet and matched-cost shift averaging. Fourth, gating from stride-4 features should recover more low-contrast objects than gating from stride-8 features.

A clear failure on the second check ends the method line. A failure on the third or fourth narrows the contribution to the measurement study.