TL;DR
This paper introduces Geminio, a novel attack that leverages vision-language models (VLMs) to enable language-guided gradient inversion attacks (GIAs) in federated learning (FL). Geminio allows attackers to specify desired data characteristics using natural language, enabling them to reconstruct specific, high-value private data samples from large batches, a feat previously challenging for existing GIA methods.
What Problem Does This Paper Address?
Federated learning (FL) is a privacy-preserving approach where models are trained on decentralized data. However, FL is vulnerable to attacks, particularly gradient inversion attacks (GIAs), where a malicious FL server attempts to reconstruct private data from client gradients. A significant challenge for GIAs is reconstructing high-resolution images from large data batches, as the search space for potential data samples becomes exponentially larger. While some methods try to focus reconstruction on specific samples (e.g., outliers), they lack a flexible and semantically meaningful way for the attacker to specify what data is of interest. This paper addresses this gap by proposing a method to transform GIAs into targeted, language-driven attacks.
Methods
Geminio operates in two phases:
- Preparation Phase:
- The attacker provides a natural language query (e.g., "show me all valuables").
- A pretrained Vision-Language Model (VLM) is used to measure the similarity between auxiliary (unlabeled) images and the query.
- This similarity information is used to reshape the loss surface of a malicious global model. The goal is to amplify the loss for samples that match the query and suppress it for others. This is achieved by minimizing a custom loss function that uses the VLM-derived similarity scores as scaling factors.
- The auxiliary dataset can be publicly available (like ImageNet) or scraped from the internet, and the VLM can even generate soft labels for unlabeled data.
- Attack Phase:
- The FL server sends the malicious global model (prepared in the previous phase) to a victim client.
- The victim client trains this model on its private data batch. Due to the reshaped loss surface, the gradients generated by the victim will be dominated by samples that match the attacker's query.
- These "guided" gradients are then fed into existing reconstruction optimization methods (like HF-GradInv, DLG, or InvertingGrad) to recover the targeted private data samples.
- Crucially, the FL server can simultaneously train a benign model using gradients from non-victim clients, ensuring the FL process continues with high utility.
Datasets
- Auxiliary Datasets: ImageNet, CIFAR-20, and Caltech256 were used to train the malicious global model. The paper emphasizes that these datasets do not need to be related to the FL task.
- Evaluation Datasets: ImageNet, CIFAR-20, and FER (Facial Expression Recognition) were used to evaluate the effectiveness of Geminio in reconstructing targeted samples.
Key Insights and Ideas
- VLMs as Attack Enablers: The paper demonstrates that VLMs, designed for understanding and generating content, can be repurposed to guide malicious attacks by bridging the gap between natural language descriptions and data reconstruction.
- Targeted Reconstruction from Large Batches: Geminio overcomes a major hurdle in GIAs by enabling the reconstruction of specific, semantically meaningful data points from large batches, which was previously very difficult.
- Stealthy Attack: Geminio's malicious model parameters are designed to be stealthy, making them difficult to detect by standard parameter inspection defenses. The attack also doesn't require modifying the victim's neural architecture.
- Plugin-like Applicability: Geminio is designed to be a "plugin" that enhances existing GIA methods, making them more powerful and targeted without requiring fundamental changes to the reconstruction algorithms themselves.
- Resilience to Defenses: The paper shows that common defenses like gradient pruning and differential privacy are largely ineffective against Geminio, highlighting the need for new defense strategies.
Key Results
- High-Fidelity Reconstruction: Geminio successfully reconstructs high-fidelity images that precisely match natural language queries, even from large batches (e.g., 64 samples) and across diverse datasets like ImageNet, FER, and CIFAR-20.
- Effective with Various Architectures: Geminio works effectively with different neural architectures, including ResNet, MobileNetV2, EfficientNetV2, and ViT.
- Robustness to FL Protocols: Geminio remains effective even under the Federated Averaging (FedAvg) protocol, especially when clients use small learning rates.
- Attack Recall and Precision: On CIFAR-20 with a batch size of 256, Geminio achieved an attack recall of 64.96% and precision of 65.67%.
- Defense Evasion: Geminio demonstrates high survivability against gradient pruning and Laplacian noise, with significant degradation only occurring at very high pruning ratios or noise scales that would also hinder normal FL training.
Limitations and Future Work
- Loss Inspection Vulnerability: While Geminio evades many defenses, the paper notes that loss inspection (where FL clients monitor per-sample loss) could potentially detect the attack. However, the authors suggest that an "adaptive attack" could be developed to suppress these loss values, implying this is an area for future research.
- Need for New Defenses: The paper strongly suggests that existing defenses are insufficient and calls for the development of more robust defenses against language-guided attacks.
- Exploiting NLP Advancements: The authors believe Geminio is a precursor to more flexible and sophisticated attacks that leverage advancements in natural language processing as a communication interface for adversaries. Future work could explore more complex language queries and adaptive attack strategies.
Summary updated