Detectors lose very small objects, such as a drone eight pixels wide in a 1080p frame, because each downsampling step averages the object's few pixels into the surrounding background. Video ought to help, since the same object appears in hundreds of frames. In practice the help is weak. Systems that remember past frames store blurry, low-resolution feature maps, which is exactly the representation in which the object has already disappeared. Systems that keep full resolution recompute everything from scratch on every frame and remember nothing. We propose a memory that stores only a few small patches of high-resolution features, placed where an object might be, and carries them forward across frames. A patch's stored coordinates are re-projected to compensate for camera motion. The current frame then reads from the memory with attention restricted to a small neighborhood around each re-projected location, a form of attention whose cost grows with the neighborhood size rather than the image size.
The bet is simple. Evidence for a tiny object can be accumulated over time at the level of fine features, provided the memory is sparse enough to fit on edge hardware and anchored to scene coordinates, so that a stored patch still lies over the same object after the camera has moved. If the bet holds, the largest gains should appear where today's tiny-object video detectors fail most clearly: targets that hover or move slowly. Detectors that rely on motion cues treat such targets as background, and single-frame detectors lose them to downsampling.
Core Claim
A bounded, sparse cache of stride-4 feature tokens, combined with local attention computed in camera-motion-compensated coordinates, will raise recall on targets smaller than about 12×12 pixels relative to methods that either cache coarse features or keep fine features without memory. The gain should be concentrated on stationary or slow targets, and it should grow with how many past frames the memory spans. The memory cost is easy to state. Let $K$ be the number of live patches, $w$ the patch side in tokens, $T$ the number of cached frames and $C$ the channel width. Memory then scales as
$$M_{\text{sparse}} = K\,T\,w^2\,C \quad\text{versus}\quad M_{\text{dense}} = T\,\frac{HW}{16}\,C,$$
where $H\times W$ is the frame size and $1/16$ reflects stride-4 features. For a 1080p frame, the dense cache holds about 130k tokens per frame. With $K=16$ and $w=16$ the sparse cache holds 4,096 tokens per frame, roughly 3%. This is what makes a long high-resolution history affordable.
Relation to Prior Work
Two lines of work already pair local attention with a feature memory, and both store the wrong kind of features for this problem. Progressive Sparse Local Attention keeps a recursively updated memory from heavy key frames and passes it to light frames through local attention with progressively sparser sampling. Its benchmark is ImageNet VID, where objects are large, and the sparse outer sampling points can step over a target only a few pixels wide. MEGA caches pooled region features over more than 100 frames. Its memory, however, is filled by a region proposal network that runs on coarse maps, so a tiny target that never gets a proposal never enters the memory. Transtreaming buffers downsampled backbone features and queries them globally to forecast future frames. We borrow from it the idea of querying a feature buffer with attention, but we change what is stored (sparse, high resolution) and how it is read (local and motion-compensated). The speech model of Luo et al. motivates the pairing of a local attention window with a persistent memory. It also warns us off one design: compressing all history into a single recurrent vector cannot keep spatial position, which is why our memory stays as explicit spatial tokens.
On the resolution side, GLAD is the closest system and the strongest motivation. It runs a full-resolution 300×300 crop guided by a Kalman filter, which raised appearance recall from 0.17 to 0.51 on ARD-MAV. It stores no features across frames. It switches between global and local search with hand-set rules. Its authors name hovering targets as a failure of its motion module and call for an end-to-end replacement. XS-VID/YOLOFT shows that below 12×12 pixels appearance turns into noise, and it recovers these objects with short-range multi-scale motion correlation. That method has no long-term memory, and because it depends on motion it shares GLAD's blindness to hovering targets. LIP constrains the design. Learned importance-weighted pooling preserves small objects within a single image (COCO $AP_s$ from 21.9 to 24.0), so it is a cheap competitor to any memory and must be included in the backbone of every baseline. Without it, our gains could simply be a fix for poor pooling.
Research Program
The detector has a coarse path and a fine memory path. The coarse path runs a YOLO-style backbone at stride 16 over the whole frame and produces an objectness map. At each frame, the memory keeps up to $K$ live patches. Each patch holds $w\times w$ stride-4 feature tokens for each of the last $T$ frames, together with an anchor coordinate in the current frame and a learned confidence.
New patches are created at the top-scoring coarse locations that no existing patch already covers. An existing patch survives as long as its own confidence stays high, even if the coarse objectness at its location falls. This rule is the mechanism meant to keep a hovering target alive.
Fine features are computed only inside the live patches. A thin stride-4 stem, whose early layers are shared with the backbone, processes those regions, so the cost of fine computation scales with $K w^2$ and not with the frame.
Camera motion is handled by moving coordinates, not by warping features. We estimate a frame-to-frame homography from the coarse features, following GLAD's perspective-transform idea, and compose these homographies to map each cached frame's anchor into the current frame. Each current fine token at position $p$ then attends only to cached tokens within radius $r$ of the re-projected position:
$$\text{out}(p)=\sum_{s<t}\sum_{\|q-H_{t\leftarrow s}(p)\|\le r}\alpha_{p,q}\,v_s(q).$$
Here $H_{t\leftarrow s}$ is the composed homography from frame $s$ to frame $t$, $v_s(q)$ is the cached value token at position $q$ of frame $s$, and $\alpha_{p,q}$ is a softmax weight over the neighborhood, computed with relative temporal position embeddings in the style of Transtreaming. The radius $r$ absorbs object motion that remains after camera compensation and errors in the homography. The fused fine tokens feed a small detection head, and the patch confidence is updated from that head's output.
Training uses short clips of 16 to 32 frames with truncated backpropagation through the memory. Patch creation is a non-differentiable top-K step, so we train it with an auxiliary loss that rewards placing patches over ground-truth tiny objects. In parallel we will run an analysis study: plot recall against target speed after camera compensation, and against the age of the memory, to check that the mechanism does what the core claim says.
Baselines
The naive reference is a single-frame detector with no memory. We use YOLOv5s on ARD-MAV, where GLAD reports 0.56 AP, and YOLOv8 on XS-VID, where XS-VID reports 33.6 AP. The strongest existing methods are GLAD on ARD-MAV, with a reported 0.80 AP and 23.6 FPS on a Jetson NX Xavier, and YOLOFT-L on XS-VID, with a reported 36.4 AP. Each is the best published system on its benchmark, and each embodies one half of our design: full-resolution crops without memory, and short-range temporal features without long memory.
For fairness, we retrain every method on the same splits with the same input resolution and augmentation and an equal hyperparameter search budget. Every backbone, including those of the baselines, is given LIP-style pooling, so that pooling improvements are not credited to the memory. We then compare at matched latency on the same Jetson-class device. Beating GLAD means higher AP than our reproduction of GLAD at equal or better FPS on that device. Beating YOLOFT-L means higher AP on the extremely-small category at matched FLOPs.
Three ablations isolate the key ingredient. In the first, the same token budget caches stride-16 features over a larger area instead of stride-4 features. This tests whether resolution, not simply having a memory, drives the gain. In the second, local attention is replaced by global attention over the cache. In the third, homography re-projection is turned off. A fourth control sets $T=1$, which turns the system into a learned, end-to-end version of GLAD's crop and separates the value of memory from the value of high-resolution windows.
Why not just…?
Why not just run GLAD's high-resolution crop with a better detector inside it? This is the most serious threat, and the $T=1$ ablation is built to test it. If a memoryless high-resolution window matches the full model, the memory is unnecessary and we will report that. Our reason to expect a gap is the hovering failure GLAD's authors themselves describe. Without memory, a crop that loses appearance contrast for a few frames has nothing to fall back on. With memory, the fine evidence from earlier frames is still available.
Why not just add box-level tracking (a Kalman filter or a tracker run on detections) on top of a single-frame detector? A tracker can only bridge gaps between detections that already exist. It cannot create evidence for a target the detector never fired on, and at 0.17 appearance recall without local search (GLAD) such targets are common. We will nonetheless run tracking on top of every baseline. If tracking closes most of the gap on hovering targets, our claim that features should be accumulated rather than boxes is weakened.
Why not just stack several full-frame stride-4 feature maps, as YOLOFT's correlation does over adjacent frames? This works for short spans, and YOLOFT's gains on VisDrone show it. Dense stride-4 features, however, cost about 30 times more memory per frame than our sparse cache, so the temporal span is limited to a few frames. Motion correlation over those few frames is also exactly what fails on stationary targets. Our recall-versus-memory-age curve will show whether history beyond YOLOFT's window adds anything.
Why not just warp cached features with optical flow? PSLA reports that flow-based methods need about 96.6M parameters, against 63.7M for its attention approach. It also reports a mismatch between pixel-level flow and abstract features. We move only the anchor coordinates, using a cheap homography, and let local attention absorb what the homography misses.
Proposed Experiments
ARD-MAV is the primary benchmark, because it combines aerial camera motion with 8-pixel targets, and XS-VID is the secondary one for its extremely-small category, with VisDrone small objects as a transfer check. We report AP and FPS on a desktop GPU and a Jetson-class device, along with peak memory.
The decisive check is a stratified evaluation. We split ARD-MAV targets by speed after camera compensation, computed from the ground-truth boxes and our homographies, and report recall for each speed band. No reported per-band result was found on Lacuna for any baseline, so all bands come from our reproductions. The proposal succeeds if three things hold. First, the full model beats the $T=1$ control and box-level tracking by a clear margin in the slow and hovering band. Second, the stride-4 cache beats the stride-16 cache at equal token budget. Third, slow-band recall rises with $T$ before leveling off. If gains appear evenly across speed bands, or disappear when re-projection is removed while the stride ablation shows no effect, then the mechanism is not the one claimed and the result should be read as a stronger crop detector, not as temporal accumulation of fine evidence.
References
- Progressive Sparse Local Attention for Video Object Detection
- Memory Enhanced Global-Local Aggregation for Video Object Detection
- Transtreaming: Adaptive Delay-aware Transformer for Real-time Streaming Perception
- Unidirectional Memory-Self-Attention Transducer for Online Speech Recognition
- Global-Local MAV Detection Under Challenging Conditions Based on Appearance and Motion
- XS-VID: An Extremely Small Video Object Detection Dataset
- LIP: Local Importance-Based Pooling