arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.18684cs.IRcs.CL
收藏

密集检索的缩放定律

Scaling Laws For Dense Retrieval

Tsinghua University(清华大学);Quan Cheng Laboratory(泉城实验室);Renmin University of China(中国人民大学);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Zhongguancun Laboratory(中关村实验室);Xiaohongshu Inc(小红书科技有限公司)

Yan Fang, Jingtao Zhan, Qingyao Ai, Jiaxin Mao, Weihang Su, Jia Chen, Yiqun Liu

AI总结:

本研究针对密集检索领域缩放定律未被充分探究的问题,采用对比对数似然为指标开展实验,证实其性能随模型规模和标注量呈幂律缩放,还研究了数据增强的影响并得出预算下最优资源分配策略。

摘要:

扩大神经模型的规模已在众多任务中取得显著进展,尤其是在语言生成领域。此前研究发现,神经模型的性能通常遵循可预测的缩放定律,与训练集规模、模型规模等因素相关。这一洞见极具价值,尤其是在大规模实验的资源消耗日益增长的当下。然而,由于检索指标的离散性以及检索任务中训练数据与模型规模之间的复杂关系,这类缩放定律在密集检索领域尚未得到充分探究。本研究中,我们探究了密集检索模型的性能是否如其他神经模型一样遵循缩放定律。我们提出采用对比对数似然作为评估指标,并对使用不同参数量实现、在不同标注数据量下训练的密集检索模型开展了大量实验。结果表明,在我们的实验设置下,密集检索模型的性能遵循与模型规模和标注数量相关的精确幂律缩放关系。此外,我们还研究了主流数据增强方法下的缩放情况以评估标注质量的影响,并应用该缩放定律找出了预算约束下的最优资源分配策略。我们认为这些洞见将极大助力理解密集检索模型的缩放效应,并为未来的研究工作提供有意义的指导。

英文摘要:

Scaling up neural models has yielded significant advancements in a wide array of tasks, particularly in language generation. Previous studies have found that the performance of neural models frequently adheres to predictable scaling laws, correlated with factors such as training set size and model size. This insight is invaluable, especially as large-scale experiments grow increasingly resource-intensive. Yet, such scaling law has not been fully explored in dense retrieval due to the discrete nature of retrieval metrics and complex relationships between training data and model sizes in retrieval tasks. In this study, we investigate whether the performance of dense retrieval models follows the scaling law as other neural models. We propose to use contrastive log-likelihood as the evaluation metric and conduct extensive experiments with dense retrieval models implemented with different numbers of parameters and trained with different amounts of annotated data. Results indicate that, under our settings, the performance of dense retrieval models follows a precise power-law scaling related to the model size and the number of annotations. Additionally, we examine scaling with prevalent data augmentation methods to assess the impact of annotation quality, and apply the scaling law to find the best resource allocation strategy under a budget constraint. We believe that these insights will significantly contribute to understanding the scaling effect of dense retrieval models and offer meaningful guidance for future research endeavors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑