Detectors for very small objects, such as a person seen from a drone covering a few dozen pixels, need a high-resolution feature map. Running the network at that resolution is expensive. The usual workaround is to take a coarse, semantically rich map and enlarge it, either by smooth interpolation or by learned upsampling. Either way, the detector has to invent detail the coarse map never contained. Video offers something a single image cannot. Because the camera and the objects move, consecutive frames sample the scene at slightly different sub-pixel offsets relative to the network's coarse grid. Classical multi-frame super-resolution exploits exactly this to recover real detail from several low-resolution views.
We propose to build a detector's finest pyramid level from time rather than by hallucination. The key operator is sub-pixel convolution, also called pixel shuffle. A convolution on a low-resolution map outputs $r^2$ groups of channels, and a fixed rearrangement places each group into one cell of an $r \times r$ block, producing a map $r$ times larger. Our change is in what feeds those channel groups. Instead of deriving them from the current frame alone, we fill them from a short window of coarsely aligned neighbouring frames, so each output sub-cell can draw on the frame that actually observed that phase. The second ingredient is a cost argument: long temporal memory is affordable only at coarse pyramid levels, where there are few cells. The design therefore gives each scale its own temporal reach. Fine levels see a few recent frames, coarse levels see a long memory, and the top-down path carries that long context back down to the fine level.
Core Claim
The claim is that, at matched compute, a feature pyramid whose finest level is assembled by temporal pixel shuffle from integer-aligned neighbouring frames will detect extremely small moving targets better than either alternative. The first alternative is adding a real high-resolution level from the backbone. The second is adding short-term motion cues without reconstructing resolution. The gain should come specifically from sub-cell motion between frames. It should therefore vanish when the temporal input is replaced by copies of the current frame, and it should grow with the measured fractional displacement in a sequence.
The secondary claim concerns the temporal receptive field. Fixing each level's temporal span so that per-level cost is roughly constant gives long-range memory almost for free. Let $T_l$ be the number of frames level $l$ attends to, and let $H_l W_l$ be its number of cells, which shrinks by a factor of 4 per level. Holding cost per level constant then requires
$$ T_l \, H_l W_l \approx \text{const} \quad\Rightarrow\quad T_l \propto 4^{\,l}, $$
so a stride-32 level can hold 16 times more history than a stride-8 level for the same budget.
Relation to Prior Work
Three lines of work supply the pieces, and none puts them together.
On upsampling, Two-Stage Network for Single Image Super-Resolution separates feature extraction from sub-pixel upsampling and matches EDSR on Set5 ×2 (38.19 PSNR with 9.6M parameters). The Mobile AI 2021 video super-resolution report shows that depth-to-space is the latency-friendly choice for multi-frame restoration on phones. Checkerboard artifact free sub-pixel convolution clarifies how pixel shuffle relates to resize-convolution. These papers supply our operator. They work in image space to produce pictures, whereas we use multi-frame pixel shuffle inside a detector's feature pyramid to produce a detection level.
The closest detection work is Lightweight Detection Network Based on Sub-Pixel Convolution and Objectness-Aware Structure for UAV Images. It merges upsampling and the detection head into one sub-pixel layer on VisDrone-2018-VID, with 2.8 mAP over CenterNet-ResNet18 at 92.78% fewer FLOPs. It treats every frame independently and has no pyramid. We keep its efficiency argument and change where the sub-pixel channels come from.
On pyramids, Feature Pyramid Networks for Object Detection establishes the top-down path with interpolation. Extended Feature Pyramid Network for Small Object Detection diagnoses feature coupling, meaning tiny objects forced to share levels with large ones. It adds a P2 level whose detail is super-resolved from same-frame shallow texture. EFPN is the static-image version of our goal. Our fine level gets its detail from other observations of the scene rather than from same-frame texture.
On temporal context, the methods that motivate us all stay short-range or single-scale. XS-VID introduces YOLOFT, whose multi-scale correlation pyramid finds tiny objects by coherent motion between adjacent frames. It uses motion as a cue, not as a source of resolution. Pyramid Feature Alignment Network for Video Deblurring aligns three-frame pyramids with deformable convolutions. Its authors note it lacks longer memory. DMNet and VISOLO keep long-range memories, but on a single scale. VISOLO's authors explicitly name small objects and the absence of multi-level grids as a failure point.
Two papers constrain the design. Flow-Guided Feature Aggregation shows dense flow warping helps but costs about 733 ms per frame. Spatial-temporal Context Aggregation argues pixel correspondence is unstable under blur. We therefore avoid estimating dense flow and never interpolate features with it. Alignment happens only in whole coarse cells, and the leftover fractional offset is passed to the network as a feature to reason about.
Research Program
The detector is a YOLOv8-style single-stage model, so it can be compared directly with YOLOFT. The component under study is a temporal sub-pixel block that produces the stride-4 level from stride-8 features of frames $t, t-1, \dots, t-K+1$, with $K$ between 2 and 8. The block works in four steps.
First, a correlation is computed at the stride-32 level, where it is cheap. It yields a per-region displacement for each past frame.
Second, each past frame's stride-8 features are shifted by the integer-cell part of that displacement only. Shifting by whole cells is an exact array roll, so it adds no interpolation blur.
Third, the fractional remainder, a two-dimensional value in $[0,1)^2$ per region, is appended as extra channels.
Fourth, a convolution maps the concatenated stack to $4C$ channels, which pixel shuffle rearranges into a $2\times$ map. The convolution can thereby learn to route each frame's evidence to the sub-cell its phase actually sampled.
The same block also replaces interpolation in the rest of the top-down path, so the long-memory coarse levels feed fine levels through learned rearrangement.
Coarse levels carry the long memory, following the $T_l \propto 4^l$ rule. Stride 32 holds a queue in the spirit of VISOLO's memory buffer, and optionally an uncertainty-selected keyframe bank as in DMNet. This is the local-global split expressed across scales: fine levels resolve local, recent geometry, and coarse levels hold global, long-horizon context.
Analysis goes beyond accuracy. For each sequence, we measure the distribution of fractional displacements produced by the stride-32 correlation and test whether per-sequence gains track it. We also visualise which frames the pre-shuffle convolution draws on for each sub-cell, to check that the routing follows phase.
Baselines
The naive reference is a single-frame YOLOv8 at the same input resolution, using nearest-neighbour top-down interpolation. XS-VID reports it at 33.6 AP on XS-VID. We retrain it under our schedule.
The strongest existing competitor is YOLOFT-L from the same paper, reported at 36.4 AP on XS-VID. It is the strongest because it already adds multi-scale temporal motion to the same detector family on the same benchmark. Any gain we show must come from reconstructing resolution, not merely from using adjacent frames. We will rerun YOLOFT with released settings, or a faithful reimplementation if needed, using the same training data, epochs, augmentation and hyperparameter search budget as our model. FLOPs and measured latency will be reported side by side. Beating it means exceeding its AP overall and in the extremely-small bin by more than the seed-to-seed spread over three runs, at equal or lower FLOPs.
The static fine-level competitor is an EFPN-style P2 level. It is built from backbone stride-4 features plus texture transfer, as in Extended Feature Pyramid Network for Small Object Detection, and trained single-frame.
The ablations that isolate the key ingredient form a ladder. The first rung is single-frame pixel shuffle replacing interpolation, with no temporal input. The second is temporal pixel shuffle without the fractional-offset channels. The third is the full block. The fourth is the full block with the long-memory coarse levels removed.
On VisDrone-2018-VID, the reference is the sub-pixel UAV detector. The file gives only relative figures (+2.8 mAP over CenterNet-ResNet18), and no reported absolute mAP was found on Lacuna, so we will rerun it.
Why not just…?
Why not just add a real stride-4 level from the backbone? This is the most serious threat. EFPN shows a dedicated P2 level helps small objects on Tsinghua-Tencent 100K, with over 1% AP gain on small objects. A backbone P2 costs heavy convolution at high resolution, while our block runs its convolution at stride 8. The comparison will therefore be made at matched FLOPs and also at matched latency. If a backbone P2 at equal cost matches us, the temporal sub-pixel idea is not worth its complexity, and we will say so. One further variant tests whether the two are complementary: feeding a backbone P2 into our block as one extra channel group.
Why not just raise the input resolution? Higher resolution gives real detail directly. We will train single-frame and YOLOFT models at a larger input size chosen to match our FLOPs. Our method should win only if several aligned low-resolution views are a cheaper source of detail than one high-resolution view. The test to settle this is the gain-versus-fractional-motion correlation.
Why not just swap interpolation for pixel shuffle in the pyramid? This is the obvious combination at this intersection. The evidence that learned upsampling helps comes from image restoration (Two-Stage Network), not detection, and a single-frame upsampler still cannot add information absent from its input. The first ablation rung measures exactly this. We expect it to recover only a small part of the full block's gain.
Why not just warp neighbours with optical flow? FGFA's roughly 733 ms per frame rules it out for drone deployment. STCA documents its instability under blur. Bilinear warping would also smooth away the very sub-pixel phase we want to keep. A flow-warped variant, with a lightweight flow network, will be included as an additional comparison.
Proposed Experiments
The primary benchmark is XS-VID. It contains objects under $12^2$ pixels, and YOLOFT reports a 19.2% gain on the smallest category there. We report AP overall and per size bin, along with FLOPs, parameters and per-frame latency. The second benchmark is VisDrone-2018-VID, with UAVDT-DET as a check on vehicles. ImageNet VID serves as a generality check, where FGFA's fast-motion figures (51.4 to 57.6 mAP) give a reference for whether the block helps fast objects. On ImageNet VID we do not expect to beat STCA's 80.3 mAP, since that is a two-stage proposal model.
The first decisive check is the duplicate-frame control. Feeding $K$ copies of frame $t$ into the trained block must collapse it to single-frame pixel-shuffle accuracy. If it does not, the gain is not coming from temporal sampling.
The second is the motion-dependence check. On sequences split by measured fractional displacement, gains should be near zero for near-static footage and largest at moderate sub-cell motion. We also predict gains will drop for very large motion, where integer alignment errs.
The third is a frame-order shuffle within the window, which should hurt the variant with offset channels but not the variant without them.
The fourth is the temporal-reach sweep at fixed total compute. It compares $T_l \propto 4^l$ against equal $T_l$ across levels, on long occlusion segments where VISOLO-style memory should matter.
If the first two checks pass and the matched-FLOPs comparison against a backbone P2 level holds, the result is a reusable principle: in video pyramids, fine detail should be gathered across frames and long context paid for at coarse scales.
References
- Two-Stage Network for Single Image Super-Resolution
- Real-Time Video Super-Resolution on Smartphones With Deep Learning, Mobile AI 2021 Challenge: Report
- Checkerboard artifact free sub-pixel convolution: A note on sub-pixel convolution, resize convolution and convolution resize
- Lightweight Detection Network Based on Sub-Pixel Convolution and Objectness-Aware Structure for UAV Images
- Feature Pyramid Networks for Object Detection
- Extended Feature Pyramid Network for Small Object Detection
- XS-VID: An Extremely Small Video Object Detection Dataset
- Pyramid Feature Alignment Network for Video Deblurring
- Efficient Global-Local Memory for Real-time Instrument Segmentation of Robotic Surgical Video
- VISOLO: Grid-Based Space-Time Aggregation for Efficient Online Video Instance Segmentation
- Flow-Guided Feature Aggregation for Video Object Detection
- Object Detection in Video with Spatial-temporal Context Aggregation