[论文解读] A Federated Framework for LLM-based Recommendation
PPLR 提供一个用于对基于LLM的推荐系统进行隐私保护的联邦学习框架,使用动态平衡和灵活存储,在保持强准确性的同时,在权衡客户端表现与降低资源成本方面实现平衡。
Large Language Models (LLMs) have empowered generative recommendation systems through fine-tuning user behavior data. However, utilizing the user data may pose significant privacy risks, potentially leading to ethical dilemmas and violations of data protection regulations. To address the privacy concerns, Federated Learning for Recommendation (Fed4Rec) has been identified as a promising solution. However, directly applying Fed4Rec in the LLM context introduces two challenges: 1) exacerbated client performance imbalance, which ultimately impacts the system's long-term effectiveness, and 2) substantial client resource costs, posing a high demand for clients' both computational and storage capability to locally train and infer LLMs. To tackle these challenges, we propose a federated framework for LLM-based recommendation (shorted as FELLRec). Generally, FELLRec designs two key strategies. 1) Dynamic balance strategy, which designs dynamic parameter aggregation and learning speed for different clients, aiming to ensure balanced performance across clients. 2) Flexible storage strategy, which selectively retains certain sensitive LLM layers on the client side, while offloading other layers to the server, aiming to preserve privacy while saving resources. Experiment results show that FELLRec can achieve a more balanced client performance and improved overall performance in a computational and storage-efficient way while safeguarding user privacy well.
研究动机与目标
- 激发对在对基于LLM的推荐系统进行微调时的隐私关注,以及对 Fed4Rec 调整的需求。
- 识别将 Fed4Rec 应用于基于LLM的推荐时面临的挑战,特别是客户端表现不平衡和高资源成本。
- 提出隐私保护的基于LLM的推荐(PPLR)框架以应对这些挑战。
- 证明 PPLR 在保持隐私的前提下实现客户端表现平衡以及资源高效的训练/推理。
提出的方法
- 采用包含两大战略的客户端-服务器 Fed4Rec 设置:动态平衡和灵活存储。
- 使用基于 LoRA 的客户端个性化来保留每个客户端的参数,并在训练过程中固定其余 LLM 参数。
- 实现带注意力相似性的动态参数聚合,以对每个客户端的对等参与者进行加权。
- 引入 Curriculum Heating 学习方法,根据客户端的局部损失自适应学习速度。
- 将非敏感的 LLM 层卸载到服务器以降低客户端存储/计算开销,同时将输入/输出层保留在客户端以保护隐私。
- 在三个数据集上使用 R@K 和 NDCG@K 指标,在 10/20 项目排序下进行评估,并与 MF、LightGCN、FedMF、LightFR、FedPerGNN、FedAvg、FedProx、BIGRec 和 RecFormer 进行比较。

实验结果
研究问题
- RQ1在标准数据集上,PPLR 相对于隐私保护基线和非隐私保护基线的表现如何?
- RQ2动态平衡与灵活存储组件对整体性能与资源利用的影响?
- RQ3与平衡策略和存储分配相关的超参数如何影响结果?
- RQ4将 LLM 层卸载到服务器时,在隐私/资源方面有哪些权衡?
主要发现
- PPLR 在性能上持续优于其他隐私保护基线,并在性能上与集中式的基于LLM 的方法相当。
- 动态参数聚合提升了跨客户端的平衡性,相较于 FedAvg。
- 通过 Curriculum Heating 实现的动态学习速度有助于适应客户端数据异质性并提高训练效率。
- 灵活存储在保持准确性的同时降低了客户端存储与推理成本,但在攻击风险方面存在权衡,可通过层分配来缓解。
- 在 Games、Microlens 和 Book 数据集上,PPLR 采用 1024-shot 微调与 LoRA,在指标上与基线具有竞争力;例如,PPLR 常常在各指标上超越 FedAvg 和 FedProx。
- 攻击风险分析表明,增加服务端层会提高重建风险,这为层分配选择提供了信息。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。