基于缓存的批内重要性恢复训练推荐检索器
Cache-Augmented Inbatch Importance Resampling for Training Recommender Retriever
摘要:
推荐检索器的目标是在用户查询请求时从整个项目语料库中快速检索一小部分项目,具有代表性的双塔模型使用log softmax loss进行训练。为了在现代硬件上有效地训练推荐检索器,批内采样,其中小批量中的项目被共享为负数来估计softmax函数,已经获得了越来越多的兴趣。然而,现有的基于批内抽样的策略只能用条目频率来纠正批内条目的抽样偏差,无法区分小批量中的用户查询,并且仍然会产生与softmax显著的偏差。在本文中,我们提出了一个缓存增强的批次内重要性恢复(XIR)的训练推荐检索器,它不仅提供了不同的负面用户查询批次项目,但也自适应地实现了更准确的估计softmax分布。具体来说,XIR基于一定的概率对给定的小批量训练对的项目进行重新采样,其中采用具有更频繁采样项目的缓存来增加候选项目集,目的是重用历史信息样本。XIR能够基于inbatch项目对查询相关的否定进行采样,并捕获模型训练的动态变化,从而更好地近似softmax,并进一步有助于更好的收敛。最后,我们进行实验,以验证所提出的XIR的优越性能相比,竞争对手的方法。
英文摘要:
Recommender retrievers aim to rapidly retrieve a fraction of items from the entire item corpus when a user query requests, with the representative two-tower model trained with the log softmax loss. For efficiently training recommender retrievers on modern hardwares, inbatch sampling, where the items in the mini-batch are shared as negatives to estimate the softmax function, has attained growing interest. However, existing inbatch sampling based strategies just correct the sampling bias of inbatch items with item frequency, being unable to distinguish the user queries within the mini-batch and still incurring significant bias from the softmax. In this paper, we propose a Cache-Augmented Inbatch Importance Resampling (XIR) for training recommender retrievers, which not only offers different negatives to user queries with inbatch items, but also adaptively achieves a more accurate estimation of the softmax distribution. Specifically, XIR resamples items for the given mini-batch training pairs based on certain probabilities, where a cache with more frequently sampled items is adopted to augment the candidate item set, with the purpose of reusing the historical informative samples. XIR enables to sample query-dependent negatives based on inbatch items and to capture dynamic changes of model training, which leads to a better approximation of the softmax and further contributes to better convergence. Finally, we conduct experiments to validate the superior performance of the proposed XIR compared with competitive approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。