paper-with-me

홈 › Papers

Evaluation of Neural Networks Defenses and Attacks using NDCG and Reciprocal Rank Metrics

2022-01-10 · Haya Brama, Lihi Dery, Tal Grinshpoun

The problem of attacks on neural networks through input modification (i.e., adversarial examples) has attracted much attention recently. Being relatively easy to generate and hard to detect, these attacks pose a security breach that many suggested defenses try to mitigate. However, the evaluation of the effect of attacks and defenses commonly relies on traditional classification metrics, without adequate adaptation to adversarial scenarios. Most of these metrics are accuracy-based, and therefore may have a limited scope and low distinctive power. Other metrics do not consider the unique characteristics of neural networks functionality, or measure the effect of the attacks indirectly (e.g., through the complexity of their generation). In this paper, we present two metrics which are specifically designed to measure the effect of attacks, or the recovery effect of defenses, on the output of neural networks in multiclass classification tasks. Inspired by the normalized discounted cumulative gain and the reciprocal rank metrics used in information retrieval literature, we treat the neural network predictions as ranked lists of results. Using additional information about the probability of the rank enabled us to define novel metrics that are suited to the task at hand. We evaluate our metrics using various attacks and defenses on a pretrained VGG19 model and the ImageNet dataset. Compared to the common classification metrics, our proposed metrics demonstrate superior informativeness and distinctiveness.

📄 PDF Abstract BibTeX arXiv:2201.05071

Code (0)

등록된 구현이 없습니다.

Tasks

Information RetrievalInformativenessRetrieval

Similar Papers 제목 키워드 기반

Ensemble of MRR and NDCG models for Visual Dialog

2021-04-15 · NAACL 2021 4 · Idan Schwartz

Assessing an AI agent that can converse in human language and understand visual content is challenging. Generation metrics, such as BLEU scores favor correct syntax over semantics. Hence a discriminative approach is ofte…

AI AgentVisual Dialog

A Theoretical Analysis of Recommendation Loss Functions under Negative Sampling

2024-11-12 · Giulia Di Teodoro, Federico Siciliano, Nicola Tonellotto, Fabrizio Silvestri

Loss functions like Categorical Cross Entropy (CCE), Binary Cross Entropy (BCE), and Bayesian Personalized Ranking (BPR) are commonly used in training Recommender Systems (RSs) to differentiate positive items - those int…

Recommendation Systems

Towards Semantic Search for Community Question Answering for Mortgage Officers

2022-03-14 · Amir Reza Rahmani, Linwei Li, Brian Vanover, Colin Bertrand 외

Community Question Answering (CQA) has gained increasing popularity in many domains. Mortgage is a complex and dynamic industry, and a flexible and efficient CQA platform can potentially enhance the quality of service fo…

Community Question AnsweringDomain AdaptationInformation RetrievalNatural Language Queries+3

Best-Case Retrieval Evaluation: Improving the Sensitivity of Reciprocal Rank with Lexicographic Precision

2023-06-13 · Fernando Diaz

Across a variety of ranking tasks, researchers use reciprocal rank to measure the effectiveness for users interested in exactly one relevant item. Despite its widespread use, evidence suggests that reciprocal rank is bri…

RetrievalSensitivity

NeuralNDCG: Direct Optimisation of a Ranking Metric via Differentiable Relaxation of Sorting

2021-02-15 · Przemysław Pobrotyn, Radosław Białobrzeski

Learning to Rank (LTR) algorithms are usually evaluated using Information Retrieval metrics like Normalised Discounted Cumulative Gain (NDCG) or Mean Average Precision. As these metrics rely on sorting predicted items' s…

Information RetrievalLearning-To-RankRetrieval