End-to-end training of object class detectors for mean average precision
Authors:
Preprint
Abstract
We present a method for training CNN-based object class detectors directly using mean average precision (mAP) as the training loss, in a truly end-to-end fashion that includes non-maximum suppression (NMS) at training time. This contrasts with the traditional approach of training a CNN for a window classification loss, then applying NMS only at test time, when mAP is used as the evaluation metric in place of classification accuracy. However, mAP following NMS forms a piecewise-constant structured loss over thousands of windows, with gradients that do not convey useful information for gradient descent. Hence, we define new, general gradient-like quantities for piecewise constant functions, which have wide applicability. We describe how to calculate these efficiently for mAP following NMS, enabling to train a detector based on Fast R-CNN directly for mAP. This model achieves equivalent performance to the standard Fast R-CNN on the PASCAL VOC 2007 and 2012 datasets, while being conceptually more appealing as the very same model and loss are used at both training and test time.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- Improving object detection with deep convolutional networks via Bayesian optimization and structured prediction2015
- End-to-end integration of a Convolutional Network, Deformable Parts Model and non-maximum suppression2015
- Show and tell: A neural image caption generator2015
- The Pascal Visual Object Classes Challenge: A RetrospectiveInternational Journal of Computer Vision, 2014
- Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation2014
- Selective Search for Object RecognitionInternational Journal of Computer Vision, 2013
- The Pascal Visual Object Classes (VOC) ChallengeInternational Journal of Computer Vision, 2009
- Learning to Localize Objects with Structured Output Regression2008
- Rapid object detection using a boosted cascade of simple features2005
- Histograms of Oriented Gradients for Human Detection2005