TL;DR
This paper introduces Federated Continual Recommendation (FCRec), a new task that combines Federated Learning (FL) for privacy with Continual Learning (CL) for evolving user preferences. They propose F³CRec, a framework that uses an Adaptive Replay Memory on the client and Item-wise Temporal Mean on the server to maintain recommendation quality over time without compromising privacy.
What Problem Does This Paper Address?
Recommendation systems are increasingly relying on user data, raising significant privacy concerns. Federated Learning (FL) offers a solution by training models collaboratively across devices without sharing raw user data. However, existing Federated Recommendation (FedRec) methods often assume static user behavior, failing to adapt to evolving preferences over time. On the other hand, Continual Learning Recommendation (CLRec) methods excel at adapting to changing preferences but typically require centralized data access, which is incompatible with FL's privacy constraints. This paper addresses the gap of maintaining recommendation quality in a privacy-preserving federated setting where user preferences are constantly evolving.
Methods
The core of the proposed solution is the F³CRec framework, designed to balance knowledge retention and adaptation under the strict constraints of FCRec. It comprises two key components:
- Adaptive Replay Memory (Client-side): This component addresses the challenge of retaining past user preferences without accessing historical data. It dynamically determines how much past information to retain for each user based on their individual preference shifts. This is achieved by measuring a "preference shift" using the ranking discrepancy of top-N items between previous and current data blocks. A user-wise consistency sampling rate, derived from this shift, controls how many past samples are replayed. Knowledge distillation is then used to transfer knowledge from the previous model to the current one, using the replayed samples.
- Item-wise Temporal Mean (Server-side): This component focuses on aggregating knowledge at the server level while preserving prior information. Since the server cannot access private user data, it relies on public parameters (e.g., item embeddings). To account for varying rates of knowledge evolution across items, it measures an "item knowledge shift" by comparing item embeddings from the previous global model with the newly aggregated ones. An adaptive weight, based on this shift, is then used to combine previous and current item knowledge, ensuring that more stable items retain their influence while dynamic items adapt more readily.
Datasets
The authors evaluate their framework on four public real-world datasets with timestamped interactions:
- ML-100K
- ML-Latest-Small
- Lastfm-2K
- HetRec2011
These datasets were partitioned into four blocks (D⁰ to D³) to simulate non-stationary data streams, with the first block serving as the base and the remaining as incremental updates.
Key Insights and Ideas
- The inherent misalignment of existing CLRec with FL: Traditional CLRec methods, relying on global knowledge or centralized replay, are fundamentally incompatible with the privacy constraints of FL. F³CRec bridges this gap by introducing client-side and server-side mechanisms tailored for federated environments.
- Personalized adaptation is crucial: Simply applying existing CLRec methods in a federated setting leads to performance degradation. F³CRec's success stems from its ability to personalize knowledge retention (client-side) and adapt aggregation (server-side) based on individual user and item dynamics.
- Ranking discrepancy as a proxy for preference shift: Using the change in rankings of top-N items is an effective, privacy-preserving way to gauge how much a user's preferences have evolved without direct access to historical data.
- Item-wise temporal mean for robust server-side aggregation: Recognizing that not all items evolve at the same pace, the item-wise temporal mean allows for more nuanced aggregation of global item knowledge, preventing older, stable items from being overshadowed by newer, rapidly changing ones.
- Privacy-utility trade-off can be managed: The paper demonstrates that adding noise to public parameters for enhanced privacy has a manageable impact on recommendation performance, suggesting a viable path for stronger privacy guarantees.
Key Results
F³CRec consistently outperforms existing CLRec methods adapted to federated settings (like RLP2 and SPP) across all datasets and FedRec backbones.
- Overall performance gains: F³CRec shows substantial improvements, with relative performance gains ranging from 4% to 50% over baseline methods like Reg and KD, and 2% to 16% over SPP.
- Client-side effectiveness: Ablation studies show that the Adaptive Replay Memory significantly improves performance, outperforming a fixed replay memory approach.
- Server-side effectiveness: The Item-wise Temporal Mean also proves crucial, with variants omitting it showing performance drops, validating its importance for adaptive aggregation.
- Robustness to noise: Adding Laplace noise for privacy protection resulted in only a minor performance degradation, indicating the framework's resilience.
Limitations and Future Work
- Limitations:
- The paper acknowledges that while privacy is enhanced, the proposed noise addition is not a formal local differential privacy (LDP) mechanism.
- The performance gains of F³CRec can vary across different FedRec backbones, with some (like PFedRec) showing less improvement, potentially due to their specific update mechanisms.
- Future Work:
- The authors suggest exploring more robust privacy-preserving techniques beyond simple noise addition.
- Further investigation into how different FedRec backbone architectures interact with the F³CRec framework could yield deeper insights.
- Extending the FCRec task to more complex recommendation scenarios (e.g., incorporating explicit feedback or sequential recommendations) would be a valuable next step.
Summary updated