Learning to Segment Object Proposals via Recursive Neural Networks

Tianshui Chen, Liang Lin, Xian Wu, Xiaonan LuoarXiv 2016

Abstract

Generating high-quality object proposals is a critical precursor to efficient object detection. This paper introduces a novel approach using Recursive Neural Networks (RNNs) to learn hierarchical region grouping. By replacing manually designed similarity metrics with a deep learning architecture that jointly optimizes region merging and "objectness" scores, the authors achieve high-recall proposals that preserve object boundaries more effectively than traditional methods while operating significantly faster.

Introduction: Beyond Hand-Crafted Metrics

Modern object detection typically begins with generating "object proposals"—candidate regions likely to contain objects—to avoid the computational burden of exhaustive sliding window searches. Existing methods generally fall into two categories: fast but boundary-agnostic window-based scoring, and bottom-up grouping methods (like Selective Search or MCG) that start with small segments and merge them.

However, bottom-up methods traditionally rely on manually designed similarity metrics based on color, texture, or size. These fixed rules often struggle in complex scenes with occlusion or varying illumination. This paper addresses these limitations by learning the merging criteria directly from data using a recursive architecture.

Methodology: Recursive Region Grouping

The core of the proposed framework is a tree-building process where the rules for hierarchy construction are learned by an RNN.

The proposed framework architecture, illustrating the integration of local feature extraction with recursive region grouping.

The RNN Architecture

The network integrates four specialized modules to handle the grouping process:

  • Semantic Mapper ($F_s$): Maps raw local features (extracted via a pre-trained VGG16/Fast R-CNN) into a semantic feature space.
  • Feature Combiner ($F_c$): Recursively merges semantic features from two child regions into a single parent region feature.
  • Merging Scorer ($F_m$): Predicts a confidence score for whether two adjacent regions should be merged.
  • Objectness Scorer ($F_o$): Estimates the probability that a region at any level of the hierarchy contains a complete object.

Training and Inference

The model is trained using a structured loss function that penalizes incorrect hierarchical constructions, ensuring that object parts are merged with each other before being merged with the background. During inference, the authors employ a randomized merging algorithm. Instead of a purely greedy approach, the system selects from the top $k$ highest-scoring pairs based on a probability distribution. This allows the model to explore multiple potential grouping paths, significantly boosting recall in ambiguous scenes.

Experimental Evaluation and Results

The model was evaluated on PASCAL VOC 2007/2012 and ImageNet 2015 to test its accuracy, efficiency, and generalization capabilities.

Accuracy and Boundary Preservation

On PASCAL VOC 2007, the method achieved a mean Average Precision (mAP) of 58.6%, outperforming Selective Search (56.4%) and EdgeBox (56.9%). A key advantage is the precision of the proposals; as shown in the qualitative results, the segmented proposals match ground-truth boundaries much more tightly than box-based methods.

Qualitative comparison of object proposals. Green boxes represent traditional window-based proposals, while blue/colored silhouettes show the segmented proposals generated by the RNN.

Efficiency and Generalization

The method is approximately 7x faster than MCG2015, taking about 0.8 seconds per image. Furthermore, despite being trained on only 20 categories from PASCAL VOC, the model generalized remarkably well to the 200 categories of ImageNet. This suggests that the RNN learns generic "objectness" features rather than category-specific shapes.

Conclusion and Future Directions

While the RNN-based grouping approach shows great promise, it faces challenges with very small objects (under 5k pixels), which can be lost during initial over-segmentation. Future work includes joint training of the feature extractor and the RNN on larger datasets and integrating this framework into a fully end-to-end category-specific detection system.

Summary updated

BibTeX
@misc{chen2016learning,
  author = {Tianshui Chen and Liang Lin and Xian Wu and Xiaonan Luo},
  title = {{Learning to Segment Object Proposals via Recursive Neural Networks}},
  year = {2016},
  eprint = {1612.01057},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.01057},
}
Figure