arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.10613cs.IR
收藏

面向基于大语言模型的稠密检索的任务级分布鲁棒优化

Task-level Distributionally Robust Optimization for Large Language Model-based Dense Retrieval

Guangyuan Ma, Yongliang Ma, Xing Wu, Zhenpeng Su, Ming Zhou, Songlin Hu

AI总结:

针对LLM-DR跨领域训练数据配比依赖经验设置的问题,提出tDRO算法端到端学习并迁移任务权重,提升泛化与检索性能,同时最多减少30%数据用量。

摘要:

基于大语言模型的稠密检索(LLM-DR)会在来自不同领域的大量异构微调集合上进行优化。然而,关于其训练数据分布的讨论仍然很少。以往研究依赖于凭经验指定的数据集选择或采样比例,这不可避免地导致次优的检索性能。本文提出一种用于 LLM-DR 微调的新型任务级分布鲁棒优化(tDRO)算法,旨在通过端到端重新加权每个任务的数据分布来提升通用领域泛化能力。tDRO 对领域权重进行参数化,并使用缩放后的领域梯度更新这些权重。随后,优化后的权重被迁移到 LLM-DR 微调中,以训练更鲁棒的检索器。实验表明,在将本文优化算法应用于一系列不同规模的 LLM-DR 模型后,在大规模检索基准上取得了最优提升,并将数据集使用量减少至多30%。

英文摘要:

Large Language Model-based Dense Retrieval (LLM-DR) optimizes over numerous heterogeneous fine-tuning collections from different domains. However, the discussion about its training data distribution is still minimal. Previous studies rely on empirically assigned dataset choices or sampling ratios, which inevitably lead to sub-optimal retrieval performances. In this paper, we propose a new task-level Distributionally Robust Optimization (tDRO) algorithm for LLM-DR fine-tuning, targeted at improving the universal domain generalization ability by end-to-end reweighting the data distribution of each task. The tDRO parameterizes the domain weights and updates them with scaled domain gradients. The optimized weights are then transferred to the LLM-DR fine-tuning to train more robust retrievers. Experiments show optimal improvements in large-scale retrieval benchmarks and reduce up to 30% dataset usage after applying our optimization algorithm with a series of different-sized LLM-DR models.

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

↑