Adversary Detection in Neural Networks via Persistent Homology

Thomas Gebhart, Paul Schrater
11/28/2017
cs.LGstat.ML

Official code: tgebhart/tf_activation (7 stars, Jupyter Notebook, last commit 2018-11-16).

Abstract

We outline a detection method for adversarial inputs to deep neural networks. By viewing neural network computations as graphs upon which information flows from input space to out- put distribution, we compare the differences in graphs induced by different inputs.

Show full abstract

Specifically, by applying persistent homology to these induced graphs, we observe that the structure of the most persistent subgraphs which generate the first homology group differ between adversarial and unperturbed inputs. Based on this observation, we build a detection algorithm that depends only on the topological information extracted during training. We test our algorithm on MNIST and achieve 98% detection adversary accuracy with F1-score 0.98.

View on arXivView PDF

Code Implementations(1)

71Jupyter Notebook, PythonJul 26, 20178 years ago

Similar Papers

Cite this paper

@article{gebhart2017adversary,
  title  = {Adversary Detection in Neural Networks via Persistent Homology},
  author = {Thomas Gebhart and Paul Schrater},
  year   = {2017},
  eprint = {1711.10056},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.10056}
}

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

Discussion