论文标题
角色和自我教学,以改善与错别字查询的浓缩犬的稳健性
CharacterBERT and Self-Teaching for Improving the Robustness of Dense Retrievers on Queries with Typos
论文作者
论文摘要
当前的浓缩犬对域外和异常问题的疑问并不强大,即它们对这些查询的有效性比人们期望的要差得多。在本文中,我们考虑了此类查询的特定实例:包含错别字的查询。我们表明,查询(由错别字引起的)中的小角色级别扰动高度影响着密集的检索器的有效性。然后,我们证明了这一点的根本原因在于伯特采用的输入令牌化策略中。在BERT中,使用Bert的文字令牌来执行令牌化,我们证明具有错别字的令牌将大大改变令牌化后获得的令牌分布。此分布更改转化为传递给基于BERT基于BERT的查询编码器的输入嵌入者的变化。然后,我们将注意力转向设计,这些方法可以使用错别字进行此类查询,同时仍然像没有错别字的查询中的先前方法一样表现。为此,我们将角色伯特用作骨干编码器和一种有效但有效的训练方法,称为自学教学(ST),它将知识从没有错别字的查询中提取到与错别字的查询中。实验结果表明,与以前的方法相比,与ST结合使用的角色对使用错别字的查询的有效性明显更高。除了这些结果以及方法的开源实施外,我们还提供了一个新的段落检索数据集,该数据集由现实世界中的查询组成,这些查询与MS MARCO语料库具有错别字和相关的相关性评估,从而支持研究社区的有效且稳健的密集回收者的调查。代码,实验结果和数据集可在https://github.com/ielab/characterbert-dr上提供。
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.