Introduction
By 2014, Convolutional Neural Networks (CNNs) had achieved human-level performance on image classification tasks, yet they remained largely "black boxes." While researchers understood that increasing depth and width improved accuracy, the internal mechanics—specifically how information is distilled as it passes through successive layers—were poorly understood. This study "peeks under the hood" of CNNs to understand how they transform raw pixels into semantic concepts. By comparing the classic AlexNet with the deeper VGGNet, the authors demonstrate that deeper architectures are significantly better at filtering out irrelevant background noise to focus on the most discriminant parts of an image.
Methodology
The authors employ three primary techniques to probe the networks and answer how different layers organize representation space and how depth affects information retention.
Network Architectures
The study utilizes the ILSVRC2012 (ImageNet) dataset to compare two models:
- AlexCNN (AlexNet): An 8-layer model (retrained without local response normalization) achieving a 42.6% top-1 error rate.
- VGGCNN (VGG-16): A 16-layer model achieving a 29.5% top-1 error rate.
Analytical Techniques
- t-SNE Representation Mapping: Image patches are passed through specific layers, and t-SNE is used to map high-dimensional activations into a 2D space. This reveals which visual patterns the network considers similar.
- Deconvolutional Networks: Following the work of Zeiler & Fergus, internal activations are projected back into pixel space. This "reverses" the convolution process to visualize exactly which pixels triggered a specific neuron.
- Sparsity Analysis: The proportion of zero-valued activations in each layer is calculated. High sparsity suggests the network is becoming more selective and efficient in its representation.
Comparative Analysis and Key Insights
Evolution of Similarity
In lower layers (e.g., c4_1), the network groups patches based on low-level textures and simple shapes like oblique lines or fur patterns. However, by the time data reaches deeper layers (e.g., c5_3), the grouping becomes purely semantic. The network clusters complex objects like "dog faces" or "car wheels" together, regardless of their original orientation or color.
The "Background Filter" Effect
A striking insight is that deeper networks act as superior noise filters. As an image moves through VGG, the network progressively "erases" the background (sky, grass, etc.) and retains only the object necessary for classification. Visualizations show that while AlexNet often retains unrelated background information in its final convolutional layers, VGG successfully isolates the primary subject.
Sparsity and Receptive Fields
Sparsity generally increases as data moves deeper into the network. VGG exhibits higher sparsity than AlexNet in its final layers, suggesting its deeper architecture allows for a more refined, abstract language for describing objects. Furthermore, despite both models ending with similar feature map sizes, VGG’s neurons cover a larger "receptive field" on the original image, allowing it to capture more global context.
Key Results
- Qualitative Superiority: VGG demonstrates a clear ability to isolate discriminant features (e.g., a husky's face or a hatchet's head) while discarding non-essential data more effectively than AlexNet.
- Quantitative Sparsity: VGG's high-level layers show significantly higher sparsity, indicating a more sophisticated and abstract internal representation.
- Discriminant Feature Identification: In some cases, the network identifies the most discriminant feature based on statistical co-occurrences, such as focusing on a mouse's head to identify a "mousetrap."
Conclusion
While this work provides a compelling explanation for the success of deep networks through visualization, it highlights that our understanding is still evolving. Future work is needed to explore the computational trade-offs of these clearer representations and to apply these visualization techniques to more modern architectures like Inception or ResNet. A formal mathematical theory of CNN internal mechanics remains an open challenge.
Summary updated