Characterizing and Measuring the Similarity of Neural Networks with Persistent Homology

David Pérez-Fernández, Asier Gutiérrez-Fandiño, Jordi Armengol-Estapé, Marta Villegas
1/19/2021
cs.LGmath.AT

Official code: asier-gutierrez/nn-similarity (6 stars, Python, last commit 2021-07-17).

Abstract

Characterizing the structural properties of neural networks is crucial yet poorly understood, and there are no well-established similarity measures between networks. In this work, we observe that neural networks can be represented as abstract simplicial complex and analyzed using their topological 'fingerprints' via Persistent Homology (PH).

Show full abstract

We then describe a PH-based representation proposed for characterizing and measuring similarity of neural networks. We empirically show the effectiveness of this representation as a descriptor of different architectures in several datasets. This approach based on Topological Data Analysis is a step towards better understanding neural networks and serves as a useful similarity measure.

View on arXivView PDF

Code Implementations(1)

A Persistent Homology based Neural Network similarity metric.

60PythonMay 31, 20215 years ago
neural-networkssimilarity-measurestopological-data-analysis

Similar Papers

Cite this paper

@article{prezfernndez2021characterizing,
  title  = {Characterizing and Measuring the Similarity of Neural Networks with Persistent Homology},
  author = {David Pérez-Fernández and Asier Gutiérrez-Fandiño and Jordi Armengol-Estapé and Marta Villegas},
  year   = {2021},
  eprint = {2101.07752},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.07752}
}

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/2101.07752.svg)](https://codeofpaper.com/paper/2101.07752)

Discussion