TL;DR
The authors introduce Federated Pair-wise Learning (FPL), a privacy-preserving framework for top-N recommendation systems. FPL allows users to collaboratively train a central matrix factorization model on-device while giving them explicit control over how much sensitive positive feedback (e.g., locations they actually visited) leaves their device, surprisingly maintaining or even improving recommendation quality when less data is shared.
What Problem Does This Paper Address?
Modern recommender systems are data-hungry. To suggest your next favorite restaurant or movie, state-of-the-art models typically harvest user interaction data and process it on a centralized server. This creates a massive privacy bottleneck: users are increasingly uncomfortable sharing sensitive personal history, such as precise GPS check-ins.
While Federated Learning (FL) mitigates this by keeping raw data on-device and only sharing model updates (gradients), standard federated collaborative filtering still leaks information. If a client sends updates for every item they interacted with, a curious server can reverse-engineer those updates to reconstruct the user's private history. This paper tackles a critical question: Can we build a federated top-N recommender that gives users fine-grained control over their sensitive data without tanking recommendation accuracy?
Methods
The authors propose FPL (Federated Pair-wise Learning), which adapts the popular Bayesian Personalized Ranking (BPR) criterion to a federated architecture.
In a standard centralized BPR setup, the model learns from triples: a user preferred a positive item (consumed) over a negative item (unconsumed). In FPL, the model is split:
- Server Side: Holds the global item-factor matrix and item biases.
- Client Side: Each user's device holds its own private user-embedding vector and local interaction history.
The training follows a four-step loop: Distribution (server sends item models to clients) $\rightarrow$ Computation (clients optimize their local user vector via BPR) $\rightarrow$ Transmission (clients send back item updates) $\rightarrow$ Aggregation (server averages updates).
The core innovation lies in the Transmission step, where the authors introduce a privacy control parameter, $\pi$:
- Negative updates (unvisited places) are always sent back to the server because they are non-sensitive and indistinguishable from missing values.
- Positive updates (visited places) are only shared with a probability defined by $\pi$ (where $\pi \in [0, 1]$). If $\pi = 0$, no positive feedback ever leaves the device.
The authors evaluate two training configurations: sFPL (sequential, updating one random client at a time to mimic stochastic gradient descent) and pFPL (parallel, involving all clients simultaneously).
Datasets
The framework was evaluated using real-world check-in data from the Foursquare dataset, filtered into three distinct country-specific subsets to simulate localized federated networks:
- Brazil (Largest, highest total records)
- Canada (Smaller, less sparse)
- Italy (Similar size to Canada)
A temporal 80/20 split was applied per user to ensure realistic evaluation.
Key Insights and Ideas
- The Less-is-More Paradox ($\pi < 1$): Intuitively, one might think that sharing all data ($\pi = 1$) yields the best recommendations. However, the authors discovered that the highest F1-scores often occur at lower values of $\pi$ (e.g., $\pi = 0.1$ for Canada). Restricting positive updates acts as a natural regularizer against popularity bias, preventing the model from over-recommending hyper-popular items.
- Parallelism Preserves Performance: Transitioning from sequential training (
sFPL) to highly parallelized training (pFPL) does not significantly degrade recommendation quality, proving FPL is viable for large-scale, real-world deployments.
Key Results
- Comparable to Centralized Baselines: FPL variants (
sFPLandpFPL) achieved Precision@10 and Recall@10 scores that match or slightly outperform the traditional, non-private centralized BPR-MF baseline across all three datasets. - Outperforming Existing Federated Models: FPL significantly outperformed Federated Collaborative Filtering (FCF) in accuracy while offering vastly superior privacy guarantees, as FCF requires sharing gradients for all items.
Limitations and Future Work
While FPL performs admirably against matrix factorization baselines, a centralized Variational Autoencoder (VAE) baseline still achieved higher raw accuracy on two of the datasets. However, the authors note that VAEs require strict data filtering (k-core) and cannot generate recommendations for all users in sparse environments.
For future work, the authors plan to extend this user-controlled privacy framework beyond matrix factorization to more complex deep learning architectures and explore automated ways for devices to dynamically tune their own $\pi$ parameter based on local user preferences.
Summary updated