Memory Defense: More Robust Classification via a Memory-Masking Autoencoder

Eashan Adhikarla, Dan Luo, Brian D. Davison
2/5/2022
cs.CVcs.LG

No official code found. Best implementation: eashanadhikarla/MemoryDef (5 stars, Python, MIT, PyTorch, last commit 2022-02-20).

Abstract

Many deep neural networks are susceptible to minute perturbations of images that have been carefully crafted to cause misclassification. Ideally, a robust classifier would be immune to small variations in input images, and a number of defensive approaches have been created as a result.

Show full abstract

One method would be to discern a latent representation which could ignore small changes to the input. However, typical autoencoders easily mingle inter-class latent representations when there are strong similarities between classes, making it harder for a decoder to accurately project the image back to the original high-dimensional space. We propose a novel framework, Memory Defense, an augmented classifier with a memory-masking autoencoder to counter this challenge. By masking other classes, the autoencoder learns class-specific independent latent representations. We test the model's robustness against four widely used attacks. Experiments on the Fashion-MNIST & CIFAR-10 datasets demonstrate the superiority of our model. We make available our source code at GitHub repository: https://github.com/eashanadhikarla/MemDefense

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Memory Defense: More Robust Classification via a Memory-Masking Autoencoder, https://arxiv.org/pdf/2202.02595.pdf

51PythonOct 21, 20214 years agoMIT
adversarial-machine-learningcomputer-visionmachine-learningpytorch

Similar Papers

Cite this paper

@article{adhikarla2022memory,
  title  = {Memory Defense: More Robust Classification via a Memory-Masking Autoencoder},
  author = {Eashan Adhikarla and Dan Luo and Brian D. Davison},
  year   = {2022},
  eprint = {2202.02595},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.02595}
}

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

Discussion