Fair and Efficient Contribution Valuation for Vertical Federated Learning

Zhenan Fan, Huang Fang, Xinglu Wang, Zirui Zhou, Jian Pei, Michael Friedlander, Yong Zhang

In the evolving landscape of machine learning, data is often trapped in isolated silos. Vertical Federated Learning (VFL)—also known as feature-based federated learning—offers a solution. It allows different organizations (e.g., a bank and an e-commerce platform) to collaboratively train a model on the same set of users without sharing their private feature sets. However, this collaborative approach raises a critical question: if the resulting model is successful, how do we fairly value and reward the contribution of each participant?

To address this, researchers have proposed VerFedSV (Vertical Federated Shapley Value), a novel framework designed to fairly and efficiently calculate participant contributions in VFL. By leveraging training-time embeddings and low-rank matrix completion, VerFedSV bypasses the exponential computational costs of traditional Shapley calculations, making fair reward distribution practical for both synchronous and asynchronous systems.

The Challenge of Valuation in VFL

To maintain a healthy federated ecosystem, participants must be fairly compensated. In cooperative game theory, the gold standard for fair valuation is the Shapley Value, which satisfies key axioms of fairness (symmetry, zero element, additivity, and balance).

Unfortunately, calculating the exact Shapley Value is a computational nightmare. It requires determining the marginal contribution of a participant across every possible subset of other participants. For $M$ clients, this means retraining the model $2^M$ times. In a federated setting where training a single model is already resource-intensive, this exponential explosion is a non-starter.

While solutions exist for Horizontal Federated Learning (where clients share features but have different samples), VFL presents a unique hurdle: the global model is a concatenation of local models that are never shared, meaning they cannot simply be averaged.

The VerFedSV Approach

VerFedSV shifts the valuation focus away from exhaustive model retraining and instead analyzes the embeddings (intermediate data representations) generated during the training process.

  1. Utility via Loss Reduction: Instead of retraining from scratch for every subset, VerFedSV defines a client's "utility" as the decrease in loss contributed by their embeddings at specific timestamps during training.
  2. Synchronous VFL & Matrix Completion: In standard synchronous training, the central server only sees mini-batches of data at a time. To calculate a fair Shapley value, the server needs to estimate what the embeddings would have been for the rest of the data. The authors prove that these embedding matrices are "approximately low-rank" because model weights evolve smoothly between iterations. VerFedSV uses low-rank matrix completion to fill in these missing pieces without requiring extra communication rounds.
  3. Asynchronous VFL: Real-world federated networks are heterogeneous; some clients have faster GPUs or better bandwidth. VerFedSV naturally adapts to this asynchronous reality. The server simply uses the latest available embeddings, meaning clients who contribute more frequent updates naturally receive a higher valuation, effectively rewarding superior hardware and reliability.

Datasets and Evaluation

The researchers evaluated VerFedSV across four diverse, real-world datasets—Adult (income prediction), Web (page classification), Covtype (forest cover prediction), and RCV1 (newswire categorization)—split vertically across varying numbers of clients to simulate complex industrial silos.

Distribution of $\epsilon$ rank across the four evaluated datasets.

Key Insights and Results

  • Massive Efficiency Gains: VerFedSV scales linearly with the number of training samples ($N$) and timestamps ($T$), and only quadratically-logarithmically with the number of clients ($M$). This is a paradigm shift compared to the exponential cost of the classic Shapley Value.
  • High Accuracy: When compared to a "ground truth" SHAP value (calculated by violating privacy and exhaustively training on all subsets), VerFedSV demonstrated remarkably high Kendall’s rank correlation (often between 0.8 and 1.0). It ranks client importance almost identically to the perfect, compute-heavy metric.
  • Robustness and Fairness: The matrix completion approach proved highly stable. Furthermore, when tested against "noisy" neighbors—artificial clients injecting random noise or duplicate features—VerFedSV successfully assigned these bad actors near-zero or appropriately scaled valuations.

Limitations and Future Directions

While VerFedSV marks a significant step forward, the authors note a potential vulnerability to "Sybil" attacks. A client could theoretically split their data into two artificial clients to claim a larger share of the reward pool. Currently, VerFedSV is fair to the features provided, but lacks a mechanism to detect disguised duplicate entities.

Additionally, relying on intermediate embeddings raises potential privacy concerns. Future work will likely explore integrating VerFedSV with Differential Privacy (DP) to ensure that the valuation process itself does not inadvertently leak sensitive underlying data.

Summary updated

BibTeX
@inproceedings{fan2024fair,
  author = {Zhenan Fan and Huang Fang and Xinglu Wang and Zirui Zhou and Jian Pei and Michael Friedlander and Yong Zhang},
  title = {{Fair and Efficient Contribution Valuation for Vertical Federated Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=sLQb8q0sUi},
}
Figure