RVFR: Robust Vertical Federated Learning via Feature Subspace Recovery

Jing Liu, Chulin Xie, Krishnaram Kenthapadi, Oluwasanmi O Koyejo, Bo LiOpenReview 2021

TL;DR

This paper introduces RVFR, a novel framework for Vertical Federated Learning (VFL) that makes it robust against both training-time backdoor attacks and test-time adversarial/missing feature attacks. RVFR achieves this by recovering the underlying "clean" feature subspace, even when some data is corrupted, providing theoretical guarantees for its defense.

What Problem Does This Paper Address?

Vertical Federated Learning (VFL) is a powerful technique where multiple parties collaboratively train a machine learning model, each contributing a different set of features for the same data samples. This is useful when data is siloed due to privacy or regulatory reasons. However, VFL is susceptible to attacks. Malicious agents can inject "backdoors" during training, causing the global model to misbehave on specific inputs. At inference time, malicious agents can also manipulate their feature contributions to fool the model. Unlike Horizontal Federated Learning (HFL), VFL lacks inherent feature redundancy among agents, making it harder to detect and defend against these attacks. Existing defenses often lack theoretical guarantees or are not comprehensive enough to cover both training and inference phases.

Methods

RVFR tackles these challenges through a four-stage training and inference process:

  1. Quarantined Training: Agents initially train their local feature extractors in isolation, with the server providing feedback. This stage aims to get a preliminary embedding from each agent.
  2. Robust Feature Subspace Recovery: The server, using the aggregated embedded features from all agents, employs a novel AutoEncoder-based method to recover the underlying "clean" feature subspace. This is inspired by Robust Principal Component Analysis (Robust PCA) but generalized to non-linear manifolds. The key is that even with a small fraction of corrupted features (from malicious agents or poisoned samples), the true subspace can be identified.
  3. Feature Purifying: Using the recovered feature subspace and the assumption that only a small fraction of agents are malicious, RVFR purifies the embedded features. This step effectively "cleans" the data by separating the true features from the corrupted ones.
  4. Server Training: The global model is then trained on these purified features, ensuring it learns from clean data.

For inference, RVFR re-applies the feature purifying step to the incoming embedded features before feeding them to the trained global model, thus defending against test-time attacks.

Datasets

The proposed RVFR framework was evaluated on two standard datasets:

  • NUS-WIDE: A multi-label image and text dataset.
  • CIFAR-10: A widely used image classification dataset.

The authors used these datasets to simulate VFL scenarios with varying numbers of agents (M=2, M=3, M=4) and applied various attack strategies.

Key Insights and Ideas

  • Feature Subspace as a Robust Anchor: The core idea is that even with malicious attacks, the underlying "true" feature subspace of the data often remains relatively intact, especially if the number of malicious agents/samples is small. RVFR leverages this to recover the clean signal.
  • Theoretical Guarantees for VFL Robustness: A significant contribution is providing theoretical guarantees for VFL robustness, particularly for backdoor attacks during training. This is a crucial step beyond empirical defenses.
  • Unified Defense for Training and Inference: RVFR offers a single framework that addresses both training-time backdoor attacks and inference-time adversarial/missing feature attacks, simplifying the defense strategy.
  • Generalization of Robust PCA: The paper extends the principles of Robust PCA to a more general AutoEncoder-based approach, allowing it to capture non-linear feature manifolds, which is more realistic for complex data.

Key Results

  • Superior Backdoor Defense: RVFR significantly reduces Backdoor Accuracy (the metric for how well an attack succeeds) on both NUS-WIDE and CIFAR-10 datasets compared to baseline methods like Vanilla VFL, Gradient Sparsification, and Laplacian Noise.
  • Comparable Clean Accuracy: While defending against attacks can sometimes slightly reduce clean accuracy (a common trade-off), RVFR generally maintains competitive Clean Accuracy on the test data.
  • Robustness Against Combined Attacks: RVFR demonstrates strong performance when defending against combined adversarial evasion and missing feature attacks during inference, achieving consistently higher accuracy than baselines.
  • Theoretical Justification: The paper provides theoretical justification for the Robust AutoEncoder, showing it can recover linear feature subspaces under certain conditions, and proves that RVFR can recover true features under specific assumptions about the fraction of malicious agents and data corruption.

Limitations and Future Work

  • Assumptions on Malicious Agents: The theoretical guarantees rely on assumptions about the fraction of malicious agents (α) and poisoned instances (β) being relatively small. The exact thresholds for these fractions are not explicitly defined for all scenarios but are generally assumed to be less than 50%.
  • Linear Subspace Assumption for AutoEncoder: While the AutoEncoder is designed for non-linear manifolds, the theoretical recovery guarantees for the subspace are strongest when the underlying subspace is linear.
  • Future Work: The authors suggest that further exploration into the exact recovery conditions for non-linear manifolds and investigating scenarios with a higher fraction of malicious agents would be valuable. The paper also highlights the potential of their theoretical analysis of Robust AutoEncoders as an independent contribution.

Summary updated

Abstract

Vertical Federated Learning (VFL) is a distributed learning paradigm that allows multiple agents to jointly train a global model when each agent holds a different subset of features for the same sample(s). VFL is known to be vulnerable to backdoor attacks, where data from malicious agents are manipulated during training, and vulnerable to test-time attacks, where malicious agents manipulate the test data. However, unlike the standard horizontal federated learning, improving the robustness of robust VFL remains challenging. To this end, we propose RVFR, a novel robust VFL training and inference framework. The key to our approach is to ensure that with a low-rank feature subspace, a small number of attacked samples, and other mild assumptions, RVFR recovers the underlying uncorrupted features with guarantees, thus sanitizes the model against a vast range of backdoor attacks. Further, RVFR also defends against test-time adversarial and missing feature attacks. We conduct extensive experiments on several datasets and show that the robustness of RVFR outperforms different baselines against diverse types of attacks.
BibTeX
@misc{liu2021rvfr,
  author = {Jing Liu and Chulin Xie and Krishnaram Kenthapadi and Oluwasanmi O Koyejo and Bo Li},
  title = {{RVFR: Robust Vertical Federated Learning via Feature Subspace Recovery}},
  year = {2021},
  url = {https://openreview.net/forum?id=a_ASZbWsQp_},
  howpublished = {OpenReview},
}

Loading related content...

Figure