Federated Collaborative Filtering for Privacy-Preserving Personalized Recommendation System
Muhammad Ammad-ud-din, Elena Ivannikova, Suleiman A. Khan, Were Oyomno, Qiang Fu, Kuan Eeik Tan, Adrian Flanagan
TL;DR
This paper introduces Federated Collaborative Filtering (FCF), a privacy-preserving extension of classic collaborative filtering that keeps user data on-device while updating the global item-factor model on a central server. By updating user factors locally and aggregating gradients to refine item factors, the approach maintains CF performance on implicit feedback tasks with convergence stabilized by Adam optimization. Experiments on simulated, MovieLens, and in-house data show negligible accuracy loss compared to centralized CF, highlighting the privacy benefits without sacrificing recommender quality. The work lays groundwork for privacy-aware personalized recommendations and outlines avenues for online learning, communication efficiency, and security enhancements in federated recommender systems.
Abstract
The increasing interest in user privacy is leading to new privacy preserving machine learning paradigms. In the Federated Learning paradigm, a master machine learning model is distributed to user clients, the clients use their locally stored data and model for both inference and calculating model updates. The model updates are sent back and aggregated on the server to update the master model then redistributed to the clients. In this paradigm, the user data never leaves the client, greatly enhancing the user' privacy, in contrast to the traditional paradigm of collecting, storing and processing user data on a backend server beyond the user's control. In this paper we introduce, as far as we are aware, the first federated implementation of a Collaborative Filter. The federated updates to the model are based on a stochastic gradient approach. As a classical case study in machine learning, we explore a personalized recommendation system based on users' implicit feedback and demonstrate the method's applicability to both the MovieLens and an in-house dataset. Empirical validation confirms a collaborative filter can be federated without a loss of accuracy compared to a standard implementation, hence enhancing the user's privacy in a widely used recommender application while maintaining recommender performance.
