Abstract
Detecting tiny objects—defined as those smaller than 16x16 pixels—remains a significant challenge in computer vision, particularly in aerial and satellite imagery. Standard architectures often struggle with signal-to-noise ratios where the object's features are easily overwhelmed by background clutter or architectural artifacts. This paper introduces the DNTR (DeNoising FPN with Transformer R-CNN) framework. DNTR addresses these challenges through two primary innovations: a DeNoising Feature Pyramid Network (DN-FPN) that utilizes contrastive learning to purify feature maps during training, and a specialized Transformer-based R-CNN head designed to capture both local granularity and global context. Experimental results on the AI-TOD dataset demonstrate a 17.4% improvement in very tiny object detection ($AP_{vt}$) over existing baselines.
Introduction
In the realm of object detection, the definition of "small" is relative. While standard benchmarks like COCO categorize objects under 32x32 pixels as small, aerial imagery frequently contains "tiny" objects that are often smaller than 16x16 pixels. At this scale, traditional detection frameworks encounter a "needle in a haystack" problem.
The authors identify two critical bottlenecks in current architectures:
- FPN Noise: Feature Pyramid Networks (FPNs) are essential for multi-scale detection, but the process of fusing high-level semantic information with low-level geometric information via upsampling and 1x1 convolutions introduces noise. For tiny objects, this noise can effectively drown out the object's signal.
- The Representation Gap: Standard R-CNN heads rely on fully connected layers that are optimized for larger objects. These layers often fail to capture the long-range dependencies and fine-grained spatial details necessary to distinguish a tiny vehicle from a patch of textured terrain.
Methodology
The DNTR framework proposes a two-pronged solution to these bottlenecks, focusing on feature purity and high-resolution representation.
DeNoising FPN (DN-FPN)
The DN-FPN is a "plug-and-play" module designed to enhance the quality of the feature pyramid. It treats the feature fusion process as a denoising task, employing contrastive learning (specifically the InfoNCE loss) during the training phase.
- Geometric Alignment: This ensures that the fused features remain consistent with the original high-resolution lateral features from the backbone.
- Semantic Alignment: This forces the fused features to maintain the high-level semantic integrity of the upper-level features.
Crucially, the DN-FPN is a training-time supervision strategy. The auxiliary encoders and contrastive losses are discarded after training, meaning the model achieves higher accuracy with zero additional parameters or latency during inference.
Transformer R-CNN (Trans R-CNN)
To bridge the representation gap, the authors replace the traditional R-CNN head with a novel Transformer-based architecture consisting of three key components:
- Shuffle Unfolding: Instead of standard grid-based sampling, this technique oversamples neighboring patches and shuffles them. This process increases feature diversity and preserves the intricate spatial details that are often lost in standard pooling.
- Mask Transformer Encoder (MTE): This component utilizes self-attention to capture global context within the Region of Interest (RoI). To ensure task-specific optimization, it uses a masking mechanism that prevents the classification and regression tokens from interfering with one another.
- Task Token Selection (TTS): This algorithm ranks and selects the most relevant tokens for the final classification and bounding box regression heads, ensuring the model focuses on the most informative parts of the RoI.
Experimental Results
The DNTR framework was evaluated against several benchmarks, including AI-TOD (average object size of 12.8 pixels), VisDrone, and COCO.
Performance on Tiny Objects
On the AI-TOD dataset, DNTR achieved a state-of-the-art 26.2 AP. Most notably, in the "very tiny" category ($AP_{vt}$), the model outperformed the previous state-of-the-art (RFLA) by 17.4%. On the VisDrone dataset, the model reached 33.1 AP, representing a 9.6% improvement over the DetectoRS baseline.
Generalizability and Efficiency
To test the versatility of the DN-FPN module, the authors integrated it with YOLOv8. The addition of the denoising module improved YOLOv8's accuracy on tiny objects by nearly 50% (from 11.6 to 18.7 AP) without any impact on the inference speed, proving the "free" performance gains provided by the training-time denoising strategy.
Discussion and Limitations
The primary insight of this research is that the FPN—traditionally viewed as a solution for scale variance—can act as a source of interference for tiny objects. By treating feature fusion as a denoising problem, the model recovers lost signals. Furthermore, the success of "Shuffle Unfolding" suggests that for tiny objects, oversampling local spatial details is more beneficial than standard global attention alone.
However, there are trade-offs. While the DN-FPN is computationally free at inference, the Trans R-CNN head is more intensive than standard R-CNN heads. DNTR operates at approximately 11.9 FPS, which is sufficient for many applications but slower than single-stage detectors like YOLO. Additionally, the two-stage nature of the pipeline introduces more complexity in implementation compared to end-to-end models like DETR.
Conclusion
DNTR provides a robust framework for the challenging task of tiny object detection. By purifying the feature pyramid through contrastive denoising and employing a Transformer-based head that prioritizes local granularity, the model sets a new benchmark for aerial imagery analysis. Future work will likely focus on adapting these denoising techniques for one-stage, real-time detectors to combine high-precision tiny object detection with high-speed inference.
Summary updated