Abstract
Deep Convolutional Neural Networks (CNNs) have been one of the most influential recent developments in computer vision, particularly for categorization. There is an increasing demand for explainable AI as these systems are deployed in the real world. However, understanding the information represented and processed in CNNs remains in most cases challenging. Within this paper, we explore the use of new information theoretic techniques developed in the field of neuroscience to enable novel understanding of how a CNN represents information. We trained a 10-layer ResNet architecture to identify 2,000 face identities from 26M images generated using a rigorously controlled 3D face rendering model that produced variations of intrinsic (i.e. face morphology, gender, age, expression and ethnicity) and extrinsic factors (i.e. 3D pose, illumination, scale and 2D translation). With our methodology, we demonstrate that unlike human's network overgeneralizes face identities even with extreme changes of face shape, but it is more sensitive to changes of texture. To understand the processing of information underlying these counterintuitive properties, we visualize the features of shape and texture that the network processes to identify faces. Then, we shed a light into the inner workings of the black box and reveal how hidden layers represent these features and whether the representations are invariant to pose. We hope that our methodology will provide an additional valuable tool for interpretability of CNNs.
Introduction
Despite the ubiquity of Deep Convolutional Neural Networks (CNNs) in computer vision, explaining how they represent information remains a significant challenge. While we can observe their high performance, we often lack an "algorithmic understanding" of their internal processes. Existing interpretability methods, such as Saliency Maps, typically identify where a network looks but fail to specify what features—such as specific bone structures versus skin patterns—are driving its decisions.
Researchers have recently adapted information-theoretic tools from neuroscience to "crack open" this black box. By treating a CNN like a subject in a neuroscience experiment, this study investigates whether a well-constrained network learns the same mid-to-high-level features as the human visual hierarchy. The findings reveal a fundamental departure from human biology: while humans are highly sensitive to 3D facial shape, CNNs rely predominantly on 2D texture.
Methodology and Data
The study employed a multi-disciplinary approach centered on a massive, custom-generated dataset of 26 million face images. Unlike "in-the-wild" photos, these images were created using a Generalized Linear Model (GLM) to build a 3D face generative model. This allowed for the independent manipulation of intrinsic factors (shape, age, gender, ethnicity) and extrinsic factors (pose, lighting, scale).
To analyze the network's internal logic, the researchers used several advanced techniques:
- Psychophysical Reverse Correlation: By adding multivariate Gaussian noise to 3D shapes and 2D textures, they identified which specific vertices and pixels were "diagnostic" for identity.
- Gaussian-Copula Mutual Information (GCMI): This quantified the relationship between stimulus variations and the responses of hidden layers.
- Redundancy Analysis: A novel metric was used to separate features that are merely represented in a hidden layer from those that are actually inherited and utilized by the final decision layer.
Key Results and Insights
The ResNet-10 model achieved over 99.9% accuracy across all standard test variations. However, stress testing revealed a significant "texture bias."
Texture is King
When facial shape was held constant and texture was varied with noise, the network's accuracy dropped to approximately 55%. Conversely, when texture was held constant and the 3D shape was heavily distorted, accuracy remained at 100%. This suggests the network overgeneralizes identity based on surface patterns while ignoring structural "common sense."
The "Grotesque" Generalization
In adversarial testing, the network continued to identify highly distorted, "grotesque" faces as the target identity with over 94% accuracy. This further confirms that the network's internal representation of identity is fundamentally different from the human brain's shape-sensitive processing.
Viewpoint Divergence and Information Filtering
Information-theoretic analysis showed that hidden layers represent shape in a viewpoint-dependent manner, whereas texture representation becomes viewpoint-invariant much earlier in the hierarchy. Furthermore, while hidden layers represent a vast array of features, the final decision layer filters these down to a specific subset of diagnostic features, such as the jawline or forehead texture, to make a final identification.
Conclusion
This study highlights a critical divergence between artificial and biological vision: the heavy reliance on texture over structural shape. While the ResNet-10 architecture used here is relatively shallow, the methodology provides a powerful framework for evaluating deeper architectures like ResNet-152 or Vision Transformers. Future work aims to extend this approach to other object categories and to engineer more robust CNN modules capable of explicit pose estimation and illumination normalization, ultimately making AI more interpretable and resilient to adversarial attacks.
Summary updated