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

通过分布感知鲁棒学习增强基于大语言模型的相关性建模

Boosting LLM-based Relevance Modeling with Distribution-Aware Robust Learning

Ant Group(蚂蚁集团)

Hong Liu, Saisai Gong, Yixin Ji, Kaixin Wu, Jia Xu, Jinjie Gu

AI总结:

针对LLM用于搜索相关性建模时细粒度区分能力不足、分布偏移下性能下降的问题,提出含分布感知样本增强与多阶段微调的DaRL框架,已部署于支付宝保险搜索。

摘要:

随着预训练大语言模型(LLM)的快速发展,近期研究已将LLM的能力应用于相关性建模,实现了性能提升。这一过程通常通过在专门标注的数据集上微调LLM来判断查询与条目之间的相关性。然而,直接通过微调和推理将LLM用于相关性建模存在两个局限。首先,LLM在执行简单是/否回答之外的细粒度任务(如评估搜索相关性)时,本身效率不高,因此可能倾向于过度自信,难以区分搜索引擎中使用的细粒度相关性等级(例如强相关、弱相关、不相关)。其次,在实际场景中面对数据分布偏移时,其性能会出现显著下降。本文针对支付宝搜索中的相关性建模,提出了一种新颖的分布感知鲁棒学习框架(Distribution-Aware Robust Learning,DaRL)。具体而言,我们设计了一种有效的损失函数,以增强基于LLM的相关性建模在查询-条目多种细粒度相关性等级上的区分能力。为提升基于LLM的相关性建模的泛化性,我们首先提出分布感知样本增强(Distribution-Aware Sample Augmentation,DASA)模块。该模块利用分布外(OOD)检测技术,主动选择原始训练集未充分覆盖的合适样本用于模型微调。此外,我们采用多阶段微调策略,同时提升分布内(ID)和分布外(OOD)性能,缩小二者之间的性能差距。DaRL已在线部署,为支付宝的保险产品搜索提供服务。

英文摘要:

With the rapid advancement of pre-trained large language models (LLMs), recent endeavors have leveraged the capabilities of LLMs in relevance modeling, resulting in enhanced performance. This is usually done through the process of fine-tuning LLMs on specifically annotated datasets to determine the relevance between queries and items. However, there are two limitations when LLMs are naively employed for relevance modeling through fine-tuning and inference. First, it is not inherently efficient for performing nuanced tasks beyond simple yes or no answers, such as assessing search relevance. It may therefore tend to be overconfident and struggle to distinguish fine-grained degrees of relevance (e.g., strong relevance, weak relevance, irrelevance) used in search engines. Second, it exhibits significant performance degradation when confronted with data distribution shift in real-world scenarios. In this paper, we propose a novel Distribution-Aware Robust Learning framework (DaRL) for relevance modeling in Alipay Search. Specifically, we design an effective loss function to enhance the discriminability of LLM-based relevance modeling across various fine-grained degrees of query-item relevance. To improve the generalizability of LLM-based relevance modeling, we first propose the Distribution-Aware Sample Augmentation (DASA) module. This module utilizes out-of-distribution (OOD) detection techniques to actively select appropriate samples that are not well covered by the original training set for model fine-tuning. Furthermore, we adopt a multi-stage fine-tuning strategy to simultaneously improve in-distribution (ID) and OOD performance, bridging the performance gap between them. DaRL has been deployed online to serve the Alipay's insurance product search...

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

↑