Building a privacy-preserving Federated Recommender system for mobile devices
About
Serving personalized content on mobile devices has traditionally required pooling sensitive user data on centralized servers, a practice increasingly at odds with modern privacy expectations and geographical regulations. We present a two-stage federated recommendation system pipeline for mobile devices, built around a principled separation between non-sensitive user preference data and sensitive mobile context data that never leaves the device. The first stage runs a collaborative filtering model on non-sensitive app-context data in the cloud to generate a shortlist of relevant items. The second stage re-ranks these candidates on-device using sensitive mobile signals, with only model updates/gradients ever leaving the device. We validate the approach on MovieLens, UCI Human Activity Recognition, and a proprietary pilot dataset, and deliver a production-ready implementation as a Kotlin Multiplatform library deployable on Android and iOS.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Recommendation | MovieLens 1M | nDCG@1021.93 | 49 | |
| Click-Through Rate Prediction | MovieLens Centralized 1M (train val test 80-10-10) | AUC84.8 | 3 | |
| Click-Through Rate Prediction | MovieLens Federated IID 10 clients 1M | AUC79.6 | 3 | |
| Click-Through Rate Prediction | MovieLens Federated Non-IID 10 clients 1M | AUC77.2 | 3 |