The success of contextual word representations and advances in neural information retrieval have made dense vector-based retrieval a standard approach for passage and document ranking. While effective and efficient, dual-encoders are brittle to variations in query distributions and noisy queries. Data augmentation can make models more robust but introduces overhead to training set generation and requires retraining and index regeneration. We present Contrastive Alignment POst Training (CAPOT), a highly efficient finetuning method that improves model robustness without requiring index regeneration, the training set optimization, or alteration. CAPOT enables robust retrieval by freezing the document encoder while the query encoder learns to align noisy queries with their unaltered root. We evaluate CAPOT noisy variants of MSMARCO, Natural Questions, and Trivia QA passage retrieval, finding CAPOT has a similar impact as data augmentation with none of its overhead.
翻译:上下文词表示的成功和神经信息检索的进展使得基于稠密向量的检索成为段落和文档排序的标准方法。虽然双重编码器既有效又高效,但对查询分布的变化和噪声查询较为脆弱。数据增强可以使模型更加鲁棒,但会引入训练集生成的额外开销,并需要重新训练和索引重建。我们提出对比对齐训练后方法(CAPOT),一种高效的微调方法,可在无需索引重建、训练集优化或修改的情况下提升模型鲁棒性。CAPOT通过冻结文档编码器,同时让查询编码器学习将噪声查询与其未修改的原始查询进行对齐,从而实现鲁棒检索。我们在MSMARCO、Natural Questions和Trivia QA段落检索的噪声变体上评估了CAPOT,发现其效果与数据增强相近,但无需任何额外开销。