Introduction
Despite the transformative success of deep neural networks, they are frequently criticized as "black boxes." While their predictive power is undeniable, the internal logic—the specific features and concepts they rely on—remains largely opaque. Existing interpretability methods typically focus on either pixel-level feature attribution or supervised concept-based explanations, which require human-labeled data. This paper introduces an unsupervised framework that leverages coupled matrix factorization (CMF) to discover and visualize the abstract concepts learned by Convolutional Neural Networks (CNNs) without human intervention.
Methodology: Coupled Matrix Factorization
The core of the proposed framework is a Coupled Matrix Factorization (CMF) approach. This method decomposes internal network activations and raw input pixels into a shared latent space, effectively creating a bridge that links three distinct modalities:
- Pixels ($P$): Identifying the spatial structures corresponding to a concept.
- Neurons ($O$): Determining which groups of neurons co-activate for a specific concept.
- Examples ($F$): Identifying which specific images are representative of a concept.
By enforcing non-negativity constraints, the authors ensure that concepts are additive and interpretable. This layer-wise analysis allows researchers to track the evolution of concepts from low-level edges to complex semantic objects as data progresses through the network.
Emergent Semantics and the "Diagonalization" of Knowledge
A key finding is the emergence of semantic clusters without explicit supervision. For instance, the model successfully grouped images into categories like "trees" (willow, pine, oak) or "insects" (bee, beetle, spider) based solely on internal activations.
One of the most significant observations is the "diagonalization" of knowledge across layers. In early layers, neural representations are often overlapping and "messy." However, as data moves deeper into the ResNet architecture, the similarity matrices become increasingly diagonal. This indicates that the network is successfully disentangling concepts, making them more distinct and independent as it nears the final classification layer.
Quantitative Validation and Spatial Masking
To validate these unsupervised discoveries, the authors employed Testing with Concept Activation Vectors (TCAV). The discovered factors yielded high TCAV scores (often >0.8), confirming that these unsupervised "concepts" are indeed influential in the network's decision-making process.
Furthermore, the framework enables joint exploration of neurons and pixels. Spatial masking provides a visual representation of where a concept is located within an image. For example, a "mountain" concept might activate primarily on blue pixels at the top (representing the sky) and green or red pixels in the lower regions (representing terrain), providing a structural map of the concept.
Conclusion and Future Work
This unsupervised framework demonstrates that CNNs learn broad, reusable, and disentangled concepts that can be identified and visualized. While currently focused on standard CNN architectures like ResNet and VGG, future work aims to scale this approach to larger models and expand into other domains such as Natural Language Processing (NLP) and recommendation systems.
Summary updated