paper-with-me

Papers

BERT Rankers are Brittle: a Study using Adversarial Document Perturbations

2022-06-23 · Yumeng Wang, Lijun Lyu, Avishek Anand

Contextual ranking models based on BERT are now well established for a wide range of passage and document ranking tasks. However, the robustness of BERT-based ranking models under adversarial inputs is under-explored. In this paper, we argue that BERT-rankers are not immune to adversarial attacks targeting retrieved documents given a query. Firstly, we propose algorithms for adversarial perturbation of both highly relevant and non-relevant documents using gradient-based optimization methods. The aim of our algorithms is to add/replace a small number of tokens to a highly relevant or non-relevant document to cause a large rank demotion or promotion. Our experiments show that a small number of tokens can already result in a large change in the rank of a document. Moreover, we find that BERT-rankers heavily rely on the document start/head for relevance prediction, making the initial part of the document more susceptible to adversarial attacks. More interestingly, we find a small set of recurring adversarial words that when added to documents result in successful rank demotion/promotion of any relevant/non-relevant document respectively. Finally, our adversarial tokens also show particular topic preferences within and across datasets, exposing potential biases from BERT pre-training or downstream datasets.

📄 PDF Abstract BibTeX arXiv:2206.11724

Code (1)

menauwy/brittlebert 공식 구현 pytorch

Tasks

Document Ranking

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Weight Decay 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Residual Connection 설명 없음
Attention 설명 없음
Adam 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

A Study on FGSM Adversarial Training for Neural Retrieval

2023-01-25 · Simon Lupart, Stéphane Clinchant

Neural retrieval models have acquired significant effectiveness gains over the last few years compared to term-based methods. Nevertheless, those models may be brittle when faced to typos, distribution shifts or vulnerab…

Data AugmentationRetrieval

On the Calibration and Uncertainty of Neural Learning to Rank Models

2021-01-12 · Gustavo Penha, Claudia Hauff

According to the Probability Ranking Principle (PRP), ranking documents in decreasing order of their probability of relevance leads to an optimal document ranking for ad-hoc retrieval. The PRP holds when two conditions a…

Document RankingLearning-To-RankRetrieval

Improving Bi-encoder Document Ranking Models with Two Rankers and Multi-teacher Distillation

2021-03-11 · Jaekeol Choi, Euna Jung, Jangwon Suh, Wonjong Rhee

BERT-based Neural Ranking Models (NRMs) can be classified according to how the query and document are encoded through BERT's self-attention layers - bi-encoder versus cross-encoder. Bi-encoder models are highly efficient…

Document Ranking

On the Calibration and Uncertainty of Neural Learning to Rank Models for Conversational Search

2021-04-01 · EACL 2021 2 · Gustavo Penha, Claudia Hauff

According to the Probability Ranking Principle (PRP), ranking documents in decreasing order of their probability of relevance leads to an optimal document ranking for ad-hoc retrieval. The PRP holds when two conditions a…

Conversational SearchDocument RankingLearning-To-RankRetrieval

BERT meets Cranfield: Uncovering the Properties of Full Ranking on Fully Labeled Data

2021-04-01 · EACL 2021 2 · Negin Ghasemi, Djoerd Hiemstra

Recently, various information retrieval models have been proposed based on pre-trained BERT models, achieving outstanding performance. The majority of such models have been tested on data collections with partial relevan…

Information RetrievalRetrieval