利用平衡的主题感知采样有效地教授有效的密集检索器
Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware Sampling
摘要:
广泛采用神经检索模型的关键一步是在整个训练,索引和查询工作流程中的资源效率。近年来,神经检索界在训练有效的双编码器稠密检索(DR)模型方面取得了很大进展。密集文本检索模型使用每个查询和段落的单个向量表示来对匹配进行评分,这使得具有最近邻搜索的低延迟第一阶段检索成为可能。越来越常见的训练方法需要巨大的计算能力,因为它们要么从不断更新的刷新索引中进行负通道采样,要么需要非常大的批量进行批量负采样。而不是依赖于更多的计算能力,我们引入了一个有效的主题感知查询和平衡的利润率采样技术,称为TAS平衡。我们在训练之前对查询进行一次聚类,并在每个批次中对聚类中的查询进行采样。我们用一种新颖的双教师监督来训练我们的轻量级6层DR模型,该监督结合了成对和批量的负教师。我们的方法可以在48小时内在单个消费级GPU上训练(而不是8 x V100的常见配置)。我们证明了我们的TAS-Balanced训练方法在两个TREC深度学习Track查询集上实现了最先进的低延迟(每个查询64 ms)结果。在NDCG@10上进行评估,我们的表现比BM 25好44%,比普通训练的DR好19%,比docT 5 query好11%,比之前最好的DR模型好5%。此外,TAS-Balanced还生成了第一个密集检索器,该检索器在TREC-DL的任何截止点上的召回率都优于其他所有方法,并允许更多资源密集型重新排序模型在更少的段落上运行,以进一步改善结果。
英文摘要:
A vital step towards the widespread adoption of neural retrieval models is their resource efficiency throughout the training, indexing and query workflows. The neural IR community made great advancements in training effective dual-encoder dense retrieval (DR) models recently. A dense text retrieval model uses a single vector representation per query and passage to score a match, which enables low-latency first stage retrieval with a nearest neighbor search. Increasingly common, training approaches require enormous compute power, as they either conduct negative passage sampling out of a continuously updating refreshing index or require very large batch sizes for in-batch negative sampling. Instead of relying on more compute capability, we introduce an efficient topic-aware query and balanced margin sampling technique, called TAS-Balanced. We cluster queries once before training and sample queries out of a cluster per batch. We train our lightweight 6-layer DR model with a novel dual-teacher supervision that combines pairwise and in-batch negative teachers. Our method is trainable on a single consumer-grade GPU in under 48 hours (as opposed to a common configuration of 8x V100s). We show that our TAS-Balanced training method achieves state-of-the-art low-latency (64ms per query) results on two TREC Deep Learning Track query sets. Evaluated on NDCG@10, we outperform BM25 by 44%, a plainly trained DR by 19%, docT5query by 11%, and the previous best DR model by 5%. Additionally, TAS-Balanced produces the first dense retriever that outperforms every other method on recall at any cutoff on TREC-DL and allows more resource intensive re-ranking models to operate on fewer passages to improve results further.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。