Skip to main content
QUICK REVIEW

[Paper Review] Feature Representation in Convolutional Neural Networks

Ben Athiwaratkun, Keegan Kang|arXiv (Cornell University)|Jul 8, 2015
Advanced Neural Network ApplicationsComputer Science9 references79 citations
TL;DR

This paper demonstrates that lower-layer convolutional features from suboptimal or undertrained CNNs outperform top-layer features (e.g., final fully connected layer) when used with traditional ML models like Random Forest and SVM for image classification. The key contribution is showing that CNN features, especially from earlier layers, yield higher accuracy than the original CNN itself, offering a more efficient and effective alternative for transfer learning.

ABSTRACT

Convolutional Neural Networks (CNNs) are powerful models that achieve impressive results for image classification. In addition, pre-trained CNNs are also useful for other computer vision tasks as generic feature extractors. This paper aims to gain insight into the feature aspect of CNN and demonstrate other uses of CNN features. Our results show that CNN feature maps can be used with Random Forests and SVM to yield classification results that outperforms the original CNN. A CNN that is less than optimal (e.g. not fully trained or overfitting) can also extract features for Random Forest/SVM that yield competitive classification accuracy. In contrast to the literature which uses the top-layer activations as feature representation of images for other tasks, using lower-layer features can yield better results for classification.

Motivation & Objective

  • To investigate whether features extracted from convolutional neural networks (CNNs) can improve image classification performance beyond the original CNN's accuracy.
  • To evaluate the effectiveness of features from different layers of a CNN, particularly comparing lower-layer and top-layer features.
  • To explore whether suboptimal or overfit CNNs can still serve as effective feature extractors for downstream tasks.
  • To demonstrate that traditional machine learning models (Random Forest, SVM) can outperform the original CNN when trained on CNN-derived features.
  • To provide interpretability of learned features via visualization techniques like DeConvNet to support biological classification tasks.

Proposed method

  • Trained three custom CNN architectures (CNN1, CNN2, CNN3) on a plankton image dataset with 121 classes, using ReLU activation, max-pooling, and stochastic gradient descent with momentum.
  • Extracted feature maps from multiple layers of each trained CNN, including both early (convolutional) and late (fully connected) layers.
  • Used the extracted feature maps as input to traditional classifiers—Random Forest and SVM—instead of relying on the CNN’s final softmax layer.
  • Applied DeConvNet (deconvolutional networks) to visualize and interpret the learned features, linking feature patterns to visual characteristics of plankton.
  • Performed hierarchical clustering on feature vectors to generate dendrograms that reflect visual similarity between plankton classes.
  • Evaluated performance using standard metrics (accuracy) and compared results across CNN-only models and CNN-feature-based models.

Experimental results

Research questions

  • RQ1Can features from lower layers of a CNN yield better classification performance than features from the final fully connected layer when used with traditional ML models?
  • RQ2Does a suboptimal or overfit CNN still extract useful features that can outperform its own classification accuracy when used with Random Forest or SVM?
  • RQ3Can CNN features, especially from early layers, be used effectively for transfer learning in image classification tasks with limited data?
  • RQ4How do the visual patterns of learned features relate to biological or visual characteristics of the input images, and can they support phenetic classification?
  • RQ5Is there a significant performance gain in using CNN features with traditional models compared to using the CNN’s own classification head?

Key findings

  • Using features from lower convolutional layers (e.g., after first or second max-pooling) with Random Forest or SVM yielded higher classification accuracy than using the final fully connected layer features.
  • Even a CNN that was not fully trained or showed signs of overfitting still extracted features that enabled Random Forest and SVM to achieve competitive or superior accuracy compared to the original CNN.
  • The combination of CNN features and traditional models (Random Forest/SVM) outperformed the original CNN’s own classification performance on the plankton dataset.
  • Hierarchical clustering based on feature vectors revealed meaningful groupings of plankton classes, with similar classes showing highly correlated feature activations.
  • Feature visualization using DeConvNet showed that specific features (e.g., Feature 5 and 36) corresponded to interpretable visual patterns like 'membranes' and 'porous body', supporting biological interpretability.
  • The dendrogram generated from feature similarity closely matched visual similarity, suggesting that CNN features can serve as a 'dichotomous key' for biological classification.

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.