AdvKnn: Adversarial Attack on K-Nearest Neighbor Classifiers Based on Approximate GradientsAdvKnn: Adversarial Attacks On K-Nearest Neighbor Classifiers With Approximate Gradients
AI summary
AdvKnn is a new method for attacking K-nearest neighbor (kNN) classifiers, used to evaluate the adversarial robustness of kNN-type models. It uses a differentiable deep kNN block to approximate the kNN output, providing gradients for the attack to cross the decision boundary with small perturbations, and proposes distribution-oriented rather than classification-oriented consistency learning. Experiments show that it significantly outperforms existing best methods in attack success rate and added perturbation.