Abstract
This work presents the first machine learning protocol for oblivious exact unlearning using Extremely Randomized Trees (ERTs) and Fully Homomorphic Encryption (FHE). By exploiting the data-independent structure of ERTs, the protocol ensures that deleting a user's data is mathematically equivalent to never having trained on it. Furthermore, the operation is cryptographically indistinguishable from standard training or inference requests, providing high privacy guarantees for both users and model owners.
Introduction
The "right to be forgotten," enshrined in regulations like the GDPR, poses a significant technical challenge for machine learning. Deleting a data point from a database does not automatically remove its influence from a trained model. Existing "unlearning" methods often rely on expensive retraining or approximate techniques that may leave privacy-compromising traces.
Moreover, in scenarios where the model resides on an untrusted server, the server might ignore deletion requests or track which users exercise their right to be forgotten. This paper addresses two critical gaps: Exact Unlearning, where the post-deletion model state is identical to a model trained without that data, and Obliviousness, where the server cannot distinguish between training, inference, and unlearning requests.
Methodology
The proposed protocol integrates Extremely Randomized Trees (ERTs) with the TFHE (Torus FHE) framework. ERTs are particularly suited for encrypted computation because their tree structure (splits and thresholds) is chosen randomly and independently of the training data. This avoids the computationally expensive process of finding optimal splits under encryption.
Architectural Separation
A key innovation is the separation of the model into three functional components: the Training Tree, the Inference Tree, and the Compiled Tree. This separation allows the system to maintain a uniform traversal path for all query types, which is essential for achieving obliviousness.
- Training Tree: Stores encrypted counters for each class in the leaf nodes.
- Inference Tree: Contains the final class labels derived from the counters.
- Compiled Tree: Used for navigation, ensuring the server follows the same path regardless of the operation type.
Blind Add Ternary (BAAT)
The authors introduce the BAAT algorithm to update leaf counters obliviously. BAAT allows the server to add a ternary value $v \in \{+1, 0, -1\}$ to an encrypted counter at an encrypted index. This single operation supports training (+1), unlearning (-1), and inference (0). Because the server performs the same sequence of operations regardless of $v$, it cannot determine the nature of the request.
Experimental Evaluation
The protocol was evaluated using four standard UCI datasets: Iris, Wine, Breast Cancer, and Japanese Credit Screening.
Performance and Accuracy
The encrypted ERT implementation demonstrated significant speedups, training up to 2.4× faster than state-of-the-art encrypted random forests based on the CKKS scheme. Accuracy remained comparable to cleartext ERTs, provided that the 8-bit leaf counters did not overflow. Interestingly, the authors observed that occasional overflows could act as an implicit pruning mechanism, sometimes improving model robustness by neutralizing poorly split trees.
Privacy and Compliance
The protocol achieves "Exact" unlearning, meeting the strictest regulatory requirements. Cryptographic proofs confirm that a semi-honest server cannot distinguish between different types of operations, ensuring full obliviousness.
Discussion and Future Work
While the current implementation is highly efficient for shallow trees ($d \le 4$), scaling to deeper trees and larger datasets presents challenges. The 8-bit counter capacity (max 256) can be a bottleneck, though it can be expanded to 4096 with a 50% computational overhead. Additionally, the bandwidth requirements for FHE remain high, although PRG-based compression can mitigate this.
Future research will focus on "homomorphic removal of corrupted trees," enabling the forest to self-correct and prune underperforming components entirely within the encrypted domain.
Summary updated