Skip to main content
QUICK REVIEW

[논문 리뷰] A Federated Framework for LLM-based Recommendation

Jujia Zhao, Wenjie Wang|arXiv (Cornell University)|2024. 02. 15.
Recommender Systems and TechniquesComputer Science인용 수 6
한 줄 요약

PPLR은 프라이버시를 보호하는 연합 학습 기반 프레임워크를 통해 LLM 기반 추천 시스템의 파인튜닝을 수행하며, 동적 균형과 유연한 저장소를 사용해 클라이언트 성능의 균형을 맞추고 자원 비용을 줄이며 강한 정확성을 유지합니다.

ABSTRACT

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 개편의 필요성을 제시합니다.
  • LLM 기반 추천에 Fed4Rec를 적용하는 데 따른 과제, 특히 클라이언트 성능 불균형과 높은 자원 비용을 식별합니다.
  • 이러한 문제를 해결하기 위해 Privacy-Preserving LLM-based Recommendation( PPLR ) 프레임워크를 제안합니다.
  • PPLR가 프라이버시를 보존하면서도 균형 잡힌 클라이언트 성능과 자원 효율적 학습/추론을 달성함을 보여줍니다.

제안 방법

  • 동적 균형과 유연한 저장소라는 두 가지 주요 전략으로 클라이언트-서버 Fed4Rec 설정을 채택합니다.
  • 각 클라이언트 매개변수를 보존하기 위한 LoRA 기반 클라이언트 개인화와 학습 중 남은 LLM 매개변수를 고정합니다.
  • 주의 기반 유사도에 의한 동적 매개변수 집계를 구현하여 클라이언트별 동료 기여도를 가중합니다.
  • Curriculum Heating 학습 방법을 도입하여 클라이언트 로컬 손실에 따라 학습 속도를 조정합니다.
  • 민감하지 않은 LLM 계층을 서버로 오프로드하여 클라이언트 저장소/계산을 감소시키고 입력/출력 계층은 프라이버시 보호를 위해 클라이언트에 남깁니다.
  • R@K 및 NDCG@K 지표를 10/20 아이템 순위에서 MF, LightGCN, FedMF, LightFR, FedPerGNN, FedAvg, FedProx, BIGRec, RecFormer와 비교하여 세 가지 데이터셋으로 평가합니다.
Figure 2. PPLR Structure. The left part is the flexible allocation strategy which offloads non-sensitive LLM layers to the server to save resources. The right part is the dynamic balance strategy which ensures relatively balanced performance across clients.
Figure 2. PPLR Structure. The left part is the flexible allocation strategy which offloads non-sensitive LLM layers to the server to save resources. The right part is the dynamic balance strategy which ensures relatively balanced performance across clients.

실험 결과

연구 질문

  • RQ1PPLR가 표준 데이터셋에서 프라이버시 보존 기반 및 비프라이버시 보존 기반 기준선에 비해 어떤 성능을 보이는가?
  • RQ2동적 균형 및 유연한 저장 구성 요소가 전반적 성능과 자원 사용에 어떤 영향을 미치는가?
  • RQ3균형 전략 및 저장 할당에 관한 하이퍼파라미터가 결과에 어떤 영향을 주는가?
  • RQ4서버 측 LLM 계층 오프로드 시 프라이버시/자원 간의 트레이드오프는 어떻게 되는가?

주요 결과

  • PPLR은 다른 프라이버시 보존 기준선보다 일관되게 우수한 성능을 보이고 중앙 집중식 LLM 기반 방법과 유사한 성능을 달성합니다.
  • 동적 매개변수 집계가 FedAvg보다 교차 클라이언트 밸런스를 개선합니다.
  • Curriculum Heating을 통한 동적 학습 속도는 클라이언트 데이터 이질성에 적응하고 학습 효율성을 높이는 데 기여합니다.
  • 유연한 저장소는 클라이언트 저장소 및 추론 비용을 줄이면서 정확도를 유지하되, 계층 할당으로 공격 위험이 달라질 수 있는 trade-off가 존재합니다.
  • Games, Microlens, Book 데이터셋에서 LoRA를 사용한 1024-shot 파인튜닝과 함께 PPLR은 기준선과 비교해 경쟁력 있는 지표를 달성하며, 예를 들어 PPLR은 종종 FedAvg 및 FedProx를 상회합니다.
  • 공격 위험 분석은 서버 측 계층을 늘리면 재구성 위험이 증가함을 보여주며, 이는 계층 할당 선택에 정보를 제공합니다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.