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

PAP-REC:面向推荐语言模型的个性化自动提示

PAP-REC: Personalized Automatic Prompt for Recommendation Language Model

Rutgers University(罗格斯大学)

Zelong Li, Jianchao Ji, Yingqiang Ge, Wenyue Hua, Yongfeng Zhang

AI总结:

针对推荐语言模型手工设计提示成本高、效果不稳定的问题,提出PAP-REC个性化自动提示框架,通过基于梯度的方法、替代指标和交替更新策略生成用户专属提示,性能优于人工提示及多种基线模型。

摘要:

近期出现的基于提示的推荐语言模型(Recommendation Language Models, RLM)可统一解决多种推荐任务。这类模型充分利用从海量预训练数据中习得的继承知识,通过提示完成下游推荐任务,无需引入额外参数或进行网络训练。然而,手工设计的提示需要大量专业知识与人力投入,因为对提示的细微改写都可能导致性能大幅波动。本文提出PAP-REC框架,用于为推荐语言模型生成个性化自动提示,以缓解人工设计提示带来的低效与效果不佳问题。具体而言,个性化自动提示允许不同用户针对同一任务拥有不同的提示令牌,这些令牌通过基于梯度的方法自动生成。为推荐语言模型生成个性化自动提示的一大挑战是搜索空间极大,导致收敛时间过长。为有效且高效地解决该问题,我们设计了替代指标,并采用交替更新调度策略来优化推荐语言模型的提示。实验结果表明,我们的PAP-REC框架能够生成个性化提示,且自动生成的提示性能优于人工构建的提示,同时也优于多种基线推荐模型。该工作的源代码可在https://github.com/rutgerswiselab/PAP-REC获取。

英文摘要:

Recently emerged prompt-based Recommendation Language Models (RLM) can solve multiple recommendation tasks uniformly. The RLMs make full use of the inherited knowledge learned from the abundant pre-training data to solve the downstream recommendation tasks by prompts, without introducing additional parameters or network training. However, handcrafted prompts require significant expertise and human effort since slightly rewriting prompts may cause massive performance changes. In this paper, we propose PAP-REC, a framework to generate the Personalized Automatic Prompt for RECommendation language models to mitigate the inefficiency and ineffectiveness problems derived from manually designed prompts. Specifically, personalized automatic prompts allow different users to have different prompt tokens for the same task, automatically generated using a gradient-based method. One challenge for personalized automatic prompt generation for recommendation language models is the extremely large search space, leading to a long convergence time. To effectively and efficiently address the problem, we develop surrogate metrics and leverage an alternative updating schedule for prompting recommendation language models. Experimental results show that our PAP-REC framework manages to generate personalized prompts, and the automatically generated prompts outperform manually constructed prompts and also outperform various baseline recommendation models. The source code of the work is available at https://github.com/rutgerswiselab/PAP-REC.

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

↑