Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Rich feature hierarchies for accurate object detection and semantic segmentation

CNN region proposals lift object detection accuracy

  • Problem Object detection on PASCAL VOC had stalled under HOG-based pipelines. Sliding-window CNN detectors lose precise localization, because their top units have large receptive fields and coarse strides.
  • Method R-CNN runs a CNN on region proposals, then scores classes with SVMs.
  • Results R-CNN reaches 53.3% mAP on VOC 2011/12 test, a similar score to the UVA system's approach. On ILSVRC2013 detection it reaches 31.4% mAP, against 24.3% for OverFeat.

Why a whole-image CNN is not enough for detection

The study asks whether a convolutional network trained for image classification carries its gains over to object detection on PASCAL VOC, where progress had flattened while HOG-based systems dominated. Detection is harder than classification because one image can contain many objects, and each one needs both a location and a label.

A sliding-window CNN is the obvious candidate. Its top units, however, have receptive fields of 195×195 pixels and strides of 32×32 pixels in the input, which makes precise localization difficult when the network is slid across the image. A regression formulation was another option, but the concurrent work by Szegedy et al. reported 30.5% mAP on VOC 2007, against 58.5% for this method, and the authors read this as a sign that the approach may not work well in practice.

Region proposals feeding a CNN

The method moves localization out of the network and into a proposal stage. About 2000 category-independent region proposals are generated per image, a CNN maps each one to a fixed-length vector, and a class-specific linear SVM scores that vector. Selective search supplies the proposals in the experiments, since the comparison is meant to be controlled against earlier detectors that used it.

The feature extractor is the Caffe implementation of the Krizhevsky et al. network. It takes a mean-subtracted 227×227 RGB input, passes it through five convolutional and two fully connected layers, and returns a 4096-dimensional vector.

Because the network needs a fixed input size, each candidate box is warped to 227×227 regardless of its shape. Before warping, the box is enlarged so that p = 16 pixels of surrounding context appear at the warped scale. Alternatives to warping are discussed in Appendix A, where a pilot experiment found that warping with context padding of p = 16 pixels beat the other transformations by 3-5 mAP points.

Test-time scoring and why it is cheap

At test time, selective search in its fast mode produces around 2000 proposals, and each one is warped and passed through the CNN. Every class SVM then scores each feature vector. Detections are then pruned by greedy non-maximum suppression run separately for each class. A region is dropped when its IoU with a higher-scoring kept region exceeds a learned threshold.

Cost is dominated by work shared across classes. The CNN parameters are shared, and the feature vectors are much smaller than the 360k-dimensional features of the UVA system, at 4k dimensions. Region proposals and features take 13 s per image on a GPU or 53 s on a CPU, and this time is spread over all classes. The only class-specific work is a matrix product between the 2000×4096 feature matrix and a 4096×N SVM weight matrix, followed by suppression, where N is the number of classes.

The authors estimate that even 100k classes would need only about 10 seconds of matrix multiplication on a multi-core CPU, while the UVA system would need 134GB of memory for 100k linear predictors, against 1.5GB for the R-CNN features. Compared with the DPM-and-hashing approach of Dean et al., which reported around 16% mAP on VOC 2007 at 5 minutes per image with 10k distractor classes, the authors note that 10k detectors run in about a minute per image on a CPU without approximations, with mAP at 59%.

Pre-training and fine-tuning with scarce detection data

The CNN is first trained discriminatively on the ILSVRC2012 classification data, using image-level labels only because bounding-box labels are not available for that set. The resulting network has a top-1 error on the ILSVRC2012 classification validation set that is 2.2 percentage points higher than the Krizhevsky et al. network, which the authors attribute to simplifications in their training process.

Fine-tuning replaces the 1000-way classifier with a randomly initialized (N+1)-way layer, where N is 20 for VOC and 200 for ILSVRC2013, and the extra class is background. The rest of the architecture is unchanged. Stochastic gradient descent starts at a learning rate of 0.001, a tenth of the pre-training rate, so the initialization is not overwritten.

Each mini-batch has 128 windows: 32 positives sampled over all classes and 96 background windows.

During fine-tuning, a proposal with IoU of at least 0.5 with a ground-truth box counts as a positive for that box's class, and the remaining proposals are negatives. The SVMs use a stricter rule: only ground-truth boxes are positives, and proposals below an overlap threshold are negatives. That negative threshold, 0.3, was picked by grid search over {0, 0.1, ..., 0.5} on a validation set.

Raising it to 0.5 lowered mAP by 5 points, and setting it to 0 lowered mAP by 4 points.

With one linear SVM per class, the training set is too large to hold in memory, so hard negative mining is used. The authors report that mAP stops rising after a single pass over all images. Appendix B explains why fine-tuning and SVM training define positives differently, and why the SVMs replace the outputs of the fine-tuned softmax layer.

PASCAL VOC 2010 results

Design choices and hyperparameters were validated on VOC 2007. For the final VOC 2010-12 results, the CNN was fine-tuned on VOC 2012 train and the detection SVMs were optimized on VOC 2012 trainval, and test results were submitted once for each of the two variants.

The closest comparison is the UVA system, which uses the same selective search proposals. It builds a four-level spatial pyramid over dense SIFT, Extended OpponentSIFT and RGB-SIFT descriptors, each quantized to 4000-word codebooks, and classifies with a histogram intersection kernel SVM.

On VOC 2011/12 test, the method reaches a similar 53.3% mAP.

ILSVRC2013 detection against OverFeat

The ILSVRC2013 runs reuse the PASCAL hyperparameters, and only two result files were sent to the evaluation server, one with and one without bounding-box regression. On the ILSVRC2013 detection test set, R-CNN reaches 31.4% mAP, while the post-competition OverFeat result is 24.3%. OverFeat is a sliding-window CNN detector and had been the best method on this dataset.

Most of the competing entries also used convolutional networks, which the authors take as evidence that the way CNNs are applied to detection leads to widely varying results.

The validation ablation on val2 starts at 20.9% mAP with the ILSVRC2012 pre-trained fc6 features and no fine-tuning. Adding train images as positives raises it to 24.1%, and fine-tuning on val1 and train1k raises it to 29.7%.

Which layers carry the gains

The pool5 map is 6×6×256, or 9216 dimensions, and each pool5 unit has a 195×195 receptive field in the 227×227 input. Visualizing top-scoring regions shows units tied to concepts, such as dog faces and red blobs, as well as units that respond to texture and material.

Without fine-tuning on VOC 2007, the mAP is 44.2 from pool5, 46.2 from fc6 and 44.7 from fc7, so fc7 generalizes worse than fc6. The authors note that about 29%, or 16.8 million, of the parameters could be removed without reducing mAP, and that pool5 uses only 6% of the parameters yet still performs well.

The authors attribute the smaller gain at pool5 to features learned on ImageNet being general, with most of the improvement coming from domain-specific non-linear classifiers on top.

The fine-tuned fc7 result of 54.2% is compared with DPM v5 at 33.7%, a 61% relative improvement. The sketch-token DPM variant reaches 29.1% and the HSC variant 34.3%. The authors caution that both feature-learning DPM variants use private, non-public DPM implementations that underperform the open-source version.

Deeper network in R-CNN

The 16-layer network of Simonyan and Zisserman, called O-Net, has 13 layers of 3×3 convolutions with five max pooling layers and three fully connected layers. The baseline is the Krizhevsky et al. network, called T-Net.

O-Net was fine-tuned with the same protocol as T-Net, except that minibatches had 24 examples to fit in GPU memory. On VOC 2007 test, R-CNN with T-Net reaches 58.5% with bounding-box regression, and R-CNN with O-Net reaches 66.0%.

The gain costs compute. The forward pass of O-Net takes roughly 7 times longer than that of T-Net.

Error modes and bounding-box regression

The authors use the Hoiem et al. analysis tool to sort false positives into localization, similar-category, other-category and background errors. Localization errors are the dominant mode, and compared with DPM, R-CNN has many more of them and fewer background confusions. The authors trace the loose localization to bottom-up region proposals and to the positional invariance learned by the whole-image classification pre-training.

Only proposals whose maximum IoU with a ground-truth box exceeds 0.6 are used for training. The regressor is applied once per proposal at test time, since iterating did not help.

Limitations

On ILSVRC2013 val, selective search produces 2403 proposals per image on average and recalls 91.6% of ground-truth boxes at 0.5 IoU. On PASCAL the recall is about 98%, which the authors identify as room for improvement in the proposal stage.

The ILSVRC2013 hyperparameters were kept at their PASCAL values, and the authors state that some may be slightly suboptimal for this dataset. ILSVRC train images are not exhaustively annotated, so they could not be used for hard negative mining, and the extra negative image sets were not used.

R-CNN is said to be agnostic to the proposal method, but only selective search was run, and the architecture comparison is reported on VOC 2007 only. The O-Net forward pass is roughly 7 times slower than T-Net's, so the deeper variant trades accuracy for compute.

Overlap between the auxiliary and test data is small. Exact Flickr ID matching found 31 matches out of 4952 VOC 2007 test images, and GIST matching found 38 near-duplicates, with 1.5% of VOC 2012 test images in ILSVRC 2012 trainval.

Paper info

Authors
Ross Girshick, Jeff Donahue, Trevor Darrell, Jitendra Malik
Venue
arXiv · Preprint
First published
2013-11-11
Added
2026-11-11
Updated
2014-10-22
Version
v5
arXiv
1311.2524
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Ross Girshick, Jeff Donahue, Trevor Darrell, Jitendra Malik (2013). Rich feature hierarchies for accurate object detection and semantic segmentation. arXiv:1311.2524v5. https://arxiv.org/abs/1311.2524v5

BibTeX
@misc{girshick2013rich,
  title = {{Rich feature hierarchies for accurate object detection and semantic segmentation}},
  author = {Ross Girshick and Jeff Donahue and Trevor Darrell and Jitendra Malik},
  year = {2013},
  eprint = {1311.2524},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1311.2524v5}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up