Hamming Similarity and Graph Laplacians for Class Partitioning and Adversarial Image Detection

Huma Jamil, Yajing Liu, Turgay Caglar, Christina M. Cole, Nathaniel Blanchard +2 more
5/2/2023
cs.CVmath.OC

No confident code implementation found for this paper.

Abstract

Researchers typically investigate neural network representations by examining activation outputs for one or more layers of a network. Here, we investigate the potential for ReLU activation patterns (encoded as bit vectors) to aid in understanding and interpreting the behavior of neural networks. We utilize Representational Dissimilarity Matrices (RDMs) to investigate the coherence of data within the embedding spaces of a deep neural network. From each layer of a network, we extract and utilize bit vectors to construct similarity scores between images. From these similarity scores, we build a similarity matrix for a collection of images drawn from 2 classes. We then apply Fiedler partitioning to the associated Laplacian matrix to separate the classes. Our results indicate, through bit vector representations, that the network continues to refine class detectability with the last ReLU layer achieving better than 95\% separation accuracy. Additionally, we demonstrate that bit vectors aid in adversarial image detection, again achieving over 95\% accuracy in separating adversarial and non-adversarial images using a simple classifier.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{jamil2023hamming,
  title  = {Hamming Similarity and Graph Laplacians for Class Partitioning and Adversarial Image Detection},
  author = {Huma Jamil and Yajing Liu and Turgay Caglar and Christina M. Cole and Nathaniel Blanchard and Christopher Peterson and Michael Kirby},
  year   = {2023},
  eprint = {2305.01808},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.01808v2}
}

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

Discussion