English

What Learned Representations and Influence Functions Can Tell Us About Adversarial Examples

Machine Learning 2023-10-11 v3 Computation and Language

Abstract

Adversarial examples, deliberately crafted using small perturbations to fool deep neural networks, were first studied in image processing and more recently in NLP. While approaches to detecting adversarial examples in NLP have largely relied on search over input perturbations, image processing has seen a range of techniques that aim to characterise adversarial subspaces over the learned representations. In this paper, we adapt two such approaches to NLP, one based on nearest neighbors and influence functions and one on Mahalanobis distances. The former in particular produces a state-of-the-art detector when compared against several strong baselines; moreover, the novel use of influence functions provides insight into how the nature of adversarial example subspaces in NLP relate to those in image processing, and also how they differ depending on the kind of NLP task.

Keywords

Cite

@article{arxiv.2309.10916,
  title  = {What Learned Representations and Influence Functions Can Tell Us About Adversarial Examples},
  author = {Shakila Mahjabin Tonni and Mark Dras},
  journal= {arXiv preprint arXiv:2309.10916},
  year   = {2023}
}

Comments

20 pages, Accepted in IJCNLP_AACL 2023

R2 v1 2026-06-28T12:26:37.851Z