# Federated Social Recommendation with Graph Neural Network

그래프 신경망을 이용한 연합 소셜 추천

Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · arXiv · 2021년 11월 21일

- **연구 문제** 중앙집중식으로 저장된 소셜 링크와 평점 데이터는 개인정보 위험과 규제 제약을 낳으며, 연합 학습에서는 이질적인 두 관계를 함께 다루기 어렵습니다.
- **연구 방법** FeSoG는 각 클라이언트의 로컬 그래프에서 관계별 GAT 어텐션으로 임베딩을 학습하고, 의사 아이템 라벨링과 동적 LDP로 업로드 그래디언트를 보호합니다.
- **주요 결과** 세 공개 데이터셋에서 FeSoG는 연합 학습 기준선보다 낮은 RMSE와 MAE를 보고하며, Ciao에서 RMSE 5.26%, MAE 5.46%의 상대 개선을 보입니다.

## 연합 소셜 추천이 필요한 이유

소셜 추천은 사용자-아이템 상호작용과 사용자 간 소셜 링크를 함께 사용해 콜드 스타트 문제를 줄이려는 방법입니다. 그러나 기존 소셜 추천 모델들은 소셜 링크와 사용자-아이템 기록을 중앙 서버에 모아 학습하므로, 개인정보 노출 위험과 GDPR 같은 규제 환경에서의 적용 한계가 생깁니다. 이 논문은 데이터를 각 클라이언트에 로컬로 두고 그래디언트만 교환하는 연합 학습 구조에서 소셜 추천을 수행하는 문제를 다룹니다.

![Figure 1: Centralized learning (a) and federated learning (b) for social recommendation. The centralized learning trains the model with all the user privacy da…](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-a6be436ee1b94d4cb52c926bd6a40240.png?thumb=512)

**Fig. 1** . Centralized learning (a) and federated learning (b) for social recommendation. The centralized learning trains the model with all the user privacy data, i.e., both social interactions and user-item interactions, available on the server. In contrast, federated learning locally stores user privacy data, only uploading and requesting non-sensitive data from the server. Dash lines between users denotes social interactions, while solid lines between users and items denotes user-item interactions.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

연합 학습 추천 시스템은 보통 사용자-아이템 상호작용만 로컬에 두지만, 소셜 추천은 사용자-사용자 관계까지 함께 저장하고 융합해야 합니다. 저자들은 이 과정에서 이질성, 클라이언트별 개인화, 업로드 그래디언트를 통한 정보 유출이라는 세 가지 어려움을 제시합니다. FeSoG는 이 세 문제를 함께 다루는 모델로 제안됩니다.

## FeSoG의 로컬 그래프 구조와 관계별 어텐션

FeSoG는 각 클라이언트의 사용자 노드를 중심으로 로컬 그래프를 구성합니다. 이 그래프에는 사용자가 평가한 아이템과 소셜 이웃이 포함되며, 사용자-아이템 간선은 평점을 속성으로 갖고 사용자-사용자 간선은 소셜 상호작용을 나타냅니다. 서버는 임베딩 테이블을 보관하고 클라이언트는 이를 내려받아 자신의 상호작용 ID에 해당하는 임베딩을 조회합니다.

로컬 GNN은 GAT 계층을 채택해 사용자-사용자 쌍과 사용자-아이템 쌍에 각각 다른 선형 변환과 어텐션 벡터를 적용합니다. 어텐션 점수는 LeakyReLU 기반으로 계산되고 이웃별 softmax로 정규화됩니다. 이후 이웃 사용자와 이웃 아이템의 은닉 표현을 가중 집계하며, 사용자 자신, 소셜 관계, 상호작용 관계의 세 관계 벡터로 다시 가중치를 계산해 클라이언트의 로컬 사용자 임베딩 e\*를 만듭니다. 이 로컬 임베딩은 클라이언트에 남으므로 개인화에 쓰입니다.

![Figure 2: (a): The calculation of the attention weights between two embeddings, which consists of linear mapping matrix W, concatenation of two embeddings, at…](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-c0f52500df6b0f699fb5a13ebbc59993.png?thumb=512)

**Fig. 2** . (a): The calculation of the attention weights between two embeddings, which consists of linear mapping matrix W, concatenation of two embeddings, attention layer 𝑎, non-linear activation, and softmax function. (b): The local GNN learns the embedding of 𝑢1 by aggregating the neighboring embeddings.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 그래디언트 보호: 의사 아이템 라벨링과 동적 LDP

업로드되는 그래디언트는 사용자가 평가하지 않은 아이템의 그래디언트가 0이 되기 때문에, 서버가 그래디언트의 0 패턴으로 실제 상호작용 아이템을 추론할 수 있습니다. FeSoG는 이를 줄이기 위해 평가하지 않은 아이템 중 q개를 의사 아이템으로 샘플링하고, 로컬 모델이 예측한 평점을 반올림해 의사 평점으로 사용합니다. 손실은 실제 평가 아이템과 의사 아이템을 함께 포함하도록 바뀝니다.

![Figure 3: The framework of FeSoG. For simplicity and without loss of generality, we present a two-client scenario. In each client, we use the local GAT layer t…](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-107fab6a6c25f192e9ec69cf75c1a7a7.png?thumb=512)

**Fig. 3** . The framework of FeSoG. For simplicity and without loss of generality, we present a two-client scenario. In each client, we use the local GAT layer to infer node embeddings and adopt the attention layer to aggregate social neighbors and item neighbors. Then, we sample a set of pseudo items bundled with local data to calculate the loss and gradients. Both the embedding gradients and model gradients are uploaded to the server for aggregation after LDP operation.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

![Figure 6: RMSE performance with respect to different pseudo item numbers on three datasets](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-f97d96daad54d7aeeeb2b6ae7c5d35af.png?thumb=512)

**Fig. 6** . RMSE performance with respect to different pseudo item numbers on three datasets.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

![Figure 7: MAE performance with respect to different pseudo item numbers on three datasets](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-740fbc10be625325112ba592f230e1b2.png?thumb=512)

**Fig. 7** . MAE performance with respect to different pseudo item numbers on three datasets.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

또한 그래디언트를 δ로 클리핑한 뒤 라플라스 잡음을 더합니다. 이 논문은 고정 잡음 대신 그래디언트 평균에 비례하는 동적 잡음 λ·mean(g)를 제안하며, 이 식에서 λ는 잡음 강도 계수입니다. 클리핑 임계값과 잡음 강도는 모델 성능과 프라이버시 위험 사이의 절충으로 설명됩니다.

![Figure 11: RMSE performance with respect to different 𝛿 and𝜆 on three datasets](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-5808979b8ba9dcac9d2de2f1ea88acc1.png?thumb=512)

**Fig. 11** . RMSE performance with respect to different 𝛿 and𝜆 on three datasets.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

![Figure 12: MAE performance with respect to different 𝛿 and𝜆 on three datasets](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-d35cc28ca4bd32ff68fe8e48a03550c5.png?thumb=512)

**Fig. 12** . MAE performance with respect to different 𝛿 and𝜆 on three datasets.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

## 세 데이터셋에서의 비교 결과

실험은 Ciao, Epinions, Filmtrust 세 데이터셋에서 평점을 60%, 20%, 20%로 무작위 분할하여 수행되었습니다. 평가 지표는 RMSE와 MAE이며 두 값 모두 낮을수록 좋습니다. 기준선으로는 연합 학습 방법인 FedMF와 FedGNN, 그리고 중앙집중식 방법인 SoRec, SoReg, SocialMF, GCMC+SN, GraphRec, CUNE, ConsisRec이 포함됩니다.

![Table 3: Statistics of datasets](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-1a419ebc9c0991975c0ae7ff606b3c51.png?thumb=512)

**Table 3** . Statistics of datasets

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

FeSoG는 세 데이터셋의 연합 학습 기준선보다 낮은 RMSE와 MAE를 보고합니다. Ciao에서는 RMSE 5.26%, MAE 5.46%의 상대 개선이 보고되며, 연합 학습 2차 기준선인 FedGNN과 비교한 평균 상대 향상은 RMSE 2.99%, MAE 4.03%입니다. 다만 중앙집중식 기준선은 데이터 접근 조건이 다르므로, 이 결과를 연합 학습이 중앙집중식 방법보다 우수하다는 근거로 읽으면 안 됩니다.

![Table 4: Experiment results compared with baseline methods. The best federated learning results are in bold, and the best results for non-federated learning me…](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-0c116f44316b3db28698fd6bfa94b272.png?thumb=512)

**Table 4** . Experiment results compared with baseline methods. The best federated learning results are in bold, and the best results for non-federated learning methods are underlined. Improvement indicates the percent that FeSoG improves against the second-best federated learning result.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

## 연합 학습의 성능 비용과 적용 범위

저자들은 연합 학습 모델이 중앙집중식 학습 모델보다 성능이 낮은 이유로, 서버가 클라이언트의 로컬 데이터에 접근하지 못해 전역 구조를 충분히 모델링하기 어렵다는 점과 그래디언트에 잡음을 더하는 보호 방식을 제시합니다. 이는 저자들의 해석이며, 이 논문은 이 두 원인을 별도로 분리해 측정하지 않았습니다.

이 결과의 적용 범위는 세 공개 평점 데이터셋, 지정된 기준선, 그리고 원문에서 명시한 하이퍼파라미터 탐색 범위 안에 있습니다. 의사 아이템 수, 임베딩 크기, 배치 크기, 학습률, LDP 파라미터에 대한 민감도 분석도 같은 데이터셋 조건에서 읽어야 합니다. 원문은 더 적응적인 의사 아이템 샘플링, 고차 그래프 확장, 통신 효율 개선을 향후 과제로 제시합니다.

![Figure 4: RMSE performance with respect to user batch size on three datasets](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-89c3500d337fec9c5cd296cf58e8f310.png?thumb=512)

**Fig. 4** . RMSE performance with respect to user batch size on three datasets.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

![Figure 5: MAE performance with respect to user batch size on three datasets](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-b655cc119ef24875ba9f1657c0722f5a.png?thumb=512)

**Fig. 5** . MAE performance with respect to user batch size on three datasets.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

![Figure 10: Loss curves for different learning rate 𝜂 on three datasets](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd/figures/figure-061785b518a4f0336035095e7ffbad1a.png?thumb=512)

**Fig. 10** . Loss curves for different learning rate 𝜂 on three datasets.

[원문](https://arxiv.org/abs/2111.10778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu · Federated Social Recommendation with Graph Neural Network · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2021년 11월 21일
- **등록일**: 2026년 11월 6일
- **수정일**: 2021년 11월 21일
- **버전**: v1
- **arXiv**: 2111.10778
- **DOI**: 10.1145/3501815
- **분류**: cs.IR · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2111.10778v1) · [원문 PDF ↗](https://arxiv.org/pdf/2111.10778v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Recommender systems have become prosperous nowadays, designed to predict users' potential interests in items by learning embeddings. Recent developments of the Graph Neural Networks~(GNNs) also provide recommender systems with powerful backbones to learn embeddings from a user-item graph. However, only leveraging the user-item interactions suffers from the cold-start issue due to the difficulty in data collection. Hence, current endeavors propose fusing social information with user-item interactions to alleviate it, which is the social recommendation problem. Existing work employs GNNs to aggregate both social links and user-item interactions simultaneously. However, they all require centralized storage of the social links and item interactions of users, which leads to privacy concerns. Additionally, according to strict privacy protection under General Data Protection Regulation, centralized data storage may not be feasible in the future, urging a decentralized framework of social recommendation. To this end, we devise a novel framework \\textbf{Fe}drated \\textbf{So}cial recommendation with \\textbf{G}raph neural network (FeSoG). Firstly, FeSoG adopts relational attention and aggregation to handle heterogeneity. Secondly, FeSoG infers user embeddings using local data to retain personalization. Last but not least, the proposed model employs pseudo-labeling techniques with item sampling to protect the privacy and enhance training. Extensive experiments on three real-world datasets justify the effectiveness of FeSoG in completing social recommendation and privacy protection. We are the first work proposing a federated learning framework for social recommendation to the best of our knowledge.

## 원문 인용

Zhiwei Liu, Liangwei Yang, Ziwei Fan, Hao Peng, Philip S. Yu (2021). Federated Social Recommendation with Graph Neural Network. arXiv:2111.10778v1. https://doi.org/10.1145/3501815

**BibTeX**

```
@article{liu2021federated,
  title = {{Federated Social Recommendation with Graph Neural Network}},
  author = {Zhiwei Liu and Liangwei Yang and Ziwei Fan and Hao Peng and Philip S. Yu},
  year = {2021},
  eprint = {2111.10778},
  archivePrefix = {arXiv},
  doi = {10.1145/3501815},
  url = {https://arxiv.org/abs/2111.10778v1}
}
```

## 이 논문의 용어

- [RMSE](https://refivu.com/terms/ad2579cf164a-rmse)
- [MAE](https://refivu.com/terms/15fbae569b33-mae)
- [local differential privacy](https://refivu.com/terms/6f989d625b49-local-differential-privacy)
- [Epinions](https://refivu.com/terms/42c2e665658e-epinions)
- [Ciao](https://refivu.com/terms/6acba8f0d87a-ciao)
- [GraphRec](https://refivu.com/terms/5b1c9f58710a-graphrec)
- [honest-but-curious](https://refivu.com/terms/640cfca865e0-honest-but-curious)

## 다른 논문 해설

- ["Garbage In, Garbage Out" Revisited: What Do Machine Learning Application Papers Report About Human-Labeled Training Data?](https://refivu.com/papers/b9d2a096-4057-4a0d-af3f-1dcc32054d7a-garbage-in-garbage-out-revisited-what-do-machine.md)
- [Challenges and Opportunities in Deep Reinforcement Learning with Graph Neural Networks: A Comprehensive review of Algorithms and Applications](https://refivu.com/papers/fbcd0f94-4c97-409e-8dab-d3350288ed10-challenges-and-opportunities-in-deep-reinforcement-learning.md)
- [Graph Neural Network-based EEG Classification: A Survey](https://refivu.com/papers/ac995659-e04f-4f01-bdd2-432defb435e2-graph-neural-network-based-eeg-classification-a-survey.md)
- [MixHop: Higher-Order Graph Convolutional Architectures via Sparsified Neighborhood Mixing](https://refivu.com/papers/1250a8b5-0d20-48a6-bf8a-8ec6a0c220d1-mixhop-higher-order-graph-convolutional-architectures-via.md)
- [Exact Combinatorial Optimization with Graph Convolutional Neural Networks](https://refivu.com/papers/8df34e94-f13d-47fe-92a7-0d3d6b6d4386-exact-combinatorial-optimization-with-graph-convolutional.md)
- [Graph Anomaly Detection with Graph Neural Networks: Current Status and Challenges](https://refivu.com/papers/5e871def-4eab-4633-a5c5-90da0ca35779-graph-anomaly-detection-with-graph-neural-networks-current.md)
- [ROAD: The ROad event Awareness Dataset for Autonomous Driving](https://refivu.com/papers/01e6bd29-da3b-4a4b-a7bd-d94b12442017-road-the-road-event-awareness-dataset-for-autonomous.md)
- [Reinforcement Learning with Evolutionary Trajectory Generator: A General Approach for Quadrupedal Locomotion](https://refivu.com/papers/38f01b72-7547-4bd0-9edf-75b5cc41e273-reinforcement-learning-with-evolutionary-trajectory.md)
- [Can BERT Dig It? -- Named Entity Recognition for Information Retrieval in the Archaeology Domain](https://refivu.com/papers/099abbf9-9de9-4211-8934-24b10202e1c5-can-bert-dig-it-named-entity-recognition-for.md)
- [LPAC: Learnable Perception-Action-Communication Loops with Applications to Coverage Control](https://refivu.com/papers/c2b80a60-dd94-4389-b898-b6edeb33088f-lpac-learnable-perception-action-communication-loops-with.md)
- [Mine yOur owN Anatomy: Revisiting Medical Image Segmentation with Extremely Limited Labels](https://refivu.com/papers/03ee47cb-ccd3-416a-8287-a119559d70d0-mine-your-own-anatomy-revisiting-medical-image-segmentation.md)
- [Unified Automatic Control of Vehicular Systems with Reinforcement Learning](https://refivu.com/papers/edf12d28-b041-414f-89ea-e604055e1e4f-unified-automatic-control-of-vehicular-systems-with.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd-federated-social-recommendation-with-graph-neural-network)
