TL;DR
Traditional federated learning (FL) frameworks permanently retain a "trace" of a participant's data within the trained model, creating severe privacy risks and legal liabilities if a participant leaves the federation. This paper introduces the concept of Revocable Federated Learning and proposes RevFRF, a secure and highly efficient federated Random Forest framework that can completely and securely erase a revoked participant's data from the model. By leveraging multi-key homomorphic encryption, RevFRF achieves robust participant revocation with less than 1% performance loss and speeds up tree construction by up to 2000x compared to traditional privacy-preserving alternatives.
What Problem Does This Paper Address?
Federated learning allows multiple parties (like different hospitals or companies) to collaboratively train a machine learning model without directly sharing their raw datasets. However, existing FL frameworks operate under a flawed assumption: that participants never leave the federation.
In reality, commercial partnerships end, or users invoke their "right to be forgotten." If a participant is revoked, their data remains embedded in the trained model's parameters. This permanent "trace" leaves the model vulnerable to data reconstruction or membership inference attacks. In company-level collaborations, allowing competitors to continue benefiting from a departed company's proprietary data is unacceptable and legally fraught.
The authors address this gap by formalizing the security requirements for a benchmark revocable learning federation, focusing on three pillars: Collaboration Privacy, Usage Privacy, and Revocation Privacy.
Methods
The authors implement their framework using a Random Forest (RF) architecture, chosen because its discrete tree structure makes tracking and deleting a participant's "memory" much more intuitive than the abstract weights of a deep neural network.
The core technical engine of RevFRF is a modified Distributed Two Trapdoors Public-Key Cryptosystem (DT-PKC). This cryptographic tool allows homomorphic encryption and secure comparisons across different domains using different public keys. The framework consists of four entities: a Center Server (CS), Normal Participants (UD), a Computation Service Provider (CC), and a trusted Key Generation Center (KGC).
The workflow spans three secure stages:
- Secure RF Construction: Trees are grown iteratively using a federated leaf expansion protocol (
FLE-Expan) and an optimal split-finding protocol (FOS-Find). Crucially, tree nodes are encrypted using the specific public key of the participant who provided that data split. - Secure RF Prediction: When a user submits a prediction request, the Center Server traverses the trees using a secure homomorphic comparison protocol (
HoLT). This ensures that neither the request content nor the tree nodes are exposed during inference. - Secure Participant Revocation: RevFRF supports two levels of revocation. First-level revocation ("forward security") identifies and deletes the specific nodes contributed by the departing participant, then securely rebuilds those sub-trees using the remaining participants' data. Second-level revocation ("backward security") uses a ciphertext refresh protocol (
HEncRefresh) to blind the revoked nodes with random values, ensuring that even if the revoked participant's keys are later compromised, the historical data remains completely unrecoverable.
Datasets
The authors evaluated RevFRF using eight standard datasets from the UCI Machine Learning Repository:
- Classification: Adult Income, Bank Market, Drug Consumption, and Wine Quality.
- Regression: Super Conduct, Appliance Energy, Insurance Company, and News Popularity.
These datasets were used to benchmark accuracy, error metrics (MSE, MAE, $R^2$), and computational efficiency against both non-federated models and existing privacy-preserving frameworks.
Key Insights and Ideas
- Random Forests as the Ideal Paradigm: While neural networks dominate FL discussions, their highly entangled weight matrices make targeted data deletion incredibly difficult. Random Forests isolate feature contributions into discrete decision nodes, making them the perfect architecture for clean, verifiable data revocation.
- Localized Rebuilding Over Total Retraining: Instead of throwing away the entire model and starting from scratch when a participant leaves, RevFRF only targets the specific sub-trees containing the revoked participant's nodes. Because decision trees are isolated structures, rebuilding a few nodes has zero impact on the rest of the forest.
- Data Redundancy is a Feature: The experiments revealed that real-world datasets contain significant feature redundancy. Consequently, removing a participant's unique features during revocation causes negligible damage to the overall model utility.
Key Results
- Minimal Accuracy Loss: RevFRF introduces less than a 1% performance drop during initial construction compared to standard, non-federated Random Forests.
- Resilience to High Revocation Rates: Even when up to 50% of the participants were revoked from the federation, the classification accuracy loss remained under 5%, and the regression error increase was less than 3%.
- Massive Speedups: Traditional homomorphic encryption frameworks are notoriously slow because they encrypt entire databases. By minimizing HE usage to just once per RDT node, RevFRF constructs a random decision tree in roughly 3 seconds—making it over 2000 times faster than traditional HE-based alternatives.
Limitations and Future Work
While the paper successfully establishes a benchmark for Random Forests, extending this clean revocation mechanism to deep learning models remains an open challenge. The authors briefly outline a theoretical approach for neural networks—suggesting that gradients could be encrypted and aggregated using secure addition across domains (HoAdd). However, due to the abstract and interconnected nature of neural network weights, implementing a precise, localized "forgetting" mechanism without full retraining remains a complex hurdle for future research.
Summary updated