[Paper Review] Visualizing and Comparing Convolutional Neural Networks
This paper proposes a dual visualization framework to interpret Convolutional Neural Networks (CNNs) by analyzing representation spaces via t-SNE and reconstructing input features through deconvolution. It demonstrates that deeper networks like VGGNet progressively suppress irrelevant background information, leading to superior feature discrimination and classification performance compared to shallower architectures like AlexNet.
Convolutional Neural Networks (CNNs) have achieved comparable error rates to well-trained human on ILSVRC2014 image classification task. To achieve better performance, the complexity of CNNs is continually increasing with deeper and bigger architectures. Though CNNs achieved promising external classification behavior, understanding of their internal work mechanism is still limited. In this work, we attempt to understand the internal work mechanism of CNNs by probing the internal representations in two comprehensive aspects, i.e., visualizing patches in the representation spaces constructed by different layers, and visualizing visual information kept in each layer. We further compare CNNs with different depths and show the advantages brought by deeper architecture.
Motivation & Objective
- To understand the internal working mechanism of CNNs, which remain largely a 'black box' despite strong external performance.
- To investigate how representation spaces evolve across layers in CNNs, particularly in terms of pattern organization and feature abstraction.
- To compare the feature extraction and information filtering capabilities between deeper (VGGNet) and shallower (AlexNet) CNN architectures.
- To evaluate the role of network depth in enhancing discriminative feature learning and background suppression.
Proposed method
- Visualizing representation spaces using t-SNE to project high-dimensional internal activations into 2D, revealing how similar image patches cluster by feature similarity across layers.
- Reconstructing input image patches from internal feature maps using a deconvolutional network that reverses the forward pass, preserving only the most discriminative structures.
- Applying reverse max-pooling and reverse ReLU operations to reconstruct feature maps from higher layers back to lower layers, maintaining spatial structure and activation patterns.
- Comparing VGGNet and AlexNet by analyzing reconstructed features across layers, focusing on background suppression and discriminative part retention.
- Measuring representation sparsity as the proportion of zero activations per layer to assess how effectively each network filters out non-discriminative features.
- Using the ImageNet ILSVRC2012 validation set to evaluate and visualize internal representations across multiple real-world images.
Experimental results
Research questions
- RQ1How do internal representations in CNNs evolve across layers in terms of feature abstraction and clustering?
- RQ2To what extent can deconvolutional reconstruction reveal the visual structures that activate specific filters and feature maps?
- RQ3How does network depth influence the ability of CNNs to suppress irrelevant background information during feature learning?
- RQ4What differences exist in representation sparsity and discriminative feature retention between deeper (VGGNet) and shallower (AlexNet) architectures?
Key findings
- t-SNE visualization shows that representation spaces in deeper CNNs progressively organize features from low-level textures to high-level semantic patterns across layers.
- Deconvolutional reconstruction reveals that deeper networks like VGGNet gradually remove irrelevant background content, retaining only the most discriminative parts of the image in higher layers.
- VGGNet preserves more discriminative information in its final convolutional layer compared to AlexNet, which retains more distracting background features.
- The sparsity of feature activations increases from low to high layers in both networks, but VGGNet exhibits significantly higher sparsity in high-level layers, indicating better filtering of non-relevant features.
- In cases where objects co-occur frequently (e.g., mouse and mousetrap), VGGNet’s internal representations can preserve such contextual cues, leading to correct predictions.
- The comparison confirms that deeper architectures are more effective at extracting and emphasizing discriminative visual structures, which directly contributes to improved classification accuracy.
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.