paper-with-me

Papers

Detecting Adversarial Samples Using Influence Functions and Nearest Neighbors

2019-09-15 · CVPR 2020 6 · Gilad Cohen, Guillermo Sapiro, Raja Giryes

Deep neural networks (DNNs) are notorious for their vulnerability to adversarial attacks, which are small perturbations added to their input images to mislead their prediction. Detection of adversarial examples is, therefore, a fundamental requirement for robust classification frameworks. In this work, we present a method for detecting such adversarial attacks, which is suitable for any pre-trained neural network classifier. We use influence functions to measure the impact of every training sample on the validation set data. From the influence scores, we find the most supportive training samples for any given validation example. A k-nearest neighbor (k-NN) model fitted on the DNN's activation layers is employed to search for the ranking of these supporting training samples. We observe that these samples are highly correlated with the nearest neighbors of the normal inputs, while this correlation is much weaker for adversarial inputs. We train an adversarial detector using the k-NN ranks and distances and show that it successfully distinguishes adversarial examples, getting state-of-the-art results on six attack methods with three datasets. Code is available at https://github.com/giladcohen/NNIF_adv_defense.

📄 PDF Abstract BibTeX arXiv:1909.06872

Code (1)

giladcohen/NNIF_adv_defense 공식 구현 tf

Tasks

Robust classification

Methods 이 논문이 사용한 방법론

k-NN $k$-Nearest Neighbors is a clustering-based algorithm for classification and regression. It is a a type of instance-based learning as it does not attempt to construct a…

Similar Papers 제목 키워드 기반

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

2023-09-19 · Shakila Mahjabin Tonni, Mark Dras

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 NL…

Detecting labeling bias using influence functions

2026-02-22 · Frida Jørgensen, Nina Weng, Siavash Bigdeli arxiv

Labeling bias arises during data collection due to resource limitations or unconscious bias, leading to unequal label error rates across subgroups or misrepresentation of subgroup prevalence. Most fairness constraints as…

Outlier Gradient Analysis: Efficiently Identifying Detrimental Training Samples for Deep Learning Models

2024-05-06 · Anshuman Chhabra, Bo Li, Jian Chen, Prasant Mohapatra 외

A core data-centric learning challenge is the identification of training samples that are detrimental to model performance. Influence functions serve as a prominent tool for this task and offer a robust framework for ass…

An empirical study on evaluation metrics of generative adversarial networks

2018-06-19 · ICLR 2018 1 · Qiantong Xu, Gao Huang, Yang Yuan, Chuan Guo 외

Evaluating generative adversarial networks (GANs) is inherently challenging. In this paper, we revisit several representative sample-based evaluation metrics for GANs, and address the problem of how to evaluate the evalu…

A Kernel-Based Conditional Two-Sample Test Using Nearest Neighbors (with Applications to Calibration, Regression Curves, and Simulation-Based Inference)

2024-07-23 · Anirban Chatterjee, Ziang Niu, Bhaswar B. Bhattacharya

In this paper we introduce a kernel-based measure for detecting differences between two conditional distributions. Using the `kernel trick' and nearest-neighbor graphs, we propose a consistent estimate of this measure wh…