Abstract
Large Language Models (LLMs) increasingly leverage Federated Learning (FL) to utilize private, task-specific datasets for fine-tuning while preserving data privacy. However, while federated LLM frameworks effectively enable collaborative training without raw data sharing, they critically lack built-in mechanisms for regulatory compliance like GDPR’s right to be forgotten. Integrating private data heightens concerns over data quality and long-term governance, yet existing distributed training frameworks offer no principled way to selectively remove specific client contributions post-training. Due to distributed data silos, stringent privacy constraints, and the intricacies of interdependent model aggregation, federated LLM unlearning is significantly more complex than centralized LLM unlearning. To address this gap, we introduce Oblivionis, a lightweight learning and unlearning framework that enables clients to selectively remove specific private data during federated LLM training, enhancing trustworthiness and regulatory compliance. By unifying FL and unlearning as a dual optimization objective, we incorporate 6 FL and 5 unlearning algorithms for comprehensive evaluation and comparative analysis, establishing a robust pipeline for federated LLM unlearning. Extensive experiments demonstrate that Oblivionis outperforms local training, achieving a robust balance between forgetting efficacy and model utility, with cross-algorithm comparisons providing clear directions for future LLM development.
Introduction
As Large Language Models (LLMs) are increasingly fine-tuned on sensitive, domain-specific data such as medical or financial records, Federated Learning (FL) has emerged as the standard for training without compromising raw data privacy. However, a significant regulatory gap remains: the "right to be forgotten." Under frameworks like the EU's GDPR, users must have the ability to request the removal of their data from a model's knowledge base.
Simply deleting the raw data is insufficient, as the information remains encoded within the model's weights. Federated unlearning is inherently more complex than its centralized counterpart due to the distributed nature of data silos and the risk of "catastrophic forgetting," where the process of erasing specific information inadvertently degrades the model's general reasoning capabilities. Oblivionis addresses these challenges by providing a standardized, parameter-efficient framework for federated LLM unlearning.
The Oblivionis Framework
Oblivionis treats learning and unlearning as a dual optimization objective, ensuring that the model remains performant while being capable of targeted data removal. The framework is built upon a parameter-efficient architecture using Low-Rank Adaptation (LoRA). By updating less than 1.8% of the model's total weights, Oblivionis minimizes the communication overhead typically associated with federated training of multi-billion parameter models.
The framework operates through a structured three-step pipeline:
- Centralized Pre-training: Establishing a robust base model.
- Federated Fine-Tuning (FedFT): Collaborative training across multiple clients using private, local datasets.
- Federated Targeted Unlearning (FedTU): Selectively removing the influence of specific data points upon a client's request.
Oblivionis is designed to be "plug-and-play," supporting a diverse array of 6 FL algorithms (e.g., FedAvg, FedProx, and adaptive optimizers like FedAdagrad) and 5 unlearning methods (e.g., Gradient Difference, SimNPO, and NPO).
Experimental Results and Insights
The researchers evaluated Oblivionis using the Llama-2 and Llama-3 families across two primary benchmarks: TOFU (Task of Fictitious Unlearning) and MUSE. These benchmarks allow for precise tracking of how well a model forgets targeted "fictitious" facts while retaining general world knowledge.
Key findings from the extensive experimental suite include:
- Federated Stability: Federated Learning proved significantly more robust than local training for unlearning. While local models often suffered from catastrophic utility collapse during unlearning, the collaborative nature of FL stabilized the model, preserving general utility.
- Optimizer Trade-offs: The study identified a split between Adaptive Optimization FL (AOFL) and Weighted Averaging FL (WAFL). AOFL methods (like FedAdagrad) are "aggressive" forgetters—highly effective at erasure but more prone to utility loss. Conversely, WAFL methods (like FedAvg) are "stable" learners, preserving utility better while being slightly less efficient at complete erasure.
- Superior Utility: Oblivionis achieved an average model utility 27.43% higher than the best local training baselines. Using the SimNPO algorithm, the framework reached a Forget Truth Ratio (FTR) comparable to the "Retrain" gold standard, effectively erasing targeted data as if the model had never encountered it.
Conclusion
Oblivionis establishes a robust, lightweight pipeline for federated LLM unlearning, successfully balancing the tension between forgetting efficacy and model utility. By leveraging LoRA and a dual-optimization approach, it provides a scalable path for LLMs to comply with global privacy regulations. Future work will focus on developing "unlearning-aware" optimizers to further refine the surgical removal of information without collateral damage to model reasoning.
Summary updated