Constructing Adversarial Examples for Vertical Federated Learning: Optimal Client Corruption through Multi-Armed Bandit

Duanyi Yao, Songze Li, Ye Xue, Jin Liu

Vertical Federated Learning (VFL) is a distributed machine learning paradigm where different organizations (clients) hold distinct features for the same set of individuals. For example, a bank might hold financial records while a retail company holds shopping habits; together, they train a joint model without sharing raw data. While VFL is highly prized for preserving data privacy, it introduces a unique security vulnerability: the communication channel between clients and the central server.

This paper investigates a practical "Man-in-the-Middle" (MITM) scenario where an adversary can intercept and manipulate the data embeddings sent from clients to the server. Due to resource constraints (such as bandwidth or compute limits), the attacker can only corrupt a small subset of the participating clients. The core challenge is combinatorial: if there are 28 clients and the attacker can only corrupt 3, there are over 3,200 possible "corruption patterns." Finding the combination that yields the highest Attack Success Rate (ASR) without knowing the internal models of the clients or the server is a significant optimization hurdle.

Methodology: A Two-Tiered Attack Strategy

To systematically identify the most vulnerable subset of clients and maximize attack success rates, the authors decompose the attack into two nested problems:

  1. Inner Problem - Adversarial Example Generation (AEG): For a fixed set of corrupted clients, how does the attacker craft the best perturbation? Because the attacker operates in a black-box setting without access to model gradients, they employ Natural Evolution Strategy (NES). This zeroth-order optimization technique estimates gradients by slightly jittering the inputs and observing the resulting changes in the server's output.
  2. Outer Problem - Corruption Pattern Selection (CPS): How does the attacker choose which clients to corrupt? The authors map this to a Multi-Armed Bandit (MAB) problem, where each "arm" represents a specific subset of clients.

To solve the CPS problem efficiently, the researchers propose a novel algorithm called E-TS (Thompson Sampling with Empirical maximum reward). Standard Thompson Sampling explores all arms to find the one with the best average reward, which wastes time on obviously poor choices in large search spaces. E-TS, instead, maintains an estimate of the "expected maximum reward" for each arm. It uses this metric to prune the search space down to a smaller "competitive set" of arms, significantly accelerating the discovery of the optimal attack strategy.

Experimental Setup and Key Findings

The researchers evaluated their adaptive attack across six datasets covering four distinct VFL tasks: Tabular data (Credit, Real-Sim), Computer Vision (FashionMNIST, CIFAR-10), Multi-view data (Caltech-7), and Natural Language Processing (IMDB).

Performance and Scalability

Unlike prior work that assumed a fixed set of malicious clients, this attack learns which clients are the most influential for a specific model over time. By focusing on arms that show high potential (empirical maximum reward) rather than just a high average, the algorithm quickly discards client combinations incapable of producing a successful attack.

Attack Success Rate (ASR) across multiple datasets and defense strategies.

The results demonstrate high efficacy:

  • High Success Rates: The attack achieved success rates between 38% and 99% for targeted attacks and 41% to 99% for untargeted attacks across all tested datasets.
  • Superior Convergence: In head-to-head tests, E-TS consistently outperformed standard Thompson Sampling (TS) and random selection (RC), finding the optimal corruption pattern in a fraction of the time.
  • Scalability: The attack remained highly effective even when the search space was expanded to over 3,200 possible client combinations. The authors mathematically prove that E-TS has a much tighter "regret bound" than standard Thompson Sampling, meaning it makes fewer mistakes and finds the winning strategy faster as the number of clients grows.

Robustness Against Defenses

The attack was also tested against common VFL defense mechanisms, including Randomized Smoothing, Dropout, and Manifold Projection.

Impact of different defense strategies on Attack Success Rate as the number of corrupted clients increases.

While these defenses successfully lowered the overall success rate of the attacks, they could not stop the adversary entirely. Manifold Projection—which uses an autoencoder to "clean" incoming embeddings—proved to be the most robust defense among those tested, though it still failed to completely eliminate the threat posed by the adaptive E-TS algorithm.

Limitations and Future Directions

The proposed attack relies on a Man-in-the-Middle capability to intercept and modify communications between clients and the server. While realistic in certain network environments, this remains a significant prerequisite. Additionally, the paper assumes the attacker is limited to a static, fixed number of corrupted clients ($C$).

Future work could explore scenarios where the cost of corruption varies per client, or where the attacker can dynamically change the number of corrupted clients over time. On the defensive side, the continuous "cat-and-mouse" game highlights a pressing need for novel, VFL-specific defenses capable of detecting the subtle, adaptive shifts in corruption patterns that algorithms like E-TS exploit.

Summary updated

BibTeX
@inproceedings{yao2024constructing,
  author = {Duanyi YAO and Songze Li and Ye XUE and Jin Liu},
  title = {{Constructing Adversarial Examples for Vertical Federated Learning: Optimal Client Corruption through Multi-Armed Bandit}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=m52uU0dVbH},
}
Figure