English

Adversarial Sample Detection Through Neural Network Transport Dynamics

Machine Learning 2023-06-09 v2

Abstract

We propose a detector of adversarial samples that is based on the view of neural networks as discrete dynamic systems. The detector tells clean inputs from abnormal ones by comparing the discrete vector fields they follow through the layers. We also show that regularizing this vector field during training makes the network more regular on the data distribution's support, thus making the activations of clean inputs more distinguishable from those of abnormal ones. Experimentally, we compare our detector favorably to other detectors on seen and unseen attacks, and show that the regularization of the network's dynamics improves the performance of adversarial detectors that use the internal embeddings as inputs, while also improving test accuracy.

Keywords

Cite

@article{arxiv.2306.04252,
  title  = {Adversarial Sample Detection Through Neural Network Transport Dynamics},
  author = {Skander Karkar and Patrick Gallinari and Alain Rakotomamonjy},
  journal= {arXiv preprint arXiv:2306.04252},
  year   = {2023}
}

Comments

ECML PKDD 2023

R2 v1 2026-06-28T10:58:35.164Z