Flexible Differentially Private Vertical Federated Learning with Adaptive Feature Embeddings

Yuxi Mi, Hongquan Liu, Yewei Xia, Yiheng Sun, Jihong Guan, Shuigeng ZhouarXiv 2023 · DOI

Introduction

Vertical Federated Learning (VFL) is a collaborative machine learning paradigm where multiple parties hold different features of the same set of data samples. While VFL inherently offers some privacy by keeping raw data local, recent studies have demonstrated that the exchanged feature embeddings can still leak sensitive information through inversion or membership inference attacks. To mitigate these risks, Differential Privacy (DP) is often employed. However, traditional DP methods frequently suffer from a significant "utility gap," where the added noise severely degrades model accuracy. Moreover, many existing solutions are tailored to specific model architectures, lacking generality.

This paper introduces VFL-AFE (Adaptive Feature Embeddings), a framework designed to balance the trade-off between data privacy and model accuracy. By decoupling privacy protection from utility optimization, VFL-AFE achieves a superior balance between privacy, utility, and generality.

Comparison of VFL-AFE with unprotected and prior art approaches.

The VFL-AFE Framework

The core of VFL-AFE is a two-stage process that first ensures a rigorous privacy guarantee and then recovers lost utility through local, privacy-neutral adjustments. The framework is designed to be model-agnostic, working effectively across various deep neural network architectures.

  1. The Privacy Shield: Instead of complex, model-specific perturbations, VFL-AFE applies norm clipping directly to feature embeddings before adding Gaussian noise. This provides a rigorous DP guarantee that works whether the underlying model is a simple linear layer or a complex Transformer.
  2. Adaptive Rescaling: Theoretical DP noise levels are often calculated based on global sensitivity—the maximum possible change in output. However, real-world data often exhibits much lower local sensitivity. VFL-AFE adaptively rescales embeddings to bridge this gap. By statistically estimating the distribution of distances between embeddings, the framework fits the data into a tighter "envelope," effectively reducing the relative impact of the DP noise without violating privacy constraints.
  3. Adaptive Distribution Adjusting: In VFL, "passive parties" (those with features but no labels) often struggle to organize their embeddings effectively. VFL-AFE leverages the gradients sent back by the "active party" (the one with labels) to guide the passive party. By applying Fuzzy C-Means clustering to these gradients, passive parties can generate pseudo-labels. These pseudo-labels then facilitate Contrastive Learning, which pushes embeddings of different classes further apart, enhancing the final classification performance even in the presence of noise.
Detailed architecture of the proposed VFL-AFE framework.

Experimental Evaluation

The researchers evaluated VFL-AFE across four diverse datasets: UCI Adult (tabular), MNIST (grayscale images), CIFAR-10 (color images), and NUS-WIDE (multi-modal). In all scenarios, the data was vertically partitioned among multiple parties.

The results demonstrate that VFL-AFE significantly outperforms "vanilla" DP approaches, improving test accuracy by 2% to 7% across the board. For instance, on the MNIST dataset, VFL-AFE reached over 96% accuracy, nearly matching the performance of an unprotected model. Beyond accuracy, the framework proved highly resilient against state-of-the-art attacks. Inversion attacks on VFL-AFE produced only blurred, unrecognizable images, and membership inference accuracy dropped to near-random levels (approximately 50%).

Conclusion and Future Work

VFL-AFE represents a significant step forward in balancing the "impossible" trade-off between data privacy and model utility in federated environments. By decoupling these two objectives, the framework provides a flexible and robust defense mechanism that is applicable to a wide range of machine learning tasks.

However, the framework does introduce some computational overhead. The adaptive rescaling step requires calculating pair-wise distances within mini-batches, which can increase training time. Additionally, the current implementation assumes that passive parties have knowledge of the total number of classes in the dataset. Future research will focus on optimizing the computational efficiency of these adjustments and extending the framework to handle non-classification tasks.

Summary updated

BibTeX
@misc{mi2023flexible,
  author = {Yuxi Mi and Hongquan Liu and Yewei Xia and Yiheng Sun and Jihong Guan and Shuigeng Zhou},
  title = {{Flexible Differentially Private Vertical Federated Learning with Adaptive Feature Embeddings}},
  year = {2023},
  eprint = {2308.02362},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.02362},
}
Figure