Exploring the Knowledge Embedded in Class Visualizations and Their Application in Dataset and Extreme Model Compression
Source abstract
Abstract
Artificial neural networks are efficient learning algorithms that are considered to be universal approximators for solving numerous real-world problems in areas such as computer vision, language processing, or reinforcement learning. To approximate any given function, neural networks train a large number of parameters—up to millions, or even billions in some cases. The large number of parameters and hidden layers in neural networks make them hard to interpret, which is why they are often referred to as black boxes. In the quest to make artificial neural networks interpretable in the field of computer vision, feature visualization stands out as one of the most developed and promising research directions. While feature visualizations are a valuable tool to gain insights about the underlying function learned by the network, they are still considered to be simple visual aids requiring human interpretation. In this paper, we propose that feature visualizations—class visualizations in particular—are analogous to mental imagery in humans, resembling the experience of seeing or perceiving the actual training data. Therefore, we propose that class visualizations contain embedded knowledge that can be exploited in a more automated manner. We present a series of experiments that shed light on the nature of class visualizations and demonstrate that class visualizations can be considered a conceptual compression of the data used to train the underlying model. Finally, we show that class visualizations can be regarded as convolutional filters and experimentally show their potential for extreme model compression purposes.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Human Pose and Action Recognition · Neural Networks and Applications · Advanced Vision and Imaging
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Engineering and Sciences, Tecnologico de Monterrey, Monterrey 64849, Mexico
References (44)
Show source-provided references
1. Approximation by superpositions of a sigmoidal function10.1007/BF02551274 ↗
2. Approximation Capabilities of Multilayer Feedforward Networks10.1016/0893-6080(91)90009-T ↗
3. Multilayer Feedforward Networks Are Universal Approximators10.1016/0893-6080(89)90020-8 ↗
4. Deep Convolutional Neural Networks for Image Classification: A Comprehensive Review10.1162/neco_a_00990 ↗
5. Auli, M., Galley, M., Quirk, C., and Zweig, G. (2013, January 18–21). Joint Language and Translation Modeling with Recurrent Neural Networks. Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, Seattle, WA, USA.
6. Lange, S., and Riedmiller, M. (2010, January 18–23). Deep auto-encoder neural networks in reinforcement learning. Proceedings of the 2010 International Joint Conference on Neural Networks (IJCNN), Barcelona, Spain.10.1109/IJCNN.2010.5596468 ↗
7. Arik, S.O., Chrzanowski, M., Coates, A., Diamos, G., Gibiansky, A., Kang, Y., Li, X., Miller, J., Ng, A., and Raiman, J. (2017, January 6–11). Deep Voice: Real-Time Neural Text-to-Speech. Proceedings of the 34th International Conference on Machine Learning (ICML’17), Sydney, NSW, Australia.
8. Nishimura, M., Hashimoto, K., Oura, K., Nankaku, Y., and Tokuda, K. (2016, January 8–12). Singing Voice Synthesis Based on Deep Neural Networks. Proceedings of the INTERSPEECH, San Francisco, CA, USA.10.21437/Interspeech.2016-1027 ↗
9. ImageNet Classification with Deep Convolutional Neural Networks
10. Pereira, F., Burges, C.J.C., Bottou, L., and Weinberger, K.Q. (2012). Large Scale Distributed Deep Networks. Advances in Neural Information Processing Systems 25, Curran Associates, Inc.
11. Fukui, M., Kokubun, G., and Nozaki, T. (2020, January 26–28). Visualization of Important Human Motion Feature Using Convolutional Neural Network. Proceedings of the 2020 IEEE International Conference on Industrial Technology (ICIT), Buenos Aires, Argentina.10.1109/ICIT45562.2020.9067143 ↗
12. Illuminating the “black box”: A randomization approach for understanding variable contributions in artificial neural networks10.1016/S0304-3800(02)00064-9 ↗
13. Tzeng, F., and Ma, K. (2005, January 23–28). Opening the black box—Data driven visualization of neural networks. Proceedings of the 2005 IEEE Conference on Visualization (VIS 05), Minneapolis, MN, USA.
14. Olah, C., Mordvintsev, A., and Schubert, L. (2017). Feature Visualization. Distill, 2.10.23915/distill.00007 ↗
15. Simonyan, K., Vedaldi, A., and Zisserman, A. (2013). Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps. arXiv.
16. Mordvintsev, A., Olah, C., and Tyka, M. (2021, September 05). Inceptionism: Going Deeper into Neural Networks. Available online: https://ai.googleblog.com/2015/06/inceptionism-going-deeper-into-neural.html.
17. Nguyen, A., Yosinski, J., and Clune, J. (2015, January 7–12). Deep Neural Networks Are Easily Fooled: High Confidence Predictions for Unrecognizable Images. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA.10.1109/CVPR.2015.7298640 ↗
18. Szegedy, C., Zaremba, W., Sutskever, I., Bruna, J., Erhan, D., Goodfellow, I.J., and Fergus, R. (2013). Intriguing properties of neural networks. arXiv.
19. Mahendran, A., and Vedaldi, A. (2015, January 7–12). Understanding Deep Image Representations by Inverting Them. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA.10.1109/CVPR.2015.7299155 ↗
20. Wei, D., Zhou, B., Torralba, A., and Freeman, W.T. (2015). Understanding Intra-Class Knowledge Inside CNN. arXiv.
21. Erhan, D., Bengio, Y., Courville, A., and Vincent, P. (2009). Visualizing Higher-Layer Features of a Deep Network, Univeristé de Montréal. Technical Report.
22. Imagination and Thinking
23. Richardson, A.W. (1969). Mental Imagery, Routledge.10.1007/978-3-662-37817-5 ↗
24. Reinterpreting visual patterns in mental imagery10.1207/s15516709cog1301_2 ↗
25. Fleet, D., Pajdla, T., Schiele, B., and Tuytelaars, T. (2014). Visualizing and Understanding Convolutional Networks. Computer Vision–ECCV 2014, Springer International Publishing.10.1007/978-3-319-10599-4 ↗
26. Goodfellow, I.J., Shlens, J., and Szegedy, C. (2014). Explaining and Harnessing Adversarial Examples. arXiv.
27. Visualizing Deep Convolutional Neural Networks Using Natural Pre-images10.1007/s11263-016-0911-8 ↗
28. Yosinski, J., Clune, J., Nguyen, A., Fuchs, T., and Lipson, H. (2015, January 6–11). Understanding Neural Networks Through Deep Visualization. Proceedings of the 32nd Deep Learning Workshop, International Conference on Machine Learning (ICML), Lille, France.
29. Zhang, C., Bengio, S., Hardt, M., Recht, B., and Vinyals, O. (2017, January 24–26). Understanding deep learning requires rethinking generalization. Proceedings of the 5th International Conference on Learning Representations, ICLR 2017, Toulon, France.
30. Ghahramani, Z., Welling, M., Cortes, C., Lawrence, N.D., and Weinberger, K.Q. (2014, January 8–13). Identifying and attacking the saddle point problem in high-dimensional non-convex optimization. Proceedings of the Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, Montreal, QC, Canada.
31. Flat Minima10.1162/neco.1997.9.1.1 ↗
32. Buciluǎ, C., Caruana, R., and Niculescu-Mizil, A. (2006, January 20–23). Model Compression. Proceedings of the 12th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD ’06), Philadelphia, PA, USA.10.1145/1150402.1150464 ↗
33. Hinton, G., Vinyals, O., and Dean, J. (2015, January 11). Distilling the Knowledge in a Neural Network. Proceedings of the NIPS Deep Learning and Representation Learning Workshop, Montreal, QC, Canada.
34. Ghahramani, Z., Welling, M., Cortes, C., Lawrence, N.D., and Weinberger, K.Q. (2014). Do Deep Nets Really Need to be Deep?. Advances in Neural Information Processing Systems 27, Curran Associates, Inc.
35. Olfactory Activity During Imagery Mimics That During Perception10.1038/nn1145 ↗
36. Remembering emotional events10.3758/BF03199665 ↗
37. Paivio, A. (1990). Mental Representations: A Dual Coding Approach, Oxford University Press.10.1093/acprof:oso/9780195066661.001.0001 ↗
38. Perceptual symbol systems10.1017/S0140525X99002149 ↗
39. Furnishing the Mind: Concepts and their Perceptual Basis10.1023/B:MESC.0000005815.50832.47 ↗
40. Eysenck, M.W., and Brysbaert, B. (2018). Fundamentals of Cognition, Psychology Press. [3rd ed.].10.4324/9781315617633 ↗
41. Mental Simulation as Substitute for Experience10.1111/spc3.12257 ↗
42. Gradient-based learning applied to document recognition10.1109/5.726791 ↗
43. Xiao, H., Rasul, K., and Vollgraf, R. (2017). Fashion-MNIST: A Novel Image Dataset for Benchmarking Machine Learning Algorithms. arXiv.
44. Krizhevsky, A. (2009). Learning Multiple Layers of Features from Tiny Images, University of Toronto. Technical Report.