Abstract
Collaborative personalization, such as through learned user representations (embeddings), can improve the prediction accuracy of neural-network-based models significantly. We propose Federated User Representation Learning (FURL), a simple, scalable, privacy-preserving and resource-efficient way to utilize existing neural personalization techniques in the Federated Learning (FL) setting. FURL divides model parameters into federated and private parameters. Private parameters, such as private user embeddings, are trained locally, but unlike federated parameters, they are not transferred to or averaged on the server. We show theoretically that this parameter split does not affect training for most model personalization approaches. Storing user embeddings locally not only preserves user privacy, but also improves memory locality of personalization compared to on-server training. We evaluate FURL on two datasets, demonstrating a significant improvement in model quality with 8% and 51% performance increases, and approximately the same level of performance as centralized training with only 0% and 4% reductions. Furthermore, we show that user embeddings learned in FL and the centralized setting have a very similar structure, indicating that FURL can learn collaboratively through the shared parameters while preserving user privacy.
Introduction
Personalization is critical for modern machine learning applications, from recommendation systems to keyboard predictions. This typically involves learning user representations (embeddings) that capture individual behavior. However, traditional personalization requires centralizing user data, raising significant privacy concerns. Federated Learning (FL) addresses this by training models on-device without data leaving the user's control. Yet, standard FL algorithms like Federated Averaging attempt to aggregate all parameters across users. Applying this to unique user embeddings destroys personalization and risks leaking private information.
Methods: Parameter Splitting
The core innovation of Federated User Representation Learning (FURL) is a simple architectural modification: Parameter Splitting. The model is divided into two distinct sets of parameters:
- Federated Parameters ($w_f$): These represent general model components, such as layers capturing language structure. These are transmitted to the server, averaged, and redistributed, following standard FL protocols.
- Private Parameters ($w_p$): These are user-specific embeddings. They are initialized and trained locally on the user's device and never leave it.
Theoretically, this split maintains model quality provided the training satisfies Independent Local Training and Independent Aggregation. This ensures the global model learns effectively from the collective while private parameters specialize for the individual.
Experimental Setup
FURL was evaluated on two large-scale document classification tasks:
- Sticker Dataset: Binary classification predicting sticker clicks (940,000 samples, 3,400 users).
- Subreddit Dataset: Multiclass classification predicting comment subreddits (942,000 samples, 3,800 users).
Key Results
The addition of personalization via FURL yielded dramatic improvements in the decentralized FL setting.
- Accuracy Gains: On the Subreddit task, Personalized FL (FURL) improved accuracy by 51% over standard FL. The Sticker task saw an 8.39% boost in AUC.
- Closing the Federation Gap: FURL nearly eliminated the performance gap between FL and centralized training. In the Sticker task, there was 0% performance loss compared to centralized training; in the Subreddit task, the loss was only 4%.
- Structural Alignment: Despite being trained in isolation, visualizations revealed that private embeddings naturally clustered similarly to those in centralized settings, indicating effective collaborative learning through shared global weights.
Conclusion and Future Work
FURL demonstrates that privacy-preserving personalization is not only possible but highly effective. By keeping embeddings local, it improves memory locality and scalability. Future research will address the "cold start" problem for new users and explore multi-task learning, where a single private representation serves multiple federated tasks.
Summary updated