BERT Rankers are Brittle: a Study using Adversarial Document Perturbations
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 9 of its 18 references that are in the map. First posted on arXiv 23 Jun 2022.
Builds on
9 of 18 references.
References · 9
- 2016Adversarial Machine Learning at Scalecited by 936
- 2017Ensemble Adversarial Training: Attacks and Defensescited by 840
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
- 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
- 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
- 2020One word at a time: adversarial attacks on retrieval modelscited by 23
- 2018Ranking Robustness Under Adversarial Document Manipulationscited by 15
- 2020Adversarial Attacks and Defense on Texts: A Surveycited by 12
Built on by
Citing papers per year: 2023: 5; 2024: 4; 2025: 3; 2026: 4.
16 papers.
Sort:
By area:
- 2023Black-box Adversarial Attacks against Dense Retrieval Models: A Multi-view Contrastive Learning Methodcited by 29
- 2023Towards Imperceptible Document Manipulations against Neural Ranking Modelscited by 18
- 2024Rag and Roll: An End-to-End Evaluation of Indirect Prompt Manipulations in LLM-based Application Frameworkscited by 17
- 2025Collapse of Dense Retrievers: Short, Early, and Literal Biases Outranking Factual Evidencecited by 16
- 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systemscited by 16
- 2024Robust Neural Information Retrieval: An Adversarial and Out-of-distribution Perspectivecited by 15
- 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Modelscited by 14
- 2023A Study on FGSM Adversarial Training for Neural Retrievalcited by 10
- 2024Attack-in-the-Chain: Bootstrapping Large Language Models for Attacks Against Black-box Neural Ranking Modelscited by 6
- 2025Evaluating the Robustness of Retrieval-Augmented Generation to Adversarial Evidence in the Health Domaincited by 6
- 2023Towards Effective Paraphrasing for Information Disguisecited by 5
- 2025Adversarial Attacks against Neural Ranking Models via In-Context Learningcited by 4
4 more
- 2023Defense of Adversarial Ranking Attack in Text Retrieval: Benchmark and Baseline via Detectioncited by 3
- 2026One Word is Enough: Minimal Adversarial Perturbations for Neural Text Rankingcited by 0
- 2026Led to Mislead: Adversarial Content Injection for Attacks on Neural Ranking Modelscited by 0
- 2026VerTox: Verifiable Reward-Guided Corpus Poisoning Against Neural Ranking Modelscited by 0
- 2026VerTox: Verifiable Reward-Guided Corpus Poisoning Against Neural Ranking Models1 Sep 2026
- 2026Led to Mislead: Adversarial Content Injection for Attacks on Neural Ranking Models2 May 2026
- 2026One Word is Enough: Minimal Adversarial Perturbations for Neural Text Ranking28 Jan 2026
- 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systems11 Jan 2026
- 2025Evaluating the Robustness of Retrieval-Augmented Generation to Adversarial Evidence in the Health Domain4 Sep 2025
- 2025Adversarial Attacks against Neural Ranking Models via In-Context Learning21 Aug 2025
- 2025Collapse of Dense Retrievers: Short, Early, and Literal Biases Outranking Factual Evidence6 Mar 2025
- 2024Attack-in-the-Chain: Bootstrapping Large Language Models for Attacks Against Black-box Neural Ranking Models25 Dec 2024
- 2024Rag and Roll: An End-to-End Evaluation of Indirect Prompt Manipulations in LLM-based Application Frameworks9 Aug 2024
- 2024Robust Neural Information Retrieval: An Adversarial and Out-of-distribution Perspective9 Jul 2024
- 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Models2 Apr 2024
- 2023Towards Effective Paraphrasing for Information Disguise8 Nov 2023
4 more
- 2023Black-box Adversarial Attacks against Dense Retrieval Models: A Multi-view Contrastive Learning Method19 Aug 2023
- 2023Defense of Adversarial Ranking Attack in Text Retrieval: Benchmark and Baseline via Detection31 Jul 2023
- 2023Towards Imperceptible Document Manipulations against Neural Ranking Models3 May 2023
- 2023A Study on FGSM Adversarial Training for Neural Retrieval25 Jan 2023
- 2024Rag and Roll: An End-to-End Evaluation of Indirect Prompt Manipulations in LLM-based Application Frameworkscited by 17
- 2025Collapse of Dense Retrievers: Short, Early, and Literal Biases Outranking Factual Evidencecited by 16
- 2025Evaluating the Robustness of Retrieval-Augmented Generation to Adversarial Evidence in the Health Domaincited by 6
- 2026VerTox: Verifiable Reward-Guided Corpus Poisoning Against Neural Ranking Modelscited by 0
- 2026VerTox: Verifiable Reward-Guided Corpus Poisoning Against Neural Ranking Models1 Sep 2026
- 2025Evaluating the Robustness of Retrieval-Augmented Generation to Adversarial Evidence in the Health Domain4 Sep 2025
- 2025Collapse of Dense Retrievers: Short, Early, and Literal Biases Outranking Factual Evidence6 Mar 2025
- 2024Rag and Roll: An End-to-End Evaluation of Indirect Prompt Manipulations in LLM-based Application Frameworks9 Aug 2024
- 2023Black-box Adversarial Attacks against Dense Retrieval Models: A Multi-view Contrastive Learning Methodcited by 29
- 2023Towards Imperceptible Document Manipulations against Neural Ranking Modelscited by 18
- 2024Robust Neural Information Retrieval: An Adversarial and Out-of-distribution Perspectivecited by 15
- 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Modelscited by 14
- 2023A Study on FGSM Adversarial Training for Neural Retrievalcited by 10
- 2023Towards Effective Paraphrasing for Information Disguisecited by 5
- 2025Adversarial Attacks against Neural Ranking Models via In-Context Learningcited by 4
- 2023Defense of Adversarial Ranking Attack in Text Retrieval: Benchmark and Baseline via Detectioncited by 3
- 2026One Word is Enough: Minimal Adversarial Perturbations for Neural Text Rankingcited by 0
- 2026Led to Mislead: Adversarial Content Injection for Attacks on Neural Ranking Modelscited by 0
- 2026Led to Mislead: Adversarial Content Injection for Attacks on Neural Ranking Models2 May 2026
- 2026One Word is Enough: Minimal Adversarial Perturbations for Neural Text Ranking28 Jan 2026
- 2025Adversarial Attacks against Neural Ranking Models via In-Context Learning21 Aug 2025
- 2024Robust Neural Information Retrieval: An Adversarial and Out-of-distribution Perspective9 Jul 2024
- 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Models2 Apr 2024
- 2023Towards Effective Paraphrasing for Information Disguise8 Nov 2023
- 2023Black-box Adversarial Attacks against Dense Retrieval Models: A Multi-view Contrastive Learning Method19 Aug 2023
- 2023Defense of Adversarial Ranking Attack in Text Retrieval: Benchmark and Baseline via Detection31 Jul 2023
- 2023Towards Imperceptible Document Manipulations against Neural Ranking Models3 May 2023
- 2023A Study on FGSM Adversarial Training for Neural Retrieval25 Jan 2023