Skip to main content
QUICK REVIEW

[Paper Review] Good Practice in CNN Feature Transfer

Liang Zheng, Yali Zhao|arXiv (Cornell University)|Apr 1, 2016
Advanced Image and Video Retrieval TechniquesComputer Science40 references127 citations
TL;DR

This paper studies effective CNN feature transfer for image search and classification by using larger input sizes, pooling intermediate features, and fusing features across multiple CNN layers to boost performance.

ABSTRACT

The objective of this paper is the effective transfer of the Convolutional Neural Network (CNN) feature in image search and classification. Systematically, we study three facts in CNN transfer. 1) We demonstrate the advantage of using images with a properly large size as input to CNN instead of the conventionally resized one. 2) We benchmark the performance of different CNN layers improved by average/max pooling on the feature maps. Our observation suggests that the Conv5 feature yields very competitive accuracy under such pooling step. 3) We find that the simple combination of pooled features extracted across various CNN layers is effective in collecting evidences from both low and high level descriptors. Following these good practices, we are capable of improving the state of the art on a number of benchmarks to a large margin.

Motivation & Objective

  • Motivate and analyze how pre-trained CNN features can be effectively transferred to new image search/classification tasks.
  • Evaluate the impact of input image size, pooling on intermediate layers, and multi-layer feature fusion.
  • Propose practical recommendations to improve transfer performance across benchmarks.

Proposed method

  • Pool features from CNN layers using average or max pooling to create compact vectors.
  • Fuse pooled features across multiple layers to capture multi-scale information.
  • Use a late fusion strategy (Query Adaptive Fusion) for image search to adapt feature weights by query.
  • Evaluate pooling and size effects with VGGNet (and AlexNet) on 10 benchmarks (3 search, 7 classification).
  • Train/evaluate with scale-1.0 larger-input protocol keeping aspect ratio; compare against 224/227 inputs.

Experimental results

Research questions

  • RQ1Does using larger input sizes improve CNN feature transfer performance across datasets?
  • RQ2Do average/max pooling of intermediate CNN layers improve invariance and accuracy for transfer tasks?
  • RQ3Is fusing pooled features from multiple CNN layers beneficial for image search and classification?
  • RQ4How do bottom (Conv) features compare to FC features in transfer settings, and in which tasks are mid-level features advantageous?

Key findings

  • Larger input images consistently improve search and classification accuracy across datasets.
  • Average pooling (and to a lesser extent max pooling) of Conv5 features yields competitive or superior results to FC features in several tasks.
  • Fusion of pooled features from multiple CNN layers yields consistent improvements in both image search and classification.
  • Conv5 with pooling approaches FC6/FC7 in several transfer tasks, especially fine-grained and scene classification.
  • Multi-layer fusion improves Holidays, Ukbench, and Oxford5k mAP/N-S scores by notable margins (e.g., Holidays +7.49% mAP for query adaptive fusion, Oxford5k +11.12%).
  • Fusion across seven layers for classification yields gains across Bird, Flower, Indoor, SUN, Caltech-101, Caltech-256, and VOC’07 (explicit gains listed in the text).
  • In image search, the proposed method achieves mAP 84.2% (Holidays) and 71.3% (Oxford5k) with VGG, and 3.75 N-S on Ukbench; re-ranking further improves these numbers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.