Representation Quality Of Neural Networks Links To Adversarial Attacks and Defences

Shashank Kotyan, Danilo Vasconcellos Vargas, Moe Matsuki
6/15/2019
cs.CVcs.LGcs.NE

Official code: shashankkotyan/RepresentationMetrics (3 stars, Python, MIT, last commit 2023-12-17).

Abstract

Neural networks have been shown vulnerable to a variety of adversarial algorithms. A crucial step to understanding the rationale for this lack of robustness is to assess the potential of the neural networks' representation to encode the existing features.

Show full abstract

Here, we propose a method to understand the representation quality of the neural networks using a novel test based on Zero-Shot Learning, entitled Raw Zero-Shot. The principal idea is that, if an algorithm learns rich features, such features should be able to interpret "unknown" classes as an aggregate of previously learned features. This is because unknown classes usually share several regular features with recognised classes, given the features learned are general enough. We further introduce two metrics to assess these learned features to interpret unknown classes. One is based on inter-cluster validation technique (Davies-Bouldin Index), and the other is based on the distance to an approximated ground-truth. Experiments suggest that adversarial defences improve the representation of the classifiers, further suggesting that to improve the robustness of the classifiers, one has to improve the representation quality also. Experiments also reveal a strong association (a high Pearson Correlation and low p-value) between the metrics and adversarial attacks. Interestingly, the results indicate that dynamic routing networks such as CapsNet have better representation while current deeper neural networks are trading off representation quality for accuracy. Code available at http://bit.ly/RepresentationMetrics.

View on arXivView PDF

Code Implementations(1)

MIT

This github repository contains the official code for the paper, "Representation Quality Explains Adversarial Attacks"

30Python, ShellMay 28, 20192 years agoMIT
adversarial-attacksadversarial-machine-learningdanilo-vasconcellos-vargasdbideep-learning+9 more

Similar Papers

Cite this paper

@article{kotyan2019representation,
  title  = {Representation Quality Of Neural Networks Links To Adversarial Attacks and Defences},
  author = {Shashank Kotyan and Danilo Vasconcellos Vargas and Moe Matsuki},
  year   = {2019},
  eprint = {1906.06627},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.06627}
}

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

Discussion