[Paper Review] Topological Data Analysis of Decision Boundaries with Application to Model Selection
This paper introduces topological data analysis (TDA) methods—specifically the labeled Čech complex, plain labeled Vietoris-Rips complex, and locally scaled labeled Vietoris-Rips complex—to quantify the complexity of decision boundaries in deep neural network classifiers. It demonstrates that matching the topological complexity (measured via persistent homology) of a pre-trained model to that of a dataset improves generalization, with empirical validation on MNIST, FashionMNIST, and CIFAR10 showing strong alignment between model and data complexity.
We propose the labeled \\v{C}ech complex, the plain labeled Vietoris-Rips complex, and the locally scaled labeled Vietoris-Rips complex to perform persistent homology inference of decision boundaries in classification tasks. We provide theoretical conditions and analysis for recovering the homology of a decision boundary from samples. Our main objective is quantification of deep neural network complexity to enable matching of datasets to pre-trained models; we report results for experiments using MNIST, FashionMNIST, and CIFAR10.
Motivation & Objective
- To address the challenge of selecting appropriate pre-trained deep learning models in model marketplace settings where hyperparameters cannot be tuned.
- To quantify the topological complexity of decision boundaries in classification tasks using persistent homology.
- To develop new TDA techniques tailored for labeled data and decision boundary topology, overcoming limitations of standard TDA on unlabeled point clouds.
- To enable automated, data-driven model selection by matching the topological complexity of a model’s decision boundary to that of the target dataset.
- To provide theoretical recovery guarantees for decision boundary homology under realistic sampling conditions.
Proposed method
- Introduces the labeled Čech complex as a theoretical foundation for capturing decision boundary topology, with conditions for homology recovery from sampled data.
- Proposes the plain labeled Vietoris-Rips complex as a computationally efficient alternative to the Čech complex for decision boundary analysis.
- Develops the locally scaled labeled Vietoris-Rips complex using k-nearest neighbors to estimate local data scaling, improving robustness to non-uniform sampling.
- Applies persistent homology to compute Betti numbers (e.g., H0 for connected components, H1 for holes) across scale parameters to quantify topological features.
- Uses total persistence life (sum of interval lengths in persistence diagrams) as a complexity metric for both data and model decision boundaries.
- Employs theoretical analysis to establish conditions under which the decision boundary’s homology is recoverable from finite, noisy samples.
Experimental results
Research questions
- RQ1Can topological data analysis be effectively applied to labeled data to quantify the complexity of deep neural network decision boundaries?
- RQ2What are the theoretical conditions under which persistent homology can recover the true homology of a decision boundary from finite, potentially non-uniformly sampled data?
- RQ3How can local data scaling be incorporated into TDA to improve robustness and accuracy in decision boundary analysis?
- RQ4To what extent does matching the topological complexity of a pre-trained model to that of a dataset improve generalization performance?
- RQ5Can persistent homology metrics serve as reliable, automated criteria for model selection in pre-trained model marketplaces?
Key findings
- The proposed locally scaled labeled Vietoris-Rips complex successfully recovers the homology of decision boundaries even under extreme local scaling in synthetic data experiments.
- On MNIST, FashionMNIST, and CIFAR10, the total persistence life of H0 and H1 groups in decision boundaries correlates strongly with model generalization performance.
- Models whose decision boundary complexity (measured by total persistence life) matches that of the dataset exhibit superior generalization, validating the proposed model selection strategy.
- For FashionMNIST, the highest H0 persistence life (1946.0) was observed for the 'T-shirt/top' class, while the highest H1 persistence life (692.0) was found for 'Pullover', indicating greater topological complexity in these classes.
- On CIFAR10, the 'cat' class had the highest H0 persistence life (1562.0) and H1 persistence life (480.0), reflecting higher decision boundary complexity compared to other classes.
- The results demonstrate that topological complexity metrics derived from persistent homology can serve as effective, automated criteria for selecting pre-trained models that generalize well to unseen data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.