Topological Measurement of Deep Neural Networks Using Persistent Homology

Satoru Watanabe, Hayato Yamana
6/6/2021
cs.LGcs.AI

Official code: satoru-watanabe-aw/DNNtopology (8 stars, Jupyter Notebook, last commit 2022-01-08).

Abstract

The inner representation of deep neural networks (DNNs) is indecipherable, which makes it difficult to tune DNN models, control their training process, and interpret their outputs. In this paper, we propose a novel approach to investigate the inner representation of DNNs through topological data analysis (TDA).

Show full abstract

Persistent homology (PH), one of the outstanding methods in TDA, was employed for investigating the complexities of trained DNNs. We constructed clique complexes on trained DNNs and calculated the one-dimensional PH of DNNs. The PH reveals the combinational effects of multiple neurons in DNNs at different resolutions, which is difficult to be captured without using PH. Evaluations were conducted using fully connected networks (FCNs) and networks combining FCNs and convolutional neural networks (CNNs) trained on the MNIST and CIFAR-10 data sets. Evaluation results demonstrate that the PH of DNNs reflects both the excess of neurons and problem difficulty, making PH one of the prominent methods for investigating the inner representation of DNNs.

View on arXivView PDF

Code Implementations(1)

The source codes used in the paper "Topological Measurement of Deep Neural Networks Using Persistent Homology."

80Jupyter NotebookFeb 17, 20204 years ago

Similar Papers

Cite this paper

@article{watanabe2021topological,
  title  = {Topological Measurement of Deep Neural Networks Using Persistent Homology},
  author = {Satoru Watanabe and Hayato Yamana},
  year   = {2021},
  eprint = {2106.03016},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.03016}
}

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

Discussion