[Paper Review] Efficient Coarse-to-Fine Non-Local Module for the Detection of Small Objects
This paper proposes an efficient coarse-to-fine non-local module integrated along the top-down stream of object detection networks to improve small object detection. By applying a memory-optimized non-local block at increasing resolutions, it enables long-range contextual reasoning from larger to smaller objects and leverages class repetitions, achieving 1–2 AP point gains on COCO for small objects over Faster R-CNN and Mask R-CNN with standard non-local modules.
An image is not just a collection of objects, but rather a graph where each object is related to other objects through spatial and semantic relations. Using relational reasoning modules, such as the non-local module \cite{wang2017non}, can therefore improve object detection. Current schemes apply such dedicated modules either to a specific layer of the bottom-up stream, or between already-detected objects. We show that the relational process can be better modeled in a coarse-to-fine manner and present a novel framework, applying a non-local module sequentially to increasing resolution feature maps along the top-down stream. In this way, information can naturally passed from larger objects to smaller related ones. Applying the module to fine feature maps further allows the information to pass between the small objects themselves, exploiting repetitions of instances of the same class. In practice, due to the expensive memory utilization of the non-local module, it is infeasible to apply the module as currently used to high-resolution feature maps. We redesigned the non local module, improved it in terms of memory and number of operations, allowing it to be placed anywhere along the network. We further incorporated relative spatial information into the module, in a manner that can be incorporated into our efficient implementation. We show the effectiveness of our scheme by improving the results of detecting small objects on COCO by 1-2 AP points over Faster and Mask RCNN and by 1 AP over using non-local module on the bottom-up stream.
Motivation & Objective
- Improve detection of small objects by modeling long-range spatial and semantic relationships in feature maps.
- Address the high memory and computational cost of standard non-local modules when applied to high-resolution feature maps in detection networks.
- Enable effective relational reasoning between small objects and between small and larger related objects through a coarse-to-fine processing strategy.
- Integrate relative spatial encoding into a memory-efficient non-local module to enhance feature representation without increasing computational overhead.
- Demonstrate that applying non-local modules in the top-down stream, rather than bottom-up, leads to better performance on small object detection.
Proposed method
- Propose an efficient non-local (ENL) module with reduced memory and FLOPs by factorizing the attention computation and using grouped operations.
- Integrate the ENL module sequentially along the top-down path of the feature pyramid network (FPN), placing it before each upsampling layer.
- Incorporate relative spatial encoding into the attention mechanism using learnable positional embeddings to improve localization accuracy.
- Apply the ENL module at multiple scales (res3, res4, res5) to enable coarse-to-fine reasoning from high-level context to fine-grained features.
- Train end-to-end with standard Faster R-CNN and Mask R-CNN backbones using ResNet-50 and FPN, without batch normalization inside the ENL block.
- Use a shared, lightweight attention head across all ENL modules to maintain efficiency while enabling cross-scale feature interaction.
Experimental results
Research questions
- RQ1Can a coarse-to-fine application of non-local modules along the top-down stream improve small object detection by leveraging long-range context?
- RQ2How can the high memory cost of standard non-local modules be reduced to make them viable in low-level, high-resolution feature maps?
- RQ3Does incorporating relative spatial information into the non-local attention mechanism improve detection performance for small and overlapping objects?
- RQ4Can repeated instances of the same class be effectively exploited for small object detection through relational reasoning in feature space?
- RQ5Does top-down modulation via non-local reasoning outperform bottom-up integration of non-local modules in object detection benchmarks?
Key findings
- The proposed ENL module improves AP for small objects by 1–2 points on COCO compared to standard Faster R-CNN and Mask R-CNN with non-local modules in the bottom-up stream.
- The coarse-to-fine application of the ENL module enables detection of small objects based on the presence of larger, related objects (e.g., people on shore aiding detection of swimmers in the sea).
- The method successfully detects multiple overlapping instances of the same class (e.g., birds in a flock) by exploiting repeated patterns through the non-local attention mechanism.
- The integration of relative spatial encoding in the ENL module improves localization accuracy, especially in dense scenes with small, closely spaced objects.
- The efficient design of the ENL module allows deployment in low-level, high-resolution feature maps without prohibitive memory costs, enabling effective long-range feature aggregation.
- Qualitative results show that the model generates more accurate and complete region proposals and detections, particularly in challenging scenes with low-light conditions or high object density.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.