HOLE: Homological Observation of Latent Embeddings for Neural Network Interpretability
Sudhanva Manjunath Athreya, Paul Rosen
TL;DR
HOLE presents a global, topology-based framework for neural network interpretability by applying persistent homology to layer activations and visualizing the evolution of activation space structure. It deploys multiple distance metrics and three visualization modalities (Sankey diagrams, heatmap dendrograms, blob graphs) to reveal class separation, feature disentanglement, and robustness across layers and architectures. Through CIFAR-10 experiments on ResNet and ViT models, HOLE demonstrates how topological signatures shift with noise and compression, providing insights beyond accuracy metrics. The work contributes a model-agnostic workflow, quantitative topological tasks (Hierarchy, Separability, Homogeneity, Outliers), and practical tools to diagnose and guide robust, efficient neural network design.
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.
