HYDRA:面向黑盒 LLM 个性化的模型分解框架
HYDRA: Model Factorization Framework for Black-Box LLM Personalization
AI总结:
提出 HYDRA 模型分解框架,通过共享基座与多个用户特定头训练重排序器和适配器,在无需访问黑盒 LLM 参数的情况下实现个性化生成,并在 LaMP 上平均提升 9.01%。
摘要:
个性化已成为现代智能系统中的一个关键研究领域,其重点是挖掘用户的行为历史并适应用户偏好,以提供量身定制的体验。尽管黑盒大型语言模型(LLM)展现出卓越的少样本能力,但其模型参数固有的不透明性,使生成输出与个体期望保持一致面临重大挑战。现有解决方案主要关注通过提示设计纳入用户特定的画像和行为;然而,由于此类方法无法捕捉所有用户之间的共享知识,往往难以有效泛化。为应对这些挑战,我们提出 HYDRA,这是一个模型分解框架,可从历史数据中捕捉用户特定行为模式,同时捕捉所有用户之间共享的通用知识,以实现个性化生成。为了捕捉用户特定行为模式,我们首先训练一个重排序器,从检索到的最相关历史记录中优先处理最有用的信息。通过将优先化历史与相应查询相结合,我们训练一个适配器,使输出与个体用户特定偏好对齐,从而无需访问黑盒 LLM 的固有模型参数。重排序器和适配器都可以分解为一个基座模型和多个用户特定头,类似于九头蛇。基座模型维护跨用户的共享知识,而多个个性化头捕捉用户特定偏好。实验结果表明,在 LaMP 基准的五个不同个性化任务上,HYDRA 相比现有最先进的基于提示的方法平均相对提升 9.01%。我们的实现可在 https://github.com/night-chen/HYDRA 获取。
英文摘要:
Personalization has emerged as a critical research area in modern intelligent systems, focusing on mining users' behavioral history and adapting to their preferences for delivering tailored experiences. Despite the remarkable few-shot capabilities exhibited by black-box large language models (LLMs), the inherent opacity of their model parameters presents significant challenges in aligning the generated output with individual expectations. Existing solutions have primarily focused on prompt design to incorporate user-specific profiles and behaviors; however, such approaches often struggle to generalize effectively due to their inability to capture shared knowledge among all users. To address these challenges, we propose HYDRA, a model factorization framework that captures both user-specific behavior patterns from historical data and shared general knowledge among all users to deliver personalized generation. In order to capture user-specific behavior patterns, we first train a reranker to prioritize the most useful information from top-retrieved relevant historical records. By combining the prioritized history with the corresponding query, we train an adapter to align the output with individual user-specific preferences, eliminating the reliance on access to inherent model parameters of black-box LLMs. Both the reranker and the adapter can be decomposed into a base model with multiple user-specific heads, resembling a hydra. The base model maintains shared knowledge across users, while the multiple personal heads capture user-specific preferences. Experimental results demonstrate that HYDRA outperforms existing state-of-the-art prompt-based methods by an average relative improvement of 9.01% across five diverse personalization tasks in the LaMP benchmark. Our implementation is available at https://github.com/night-chen/HYDRA.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。