1 of 60

Object Detection

with Deep Learning

CVPR 2014 Tutorial

Pierre Sermanet, Google Research

Tutorial on Deep Learning for Vision, CVPR 2014 June 23, 2014

2 of 60

What is object detection?

  • classification
  • localization

  • detection
  • segmentation

difficulty

3 of 60

Why is object detection important?

  • Perception is one of the biggest bottlenecks of

    • Robotics

    • Self-driving cars

    • Surveillance

4 of 60

Is it deployed?

  • classification
    • personal image search (Google, Baidu, Bing)
  • detection
    • face detection
      • cameras
      • election duplicate votes
      • CCTV
      • border control
      • casinos
      • visa processing
      • crime solving
      • prosopagnosia (face blindness)
    • objects
      • license plates
      • pedestrian detection (Daimler, MobileEye):
        • e.g. 2013 Mercedes-Benz E-Class and S-Class: warning and automatic braking reducing accidents and severity
      • vehicle detection for forward collision warning (MobileEye)
      • traffic sign detection (MobileEye)

5 of 60

What datasets for detection?

The pascal visual object classes (voc) challenge. Everingham, Mark, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. International journal of computer vision 88, no. 2 (2010): 303-338.

Imagenet: A large-scale hierarchical image database. Deng, Jia, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. In Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on, pp. 248-255. IEEE, 2009.

SUN Database: Large-scale Scene Recognition from Abbey to Zoo, Jianxiong Xiao, James Hays, Krista Ehinger, Aude Oliva, and Antonio Torralba.IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 2010.

Microsoft COCO: Common Objects in Context, Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, C. Lawrence Zitnick, http://arxiv.org/abs/1405.0312, May 2014

# classes

average

# categories

per image

average

# instances

per image

average

object

scale

average

resolution

# images

# objects

total

train

val

test

total

train

val

test

PASCAL

20

1.521

2.711

0.207

469x387

22k

6k

6k

10k

42k?

14k

14k

-

ImageNet13

200

1.534

2.758

0.170

482x415

516k

456k

20k

40k

648k?

480k

56k

-

Sun

4919

9.8

16.9

0.1040

732x547

16873

-

285k

-

COCO

91

3.5

7.6

0.117

578x483

328k

164k

82k

82k

2500k

~1250k

~625k

~625k

6 of 60

What datasets for detection?

  • Microsoft COCO
    • release: summer 2014
    • segmented instances
    • non-iconic images
    • ~80% of images have >1 categories or instances

Microsoft COCO: Common Objects in Context, Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, C. Lawrence Zitnick, http://arxiv.org/abs/1405.0312, May 2014

7 of 60

What datasets for detection?

  • Microsoft COCO
    • useful/common categories
    • even distribution (as opposed to long-tail for SUN)

Microsoft COCO: Common Objects in Context, Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, C. Lawrence Zitnick, http://arxiv.org/abs/1405.0312, May 2014

8 of 60

Recent history of object detection

VOC10

VOC12

VOC07

VOC09

VOC08

VOC11

  • Large improvements using Deep Learning [Girshick’13/14]

Rich feature hierarchies for accurate object detection and semantic segmentation. Girshick, Ross, Jeff Donahue, Trevor Darrell, and Jitendra Malik. arXiv preprint arXiv:1311.2524 (2013).

The PASCAL Visual Object Classes Challenge - a Retrospective, Everingham, M., Eslami, S. M. A., Van Gool, L., Williams, C. K. I., Winn, J. and Zisserman, A. Accepted for International Journal of Computer Vision, 2014

DPM

DPM,

HOG+BOW

DPM,

MKL

DPM++

DPM++,

MKL,

Selective

Search

Selective

Search,

DPM++,

MKL

41%

41%

37%

28%

23%

17%

SegDPM (2013)

Regionlets (2013)

Regionlets

(2013)

R-CNN

58.5%

R-CNN

53.7%

R-CNN

53.3%

ConvNets (2014)

9 of 60

Recent history of object detection

  • Large improvements using Deep Learning
  • ImageNet 2013 detection (new challenge)
    • top entries all use Convolutional Networks (ConvNets)

Rich feature hierarchies for accurate object detection and semantic segmentation. Girshick, Ross, Jeff Donahue, Trevor Darrell, and Jitendra Malik. arXiv preprint arXiv:1311.2524 (2013).

Overfeat: Integrated recognition, localization and detection using convolutional networks. Sermanet, Pierre, David Eigen, Xiang Zhang, Michaël Mathieu, Rob Fergus, and Yann LeCun. arXiv preprint arXiv:1312.6229 (2013), International Conference on Learning Representations (ICLR)` 2014.

No ConvNets

Deformable Parts Models (DPM) ->

10 of 60

ConvNets breakthroughs for visual tasks

Dataset

Performance

Score

[Sermanet et al 2014]: OverFeat (fine-tuned features for each task)

(tasks are ordered by increasing difficulty)

  • image classification

  • object localization
  • object detection

ImageNet LSVRC 2013

Dogs vs Cats Kaggle challenge 2014

ImageNet LSVRC 2013

ImageNet LSVRC 2013

competitive

state of the art

state of the art

competitive

13.6 % error

98.9%

29.9% error

24.3% mAP

[Razavian et al, 2014]: public OverFeat library (no retraining) + SVM

(simplest approach possible on purpose, no attempt at more complex classifiers)

(tasks are ordered by “distance” from classification task on which OverFeat was trained)

  • image classification
  • scene recognition
  • fine grained recognition

  • attribute detection

  • image retrieval

(search by image similarity)

Pascal VOC 2007

MIT-67

Caltech-UCSD Birds 200-2011

Oxford 102 Flowers

UIUC 64 object attributes

H3D Human Attributes

Oxford 5k buildings

Paris 6k buildings

Sculp6k

Holidays

UKBench

competitive

state of the art

competitive

state of the art

state of the art

competitive

state of the art

state of the art

competitive

state of the art

state of the art

77.2% mAP

69% mAP

61.8% mAP

86.8% mAP

91.4% mAUC

73% mAP

68% mAP?

79.5% mAP?

42.3% mAP?

84.3% mAP?

91.1% mAP?

Pierre Sermanet, David Eigen, Xiang Zhang, Michael Mathieu, Rob Fergus, Yann LeCun, OverFeat: Integrated Recognition, Localization and Detection using Convolutional Networks, http://arxiv.org/abs/1312.6229, ICLR 2014

Ali Sharif Razavian, Hossein Azizpour, Josephine Sullivan, Stefan Carlsson, CNN Features off-the-shelf: an Astounding Baseline for Recognition, http://arxiv.org/abs/1403.6382, DeepVision CVPR 2014 workshop

11 of 60

ConvNets breakthroughs for visual tasks

Dataset

Performance

Score

[Zeiler et al 2013]

  • image classification

ImageNet LSVRC 2013

Caltech-101 (15, 30 samples per class)

Caltech-256 (15, 60 samples per class)

Pascal VOC 2012

state of the art

competitive

state of the art

competitive

11.2% error

83.8%, 86.5%

65.7%, 74.2%

79% mAP

[Donahue et al, 2014]: DeCAF+SVM

  • image classification
  • domain adaptation
  • fine grained recognition
  • scene recognition

Caltech-101 (30 classes)

Amazon -> Webcam, DSLR -> Webcam

Caltech-UCSD Birds 200-2011

SUN-397

state of the art

state of the art

state of the art

competitive

86.91%

82.1%, 94.8%

65.0%

40.9%

[Girshick et al, 2013]

  • image detection

  • image segmentation

Pascal VOC 2007

Pascal VOC 2010 (comp4)

ImageNet LSVRC 2013

Pascal VOC 2011 (comp6)

state of the art

state of the art

state of the art

state of the art

48.0% mAP

43.5% mAP

31.4% mAP

47.9% mAP

[Oquab et al, 2013]

  • image classification

Pascal VOC 2007

Pascal VOC 2012

Pascal VOC 2012 (action classification)

state of the art

state of the art

state of the art

77.7% mAP

82.8% mAP

70.2% mAP

M.D. Zeiler, R. Fergus, Visualizing and Understanding Convolutional Networks, Arxiv 1311.2901 http://arxiv.org/abs/1311.2901

J. Donahue, Y. Jia, O. Vinyals, J. Hoffman, N. Zhang, E. Tzeng, and T. Darrell. Decaf: A deep convolutional activation feature for generic visual recognition. In ICML, 2014, http://arxiv.org/abs/1310.1531

R. B. Girshick, J. Donahue, T. Darrell, and J. Malik. Rich feature hierarchies for accurate object detection and semantic segmentation. arxiv:1311.2524 [cs.CV], 2013, http://arxiv.org/abs/1311.2524

M. Oquab, L. Bottou, I. Laptev, and J. Sivic. Learning and transferring mid-level image representations using convolutional neural networks. Technical Report HAL-00911179, INRIA, 2013. http://hal.inria.fr/hal-00911179

12 of 60

ConvNets breakthroughs for visual tasks

Dataset

Performance

Score

[Khan et al 2014]

  • shadow detection

UCF

CMU

UIUC

state of the art

state of the art

state of the art

90.56%

88.79%

93.16%

[Sander Dieleman, 2014]

  • image attributes

Kaggle Galaxy Zoo challenge

state of the art

0.07492

S. H. Khan, M. Bennamoun, F. Sohel, R. Togneri. Automatic Feature Learning for Robust Shadow Detection, CVPR 2014

Sander Dieleman, Kaggle Galaxy Zoo challenge 2014 http://benanne.github.io/2014/04/05/galaxy-zoo.html

13 of 60

ConvNets breakthroughs for visual tasks

[Razavian et al, 2014]:

"It can be concluded that from now on, deep learning with CNN has to be considered as the primary candidate in essentially any visual recognition task."

Ali Sharif Razavian, Hossein Azizpour, Josephine Sullivan, Stefan Carlsson, CNN Features off-the-shelf: an Astounding Baseline for Recognition, http://arxiv.org/abs/1403.6382, DeepVision CVPR 2014 workshop

14 of 60

Perceptron

Neural Net

Boosting

SVM

GMM

SP

BayesNP

Convolutional

Neural Net

Recurrent Neural Net

Autoencoder Neural Net

Sparse Coding

Restricted BM

Deep Belief Net

Deep (sparse/denoising) Autoencoder

UNSUPERVISED

SUPERVISED

DEEP

SHALLOW

Slide: M. Ranzato

15 of 60

History of detection with ConvNets

LeCun, Huang, Bottou 2004

NORB dataset

Cireşan et al. 2013

Mitosis detection

Sermanet et al. 2013

Pedestrian detection

Vaillant, Monrocq, LeCun 1994

Osadchy, LeCun, Miller 2004

Face detection with pose estimation!

PASCAL detection

Girshick et al. 2013

Szegedy, Toshev, Erhan 2013

ImageNet detection

Girshick et al. 2014 (R-CNN)

Sermanet et al. 2014 (OverFeat)

slide: Girshick/Sermanet

16 of 60

History of ConvNets

slide: Girshick

Fukushima 1980

Neocognitron

LeCun et al. 1989-1998

Hand-written digit reading

Rumelhart, Hinton, Williams 1986

“T” versus “C” problem

...

Krizhevksy, Sutskever, Hinton 2012

ImageNet classification breakthrough

“SuperVision” CNN

17 of 60

Pedestrian detection with ConvNets (video)

18 of 60

What are the weakest links in detection?

  • [Parikh & Zitnick CVPR’10] replaced each component with humans (Amazon Turk) and show which ones gain the most:
    • features
    • NMS

Finding the weakest link in person detectors. Parikh, Devi, and C. Lawrence Zitnick. Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on. IEEE, 2011.

19 of 60

ConvNets vs Primates

  • [Cadieu’14] ConvNets rival primates “core visual object recognition”
    • rapid (100ms) feed-forward processing

  • Feed-forward part ~solved?
  • Remains:
      • lateral and feedback loops
      • better spatial exploration for classification/localization/detection

Deep Neural Networks Rival the Representation of Primate IT Cortex for Core Visual Object Recognition. Cadieu, Charles F., Ha Hong, Daniel LK Yamins, Nicolas Pinto, Diego Ardila, Ethan A. Solomon, Najib J. Majaj, and James J. DiCarlo. arXiv preprint arXiv:1406.3284 (2014).

20 of 60

Learned convolutional filters: Stage 1

Visualizing and understanding convolutional neural networks. Zeiler, Matthew D., and Rob Fergus. arXiv preprint arXiv:1311.2901 (2013).

9 patches with strongest

activation

learned filters

(7x7x96)

21 of 60

Strongest activations: Stage 2

Visualizing and understanding convolutional neural networks. Zeiler, Matthew D., and Rob Fergus. arXiv preprint arXiv:1311.2901 (2013).

22 of 60

Strongest activations: Stage 3

Visualizing and understanding convolutional neural networks. Zeiler, Matthew D., and Rob Fergus. arXiv preprint arXiv:1311.2901 (2013).

23 of 60

Strongest activations: Stage 4

Visualizing and understanding convolutional neural networks. Zeiler, Matthew D., and Rob Fergus. arXiv preprint arXiv:1311.2901 (2013).

24 of 60

Strongest activations: Stage 5

Visualizing and understanding convolutional neural networks. Zeiler, Matthew D., and Rob Fergus. arXiv preprint arXiv:1311.2901 (2013).

25 of 60

What is a ConvNet?

  • A special type of Neural Net that incorporates priors about continuous signals
    • sound / speech (2D signal)
    • images (3D signal)
    • videos (4D signal)

  • Parameters sharing and pooling take advantage of local coherence to learn invariant features

  • In its simplest form, a ConvNet is just a series of stages of the form:
    • convolution
    • bias
    • non-linearity (ReLu or sigmoid functions)
    • pooling

  • Normalization layers (LCN) may be added

26 of 60

ConvNets 2.0

  • [Krizhevsky’12] win 2012 ImageNet classification with a much bigger ConvNet than before:
    • deeper: 7 stages vs 3 before
    • larger: 60 million parameters vs 1 million before

  • This was made possible by:
    • fast hardware: GPU-optimized code
    • big dataset: 1.2 million images vs thousands before
    • better regularization: dropout

Imagenet classification with deep convolutional neural networks. Krizhevsky, Alex, Ilya Sutskever, and Geoffrey E. Hinton. Advances in neural information processing systems. 2012.

27 of 60

Why are ConvNets good for detection?

  • Sharing parameters is good
    • taking advantage of local coherence to learn a more efficient representation:
      • no redundancy
      • translation invariance
      • slight rotation invariance with pooling

  • Efficient for detection:
    • all computations are shared
    • can handle varying input sizes (no need to relearn weights for new sizes)

  • ConvNets are convolutional all the way up including fully connected layers

28 of 60

ImageNet pre-training

  • Labeled data is rare for detection: leverage large classification labeled datasets for pre-training.

  • ImageNet Classification pretraining + fine-tuning on a different task has been shown to work very well by many people.
    • in particular [Razavian’14] took the off-the-shelf convnet OverFeat + SVM classifier on top and obtained many state-of-the-art or competitive results on 10+ datasets and visual tasks

CNN Features off-the-shelf: an Astounding Baseline for Recognition. Razavian, Ali Sharif, Hossein Azizpour, Josephine Sullivan, and Stefan Carlsson. arXiv preprint arXiv:1403.6382 (2014).

29 of 60

ImageNet pre-training

  • Capacity must match the problem at hand
    • 60M-parameters model has a capacity designed for ImageNet-scale data
    • one cannot train such model on a small dataset: e.g. 6k bird dataset in [Branson’14]
    • ImageNet pre-training will ensure general features as a starting point

  • Fine-tuning
    • requires lowering the learning rate to avoid forgetting pre-training or use different learning rates for the pre-trained and new layers
    • [Branson’14] propose a 2-step fine-tuning method that improves accuracy
      1. only train the weights of the new layer(s)
      2. train all weights

Bird Species Categorization Using Pose Normalized Deep Convolutional Nets. Branson, Steve, Grant Van Horn, Serge Belongie, and Pietro Perona. arXiv preprint arXiv:1406.2952 (2014).

30 of 60

How much does fine-tuning matter?

VOC 2007

VOC 2010

Regionlets (Wang et al. 2013)

41.7%

39.7%

SegDPM (Fidler et al. 2013)

40.4%

R-CNN pool5

44.2%

R-CNN fc6

46.2%

R-CNN fc7

44.7%

R-CNN FT pool5

47.3%

R-CNN FT fc6

53.1%

R-CNN FT fc7

54.2%

50.2%

metric: mean average precision (higher is better)

fine-tuned

  • [Razavian’14] showed consistent gains using fixed ConvNet weights

  • Fine-tuning always improves, but how much?

  • However [Girshick’14] shows substantial improvements with fine-tuning on PASCAL detection: 44.7% to 54.2% mAP

CNN Features off-the-shelf: an Astounding Baseline for Recognition. Razavian, Ali Sharif, Hossein Azizpour, Josephine Sullivan, and Stefan Carlsson. arXiv preprint arXiv:1403.6382 (2014).

Rich feature hierarchies for accurate object detection and semantic segmentation. Girshick, Ross, Jeff Donahue, Trevor Darrell, and Jitendra Malik. arXiv preprint arXiv:1311.2524 (2013).

31 of 60

R-CNN: Regions with CNN features

Input

image

Extract region

proposals (~2k / image)

  • Proposal-method agnostic, many choices
    • Selective Search [Uijlings et al. 2013] (Used in this work)
    • Objectness [Alexe et al. 2012]
    • Category independent object proposals [Endres & Hoiem 2010]

  • Active area, at this CVPR
    • BING [Ming et al.] – fast
    • MCG [Arbelaez et al.] – high-quality segmentation

Rich feature hierarchies for accurate object detection and semantic segmentation. Girshick, Ross, Jeff Donahue, Trevor Darrell, and Jitendra Malik. arXiv preprint arXiv:1311.2524 (2013).

32 of 60

R-CNN: bounding-box regression

Rich feature hierarchies for accurate object detection and semantic segmentation. Girshick, Ross, Jeff Donahue, Trevor Darrell, and Jitendra Malik. arXiv preprint arXiv:1311.2524 (2013).

Linear regression

on CNN features

Original

proposal

Predicted

object bounding box

33 of 60

Objectness / Selective Search

  • fast dense generic detection + slow sparse classification

(old idea used for detection of faces, traffic signs, etc)

    • segmentation [van de Sande 2011], ConvNets [Erhan 2014]
    • speeds up
    • reduces false positives
    • bounding boxes with any aspect ratio

van de Sande, K. E., Uijlings, J. R., Gevers, T., & Smeulders, A. W. (2011, November). Segmentation as selective search for object recognition. ICCV’11

Dumitru Erhan, Christian Szegedy, Alexander Toshev, Dragomir Anguelov, Scalable Object Detection using Deep Neural Networks, CVPR’14

34 of 60

How to debug object detection?

  • [Hoiem’12] provide analysis software for detection
  • Visualize the proportions of
    • localization errors
    • confusion with similar classes
    • confusion with other classes
    • confusion with background
  • [Girshick’14] show how fine-tuning and bbox-regression decrease localization errors

Diagnosing error in object detectors. Hoiem, Derek, Yodsawalai Chodpathumwan, and Qieyun Dai. Computer Vision–ECCV 2012. Springer Berlin Heidelberg, 2012. 340-353.

Rich feature hierarchies for accurate object detection and semantic segmentation. Girshick, Ross, Jeff Donahue, Trevor Darrell, and Jitendra Malik. arXiv preprint arXiv:1311.2524 (2013).

no fine-tuning fine-tuning b-box regression

35 of 60

OverFeat: dense detection

  • 2-headed network: shared feature extraction part + prediction for:
    • bounding box (trained by regression)
    • class (trained with softmax classifier)
  • sliding window: dense estimation of (bbox,class) at each location
  • accumulate rather than suppress
  • another form of voting

36 of 60

OverFeat: dense detection

  • 2-headed network: shared feature extraction part + prediction for:
    • bounding box (trained by regression)
    • class (trained with softmax classifier)
  • sliding window: dense estimation of (bbox,class) at each location
  • accumulate rather than suppress
  • another form of voting

37 of 60

OverFeat: dense detection

  • Bounding boxes voting:
    • voting is good (classification: views voting + model voting)
    • boosts confidence high above false positives ([0,1] up to 10.43 here)
    • more robust to individual localization errors
    • relying less on an accurate background class

38 of 60

Localization regression

  • Pedestrian localization -> detection (Sermanet 2011)
    • devised to emphasize separation with false positives

39 of 60

Pose regression with Convnet

[Osadchy’04]:

  • estimating presence and pose
  • distance away from manifold indicates confidence into presence of a face
  • position on the manifold indicates face pose

  • Osadchy, Margarita, Yann Le Cun, and Matthew L. Miller. Synergistic face detection and pose estimation with energy-based models. The Journal of Machine Learning Research 8 (2007): 1197-1215.

40 of 60

Detection: localization voting for multiple objects

41 of 60

Augmenting sliding density of a ConvNet

  • the more subsampling, the larger the output stride
  • larger output stride means less views

    • e.g.: subsampling x2, x3, x2, x3 => 36 pixels stride
    • 1 pixel shift in output space corresponds to 36 pixels shift in input space

42 of 60

Augmenting sliding density of a ConvNet

  • 9x more bounding boxes (with last pooling 3x3)
  • idea introduced by [Giusti’13]

A. Giusti, D. C. Ciresan, J. Masci, L. M. Gambardella, and J. Schmidhuber. Fast image scanning with deep max-pooling convolutional neural networks. In International Conference on Image Processing (ICIP), 2013.

43 of 60

Online bootstrapping

  • traditional offline bootstrapping:
    • complicated and not very practical for large datasets
    • potential mismatch between false positives extraction and retraining
    • tuning of bootstrapping passes

  • online bootstrapping:
    • constantly adapting
    • no storage required
    • backprop from multiple outputs per image, e.g.:
      • 1 worst false positive
      • 1 worst false negative
      • 1 random negative
      • 1 random positive
      • (backprop all outputs will bias training too much for each image)
    • slower to train entire image rather than single windows, but training time is fast enough starting from classification features

44 of 60

How do R-CNN and OverFeat differ?

    • SVM classifier instead of softmax: ~4 points increase in mAP on PASCAL

    • Warping: ~3-5 points increase

    • Training on ImageNet validation + subset of training set (R-CNN) while OverFeat is trained on training data only. Validation/Test are drawn from a different distribution than Training set, so including validation during training increases accuracy.

    • Sparse evaluation (R-CNN) as opposed to dense evaluation (OverFeat) increases chances of false positives, separating “objectness” prediction from classification and localization probably reduces false positives.

Rich feature hierarchies for accurate object detection and semantic segmentation. Girshick, Ross, Jeff Donahue, Trevor Darrell, and Jitendra Malik. arXiv preprint arXiv:1311.2524 (2013).

Overfeat: Integrated recognition, localization and detection using convolutional networks. Sermanet, Pierre, David Eigen, Xiang Zhang, Michaël Mathieu, Rob Fergus, and Yann LeCun. arXiv preprint arXiv:1312.6229 (2013), International Conference on Learning Representations (ICLR)` 2014.

45 of 60

Warping

  • ConvNets expect a fixed size input

  • Warping improves detection by about 3-5 mAP points in [Girshick’13]
    • likely simplifies the learning problem by normalizing poses and shapes

  • Overall better, but probably poses problems for some classes, e.g. cars/trucks or circle/elipses

Rich feature hierarchies for accurate object detection and semantic segmentation. Girshick, Ross, Jeff Donahue, Trevor Darrell, and Jitendra Malik. arXiv preprint arXiv:1311.2524 (2013).

46 of 60

Warping

  • Warping improves results for fine-grained recognition

Bird Species Categorization Using Pose Normalized Deep Convolutional Nets. Branson, Steve, Grant Van Horn, Serge Belongie, and Pietro Perona. arXiv preprint arXiv:1406.2952 (2014).

47 of 60

ImageNet detection examples

48 of 60

ImageNet detection examples: occlusions

OverFeat • Pierre Sermanet • New York University

49 of 60

ImageNet detection examples: occlusions

50 of 60

ImageNet detection examples

51 of 60

ImageNet detection failures that make sense

52 of 60

ImageNet detection failures that make sense

53 of 60

ImageNet detection: some hard ones

54 of 60

Conclusions

  • Deep ConvNets are the new feature extraction baseline for computer vision
    • low hanging fruits: revisit traditional methods by swapping in deep ConvNets

  • Recent breakthroughs in object detection using ConvNets

  • We can learn state of the art object localization from features pre-trained on classification

  • ConvNets are efficient for detection

  • Accumulation / voting of many predicted bounding boxes increases robustness and yields the best object detection results

  • Density of sliding window is important, the denser the better (best alignment gets best confidence)
    • learning attention with deep learning will improve accuracy while increasing efficiency

55 of 60

Questions

56 of 60

Additional Information

57 of 60

Pedestrian detection with ConvNets

  • Detection with ConvNets in the pre-Krizhevsky era:

`

    • State of the art / competitive on major pedestrians datasets by [Sermanet’13]
    • Smaller models (1M) / datasets (thousands of samples)
    • Using unsupervised learning for pre-training

Pedestrian detection with unsupervised multi-stage feature learning. Sermanet, Pierre, Koray Kavukcuoglu, Soumith Chintala, and Yann LeCun. In Computer Vision and Pattern Recognition (CVPR), 2013 IEEE Conference on, pp. 3626-3633. IEEE, 2013.

58 of 60

Unsupervised learning for detection

  • INRIA pedestrian: small dataset, unsupervised learning can help [Sermanet’13]
  • CPSD improves from 23.4% to 17.1% error
  • Multi-stage (MS) features improve from 23.4% to 17.3%
  • CPSD + MS = 10.55%

Sparse Coding

Convolutional Sparse Coding (CPSD)

Pedestrian detection with unsupervised multi-stage feature learning. Sermanet, Pierre, Koray Kavukcuoglu, Soumith Chintala, and Yann LeCun. In Computer Vision and Pattern Recognition (CVPR), 2013 IEEE Conference on, pp. 3626-3633. IEEE, 2013.

59 of 60

Multi-stage features (skip layer)

Pedestrian detection with unsupervised multi-stage feature learning. Sermanet, P., Kavukcuoglu, K., Chintala, S., & LeCun, Y. (2013, June). InComputer Vision and Pattern Recognition (CVPR), 2013 IEEE Conference on(pp. 3626-3633). IEEE.

Traffic sign recognition with multi-scale convolutional networks. Sermanet, Pierre, and Yann LeCun. Neural Networks (IJCNN), The 2011 International Joint Conference on. IEEE, 2011.

Convolutional neural networks applied to house numbers digit classification. Sermanet, Pierre, Soumith Chintala, and Yann LeCun. Pattern Recognition (ICPR), 2012 21st International Conference on. IEEE, 2012.

Deep Learning Face Representation from Predicting 10,000 Classes. Sun, Yi, Xiaogang Wang, and Xiaoou Tang.

  • Skip connections can bring substantial improvements [Sermanet’11’12’13] [Sun’14] by retaining lower-level information

60 of 60

Dogs vs Cats: results and approaches

Team

Error %

Software

Approach

ImageNet

pre-training

deep

learning

Pierre Sermanet

1.09

OverFeat

7 models average + multi-scale + drop fully connected layers

yes

yes

anton

(post competition)

1.68

OverFeat

2 models average

“about 15min of coding + 20 bucks to Amazon to get the images through the nets”

yes

yes

orchid

1.70

OverFeat

+ Decaf

OverFeat & Decaf models + hand-crafted features (haralick/zernikemoments/lbp/pftas/tas/surf)

yes

yes

Owen

1.83

?

Paul Covington

1.83

?

Maxim Milakov

1.86

nnForge

“rather deep” ConvNet with dropout and enriching training data by various distortions.

no

yes

we've been in KAIST

1.90

Caffe (Decaf)

L2-SVM hinge loss instead of softmax loss + fine tuning entire caffe model except for 1st convolution

yes

yes

Doug Koch

1.94

?

fastml.com/

cats-and-dogs

2.00

OverFeat+ Decaf

9 models ensemble

yes

yes

13/28