Uni-FedRec: A Unified Privacy-Preserving News Recommendation Framework for Model Training and Online Serving

Tao Qi, Fangzhao Wu, Chuhan Wu, Yongfeng Huang, Xing Xie

Abstract

Modern news recommendation systems face significant privacy challenges due to the centralized storage of sensitive user behavior data. While federated learning has been applied to the ranking stage, the recall stage remains a privacy bottleneck. This paper introduces Uni-FedRec, a unified framework that provides a privacy-preserving solution for the entire news recommendation pipeline. By employing a novel interest decomposition method and local differential privacy (LDP), Uni-FedRec keeps user data strictly on-device while maintaining high recommendation accuracy.

Introduction

Centralized news platforms typically collect detailed user logs to train recommendation models, raising substantial privacy concerns and regulatory hurdles such as GDPR. Previous privacy-preserving efforts have focused on the ranking stage, where a small set of candidates is sorted. However, the recall stage—filtering millions of articles into a manageable candidate set—often requires sharing "user embeddings" with the server. These embeddings can act as mathematical fingerprints, allowing servers to reconstruct a user's private history. Uni-FedRec addresses this by decentralizing both the recall and ranking processes.

Methodology

The Uni-FedRec framework splits the recommendation process into two federated stages: privacy-preserving recall and local ranking.

The Uni-FedRec framework architecture, illustrating the interaction between the User Client and the Server for privacy-preserving recall and ranking.

1. Privacy-Preserving Recall

To avoid the privacy risks of single-vector user embeddings, Uni-FedRec uses hierarchical clustering on the client side to group clicked news into distinct interest fields (e.g., sports, tech). A cluster-wise attention network then learns multiple interest representations. To communicate these interests to the server without revealing raw embeddings, the client "decomposes" them into weights relative to a shared set of Basic Interest Embeddings (BIE). Before uploading, Local Differential Privacy (LDP) is applied by adding Laplace noise to these weights. The server uses the noisy weights to reconstruct a protected interest profile for news recall.

2. Local Ranking and Federated Training

Once the server recalls a candidate set, it is distributed to the user's device. The ranking model then runs entirely locally to sort articles for display. For model updates, clients compute gradients on local data, apply gradient clipping and LDP noise, and send only these sanitized updates to the server for aggregation.

Experimental Evaluation

The framework was evaluated on two real-world datasets: MIND, a large-scale public dataset with 1 million users and 160,000+ articles, and NewsFeeds, a proprietary dataset with 20,000 users.

Results and Discussion

Uni-FedRec demonstrates a superior balance between recommendation utility and privacy protection. On the MIND dataset, it achieved a Recall@100 of 2.95, significantly outperforming baselines like YoutubeNet (1.50) and EBNR (2.31). Furthermore, the end-to-end system achieved an AUC of 79.26, a substantial improvement over the best-performing baseline (75.56).

Ablation study showing the impact of LDP, Clustering, and BIE on News Recall and Privacy Leakage.

Privacy Leakage

A key contribution is the quantification of "Privacy Leakage," defined as the rate at which a model re-recommends a user's historical clicks. Uni-FedRec significantly reduced this risk, showing a leakage rate of only 0.55 on MIND, compared to 12.29 for YoutubeNet. As shown in the ablation study, the combination of BIE, clustering, and LDP is essential for minimizing leakage while preserving recall performance.

Conclusion

Uni-FedRec is the first framework to provide end-to-end privacy for news recommendation. While the addition of LDP noise introduces a trade-off between privacy and accuracy, the multi-interest approach significantly mitigates performance loss. Future work may address the communication overhead of federated learning and the "cold start" problem for new users.

Summary updated

BibTeX
@inproceedings{qi2021uni,
  author = {Tao Qi and Fangzhao Wu and Chuhan Wu and Yongfeng Huang and Xing Xie},
  title = {{Uni-FedRec: A Unified Privacy-Preserving News Recommendation Framework for Model Training and Online Serving}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.findings-emnlp.124},
}
Figure