Skip to main content
QUICK REVIEW

[Paper Review] An Analysis of Scale Invariance in Object Detection - SNIP

Bharat Singh, Larry S. Davis|arXiv (Cornell University)|Nov 22, 2017
Advanced Neural Network ApplicationsComputer Science34 references14 citations
TL;DR

This paper proposes SNIP (Scale Normalization for Image Pyramids), a novel training scheme that selectively back-propagates gradients based on object scale within an image pyramid to improve scale invariance in object detection. By aligning training with the scale distribution of pre-trained ImageNet models, SNIP achieves state-of-the-art performance on COCO, reaching 45.7% mAP with a single model and 48.3% with an ensemble, using only bounding box supervision and off-the-shelf ImageNet pre-training.

ABSTRACT

An analysis of different techniques for recognizing and detecting objects under extreme scale variation is presented. Scale specific and scale invariant design of detectors are compared by training them with different configurations of input data. By evaluating the performance of different network architectures for classifying small objects on ImageNet, we show that CNNs are not robust to changes in scale. Based on this analysis, we propose to train and test detectors on the same scales of an image-pyramid. Since small and large objects are difficult to recognize at smaller and larger scales respectively, we present a novel training scheme called Scale Normalization for Image Pyramids (SNIP) which selectively back-propagates the gradients of object instances of different sizes as a function of the image scale. On the COCO dataset, our single model performance is 45.7% and an ensemble of 3 networks obtains an mAP of 48.3%. We use off-the-shelf ImageNet-1000 pre-trained models and only train with bounding box supervision. Our submission won the Best Student Entry in the COCO 2017 challenge. Code will be made available at \url{http://bit.ly/2yXVg4c}.

Motivation & Objective

  • To investigate why object detection performance lags behind image classification despite deep learning advances.
  • To analyze the impact of extreme scale variation on CNN-based object detectors, especially for small objects.
  • To address the domain shift caused by fine-tuning ImageNet pre-trained models on detection datasets with vastly different scale distributions.
  • To develop a training scheme that improves scale invariance without reducing training sample diversity.
  • To enable effective use of pre-trained ImageNet models for small object detection by aligning training scales with the pre-training distribution.

Proposed method

  • SNIP trains detectors on a multi-scale image pyramid, where each scale corresponds to a different resolution of the input image.
  • The method selectively back-propagates gradients only for region proposals (RoIs) whose scale is close to the scale of the pre-trained ImageNet model.
  • This scale alignment minimizes domain shift between the pre-trained classification network and the detection fine-tuning stage.
  • SNIP operates independently on each scale of the image pyramid, allowing full utilization of all object instances across scales.
  • The approach is generic and can be applied to various detection frameworks, including Faster R-CNN and R-FCN, by modifying only the training loop.
  • It does not require architectural changes or additional supervision beyond bounding boxes, and is compatible with existing pipelines like deformable convolutions and Soft-NMS.

Experimental results

Research questions

  • RQ1Why does object detection performance remain significantly lower than image classification despite similar network architectures?
  • RQ2How does extreme scale variation in datasets like COCO affect the robustness of CNNs in object detection?
  • RQ3To what extent does fine-tuning a pre-trained ImageNet classifier on detection data degrade performance due to scale distribution mismatch?
  • RQ4Can a training scheme be designed to improve scale invariance without reducing the number of training samples per scale?
  • RQ5Does selective gradient back-propagation based on scale improve detection performance, especially for small objects?

Key findings

  • SNIP achieves a single-model mAP of 45.7% on COCO test-dev, outperforming the best single-model baseline by 2.5% overall and 3.9% for small objects.
  • An ensemble of three networks using SNIP achieves an mAP of 48.3%, setting a new state-of-the-art for the COCO 2017 challenge.
  • The method improves recall for small objects (≤25 pixels) by 6.3% and for all objects by 2.9% at 50% IoU, demonstrating strong gains on hard cases.
  • Removing SNIP from the RPN and RCN heads causes a 3.5% drop in mAP with the DPN-98 backbone, confirming its critical role in performance.
  • SNIP enables strong performance even with a single-scale RPN and RCN head, achieving 44.4% mAP with Faster R-CNN and deformable convolutions, without feature pyramids.
  • The method is effective across different backbone architectures, with DPN-98 and DPN-92 showing improved performance when used with SNIP.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.