用于神经元检索的FGSM对抗训练研究
A Study on FGSM Adversarial Training for Neural Retrieval
摘要:
与基于术语的方法相比,神经检索模型在过去几年中获得了显着的有效性增益。然而,这些模型在面临拼写错误、分布偏移或易受恶意攻击时可能是脆弱的。例如,最近的几篇论文表明,这种变化严重影响了模型的性能,然后试图训练更有弹性的模型。替代方法包括同义词替换或错别字注入-作为数据增强-以及使用更强大的标记器(characterBERT,BPE-dropout)。为了进一步补充文献,我们在本文中研究了对抗训练作为解决这个鲁棒性问题的另一种可能的解决方案。我们的比较包括基于BERT的神经检索器的两个主要家族,即密集和稀疏,有和没有蒸馏技术。然后,我们证明了最简单的对抗训练技术之一-快速梯度符号方法(FGSM)-可以提高第一阶段排名的鲁棒性和有效性。特别是,FGSM提高了模型在域内和域外分布上的性能,以及在多个神经检索器的错别字查询上的性能。
英文摘要:
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 vulnerable to malicious attacks. For instance, several recent papers demonstrated that such variations severely impacted models performances, and then tried to train more resilient models. Usual approaches include synonyms replacements or typos injections -- as data-augmentation -- and the use of more robust tokenizers (characterBERT, BPE-dropout). To further complement the literature, we investigate in this paper adversarial training as another possible solution to this robustness issue. Our comparison includes the two main families of BERT-based neural retrievers, i.e. dense and sparse, with and without distillation techniques. We then demonstrate that one of the most simple adversarial training techniques -- the Fast Gradient Sign Method (FGSM) -- can improve first stage rankers robustness and effectiveness. In particular, FGSM increases models performances on both in-domain and out-of-domain distributions, and also on queries with typos, for multiple neural retrievers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。