arXiv(opens in a new tab)cs.CVOct 2013Cited by 16 papers on PaperVantageClassic Paper

Manuscript Offprint

arXiv:1310.1531

DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognition

Jeff Donahue, Yangqing Jia, Oriol Vinyals, Judy Hoffman, Ning Zhang, Eric Tzeng, Trevor Darrell

DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognition

Jeff Donahue∗, Yangqing Jia∗, Oriol Vinyals, Judy Hoffman, Ning Zhang, Eric Tzeng, Trevor Darrell {jdonahue,jiayq,vinyals,jhoffman,nzhang,etzeng,trevor}@eecs.berkeley.edu

UC Berkeley & ICSI, Berkeley, CA, USA

Abstract

We evaluate whether features extracted from the activation of a deep convolutional network trained in a fully supervised fashion on a large, fixed set of object recognition tasks can be re-purposed to novel generic tasks. Our generic tasks may differ significantly from the originally trained tasks and there may be insufficient labeled or unlabeled data to conventionally train or adapt a deep architecture to the new tasks. We investigate and visualize the semantic clustering of deep convolutional features with respect to a variety of such tasks, including scene recognition, domain adaptation, and fine-grained recognition challenges. We compare the efficacy of relying on various network levels to define a fixed feature, and report novel results that significantly outperform the state-of-the-art on several important vision challenges. We are releasing DeCAF, an open-source implementation of these deep convolutional activation features, along with all associated network parameters to enable vision researchers to be able to conduct experimentation with deep representations across a range of visual concept learning paradigms.

1 Introduction

Discovery of effective representations that capture salient semantics for a given task is a key goal of perceptual learning. Performance with conventional visual representations, based on flat feature representations involving quantized gradient filters, has been impressive but has likely plateaued in recent years.

It has long been argued that deep or layered compositional architectures should be able to capture salient aspects of a given domain through discovery of salient clusters, parts, mid-level features, and/or hidden units Hinton & Salakhutdinov (2006); Fidler & Leonardis (2007); Zhu et al. (2007); Singh et al. (2012); Krizhevsky et al. (2012). Such models have been able to perform better than traditional hand-engineered representations in many domains, especially those where good features have not already been engineered Le et al. (2011). Recent results have shown that moderately deep unsupervised models outperform the state-of-the art gradient histogram features in part-based detection models Ren & Ramanan (2013).

Deep models have recently been applied to large-scale visual recognition tasks, trained via back-propagation through layers of convolutional filters (LeCun et al., 1989). These models perform extremely well in domains with large amounts of training data, and had early success in digit classification tasks LeCun et al. (1998). With the advent of large scale sources of category-level training data, e.g., Deng et al. (2009), and efficient implementation with on-line approximate model averaging (“dropout”) Krizhevsky et al. (2012), they have recently outperformed all known methods on a large scale recognition challenge Berg et al. (2012).

With limited training data, however, fully-supervised deep architectures with the representational capacity of Krizhevsky et al. (2012) will generally dramatically overfit the training data. In fact, many conventional visual recognition challenges have tasks with few training examples; e.g., when a user is defining a category “on-the-fly” using specific examples, or for fine-grained recognition challenges Welinder et al. (2010), attributes Bourdev et al. (2011), and/or domain adaptation Saenko et al. (2010).

In this paper we investigate semi-supervised multi-task learning of deep convolutional representations, where representations are learned on a set of related problems but applied to new tasks which have too few training examples to learn a full deep representation. Our model can either be considered as a deep architecture for transfer learning based on a supervised pre-training phase, or simply as a new visual feature DeCAF defined by the convolutional network weights learned on a set of pre-defined object recognition tasks. Our work is also related to representation learning schemes in computer vision which form an intermediate representation based on learning classifiers on related tasks Li et al. (2010); Torresani et al. (2010); Quattoni et al. (2008).

Our main result is the empirical validation that a generic visual feature based on a convolutional network weights trained on ImageNet outperforms a host of conventional visual representations on standard benchmark object recognition tasks, including Caltech-101 (Fei-Fei et al., 2004), the Office domain adaptation dataset (Saenko et al., 2010), the Caltech-UCSD Birds fine-grained recognition dataset (Welinder et al., 2010), and the SUN-397 scene recognition database (Xiao et al., 2010).

Further, we analyze the semantic salience of deep convolutional representations, comparing visual features defined from such networks to conventional representations. In Section 3, we visualize the semantic clustering properties of deep convolutional features compared to baseline representations, and find that convolutional features appear to cluster semantic topics more readily than conventional features. Finally, while conventional deep learning can be computationally expensive, we note that the run-time and resource computation of deep-learned convolutional features are not exceptional in comparison to existing features such as HOG Dalal & Triggs (2005) or KDES (Bo et al., 2010).

References (44)

  • A framework for learning predictive structures from multiple tasks and unlabeled data
  • Multi-task feature learning
  • ImageNet large scale visual recognition challenge 2012
  • POOF: Part-based one-vs-one features for fine-grained categorization, face verification, and attribute estimation
  • Kernel descriptors for visual recognition
  • Describing people: A poselet-based approach to attribute classification
  • Multitask learning
  • Dlid: Deep learning for domain adaptation by interpolating between domains
  • Histograms of oriented gradients for human detection
  • Frustratingly easy domain adaptation
  • ImageNet: A Large-Scale Hierarchical Image Database
  • Learning generative visual models from few training examples: an incremental Bayesian approach tested on 101 object categories
  • Object detection with discriminatively trained part-based models
  • Towards scalable representations of object categories: Learning a hierarchy of parts
  • Geodesic flow kernel for unsupervised domain adaptation
  • Reducing the dimensionality of data with neural networks
  • Improving neural networks by preventing co-adaptation of feature detectors
  • Efficient learning of domain-invariant image representations
  • Multi-label prediction via compressed sensing (opens arXiv in a new tab)
  • What is the best multi-stage architecture for object recognition?
  • LSCOM lexicon definitions and annotations (version 1.0)
  • ImageNet classification with deep convolutional neural networks
  • What you saw is not what you get: Domain adaptation using asymmetric kernel transforms
  • Learning hierarchical invariant spatio-temporal features for action recognition with independent subspace analysis
  • Building high-level features using large scale unsupervised learning
  • Backpropagation applied to handwritten zip code recognition
  • Gradient-based learning applied to document recognition
  • Object bank: A high-level image representation for scene classification & semantic feature sparsification
  • Unsupervised and transfer learning challenge: a deep learning approach
  • Modeling the shape of the scene: A holistic representation of the spatial envelope
  • Transfer learning for image classication with sparse prototype representations
  • at, Battle, A., Lee, H., Packer, B., and Ng, A. Self-taught learning: Transfer learning from unlabeled data
  • Histograms of sparse codes for object detection
  • Adapting visual category models to new domains
  • Unsupervised discovery of mid-level discriminative patches
  • Is learning the n-th thing any easier than learning the first?
  • Unbiased look at dataset bias
  • Efficient object category recognition using classemes
  • Visualizing data using t-sne
  • Locality-constrained linear coding for image classification
  • Caltech-UCSD Birds 200
  • Sun database: Large-scale scene recognition from abbey to zoo
  • Deformable part descriptors for fine-grained recognition and attribute prediction
  • Unsupervised learning of a probabilistic grammar for object detection and parsing