Federated Recommendation with Additive Personalization

Zhiwei Li, Guodong Long, Tianyi Zhou

TL;DR

FedRAP (Federated Recommendation with Additive Personalization) improves federated recommendation systems by allowing users to maintain their own "local view" of items alongside a shared "global view." This additive approach captures individual nuances in item perception while using enforced sparsity to slash communication costs between clients and the server.

The Problem with Shared Item Embeddings

Standard recommendation systems typically centralize user data, posing significant privacy risks. Federated Learning (FL) offers a solution by keeping data on-device and only sharing model updates. However, existing federated recommendation models usually share a single, identical set of item embeddings across all users.

The authors argue that this approach is fundamentally flawed: different users perceive the same item differently. One person might like a movie for its cinematography, while another likes it for the lead actor. A one-size-fits-all item embedding fails to capture these individual differences in perception. Furthermore, transmitting dense item embedding matrices back and forth creates massive communication overhead and latency, making it impractical for many real-world mobile applications.

The FedRAP Method: Additive Personalization

The core innovation of FedRAP is Additive Personalization. Instead of relying on a single item embedding, the model represents an item as the sum of two distinct parts:

  1. Global View ($C$): A shared matrix learned via federated aggregation that captures universal item features.
  2. Personalized View ($D^{(i)}$): A private matrix stored locally on the user's device that captures the user's unique perspective on that item.
The FedRAP framework showing the interaction between local and global embeddings.

To make this architecture work effectively, the authors introduce three key technical components:

  • Dual Regularization: They apply an $L_1$ norm to the global view to enforce sparsity, which drastically reduces the amount of data sent over the network. Simultaneously, they use a Frobenius norm regularizer to maximize the difference between the local and global views, ensuring they are complementary rather than redundant.
  • Curriculum Learning: Enforcing this additive structure too early in training can hamper performance. The authors propose a curriculum where regularization weights are gradually increased (using a tanh function), allowing the model to transition smoothly from full personalization to a balanced additive state as it matures.
  • Differential Privacy (DP): To prevent a curious server from reverse-engineering user data from gradient updates, FedRAP incorporates gradient clipping and Gaussian noise injection.

Experimental Setup and Datasets

The model was evaluated on six diverse, publicly available recommendation benchmarks characterized by high sparsity (over 93% of possible user-item interactions are missing), reflecting real-world conditions:

  • MovieLens-100K & MovieLens-1M: Classic movie recommendation datasets.
  • Amazon-Instant-Video: User interactions with streaming video.
  • LastFM-2K: Music artist recommendations.
  • Ta Feng Grocery: Retail purchase data.
  • QB-article: News and article interactions.

Key Insights

  • Bipartite Personalization: Most research focuses on personalizing the user side of the equation. FedRAP demonstrates that personalizing the item side is equally critical for accuracy.
  • Sparsity as an Asset: Sparsity isn't just a trick to save bandwidth; it acts as a bottleneck that forces the global model to learn only the most essential, shared features, leaving the "long tail" of personal preferences to the local model.
  • Stability through Curriculum: By starting with low regularization, the model avoids the instability of trying to separate global and local signals before the embeddings have actually learned anything useful.

Key Results

FedRAP significantly outperformed state-of-the-art federated methods (like FedMF, FedNCF, and PFedRec) across all six datasets.

  • Accuracy: On the ML-100K dataset, FedRAP achieved a Hit Rate (HR@10) of 97.09%, compared to 70.03% for the next best federated baseline (PFedRec).
  • Convergence: FedRAP reaches high performance levels in fewer than 10 iterations and shows a stable convergence trend within 100 iterations, making it highly efficient.
  • Privacy-Utility Trade-off: While adding Differential Privacy noise naturally degrades performance, FedRAP-noise still outperformed several non-private baselines, proving its robust architecture.
Comparison of HR@10 and NDCG@10 across six datasets, showing FedRAP's consistent lead.

Limitations and Future Work

The primary limitation acknowledged by the authors is on-device storage. Currently, FedRAP requires each user to store the complete item embedding matrix locally. For systems with millions of items, this could exceed the storage capacity of a typical smartphone.

The authors suggest that future work could involve only storing embeddings for items a user has actually interacted with. Additionally, the "cold-start" problem—how to handle brand-new items that have no global or local history—remains an open challenge for this specific additive architecture.

Summary updated

BibTeX
@inproceedings{li2024federated,
  author = {Zhiwei Li and Guodong Long and Tianyi Zhou},
  title = {{Federated Recommendation with Additive Personalization}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=xkXdE81mOK},
}
Figure