Efficient-FedRec: Efficient Federated Learning Framework for Privacy-Preserving News Recommendation

Jingwei Yi, Fangzhao Wu, Chuhan Wu, Ruixuan Liu, Guangzhong Sun, Xing Xie

Abstract

Federated learning (FL) is a promising approach for privacy-preserving news recommendation, yet it often imposes significant computational and communication burdens on mobile clients, particularly when employing large-scale Pre-trained Language Models (PLMs). We present Efficient-FedRec, a novel framework that decouples the news recommendation architecture into a server-side heavy news encoder and a client-side lightweight user model. By utilizing pre-computed news representations and a secure aggregation protocol, Efficient-FedRec significantly reduces client-side overhead by orders of magnitude while maintaining competitive accuracy and ensuring robust privacy.

The Privacy-Efficiency Trade-off in News Recommendation

Personalized news recommendation relies heavily on tracking users' historical click behaviors. Centralizing this highly sensitive data on company servers raises severe privacy concerns and risks violating data protection regulations like GDPR. Federated Learning (FL) offers a solution by allowing devices to train models locally and share only mathematical gradients with the server.

However, modern state-of-the-art news recommenders rely on massive PLMs (such as BERT, with 110M+ parameters) to understand news content. Standard FL requires transmitting these massive models between the server and edge devices. For mobile users, the bandwidth and battery drain required to download, train, and upload such models is often unacceptable. Efficient-FedRec addresses this challenge by delivering high-accuracy PLM-based recommendations without the associated client-side costs.

The Efficient-FedRec Framework

To solve the overhead problem, Efficient-FedRec employs two primary strategies: Model Decomposition and a Privacy-Preserving Training Protocol.

Model Decomposition

Instead of a monolithic architecture, the model is split into two components:

  1. The News Model (Server-side): A large PLM (e.g., BERT) that processes article text to generate news representations (embeddings). This heavy model resides exclusively on the server.
  2. The User Model (Client-side): A lightweight attention network that learns user preferences based on news embeddings. This model is shared between the server and clients.

Training Protocol & Privacy Protection

The server pre-computes representations for all news articles. To prevent the server from inferring a user's reading history via specific embedding requests, users are grouped into cohorts. These cohorts use Multi-Party Computation (MPC) to request a "union news set"—a bulk package of all articles clicked by anyone in the group. Clients then download this set and the lightweight user model, compute gradients locally using their private click history, and return the gradients via Secure Aggregation.

The Efficient-FedRec framework architecture, illustrating the interaction between clients and the server via MPC and secure aggregation.

Experimental Evaluation

The framework was evaluated on two public datasets: MIND (Microsoft News Dataset) and Adressa (a Norwegian news dataset).

Key Results

  • Maintained Accuracy: Efficient-FedRec achieves performance comparable to centralized state-of-the-art models. On the MIND dataset, it achieved an AUC of 67.44, nearly matching the centralized PLM-NR (67.79) and outperforming standard FedRec (66.54).
  • Massive Efficiency Gains: For a BERT-Base model, standard FedRec requires ~221 MB of communication and ~52 seconds of client computation per round. Efficient-FedRec slashes these to just 2.18 MB and 0.02 seconds, respectively.
  • Scalability: Because clients only handle output representations and the lightweight user model, the server can upgrade to larger PLMs (e.g., BERT-Large) without increasing the client's workload.
Comparison of computation time and communication costs between Efficient-FedRec and standard FedRec baselines.

Discussion and Future Work

Efficient-FedRec demonstrates that decoupling feature extraction from user modeling is highly effective for federated recommendation. The "union news set" mechanism elegantly solves metadata leakage, though it introduces a trade-off: larger group sizes maximize privacy but increase the communication cost of the union set. The authors found a group size of 50 to be an optimal balance.

While client-side overhead is minimized, server-side computation increases as the server must update the heavy news model. However, this is generally acceptable given the availability of powerful server-side GPU clusters. Future work may explore further optimizing secure aggregation protocols to reduce the time required for cohort grouping and gradient aggregation.

Summary updated

BibTeX
@inproceedings{yi2021efficient,
  author = {Jingwei Yi and Fangzhao Wu and Chuhan Wu and Ruixuan Liu and Guangzhong Sun and Xing Xie},
  title = {{Efficient-FedRec: Efficient Federated Learning Framework for Privacy-Preserving News Recommendation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.223},
}
Figure