ReFRS: Resource-efficient Federated Recommender System for Dynamic and Diversified User Preferences

Mubashir Imran, Hongzhi Yin, Tong Chen, Quoc Viet Hung Nguyen, Alexander Zhou, Kai Zheng · DOI · OpenReview

Abstract

Federated Recommender Systems (FRSs) offer a privacy-preserving alternative to centralized recommendation models by keeping user data on-device. However, they face significant challenges regarding resource constraints on edge devices, data heterogeneity (non-i.i.d. distributions), and the need to capture dynamic user preferences. This paper presents ReFRS, a resource-efficient federated recommender system that utilizes a lightweight Vector Quantized Variational Autoencoder (VQ-VAE) to learn compressed user preferences and an asynchronous server-side semantic clustering mechanism to aggregate models from similar users. Experimental results on MovieLens and Last.fm datasets demonstrate that ReFRS significantly outperforms standard federated learning approaches in both recommendation accuracy and computational efficiency.

Introduction

Traditional recommender systems rely on the centralization of massive amounts of sensitive user data, which raises substantial privacy concerns. Federated Learning (FL) provides a framework for training models locally on user devices, only sharing model updates with a central server. Despite this advantage, existing FRSs encounter three major hurdles:

  1. Resource Constraints: Edge devices often lack the memory to store massive embedding tables for millions of items.
  2. Data Heterogeneity: A single global model often fails to capture the diverse tastes of a non-i.i.d. user base.
  3. Dynamic Preferences: Capturing temporal sequences with sparse local data is computationally intensive.

ReFRS addresses these issues through a dual-sided architecture designed for efficiency and personalization.

Methodology

Client-Side: Lightweight Sequential Modeling

On the client device, ReFRS employs an Interaction Sampler that uses a sliding window to create manageable sessions from user history. To handle the memory bottleneck of large embedding tables, ReFRS introduces a VQ-VAE Embedding Model. Instead of a standard lookup table, it uses a Variational Autoencoder with a Vector Quantization (VQ) layer to map continuous latent vectors into a small, discrete "codebook." This allows the system to represent millions of items using a fraction of the memory typically required. These learned embeddings are then fed into sequential models like GRU4Rec or SASRec for next-item prediction.

The ReFRS architecture, illustrating the interaction between the client-side VQ-VAE embedding model and the server-side semantic clustering unit.

Server-Side: Asynchronous Semantic Clustering

To manage diverse user tastes without accessing raw data, the ReFRS server performs Asynchronous Semantic Clustering. It treats the parameters of local models as "semantic fingerprints" of user behavior. A Semantic Sampler (another VAE) projects these high-dimensional weights into a low-dimensional model embedding space. Users are then grouped into clusters using k-means.

Instead of a single global model, the server maintains multiple cluster-specific models. This Cluster-wise Aggregation ensures that users with similar preferences (e.g., fans of a specific genre) benefit from each other's updates without interference from dissimilar users. The clustering process is asynchronous, ensuring it does not block the main training loop.

The following table summarizes the mathematical notation used throughout the ReFRS framework:

Summary of notations used in the ReFRS framework.

Experimental Evaluation

The authors evaluated ReFRS on two large-scale benchmarks: MovieLens 20M (20 million ratings) and Last.fm 360K (17.5 million interactions).

Key Results

  • Accuracy: ReFRS-SASRec outperformed the standard FedAvg baseline by over 25% in Hit Ratio (HR@10) on the MovieLens 10% subset.
  • Efficiency: The system reduced the number of on-device embedded vectors from approximately 20,000 to just 100.
  • Computational Speedup: Local batch computation time was reduced from 45 minutes (standard federated matrix factorization) to just 3 seconds.
  • Privacy: The system remains compatible with Homomorphic Encryption (HE), though Differential Privacy (DP) introduces noise that can slightly degrade clustering performance.

Discussion and Conclusion

ReFRS demonstrates that model weights can serve as effective proxies for user behavior, allowing for sophisticated personalization through clustering without compromising privacy. By replacing massive lookup tables with a discrete codebook via Vector Quantization, ReFRS makes deep learning-based recommendation feasible on low-end hardware.

Future work includes addressing the "cold start" problem for new users and exploring decentralized, blockchain-based architectures to remove the need for a central federated server entirely.

Summary updated

BibTeX
@article{imran2023refrs,
  author = {Mubashir Imran and Hongzhi Yin and Tong Chen and Quoc Viet Hung Nguyen and Alexander Zhou and Kai Zheng},
  title = {{ReFRS: Resource-efficient Federated Recommender System for Dynamic and Diversified User Preferences}},
  journal = {ACM Trans. Information Systems},
  year = {2023},
  doi = {10.1145/3560486},
}
Figure