Abstract

Deep neural networks (DNNs) have attracted extensive attention because of its powerful performance in many areas, however, DNNs are obviously vulnerable to adversarial examples. By crafting the adversarial examples with human imperceptible perturbations, adversary can confuse the judgement of DNNs. In our work, we propose a simple yet effective adversarial detection method based on Local Cosine Similarity (LCS). Motivated by the idea that the direction of adversarial perturbation matters most, we propose to utilize cosine similarity which is sensitive to direction changes, therefore, is able to effectively discriminate subtle direction differences between adversarial example and normal example. Meanwhile we introduce the local operation, which limits the cosine similarity calculation within k-nearest neighbors so that better to characterize the difference between adversarial example and normal example. Extensive experimental results show that the extracted LCS features can well distinguish adversarial examples from normal examples and achieve better performances.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.