arXiv(opens in a new tab)Computer ScienceDec 2015Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:1512.04150

Learning Deep Features for Discriminative Localization

Bolei Zhou, A. Khosla, Àgata Lapedriza, A. Oliva, A. Torralba

Abstract

In this work, we revisit the global average pooling layer proposed in [13], and shed light on how it explicitly enables the convolutional neural network to have remarkable localization ability despite being trained on image-level labels. While this technique was previously proposed as a means for regularizing training, we find that it actually builds a generic localizable deep representation that can be applied to a variety of tasks. Despite the apparent simplicity of global average pooling, we are able to achieve 37.1% top-5 error for object localization on ILSVRC 2014, which is remarkably close to the 34.2% top-5 error achieved by a fully supervised CNN approach. We demonstrate that our network is able to localize the discriminative image regions on a variety of tasks despite not being trained for them.

1 Introduction

Recent work by Zhou et al [33] has shown that the convolutional units of various layers of convolutional neural networks (CNNs) actually behave as object detectors despite no supervision on the location of the object was provided. Despite having this remarkable ability to localize objects in the convolutional layers, this ability is lost when fully-connected layers are used for classification. Recently some popular fully-convolutional neural networks such as the Network in Network (NIN) [13] and GoogLeNet [24] have been proposed to avoid the use of fully-connected layers to minimize the number of parameters while maintaining high performance.

Figure

Figure 1: A simple modification of the global average pooling layer combined with our class activation mapping (CAM) technique allows the classification-trained CNN to both classify the image and localize class-specific image regions in a single forward-pass e.g., the toothbrush for brushing teeth and the chainsaw for cutting trees.

In order to achieve this, [13] uses global average pooling which acts as a structural regularizer, preventing overfitting during training. In our experiments, we found that the advantages of this global average pooling layer extend beyond simply acting as a regularizer - In fact, with a little tweaking, the network can retain its remarkable localization ability until the final layer. This tweaking allows identifying easily the discriminative image regions in a single forward-pass for a wide variety of tasks, even those that the network was not originally trained for. As shown in Figure 1(a), a CNN trained on object categorization is successfully able to localize the discriminative regions for action classification as the objects that the humans are interacting with rather than the humans themselves.

Despite the apparent simplicity of our approach, for the weakly supervised object localization on ILSVRC benchmark [20], our best network achieves 37.1% top-5 test error, which is rather close to the 34.2% top-5 test error achieved by fully supervised AlexNet [10]. Furthermore, we demonstrate that the localizability of the deep features in our approach can be easily transferred to other recognition datasets for generic classification, localization, and concept discovery..

References (33)

  • Self-taught object localization with deep networks (opens arXiv in a new tab)
  • Weakly supervised object localization with multi-fold multiple instance learning
  • Decaf: A deep convolutional activation feature for generic visual recognition
  • Inverting convolutional networks with convolutional networks (opens arXiv in a new tab)
  • Learning generative visual models from few training examples: An incremental bayesian approach tested on 101 object categories
  • Local alignments for fine-grained categorization
  • Rich feature hierarchies for accurate object detection and semantic segmentation
  • Caltech-256 object category dataset
  • Imagenet classification with deep convolutional neural networks
  • Beyond bags of features: Spatial pyramid matching for recognizing natural scene categories
  • Network in network
  • Understanding deep image representations by inverting them
  • Learning and transferring mid-level image representations using convolutional neural networks
  • Is object localization for free? – weakly-supervised learning with convolutional neural networks
  • Sun attribute database: Discovering, annotating, and recognizing scene attributes
  • Recognizing indoor scenes
  • CNN Features Off-the-Shelf: An Astounding Baseline for Recognition
  • Imagenet large scale visual recognition challenge
  • OverFeat: Integrated Recognition, Localization and Detection using Convolutional Networks
  • Deep inside convolutional networks: Visualising image classification models and saliency maps
  • Very deep convolutional networks for large-scale image recognition
  • Going Deeper with Convolutions
  • End-to-end scene text recognition
  • Caltech-UCSD Birds 200
  • Sun database: Large-scale scene recognition from abbey to zoo
  • Human action recognition by learning bases of action attributes and parts
  • Visualizing and understanding convolutional networks
  • Part-based r-cnns for fine-grained category detection
  • Deformable part descriptors for fine-grained recognition and attribute prediction
  • Conceptlearner: Discovering visual concepts from weakly labeled image collections
  • Object detectors emerge in deep scene cnns
  • Learning deep features for scene recognition using places database
  • Simple baseline for visual question answering (opens arXiv in a new tab)