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

基于LLM推荐的数据高效微调

Data-efficient Fine-tuning for LLM-based Recommendation

Xinyu Lin, Wenjie Wang, Yongqi Li, Shuo Yang, Fuli Feng, Yinwei Wei, Tat-Seng Chua

AI总结:

提出一种基于影响分数和努力分数的数据剪枝方法,用于LLM推荐的少样本微调,仅用2%样本超越全数据微调并降低97%时间成本。

摘要:

利用大型语言模型(LLMs)进行推荐最近引起了广泛关注,其中微调在LLMs的适应中起着关键作用。然而,在快速扩展的推荐数据上微调LLMs的成本限制了其实际应用。为了应对这一挑战,少样本微调提供了一种有前景的方法,可以快速将LLMs适应到新的推荐数据。我们提出了用于高效基于LLM推荐的数据剪枝任务,旨在识别适合LLMs少样本微调的代表性样本。虽然核心集选择与所提出的任务密切相关,但现有的核心集选择方法通常依赖于次优的启发式度量或在大规模推荐数据上需要昂贵的优化。为了解决这些问题,我们在基于LLM推荐的背景下引入了数据剪枝任务的两个目标:1)高准确性旨在识别能够带来高整体性能的有影响力样本;2)高效率强调数据剪枝过程的低成本。为了追求这两个目标,我们提出了一种基于两个分数的新型数据剪枝方法,即影响分数和努力分数,以高效识别有影响力的样本。特别是,引入影响分数是为了准确估计样本移除对整体性能的影响。为了实现数据剪枝过程的低成本,我们使用一个小型代理模型来替代LLMs以获得影响分数。考虑到代理模型和LLMs之间的潜在差距,我们进一步提出了努力分数,专门为LLMs优先处理一些困难样本。在三个真实世界数据集上的实证结果验证了我们提出方法的有效性。特别是,所提出的方法仅使用2%的样本就超越了全数据微调,将时间成本降低了97%。

英文摘要:

Leveraging Large Language Models (LLMs) for recommendation has recently garnered considerable attention, where fine-tuning plays a key role in LLMs' adaptation. However, the cost of fine-tuning LLMs on rapidly expanding recommendation data limits their practical application. To address this challenge, few-shot fine-tuning offers a promising approach to quickly adapt LLMs to new recommendation data. We propose the task of data pruning for efficient LLM-based recommendation, aimed at identifying representative samples tailored for LLMs' few-shot fine-tuning. While coreset selection is closely related to the proposed task, existing coreset selection methods often rely on suboptimal heuristic metrics or entail costly optimization on large-scale recommendation data. To tackle these issues, we introduce two objectives for the data pruning task in the context of LLM-based recommendation: 1) high accuracy aims to identify the influential samples that can lead to high overall performance; and 2) high efficiency underlines the low costs of the data pruning process. To pursue the two objectives, we propose a novel data pruning method based on two scores, i.e., influence score and effort score, to efficiently identify the influential samples. Particularly, the influence score is introduced to accurately estimate the influence of sample removal on the overall performance. To achieve low costs of the data pruning process, we use a small-sized surrogate model to replace LLMs to obtain the influence score. Considering the potential gap between the surrogate model and LLMs, we further propose an effort score to prioritize some hard samples specifically for LLMs. Empirical results on three real-world datasets validate the effectiveness of our proposed method. In particular, the proposed method uses only 2% samples to surpass the full data fine-tuning, reducing time costs by 97%.

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

↑