Inside-Outside Net: Detecting Objects in Context with Skip Pooling and Recurrent Neural Networks

Sean Bell, C. Lawrence Zitnick, Kavita Bala, Ross B. Girshick

Abstract

It is well known that contextual and multi-scale representations are important for accurate visual recognition. In this paper we present the Inside-Outside Net (ION), an object detector that exploits information both inside and outside the region of interest. Contextual information outside the region of interest is integrated using spatial recurrent neural networks. Inside, we use skip pooling to extract information at multiple scales and levels of abstraction. Through extensive experiments we evaluate the design space and provide readers with an overview of what tricks of the trade are important. ION improves state-of-the-art on PASCAL VOC 2012 object detection from 73.9% to 77.9% mAP. On the new and more challenging MS COCO dataset, we improve state-of-the-art from 19.7% to 33.1% mAP. In the 2015 MS COCO Detection Challenge, our ION model won "Best Student Entry" and finished 3rd place overall. As intuition suggests, our detection results provide strong evidence that context and multi-scale representations improve small object detection.

Introduction

In 2016, state-of-the-art object detectors like Fast R-CNN were often "myopic," primarily focusing on information within a proposed bounding box (the Region of Interest, or ROI). This approach has two major flaws:

  1. Small Object Sensitivity: Standard detectors usually pool features from the final convolutional layer. While these features are rich in semantic information, they have low spatial resolution, making it difficult to detect tiny objects.
  2. Lack of Context: Objects rarely exist in isolation. Environmental cues—like a "keyboard" being near a "monitor"—help resolve ambiguity. By ignoring the area outside the ROI, detectors miss out on these powerful visual cues.

The ION Architecture

The authors propose a dual-pronged architecture to solve these issues, integrating information from both inside and outside the region of interest.

The ION architecture integrates multi-scale features via skip pooling and global context via 4-directional IRNNs.

1. Inside: Skip Pooling

Instead of only using the final convolutional layer (conv5), ION "skips" across the network to pool features from multiple layers (conv3, conv4, and conv5). Because features from different layers have wildly different scales, the authors use L2 normalization to bring them into a comparable range before concatenation. A 1x1 convolution then reduces dimensionality for efficiency.

2. Outside: Spatial RNNs (IRNNs)

To capture context from the entire image, ION places four independent Recurrent Neural Networks on top of the convolutional features. These move laterally across the image in four directions: right, left, up, and down. This ensures every pixel in the feature map can "see" information from every other pixel. The use of "IRNNs" (RNNs with ReLU initialized to the identity matrix) allows the network to learn long-range dependencies without vanishing gradient problems.

Key Insights and Results

The Inside-Outside Net was evaluated on industry-standard benchmarks including PASCAL VOC and MS COCO, where it won "Best Student Entry" in the 2015 COCO Detection Challenge.

Performance comparison across object sizes shows that ION's components significantly boost detection of extra-small and medium objects.
  • Normalization is Essential: The paper demonstrates that proper normalization is required to make multi-scale features actually work in a deep network; simple stacking is insufficient.
  • Small Objects Need "Lower" Layers: Results show a massive jump in accuracy for small objects when using skip pooling, confirming that high-resolution, low-level features are vital for tiny targets.
  • Performance Gains: On PASCAL VOC 2012, ION improved the state-of-the-art mAP from 73.9% to 77.9%. On MS COCO, it boosted performance from 19.7% to 33.1% mAP. Notably, the average precision for small objects nearly doubled compared to the baseline (from 4.1% to 7.0%).

Conclusion

While ION significantly advances the state-of-the-art, it still relies on external object proposal methods, which can be a bottleneck for small object detection. Future work involves integrating proposal generation directly into the network. Despite its architectural complexity, ION maintains reasonable efficiency, running at 1-2 seconds per image on a single GPU.

Summary updated

BibTeX
@inproceedings{bell2016inside,
  author = {Sean Bell and C. Lawrence Zitnick and Kavita Bala and Ross B. Girshick},
  title = {{Inside-Outside Net: Detecting Objects in Context with Skip Pooling and Recurrent Neural Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  url = {https://openreview.net/forum?id=BkZIAkM_ZH},
}
Figure