🤖 AI Summary
The black-box nature of deep learning models severely hampers their interpretability and trustworthy deployment. To address this, we introduce persistent homology—rooted in algebraic topology—to analyze deep neural network representations for the first time. Our method quantifies topological structures (e.g., connected components, loops) in layer-wise neural activations, thereby characterizing the evolution of class separability, feature disentanglement, and robustness across training and inference. Integrating topological feature extraction with multi-view visualizations—including Sankey diagrams, heatmaps, dendrograms, and dot plots—we conduct systematic evaluation on CIFAR-10/100 and ImageNet using diverse architectures (ResNet, ViT). Results demonstrate that our topology-derived metrics effectively predict representation quality and uncover robustness boundaries under model compression. This work establishes the first algebraic-topology-based interpretability framework for deep representations, enabling principled, geometry-aware analysis of learned features.
📝 Abstract
Deep learning models have achieved remarkable success across various domains, yet their learned representations and decision-making processes remain largely opaque and hard to interpret. This work introduces HOLE (Homological Observation of Latent Embeddings), a method for analyzing and interpreting deep neural networks through persistent homology. HOLE extracts topological features from neural activations and presents them using a suite of visualization techniques, including Sankey diagrams, heatmaps, dendrograms, and blob graphs. These tools facilitate the examination of representation structure and quality across layers. We evaluate HOLE on standard datasets using a range of discriminative models, focusing on representation quality, interpretability across layers, and robustness to input perturbations and model compression. The results indicate that topological analysis reveals patterns associated with class separation, feature disentanglement, and model robustness, providing a complementary perspective for understanding and improving deep learning systems.