[Paper Review] On the Behavior of Convolutional Nets for Feature Extraction
This paper proposes a statistical analysis of individual convolutional neural network (CNN) features across all layers to assess their discriminative power for knowledge representation. By measuring feature activations by presence and absence across 11 datasets, it demonstrates that low- and middle-level features carry significant discriminative information beyond high-level features, and introduces a noise-thresholding method to retain over 50% of relevant features, enabling richer, full-network embeddings for transfer learning and reasoning tasks.
Deep neural networks are representation learning techniques. During training, a deep net is capable of generating a descriptive language of unprecedented size and detail in machine learning. Extracting the descriptive language coded within a trained CNN model (in the case of image data), and reusing it for other purposes is a field of interest, as it provides access to the visual descriptors previously learnt by the CNN after processing millions of images, without requiring an expensive training phase. Contributions to this field (commonly known as feature representation transfer or transfer learning) have been purely empirical so far, extracting all CNN features from a single layer close to the output and testing their performance by feeding them to a classifier. This approach has provided consistent results, although its relevance is limited to classification tasks. In a completely different approach, in this paper we statistically measure the discriminative power of every single feature found within a deep CNN, when used for characterizing every class of 11 datasets. We seek to provide new insights into the behavior of CNN features, particularly the ones from convolutional layers, as this can be relevant for their application to knowledge representation and reasoning. Our results confirm that low and middle level features may behave differently to high level features, but only under certain conditions. We find that all CNN features can be used for knowledge representation purposes both by their presence or by their absence, doubling the information a single CNN feature may provide. We also study how much noise these features may include, and propose a thresholding approach to discard most of it. All these insights have a direct application to the generation of CNN embedding spaces.
Motivation & Objective
- To understand the discriminative behavior of individual features across all layers of a pre-trained CNN, especially convolutional layers.
- To investigate whether features can represent classes through absence as well as presence, enabling new modalities for knowledge representation.
- To evaluate the generalization potential of low- and middle-level features across diverse datasets without fine-tuning.
- To develop a thresholding strategy to filter out noise in CNN features while preserving discriminative information.
- To demonstrate that full-network embeddings—using features from all layers—can outperform traditional single-layer embeddings in downstream tasks.
Proposed method
- Utilized a pre-trained VGG16 network on ImageNet 2012 as a feature extractor for 11 diverse target datasets (e.g., MIT67, CUB200, Flowers102).
- Measured inner-class and outer-class activation distributions for every individual feature in every layer to assess discriminative power.
- Proposed a noise estimation method using randomized datasets to define a conservative threshold for feature relevance.
- Classified features as relevant if their inner-class activation exceeded the outer-class activation by a threshold derived from noise baseline.
- Evaluated feature relevance across all layers and datasets to identify consistent patterns in presence/absence signaling.
- Constructed full-network embeddings by combining relevant features from all layers, using both presence and absence signals.
Experimental results
Research questions
- RQ1Can individual CNN features represent classes through their absence as well as their presence, and how does this affect knowledge representation?
- RQ2How do the discriminative behaviors of low-, middle-, and high-level features differ across diverse datasets?
- RQ3To what extent do features from lower convolutional layers generalize across datasets without fine-tuning?
- RQ4What is the optimal threshold for filtering out noise in CNN features while preserving discriminative relevance?
- RQ5Can full-network embeddings—using features from all layers—outperform single-layer embeddings in classification and multimodal tasks?
Key findings
- Features from all layers, including low- and middle-level convolutional layers, exhibit discriminative power for all 11 evaluated datasets, proving that no class is indescribable in the CNN’s representation space.
- More than half of the features in the embedding space remain relevant after applying a conservative noise threshold, indicating that a significant portion of features carry non-random, discriminative information.
- Low- and middle-level features show consistent behavior across datasets, suggesting they generalize well and can be used for knowledge representation without task-specific fine-tuning.
- Fully-connected layer features are highly specific—either strongly characteristic of a class or irrelevant—while convolutional features often signal class membership through absence, offering a complementary information modality.
- The behavior of fully-connected features in out-of-domain tasks (no intersection with ImageNet) is statistically similar to that of convolutional features, suggesting they can be treated analogously in knowledge representation pipelines.
- Full-network embeddings that incorporate features from all layers, using both presence and absence signals, outperform single-layer embeddings in classification and multimodal tasks such as image captioning and retrieval.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.