TL;DR
This paper introduces URVFL, a novel attack that can reconstruct private data in Vertical Federated Learning (VFL) systems without being detected by existing security mechanisms. By cleverly integrating label information into the attack, URVFL achieves superior data reconstruction while remaining stealthy, posing a significant threat to VFL privacy.
What Problem Does This Paper Address?
Vertical Federated Learning (VFL) allows multiple parties to collaboratively train a machine learning model without sharing their raw data. Each party contributes a different set of features for the same set of data samples. While VFL aims to preserve privacy by only sharing model embeddings or gradients, it's still vulnerable to data reconstruction attacks. These attacks aim to infer the private features of one party (the victim) by leveraging information leaked during the VFL training process. Existing attacks fall into two categories: "honest-but-curious" (HBC) attacks, which follow the protocol but try to extract information, and "malicious" attacks, which actively manipulate the protocol. Most research has focused on HBC attacks, leaving malicious attacks less explored.
The paper highlights two main challenges for malicious VFL attacks:
- Distributed features and limited model access: Attackers often don't have direct access to the victim's model or data, making it hard to infer private features.
- Powerful detection strategies: Existing defenses can easily detect malicious attacks because they often alter the training task, leading to detectable changes in gradients.
This paper addresses the need for a malicious VFL attack that can overcome these challenges, achieving high-quality data reconstruction while remaining undetectable.
Methods
The core of URVFL lies in its novel approach to generating malicious gradients that are both effective for reconstruction and stealthy against detection. The attack proceeds in three main steps:
- Pretraining: The attacker first trains an encoder, a decoder, and their own bottom model on an auxiliary dataset. This phase aims to train the decoder for reconstruction, help the attacker's bottom model learn correlations with target features, and enable the encoder to capture representations of passive clients' features.
- Malicious Gradient Generation: This is the most innovative part. Instead of simply replacing the VFL training task with a malicious one (which is detectable), URVFL uses a Discriminator with Auxiliary Classifier (DAC).
- The DAC is trained to distinguish between real and fake embeddings and their corresponding labels.
- By incorporating label information into the DAC, the generated malicious gradients are made indistinguishable from those produced during honest VFL training. This is crucial for evading detection.
- The DAC helps transfer the embedding distribution from the attacker's encoder to the victim's (passive client's) models, guiding them to leak information that the decoder can use.
- Data Reconstruction: After the VFL training is guided by the malicious gradients, the attacker uses the pre-trained decoder and their own bottom model to reconstruct the victim's private features from the collected embeddings.
A variant, URVFL_sync, is also proposed, which replaces pretraining with synchronous training of all models during the VFL training phase.
Datasets
The authors evaluated URVFL on several standard datasets:
- Tabular: Credit, RT_IOT2022
- Image: MNIST, CIFAR-10, Tiny ImageNet
These datasets were partitioned into auxiliary, training, and test sets. For image datasets, features were normalized. For tabular data, categorical features were encoded, and all features were scaled.
Key Insights and Ideas
- Label information is key to stealth: The paper demonstrates that simply altering the training task is easily detectable. By cleverly incorporating label information into the attack (via the DAC), URVFL makes its gradients appear "honest," bypassing detection mechanisms.
- DAC as a stealthy gradient generator: The Discriminator with Auxiliary Classifier (DAC) is a novel component that allows for effective embedding distribution transfer while mimicking honest training, a significant improvement over traditional discriminators.
- Model congruence matters: The experiments show that using an encoder with a structure similar to the target model significantly improves reconstruction performance. This highlights the importance of understanding or mimicking the victim's model architecture.
- Robustness against defenses: URVFL not only outperforms existing attacks but also remains effective even when faced with common privacy-preserving techniques like noise addition and differential privacy, though these defenses can degrade performance.
Key Results
- Superior Reconstruction: URVFL consistently achieved lower reconstruction errors (MSE) and better embedding cosine distances across all tested datasets compared to baseline attacks like GRNA, GIA, AGN, FSHA, PCAT, and SDAR. For example, on Tiny ImageNet, URVFL achieved a reconstruction error of 0.0660, significantly outperforming FSHA (0.1131) without detection.
- Undetectable: URVFL successfully evaded state-of-the-art detection methods like SplitGuard (SG) and Gradient Scrutinizer (GS). While some attacks like AGN and FSHA showed significantly worse performance or failed completely under detection, URVFL maintained its effectiveness.
- Effective against Defenses: Even when faced with defenses like random noise addition and differential privacy, URVFL maintained a reasonable reconstruction performance, demonstrating its robustness. For instance, with a noise standard deviation of 0.7, URVFL achieved a reconstruction error of 0.0472.
- Impact of Model Complexity: Increasing the complexity of the encoder (e.g., more residual blocks in CNNs) generally led to better reconstruction performance.
Limitations and Future Work
- Defense Effectiveness: While URVFL is effective against current detection methods, it acknowledges that defenses like Nopeek (with high
avalues) and differential privacy (with lowepsilon) can impede the attack, albeit at the cost of honest training accuracy. - Impact of Target Client Number: The paper notes that increasing the number of target clients (each contributing a smaller feature subset) can diminish reconstruction performance due to feature distribution and loss of correlation information.
- Future Work: The authors suggest developing more effective defenses against malicious data reconstruction attacks that have minimal impact on honest VFL training performance. They also highlight the need for defenses that can detect attacks by analyzing gradient norm distributions, as URVFL shows distinct patterns compared to honest training.
Summary updated