对陈旧嵌入的新解:利用校正网络改进稠密检索器训练
A Fresh Take on Stale Embeddings: Improving Dense Retriever Training with Corrector Networks
AI总结:
本文提出用小型校正网络调整过时的缓存目标嵌入,以近似 softmax 并采样最新困难负样本,在稠密检索和检索增强问答中匹配最先进结果,同时将重新嵌入计算成本降低 4-80 倍。
摘要:
在稠密检索中,深度编码器为输入和目标提供嵌入,softmax 函数用于对大量候选目标(例如用于信息检索的文本段落)上的分布进行参数化。在日益普遍的以下场景中训练此类编码器面临重大挑战:(1)目标数量庞大,(2)目标编码器模型计算成本高昂,(3)由于目标编码器参数的持续训练,缓存的目标嵌入已过时。本文针对这些挑战提出了一种简单且高度可扩展的应对方法:训练一个小型参数化校正网络来调整过时的缓存目标嵌入,从而实现准确的 softmax 近似,并由此采样出最新的高分“困难负样本”。我们从理论上研究了所提出的目标校正器的泛化性质,将网络的复杂度、缓存表示的陈旧程度以及训练数据量联系起来。我们在大规模基准稠密检索数据集以及使用检索增强语言模型的问答任务上给出了实验结果。即使训练过程中除了来自无监督预训练模型的初始缓存之外不进行任何目标嵌入更新,我们的方法也能达到最先进的结果,并将重新嵌入的计算成本降低了 4-80 倍。
英文摘要:
In dense retrieval, deep encoders provide embeddings for both inputs and targets, and the softmax function is used to parameterize a distribution over a large number of candidate targets (e.g., textual passages for information retrieval). Significant challenges arise in training such encoders in the increasingly prevalent scenario of (1) a large number of targets, (2) a computationally expensive target encoder model, (3) cached target embeddings that are out-of-date due to ongoing training of target encoder parameters. This paper presents a simple and highly scalable response to these challenges by training a small parametric corrector network that adjusts stale cached target embeddings, enabling an accurate softmax approximation and thereby sampling of up-to-date high scoring "hard negatives." We theoretically investigate the generalization properties of our proposed target corrector, relating the complexity of the network, staleness of cached representations, and the amount of training data. We present experimental results on large benchmark dense retrieval datasets as well as on QA with retrieval augmented language models. Our approach matches state-of-the-art results even when no target embedding updates are made during training beyond an initial cache from the unsupervised pre-trained model, providing a 4-80x reduction in re-embedding computational cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。