Predicting the generalization gap in neural networks using topological data analysis

Rubén Ballester, Xavier Arnal Clemente, Carles Casacuberta, Meysam Madadi, Ciprian A. Corneanu +1 more
3/23/2022
cs.LGmath.AT

Official code: rballeba/PredictingGeneralizationGapUsingPersistentHomology (0 stars, Python, last commit 2023-08-06).

Abstract

Understanding how neural networks generalize on unseen data is crucial for designing more robust and reliable models. In this paper, we study the generalization gap of neural networks using methods from topological data analysis.

Show full abstract

For this purpose, we compute homological persistence diagrams of weighted graphs constructed from neuron activation correlations after a training phase, aiming to capture patterns that are linked to the generalization capacity of the network. We compare the usefulness of different numerical summaries from persistence diagrams and show that a combination of some of them can accurately predict and partially explain the generalization gap without the need of a test set. Evaluation on two computer vision recognition tasks (CIFAR10 and SVHN) shows competitive generalization gap prediction when compared against state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

01Python, DockerfileJul 16, 20233 years ago

Similar Papers

Cite this paper

@article{ballester2022predicting,
  title  = {Predicting the generalization gap in neural networks using topological data analysis},
  author = {Rubén Ballester and Xavier Arnal Clemente and Carles Casacuberta and Meysam Madadi and Ciprian A. Corneanu and Sergio Escalera},
  year   = {2022},
  eprint = {2203.12330},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.12330}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.12330.svg)](https://codeofpaper.com/paper/2203.12330)

Discussion