Visualizing and Understanding Convolutional Networks
Written for the Research library (claude-opus-5-5) from the paper text, in our own words: the license "arXiv — non-exclusive licence to distribute" does not allow redistributing the text itself. Original — arxiv.org/pdf/1311.2901
Summary
Large convnets such as the Krizhevsky et al. (2012) ImageNet model classify images very well, but it is hard to see what their inner layers compute. Without that view, improving them comes down to trial and error. Zeiler and Fergus propose a diagnostic tool. A Deconvolutional Network (deconvnet) is attached to a trained convnet and maps any chosen activation back to pixel space. It does this by unpooling with recorded max-location "switches", rectifying, and applying the transposed filters. They add occlusion-based sensitivity tests and an ablation study of individual layers. Their model was trained on ImageNet 2012 (1.3M images, 1000 classes). The visualizations show that the features become more compositional, more invariant and more class-specific in higher layers. They also exposed defects in the first two layers, and fixing these gave an architecture that beats Krizhevsky et al. on ImageNet. When only the softmax is retrained, the features transfer well and set new records on Caltech-101 and Caltech-256. This work helped establish supervised ImageNet pre-training as a general-purpose feature extractor and made convnet interpretability a practical debugging method.
Key points
- The deconvnet is not trained. It acts only as a probe that reuses the convnet's own filters (flipped) and the pooling switches recorded for a given input.
- Training setup: SGD with batch 128, learning rate 10⁻², momentum 0.9, dropout 0.5 in layers 6–7, and filter RMS renormalization to radius 10⁻¹. Training ran 70 epochs, about 12 days on one GTX580.
- Caltech-101 (30 images/class): 86.5% accuracy against the previous best of 84.3%. The same network trained from scratch reaches only 46.5%.
- Caltech-256 (60 images/class): 74.2% against 55.2% for Bo et al. (2013). About 6 training images per class are enough to beat the previous best method, which used roughly ten times as many.
- PASCAL 2012: mean accuracy is 79.0% against 82.2% for the leading method, but the model wins on 5 classes. Layer-wise SVM/softmax probes show accuracy rising steadily with depth, and the ablation shows that overall network depth matters more than any single layer.
Cited by
- Understanding intermediate layers using linear classifier probes
- On the Opportunities and Risks of Foundation Models
- Visualizing and Measuring the Geometry of BERT
- Long-term Recurrent Convolutional Networks for Visual Recognition and Description
- Visualizing and Understanding Neural Models in NLP
- Dissecting Contextual Word Embeddings: Architecture and Representation
- Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks
- Learning to Generate Reviews and Discovering Sentiment
- Learning Transferable Visual Models From Natural Language Supervision
- DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale
- FaceNet: A Unified Embedding for Face Recognition and Clustering
- Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization
- Learning Important Features Through Propagating Activation Differences
- Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps
- Very Deep Convolutional Networks for Large-Scale Image Recognition
- Intriguing properties of neural networks
- Inference is Everything: Recasting Semantic Resources into a Unified Evaluation Framework
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference
- Socratic Models: Composing Zero-Shot Multimodal Reasoning with Language
- Representation Engineering: A Top-Down Approach to AI Transparency
Cite
@misc{zeiler2013visualizing,
title = {{Visualizing and Understanding Convolutional Networks}},
author = {Zeiler, Matthew D and Fergus, Rob},
year = {2013},
doi = {10.48550/arxiv.1311.2901},
eprint = {1311.2901},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1311.2901}
}References
- Bengio, Y., Lamblin, P., Popovici, D., and Larochelle, H. Greedy layer-wise training of deep networks. In NIPS, pp. 153–160, 2007. find
- Berkes, P. and Wiskott, L. On the analysis and interpretation of inhomogeneous quadratic forms as receptive fields. Neural Computation, 2006. find
- Bo, L., Ren, X., and Fox, D. Multipath sparse coding using hierarchical matching pursuit. In CVPR, 2013. find
- Ciresan, D. C., Meier, J., and Schmidhuber, J. Multi-column deep neural networks for image classification. In CVPR, 2012. find
- Dalal, N. and Triggs, B. Histograms of oriented gradients for pedestrian detection. In CVPR, 2005. find
- Donahue, J., Jia, Y., Vinyals, O., Hoffman, J., Zhang, N., Tzeng, E., and Darrell, T. DeCAF: A deep convolutional activation feature for generic visual recognition. In arXiv:1310.1531, 2013. find
- Erhan, D., Bengio, Y., Courville, A., and Vincent, P. Visualizing higher-layer features of a deep network. In Technical report, University of Montreal, 2009. find
- Fei-fei, L., Fergus, R., and Perona, P. One-shot learning of object categories. IEEE Trans. PAMI, 2006. find
- Griffin, G., Holub, A., and Perona, P. The caltech 256. In Caltech Technical Report, 2006. find
- Gunji, N., Higuchi, T., Yasumoto, K., Muraoka, H., Ushiku, Y., Harada, T., and Kuniyoshi, Y. Classification entry. In Imagenet Competition, 2012. find
- Hinton, G. E., Osindero, S., and The, Y. A fast learning algorithm for deep belief nets. Neural Computation, 18:1527–1554, 2006. find
- Hinton, G.E., Srivastave, N., Krizhevsky, A., Sutskever, I., and Salakhutdinov, R. R. Improving neural networks by preventing co-adaptation of feature detectors. arXiv:1207.0580, 2012. find
- Jarrett, K., Kavukcuoglu, K., Ranzato, M., and Le-Cun, Y. What is the best multi-stage architecture for object recognition? In ICCV, 2009. find
- Jianchao, Y., Kai, Y., Yihong, G., and Thomas, H. Linear spatial pyramid matching using sparse coding for image classification. In CVPR, 2009. find
- Krizhevsky, A., Sutskever, I., and Hinton, G.E. Imagenet classification with deep convolutional neural networks. In NIPS, 2012. find
- Le, Q. V., Ngiam, J., Chen, Z., Chia, D., Koh, P., and Ng, A. Y. Tiled convolutional neural networks. In NIPS, 2010. find
- LeCun, Y., Boser, B., Denker, J. S., Henderson, D., Howard, R. E., Hubbard, W., and Jackel, L. D. Backpropagation applied to handwritten zip code recognition. Neural Comput., 1(4):541–551, 1989. find
- Sande, K., Uijlings, J., Snoek, C., and Smeulders, A. Hybrid coding for selective search. In PASCAL VOC Classification Challenge 2012, 2012. find
- Sohn, K., Jung, D., Lee, H., and Hero III, A. Efficient learning of sparse, distributed, convolutional feature representations for object recognition. In ICCV, 2011. find
- Torralba, A. and Efros, A. A. Unbiased look at dataset bias. In CVPR, 2011. find
- Vincent, P., Larochelle, H., Bengio, Y., and Manzagol, P. A. Extracting and composing robust features with denoising autoencoders. In ICML, pp. 1096– 1103, 2008. find
- Yan, S., Dong, J., Chen, Q., Song, Z., Pan, Y., Xia, W., Huang, Z., Hua, Y., and Shen, S. Generalized hierarchical matching for sub-category aware object classification. In PASCAL VOC Classification Challenge 2012, 2012. find
- Zeiler, M., Taylor, G., and Fergus, R. Adaptive deconvolutional networks for mid and high level feature learning. In ICCV, 2011. find