CharacterBERT and Self-Teaching for Improving the Robustness of Dense Retrievers on Queries with Typos
Not on the map. Why?
Abstract (arXiv)
Current dense retrievers are not robust to out-of-domain and outlier queries, i.e. their effectiveness on these queries is much poorer than what one would expect. In this paper, we consider a specific instance of such queries: queries that contain typos. We show that a small character level perturbation in queries (as caused by typos) highly impacts the effectiveness of dense retrievers. We then demonstrate that the root cause of this resides in the input tokenization strategy employed by BERT. In BERT, tokenization is performed using the BERT's WordPiece tokenizer and we show that a token with a typo will significantly change the token distributions obtained after tokenization. This distribution change translates to changes in the input embeddings passed to the BERT-based query encoder of dense retrievers. We then turn our attention to devising dense retriever methods that are robust to such queries with typos, while still being as performant as previous methods on queries without typos. For this, we use CharacterBERT as the backbone encoder and an efficient yet effective training method, called Self-Teaching (ST), that distills knowledge from queries without typos into the queries with typos. Experimental results show that CharacterBERT in combination with ST achieves significantly higher effectiveness on queries with typos compared to previous methods. Along with these results and the open-sourced implementation of the methods, we also provide a new passage retrieval dataset consisting of real-world queries with typos and associated relevance assessments on the MS MARCO corpus, thus supporting the research community in the investigation of effective and robust dense retrievers. Code, experimental results and dataset are made available at https://github.com/ielab/CharacterBERT-DR.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 35 of its 50 references that are in the map. First posted on arXiv 1 Apr 2022.
Builds on
35 of 50 references.
References · 35
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2018Deep contextualized word representationscited by 2,290
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 849
- 2020RocketQA: An Optimized Training Approach to Dense Passage Retrieval for Open-Domain Question Answeringcited by 413
- 2020Overview of the TREC 2019 deep learning trackcited by 286
23 more
- 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 267
- 2020Distilling Knowledge from Reader to Retriever for Question Answeringcited by 226
- 2021Unsupervised Corpus Aware Language Model Pre-training for Dense Passage Retrievalcited by 203
- 2021RocketQAv2: A Joint Training Method for Dense Passage Retrieval and Passage Re-rankingcited by 176
- 2016Exploring the Limits of Language Modelingcited by 173
- 2021Condenser: a Pre-training Architecture for Dense Retrievalcited by 162
- 2021Optimizing Dense Retrieval Model Training with Hard Negativescited by 155
- 2020Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillationcited by 145
- 2021Simple Entity-Centric Questions Challenge Dense Retrieverscited by 140
- 2021Scaling Deep Contrastive Learning Batch Size under Memory Limited Setupcited by 127
- 2020CharacterBERT: Reconciling ELMo and BERT for Word-Level Open-Vocabulary Representations From Characterscited by 87
- 2020Adv-BERT: BERT is not robust on misspellings! Generating nature adversarial samples on BERTcited by 69
- 2021Salient Phrase Aware Dense Retrieval: Can a Dense Retriever Imitate a Sparse One?cited by 60
- 2020Distilling Dense Representations for Ranking using Tightly-Coupled Teacherscited by 52
- 2021PAIR: Leveraging Passage-Centric Similarity Relation for Improving Dense Passage Retrievalcited by 50
- 2022Tevatron: An Efficient and Flexible Toolkit for Dense Retrievalcited by 47
- 2020RepBERT: Contextualized Text Embeddings for First-Stage Retrievalcited by 46
- 2021Evaluating the Robustness of Retrieval Pipelines with Query Variation Generatorscited by 34
- 2020Complementing Lexical Retrieval with Semantic Residual Embeddingcited by 27
- 2021Dealing with Typos for BERT-based Passage Retrieval and Rankingcited by 23
- 2021How Deep is your Learning: the DL-HARD Annotated Deep Learning Datasetcited by 18
- 2021Are Neural Ranking Models Robust?cited by 16
- 2022Asyncval: A Toolkit for Asynchronously Validating Dense Retriever Checkpoints during Trainingcited by 2
Built on by
Citing papers per year: 2022: 4; 2023: 10; 2024: 3; 2025: 2; 2026: 3.
22 papers.
Sort:
By area:
- 2022Bridging the Gap Between Indexing and Retrieval for Differentiable Search Index with Query Generationcited by 48
- 2023Open-source Large Language Models are Strong Zero-shot Query Likelihood Models for Document Rankingcited by 44
- 2023Agent4Ranking: Semantic Robust Ranking via Personalized Query Rewriting Using Multi-agent LLMcited by 18
- 2024Robust Neural Information Retrieval: An Adversarial and Out-of-distribution Perspectivecited by 15
- 2022Low-Resource Dense Retrieval for Open-Domain Question Answering: A Comprehensive Surveycited by 14
- 2025Investigating the Robustness of Retrieval-Augmented Generation at the Query Levelcited by 11
- 2023A Study on FGSM Adversarial Training for Neural Retrievalcited by 10
- 2022A Study on the Efficiency and Generalization of Light Hybrid Retrieverscited by 7
- 2023Selecting which Dense Retriever to use for Zero-Shot Searchcited by 7
- 2022On the Impact of Speech Recognition Errors in Passage Retrieval for Spoken Question Answeringcited by 6
- 2023Typo-Robust Representation Learning for Dense Retrievalcited by 6
- 2023Can Pretrained Language Models Derive Correct Semantics from Corrupt Subwords under Noise?cited by 6
10 more
- 2023Noise-Robust Dense Retrieval via Contrastive Alignment Post Trainingcited by 5
- 2024Benchmark Granularity and Model Robustness for Image-Text Retrievalcited by 5
- 2023Defense of Adversarial Ranking Attack in Text Retrieval: Benchmark and Baseline via Detectioncited by 3
- 2026How You Ask Matters! Adaptive RAG Robustness to Query Variationscited by 3
- 2023LEA: Improving Sentence Similarity Robustness to Typos Using Lexical Attention Biascited by 2
- 2024A Multimodal Dense Retrieval Approach for Speech-Based Open-Domain Question Answeringcited by 2
- 2025PiMRef: Deducing Ever-evolving Spear-phishing Emails with Knowledge Base Invariantscited by 1
- 2023Make Text Unlearnable: Exploiting Effective Patterns to Protect Personal Datacited by 0
- 2026On the Robustness of LLM-Based Dense Retrievers: A Systematic Analysis of Generalizability and Stabilitycited by 0
- 2026Hypencoder Revisited: Reproducibility and Analysis of Non-Linear Scoring for First-Stage Retrievalcited by 0
- 2026Hypencoder Revisited: Reproducibility and Analysis of Non-Linear Scoring for First-Stage Retrieval29 Apr 2026
- 2026On the Robustness of LLM-Based Dense Retrievers: A Systematic Analysis of Generalizability and Stability17 Apr 2026
- 2026How You Ask Matters! Adaptive RAG Robustness to Query Variations12 Apr 2026
- 2025PiMRef: Deducing Ever-evolving Spear-phishing Emails with Knowledge Base Invariants21 Jul 2025
- 2025Investigating the Robustness of Retrieval-Augmented Generation at the Query Level9 Jul 2025
- 2024A Multimodal Dense Retrieval Approach for Speech-Based Open-Domain Question Answering20 Sep 2024
- 2024Benchmark Granularity and Model Robustness for Image-Text Retrieval21 Jul 2024
- 2024Robust Neural Information Retrieval: An Adversarial and Out-of-distribution Perspective9 Jul 2024
- 2023Agent4Ranking: Semantic Robust Ranking via Personalized Query Rewriting Using Multi-agent LLM24 Dec 2023
- 2023Open-source Large Language Models are Strong Zero-shot Query Likelihood Models for Document Ranking20 Oct 2023
- 2023Selecting which Dense Retriever to use for Zero-Shot Search18 Sep 2023
- 2023Defense of Adversarial Ranking Attack in Text Retrieval: Benchmark and Baseline via Detection31 Jul 2023
10 more
- 2023LEA: Improving Sentence Similarity Robustness to Typos Using Lexical Attention Bias6 Jul 2023
- 2023Make Text Unlearnable: Exploiting Effective Patterns to Protect Personal Data2 Jul 2023
- 2023Can Pretrained Language Models Derive Correct Semantics from Corrupt Subwords under Noise?27 Jun 2023
- 2023Typo-Robust Representation Learning for Dense Retrieval17 Jun 2023
- 2023Noise-Robust Dense Retrieval via Contrastive Alignment Post Training6 Apr 2023
- 2023A Study on FGSM Adversarial Training for Neural Retrieval25 Jan 2023
- 2022A Study on the Efficiency and Generalization of Light Hybrid Retrievers4 Oct 2022
- 2022On the Impact of Speech Recognition Errors in Passage Retrieval for Spoken Question Answering26 Sep 2022
- 2022Low-Resource Dense Retrieval for Open-Domain Question Answering: A Comprehensive Survey5 Aug 2022
- 2022Bridging the Gap Between Indexing and Retrieval for Differentiable Search Index with Query Generation21 Jun 2022
- 2022Bridging the Gap Between Indexing and Retrieval for Differentiable Search Index with Query Generationcited by 48
- 2023Open-source Large Language Models are Strong Zero-shot Query Likelihood Models for Document Rankingcited by 44
- 2024Robust Neural Information Retrieval: An Adversarial and Out-of-distribution Perspectivecited by 15
- 2022Low-Resource Dense Retrieval for Open-Domain Question Answering: A Comprehensive Surveycited by 14
- 2023A Study on FGSM Adversarial Training for Neural Retrievalcited by 10
- 2022A Study on the Efficiency and Generalization of Light Hybrid Retrieverscited by 7
- 2023Selecting which Dense Retriever to use for Zero-Shot Searchcited by 7
- 2022On the Impact of Speech Recognition Errors in Passage Retrieval for Spoken Question Answeringcited by 6
- 2023Typo-Robust Representation Learning for Dense Retrievalcited by 6
- 2023Can Pretrained Language Models Derive Correct Semantics from Corrupt Subwords under Noise?cited by 6
- 2023Noise-Robust Dense Retrieval via Contrastive Alignment Post Trainingcited by 5
- 2023Defense of Adversarial Ranking Attack in Text Retrieval: Benchmark and Baseline via Detectioncited by 3
12 most cited of 18 All 18 (JSON)
- 2026Hypencoder Revisited: Reproducibility and Analysis of Non-Linear Scoring for First-Stage Retrieval29 Apr 2026
- 2026On the Robustness of LLM-Based Dense Retrievers: A Systematic Analysis of Generalizability and Stability17 Apr 2026
- 2025PiMRef: Deducing Ever-evolving Spear-phishing Emails with Knowledge Base Invariants21 Jul 2025
- 2024A Multimodal Dense Retrieval Approach for Speech-Based Open-Domain Question Answering20 Sep 2024
- 2024Robust Neural Information Retrieval: An Adversarial and Out-of-distribution Perspective9 Jul 2024
- 2023Open-source Large Language Models are Strong Zero-shot Query Likelihood Models for Document Ranking20 Oct 2023
- 2023Selecting which Dense Retriever to use for Zero-Shot Search18 Sep 2023
- 2023Defense of Adversarial Ranking Attack in Text Retrieval: Benchmark and Baseline via Detection31 Jul 2023
- 2023LEA: Improving Sentence Similarity Robustness to Typos Using Lexical Attention Bias6 Jul 2023
- 2023Make Text Unlearnable: Exploiting Effective Patterns to Protect Personal Data2 Jul 2023
- 2023Can Pretrained Language Models Derive Correct Semantics from Corrupt Subwords under Noise?27 Jun 2023
- 2023Typo-Robust Representation Learning for Dense Retrieval17 Jun 2023
12 newest of 18 All 18 (JSON)