Abstract
Data protection legislation like the European Union's General Data Protection Regulation (GDPR) establishes the right to be forgotten: a user (client) can request contributions made using their data to be removed from learned models. In this paper, we study how to remove the contributions made by a client participating in a Federated Online Learning to Rank (FOLTR) system. In a FOLTR system, a ranker is learned by aggregating local updates to the global ranking model. Local updates are learned in an online manner at a client-level using queries and implicit interactions that have occurred within that specific client. By doing so, each client's local data is not shared with other clients or with a centralised search service, while at the same time clients can benefit from an effective global ranking model learned from contributions of each client in the federation. In this paper, we study an effective and efficient unlearning method that can remove a client's contribution without compromising the overall ranker effectiveness and without needing to retrain the global ranker from scratch. A key challenge is how to measure whether the model has unlearned the contributions from the client $c^*$ that has requested removal. For this, we instruct $c^*$ to perform a poisoning attack (add noise to this client updates) and then we measure whether the impact of the attack is lessened when the unlearning process has taken place. Through experiments on four datasets, we demonstrate the effectiveness and efficiency of the unlearning strategy under different combinations of parameter settings.
Introduction
Modern data regulations grant users the "right to be forgotten," necessitating mechanisms to remove specific user data from machine learning models. In Federated Online Learning to Rank (FOLTR), this presents a unique challenge. FOLTR systems maintain a global ranking model by aggregating local updates from numerous clients based on real-time implicit feedback, such as clicks. Because the system is "online," the model evolves continuously.
If a user wants their contributions deleted, the "naive" solution is to reset the model and retrain it using the data from all other remaining clients. However, in an online setting, this is nearly impossible: you cannot ask thousands of users to re-interact with old search results just to rebuild a model. Even if logs were used, the computational cost would be staggering. This paper introduces an efficient unlearning framework to address these challenges without the massive cost of retraining from scratch.
Methodology: Federated Unlearning in FOLTR
The proposed framework is based on an adaptation of the FedEraser algorithm, specifically tailored for the ranking context. The process involves three main components: historical calibration, an unlearning phase, and verification.
- Historical Calibration: During normal training, clients periodically store their local model updates ($\Delta M$).
- The Unlearning Phase: When a client $c^*$ requests removal, the remaining clients perform a "reconstruction" of the training process. Instead of full retraining, they use a smaller number of local steps ($n'_i$) and calibrate their new updates against the stored historical updates. This ensures the new global model follows the original training trajectory but excludes the influence of the deleted client.
Verification via Poisoning Attack
To solve the problem of verifying that a client's influence is truly gone, the authors use a poisoning attack as an evaluation tool. In a massive federation, one honest user's contribution is a "drop in the bucket"; removing them changes almost nothing. By instructing the client-to-be-forgotten to act as a "malicious" actor and inject noise into its updates, the authors create a measurable signal.
This intentionally degrades the global model's performance. If the unlearning process is successful, the global model's performance should "recover" to the level of a "Gold Standard" baseline—a model that never saw the malicious client in the first place. This "poisoning litmus test" provides a clear metric for forgetting.
Experimental Setup and Results
The study utilizes four standard learning-to-rank (LTR) datasets: MQ2007, MSLR-WEB10k, Yahoo, and Istella-S. To simulate user behavior, the authors used the Simplified Dependent Bayesian Network (SDBN) click model, creating three types of simulated users: perfect, navigational, and informational (noisy).
Key Insights
- Effectiveness: In all experiments, the unlearned model successfully recovered ranking performance (measured by nDCG@10) to the level of the Gold Standard baseline.
- Efficiency vs. Storage: The method achieves a significant reduction in computation (fewer local steps and global rounds) at the cost of some local storage required to save historical updates.
- Hyper-parameter Sensitivity:
- Local Steps ($n'_i$): Using more local steps during unlearning leads to better ranking effectiveness but increases computation time.
- Update Interval ($\Delta t$): Storing updates more frequently (smaller $\Delta t$) leads to more accurate unlearning but requires more storage space.
Conclusion and Future Work
This paper establishes the first benchmark for machine unlearning in FOLTR systems. While the results are promising, the authors note several areas for future research. The current study assumes data is distributed identically across clients (IID), whereas real-world user behavior is highly non-IID. Additionally, future work should explore how unlearning interacts with Differential Privacy (DP) mechanisms and whether these techniques scale from linear models to deep neural ranking architectures.
Summary updated