Engineering Research Express

Adversarial Information Loss Detection via KL Divergence and Gravitational Analogy

M Murali, Kanmani S

Key points

From the paper's conclusion
  • We introduce KL + Gravity, a lightweight defense that combines Kullback-Leibler (KL) divergence with a gravitational analogy.

Abstract

Deep learning models are vulnerable to adversarial attacks, tiny or invisible changes to inputs that cause wrong predictions with high confidence. Existing defense methods are complex, slow, or hard to deploy. We introduce KL + Gravity, a lightweight defense that combines Kullback-Leibler (KL) divergence with a gravitational analogy. Each class is treated as a "gravity well" that pulls clean samples toward its center. Adversarial perturbations disturb this pull, pushing samples toward the wrong well. KL divergence measures the shift in output distributions, while the gravitational model explains this semantic drift in feature space. Experiments on CIFAR-10 and ImageNet-100 with ResNet and DenseNet under attacks (FGSM, PGD, CW) show that KL + Gravity achieves higher detection accuracy (AUC 0.91-0.95) than Mahalanobis distance, entropy, or confidence-based methods. Significantly, it adds only ~0.3 ms per image, making it suitable for real-time use. Compared with adversarial training, feature denoising, and confidence thresholding, our defense method maintains clean accuracy while offering stronger robustness. KL + Gravity is interpretable, efficient, and attack-agnostic, providing both defense and insight into how adversarial attacks distort neural networks.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers