Practical and General Backdoor Attacks against Vertical Federated Learning

Yuexin Xuan, Xiaojun Chen, Zhendong Zhao, Bisheng Tang, Ye Dong

Introduction

Vertical Federated Learning (VFL) has emerged as a critical paradigm for collaborative machine learning in sectors like finance and healthcare, where different organizations hold distinct features for the same set of users. While Horizontal Federated Learning (HFL) has been extensively studied for security vulnerabilities, VFL was long considered more resilient to backdoor attacks—particularly from "passive parties" who contribute features but lack access to ground-truth labels.

This paper introduces BadVFL, a sophisticated framework that demonstrates how a label-blind participant can successfully compromise a VFL system. By exploiting gradient leakage and feature-label correlations, BadVFL achieves high attack success rates without requiring auxiliary data or compromising the model's performance on clean tasks.

The Challenge: Attacking Without Labels

In a standard backdoor attack, an adversary poisons samples from a specific "source" class so that the model learns to associate a malicious trigger with a "target" class. In VFL, the passive party faces a significant hurdle: they do not know which samples belong to which class. Previous attempts to bridge this gap often required the attacker to possess a small labeled dataset or resulted in unstable training that alerted the central server to the attack.

BadVFL addresses this by operating under the assumption that the attacker has no access to labels and must rely solely on the information exchanged during the standard VFL training process.

The BadVFL Framework

The attack is executed through a two-stage process designed for both detection and optimization:

1. Source Data Detection (SDD)

To identify which samples to poison, BadVFL exploits the fact that gradients sent back from the active party (the label holder) contain implicit class information. The SDD module calculates the cosine similarity between the gradients of a known "target" sample and the gradients of other samples in a training batch. To sharpen this signal, the attacker employs a Feature Replacement trick: they temporarily replace a sample's features with the target sample's features. If the resulting gradient aligns closely with the expected direction, the sample is identified as belonging to the target class.

2. Source Data Perturbation (SDP)

Simply adding a trigger to a sample is often insufficient, as the model may still prioritize the original "clean" features for classification. The SDP module ensures the backdoor takes priority. It replaces the original background features of the identified source data with random features from the same batch before adding the trigger. This effectively breaks the relationship between the legitimate features and the label, forcing the model to rely on the malicious trigger to minimize loss.

Experimental Evaluation

The researchers evaluated BadVFL across diverse domains to demonstrate its generality:

  • Computer Vision: CIFAR-10 and ImageNet (split vertically).
  • Medical Imaging: Breast Histopathology Images (BHI).
  • Natural Language Processing: IMDB sentiment analysis.

Key Results

  • High Efficacy: BadVFL consistently achieved an Attack Success Rate (ASR) of over 93% across all datasets.
  • Stealthiness: The impact on the Test Accuracy Rate (TAR) for clean data was negligible (often less than 1%), meaning the victim would likely observe no performance degradation.
  • Low Poisoning Requirements: The attack remains highly effective with a poisoning rate of only 1%, making it difficult to detect via statistical anomaly checks.
  • Superiority: BadVFL outperformed existing baselines like Gradient Replacement (GR), which often struggled with stability and significantly degraded the primary model's accuracy.

Robustness and Defense Analysis

The study tested BadVFL against common VFL defense strategies, including Differential Privacy (Noisy Gradients) and Gradient Compression. While high levels of noise can degrade the attack's success, they also significantly reduce the utility of the main model. The attack proved remarkably resilient to standard gradient pruning, suggesting that current defenses are insufficient against such targeted feature perturbations.

Conclusion and Future Work

BadVFL reveals a significant security "blind spot" in Vertical Federated Learning. It demonstrates that gradients are not just optimization tools but are also a massive privacy leak that can be weaponized to map out unlabeled data.

However, the attack does face limitations. As the "top model" (the part of the network that aggregates features) becomes deeper and more complex, the gradient signals become more difficult to interpret, reducing the accuracy of the SDD module. Future research should focus on developing specialized anomaly detection for VFL architectures that can identify the subtle feature-replacement patterns introduced by BadVFL.

Summary updated

BibTeX
@inproceedings{xuan2023practical,
  author = {Yuexin Xuan and Xiaojun Chen and Zhendong Zhao and Bisheng Tang and Ye Dong},
  title = {{Practical and General Backdoor Attacks against Vertical Federated Learning}},
  booktitle = {ECML/PKDD},
  year = {2023},
}
Figure