TL;DR
This paper introduces FedIPR, a novel framework for verifying ownership of federated deep neural network (FedDNN) models. FedIPR allows individual clients to embed private watermarks into their local models without revealing their data or watermarks, and then independently verify ownership of the aggregated global model, addressing crucial intellectual property protection needs in federated learning.
What Problem Does This Paper Address?
Federated learning (FL) enables collaborative model training across multiple parties without sharing raw data. However, this collaborative process creates vulnerabilities: trained models can be illegally copied, redistributed, or misused. Protecting the intellectual property rights (IPR) of these valuable models is paramount. Existing DNN watermarking techniques are often designed for centralized settings and don't directly translate to the distributed, privacy-preserving nature of FL. Specifically, in FL, clients need to embed their own unique watermarks and verify ownership without exposing their private data or the watermarks themselves to other participants or potential adversaries. This paper tackles the challenge of enabling secure, client-side ownership verification in FL.
Methods
The core of FedIPR is a two-pronged approach to watermark embedding and verification:
- Backdoor-based Watermarks: These use specific trigger inputs that, when fed to the model, cause it to output a designated incorrect label. Ownership is verified by checking if the model exhibits this specific behavior for the trigger inputs. This method allows for black-box verification, meaning the attacker's model parameters don't need to be accessed.
- Feature-based Watermarks: These embed binary strings directly into the model's parameters, typically in normalization layer weights. Verification requires white-box access to the model's parameters to extract and compare the embedded watermark.
FedIPR integrates these into a secure federated learning (SFL) framework. Each client generates its own private watermarks (both backdoor triggers and feature-based patterns) and embedding parameters. During training, clients embed these watermarks into their local models using regularization terms added to the main task loss. The aggregated global model is then subject to verification. A key innovation is the theoretical analysis (Theorem 1) that establishes conditions for embedding multiple client watermarks without conflict and provides bounds on detection rates. The framework is designed to be robust against various privacy-preserving FL strategies (like differential privacy and defensive aggregation) and removal attacks.
Datasets
The paper evaluates FedIPR on several standard datasets:
- Image Classification: CIFAR-10 and CIFAR-100.
- Natural Language Processing: GLUE benchmark, specifically SST2 and QNLI datasets.
Key Insights and Ideas
- Client-side Ownership: The ability for each client to independently embed and verify their own watermarks is a significant departure from centralized approaches, empowering individual contributors.
- Dual Watermarking Strategy: Combining both feature-based and backdoor-based watermarks provides a comprehensive ownership verification system, offering both white-box and black-box verification capabilities.
- Theoretical Guarantees: The paper provides theoretical analysis (Theorem 1) that not only justifies the feasibility of embedding multiple watermarks but also offers insights into optimal bit-length assignments and detection rate bounds, crucial for practical deployment.
- Robustness is Key: FedIPR demonstrates remarkable resilience against common FL privacy techniques (DP, defensive aggregation) and removal attacks (fine-tuning, pruning), suggesting its practical applicability.
- Normalization Layers as Robust Watermark Locations: Feature-based watermarks embedded in normalization layer weights are shown to be particularly robust against removal attacks compared to those in convolution layers.
Key Results
- Fidelity: FedIPR causes only a slight drop in main task accuracy (less than 2%) compared to standard FedAvg, indicating minimal performance degradation.
- Significance: High watermark detection rates (ηF > 70% and ητ > 90% in various scenarios) and very low p-values (e.g., < 1.17e-17 for feature-based, < 4.02e-142 for backdoor-based) demonstrate strong statistical evidence for ownership claims.
- Robustness: Watermarks remain detectable even under differential privacy (with minimal drop), client selection, defensive aggregation, fine-tuning, and pruning attacks. For instance, detection rates for feature-based watermarks in normalization layers remain high even after fine-tuning or pruning.
- Freerider Detection: FedIPR effectively distinguishes benign clients from freeriders, as freeriders fail to verify watermarks due to their lack of actual training contributions.
Limitations and Future Work
- Scalability: The paper acknowledges that implementing FedIPR at a very large scale (e.g., millions of clients) presents a significant challenge due to computational costs. This is identified as a direction for future work.
- Adversarial Trigger Generation: While FedIPR is robust against random trigger generation, the paper notes that an adversary who can generate effective triggers and retrain the model might pose a challenge. Future work could explore more advanced defenses against such sophisticated adversaries.
- Non-IID Settings: While experiments show FedIPR works under non-IID settings, further exploration and optimization for highly skewed data distributions could be beneficial.
Summary updated