Lune

SIGIR2022Top-tier venue

CharacterBERT and Self-Teaching for Improving the Robustness of Dense Retrievers on Queries with Typos

Shengyao Zhuang, Guido Zuccon

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval cites ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
  • RocketQAv2: A Joint Training Method for Dense Passage Retrieval and Passage Re-ranking cites Distilling Knowledge from Reader to Retriever for Question Answering
  • RocketQAv2: A Joint Training Method for Dense Passage Retrieval and Passage Re-ranking cites ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
  • RocketQAv2: A Joint Training Method for Dense Passage Retrieval and Passage Re-ranking cites Optimizing Dense Retrieval Model Training with Hard Negatives
  • Distilling Knowledge from Reader to Retriever for Question Answering cites Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
  • LEA: Improving Sentence Similarity Robustness to Typos Using Lexical Attention Bias cites ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
  • Optimizing Dense Retrieval Model Training with Hard Negatives cites Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
  • Optimizing Dense Retrieval Model Training with Hard Negatives cites ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Leveraging LLMs for Unsupervised Dense Retriever RankingEkaterina Khramtsova, Shengyao Zhuang, Mahsa Baktashmotlagh, Guido ZucconSIGIR 2024 · 21 citations
  2. LEA: Improving Sentence Similarity Robustness to Typos Using Lexical Attention BiasMario Almagro, Emilio J. Almazán, Diego Ortego, David JiménezKDD 2023 · 6 citations
  3. PiMRef: Deducing Ever-evolving Spear-phishing Emails with Knowledge Base InvariantsRuofan Liu, Yun Lin, Yuxin Wang, Xiwen Teoh et al.CCS 2026 · 4 citations

Builds on9

  1. Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text RetrievalLee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang et al.ICLR 2021 · 1,547 citations
  2. ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTOmar Khattab, Matei ZahariaSIGIR 2020 · 1,246 citations
  3. Distilling Knowledge from Reader to Retriever for Question AnsweringGautier Izacard, Edouard GraveICLR 2021 · 317 citations
  4. Optimizing Dense Retrieval Model Training with Hard NegativesJingtao Zhan, Jiaxin Mao, Yiqun Liu, Jiafeng Guo et al.SIGIR 2021 · 242 citations
  5. RocketQAv2: A Joint Training Method for Dense Passage Retrieval and Passage Re-rankingRuiyang Ren, Yingqi Qu, Jing Liu, Wayne Xin Zhao et al.EMNLP 2021 · 147 citations

Related papers

  1. Dynamic Injection of Entity Knowledge into Dense RetrieversIkuya Yamada, Ryokan Ri, Takeshi Kojima, Yusuke Iwasawa et al.EMNLP Findings 2025 · 1 citation
  2. Revisiting Query Variation Robustness of Transformer ModelsTim Hagen, Harrisen Scells, Martin PotthastEMNLP Findings 2024 · 1 citation
  3. Salient Phrase Aware Dense Retrieval: Can a Dense Retriever Imitate a Sparse One?Xilun Chen, Kushal Lakhotia, Barlas Oguz, Anchit Gupta et al.EMNLP Findings 2022 · 39 citations
  4. Enhancing Document Ranking with Task-adaptive Training and Segmented Token Recovery MechanismXingwu Sun, Yanling Cui, Hongyin Tang, Fuzheng Zhang et al.EMNLP 2021 · 2 citations
  5. Less is More: Pretrain a Strong Siamese Encoder for Dense Text Retrieval Using a Weak DecoderShuqi Lu, Di He, Chenyan Xiong, Guolin Ke et al.EMNLP 2021 · 46 citations
Dusk over the sea between two cliffs drawn in fine vertical lines