Abstract
Candidate object proposals generated by convolutional neural network (CNN) based object detectors encounter an easy-hard sample imbalance problem, which can significantly affect overall performance. In this study, we propose a Proposal-balanced Network (ProbaNet) to alleviate this imbalance. ProbaNet increases the probability of choosing hard samples for training by discarding easy samples through threshold truncation and emphasizes foreground proposals by increasing their weights. Evaluated on industry-standard benchmarks, ProbaNet achieves a Mean Average Precision (mAP) 1.2% higher than the baseline on PASCAL VOC 2007. Furthermore, it is compatible with existing two-stage detectors and offers a very small amount of additional computational cost.
Introduction
Modern object detectors face a massive internal data skew. Whether they are one-stage or two-stage detectors, the number of "easy negatives"—background areas that are obviously not objects—vastly outweighs "hard negatives" and actual foreground objects. While standard two-stage detectors use random sampling to maintain a fixed ratio of foreground to background, this doesn't solve the quality problem. Random sampling often picks up too many easy background samples, which do not help the model refine its decision boundaries. ProbaNet seeks a simpler, more integrated way to balance these proposals within the Region Proposal Network (RPN).
Methodology
ProbaNet is a lightweight "plug-and-play" module embedded directly into the RPN. Its architecture is intentionally simple to minimize overhead while maximizing impact on sample quality.
The module operates through three primary mechanisms:
- Weight Generation: A sub-network consisting of two convolutional layers followed by a Sigmoid activation generates a weight for every candidate proposal based on feature maps.
- Threshold Truncation: During training, proposals with weights below a specific threshold are discarded. This effectively prunes the "easy" samples the model is already confident about, forcing it to focus on remaining "hard" samples.
- Variance Constraint: To ensure the network clearly distinguishes between samples, a statistical variance loss function is introduced. This forces the network to maximize the difference between foreground and background weights.
Experimental Results and Insights
The researchers evaluated ProbaNet using the PASCAL VOC 2007 and 2012 benchmarks. On PASCAL VOC 2007, Faster R-CNN with ProbaNet achieved 71.1% mAP, a 1.2% improvement over the baseline. Notably, ProbaNet outperformed both OHEM (70.2%) and Focal Loss (70.4%) when applied to the same baseline architecture.
One of the most significant advantages of ProbaNet is its efficiency. The module adds only 0.07MB of parameters and 0.03G FLOPs. In practical terms, inference time per image only increased by approximately 0.3ms, making the performance boost virtually "free" in terms of computational latency. Visualization of the learned weights confirms that the network successfully prioritizes meaningful proposals, such as people or vehicles, even in complex scenes.
Conclusion
ProbaNet offers a lightweight and effective solution to the persistent problem of sample imbalance in object detection. By treating proposal generation as an importance-weighting problem and enforcing variance in those weights, it allows models to learn more effectively from hard samples. Future work will focus on making the truncation thresholds adaptive and exploring integration with one-stage detection frameworks.
Summary updated