TL;DR
The paper introduces Federated On-server Unlearning (FOUL), a novel framework designed to efficiently erase a specific client's data contributions from a trained Federated Learning model without costly retraining from scratch. By disentangling the model into domain-invariant (causal) and domain-specific (non-causal) components during training, FOUL enables the server to execute data-free unlearning via gradient matching. This approach drastically reduces communication and computation overhead while strictly preserving the privacy and accuracy of the remaining clients.
What Problem Does This Paper Address?
With the rise of data protection regulations like GDPR, machine learning systems must support the "right to be forgotten," allowing users to request the deletion of their data. In Federated Learning (FL), where a global model is trained collaboratively across decentralized clients, removing a single client's historical influence—a process known as Federated Unlearning (FUL)—is notoriously difficult.
Existing FUL methods fall into two flawed categories:
- Retraining from scratch: Guarantees perfect unlearning but is computationally prohibitive and unscalable for large networks.
- Approximate unlearning: Often requires the "forgetting" clients to have access to the remaining clients' data (which violates FL privacy principles) or severely degrades the global model's performance on retained data.
The authors tackle the challenge of client-wise unlearning, where an entire client's dataset must be scrubbed efficiently, privately, and without access to any raw data on the server.
Methods
FOUL splits the federated process into two distinct stages:
1. Learning to Unlearn (L2U)
During the initial collaborative training phase, FOUL prepares the model for future unlearning by forcing it to learn disentangled representations. The feature extractor is split into two subnetworks:
- Causal Featurizer ($\theta_K$): Captures domain-invariant features essential for the core classification task across all clients (trained using a prototypical network framework).
- Non-Causal Featurizer ($\theta_V$): Captures domain-specific, variant features unique to individual clients (trained using a specialized hinge loss framework to maximize feature variance).
2. On-Server Gradient Matching
When a client requests erasure, the unlearning process occurs entirely on the server without accessing raw data. Because the causal featurizer contains generalizable knowledge, it is frozen. Unlearning is applied only to the non-causal featurizer.
The server optimizes an aggregated gradient ($g_{FOUL}$) by maximizing its cosine similarity with the gradients of the retain clients while intentionally minimizing (or making negative) its similarity with the gradients of the forget clients. This induces a targeted "negative transfer" effect that rapidly overwrites the forgotten client's unique footprint.
Datasets
To rigorously evaluate client-wise unlearning under distinct domain shifts, the authors leverage four prominent domain generalization benchmarks:
- PACS (Photo, Art, Sketch, Cartoon)
- VLCS (Vocal, Label, Consumer, Synthetic)
- OfficeHome (Art, Clipart, Product, Real-World)
- TerraIncognita (Wilderness camera trap datasets)
In these setups, clients are divided across domains, and an entire domain is designated as the "forget set" to simulate complete client-wise unlearning.
Key Insights and Ideas
- Target the Spurious, Save the Causal: The core philosophical breakthrough is that you don't need to alter the whole model to unlearn a client. By isolating client-specific quirks into a non-causal subnetwork, the model can safely purge targeted knowledge without damaging the shared, domain-invariant knowledge.
- Harnessing Gradient Conflict: Instead of trying to mathematically reverse-engineer weights, FOUL treats unlearning as an adversarial gradient matching problem on the server. Forcing a negative cosine similarity between the update gradient and the forget client's gradient acts as an explicit "forgetting signal."
- Time-to-Forget (T2F) Metric: The authors introduce T2F, a practical metric that quantifies unlearning efficiency by measuring the average reduction in forget-set accuracy per communication round.
Key Results
FOUL was evaluated against 9 baseline methods using ResNet-18 and ResNet-50 architectures:
- Rapid Convergence: FOUL achieves its optimal forgetting accuracy (FA) in fewer than 50 rounds, outperforming standard retraining which takes significantly longer.
- Accuracy Preservation: On the PACS dataset, FOUL achieved a Remaining Accuracy (RA) of 92.33% (outperforming the Retrain baseline of 82.84%) while successfully dropping the Forget Accuracy (FA) to near-baseline levels.
- Resource Efficiency: As shown in the paper's trade-off analysis, FOUL cuts per-round communication overhead by more than half (16.02 MB vs. 42.73 MB for standard FedAvg/Retraining) and significantly lowers local computational complexity (FLOPs).
Limitations and Future Work
Not discussed in the paper.
Summary updated