ProbaNet: Proposal-balanced Network for Object Detection

Jing Wu, Xiang Zhang, Mingyi Zhou, Ce ZhuarXiv 2020

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 ProbaNet architecture integrated into a two-stage object detection pipeline, showing the weight generation and proposal selection process.

The module operates through three primary mechanisms:

  1. 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.
  2. 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.
  3. 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.

Qualitative results showing weight maps (columns b and d) and final detections (columns c and e). ProbaNet successfully highlights actual objects while leaving the background dark.

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

Abstract

Candidate object proposals generated by object detectors based on convolutional neural network (CNN) encounter easy-hard samples imbalance problem, which can affect overall performance. In this study, we propose a Proposal-balanced Network (ProbaNet) for alleviating the imbalance problem. Firstly, ProbaNet increases the probability of choosing hard samples for training by discarding easy samples through threshold truncation. Secondly, ProbaNet emphasizes foreground proposals by increasing their weights. To evaluate the effectiveness of ProbaNet, we train models based on different benchmarks. Mean Average Precision (mAP) of the model using ProbaNet achieves 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.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
PASCAL VOC 2007Re-FastR+ProbaNetmAP71.1%split: test · backbone=VGG-16 · detector=Faster R-CNN
Source quote
L136: \multirow{3}{*}{07} │ 07 │ 69.9 │ 69.9 │ 71.1 │ 74.1 │ 74.9
PASCAL VOC 2007Re-R-FCN+ProbaNetmAP74.9%+0.8 vs baselinesplit: test · backbone=ResNet-101 · detector=R-FCN
Source quote
L136: \multirow{3}{*}{07} │ 07 │ 69.9 │ 69.9 │ 71.1 │ 74.1 │ 74.9
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
PASCAL VOC 2007Re-R-FCN baselinemAP74.1%split: test · backbone=ResNet-101 · detector=R-FCN
Source quote
L136: \multirow{3}{*}{07} │ 07 │ 69.9 │ 69.9 │ 71.1 │ 74.1 │ 74.9
PASCAL VOC 2007Re-FastR+OHEM baselinemAP70.2%split: test · variant=OHEM · backbone=VGG-16 · detector=Faster R-CNN
Source quote
L158: 07 │ 69.9 │ 70.2 │ 70.4 │ 71.1
PASCAL VOC 2007Re-FastR+Focal loss baselinemAP70.4%split: test · variant=Focal loss · backbone=VGG-16 · detector=Faster R-CNN
Source quote
L158: 07 │ 69.9 │ 70.2 │ 70.4 │ 71.1
BibTeX
@misc{wu2020probanet,
  author = {Jing Wu and Xiang Zhang and Mingyi Zhou and Ce Zhu},
  title = {{ProbaNet: Proposal-balanced Network for Object Detection}},
  year = {2020},
  eprint = {2005.02699},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.02699},
}
Figure