Improving Fairness for Data Valuation in Horizontal Federated Learning

Zhenan Fan, Huang Fang, Zirui Zhou, Jian Pei, Michael P. Friedlander, Changxin Liu, Yong Zhang

Abstract

Federated Learning (FL) enables collaborative model training while preserving data privacy, but its sustainability hinges on fair data valuation. Existing methods like Federated Shapley Value (FedSV) often penalize clients who are not selected in every training round, leading to unfair rewards for participants with identical data. We propose Completed Federated Shapley Value (ComFedSV), a novel measure that leverages low-rank matrix completion to estimate missing client contributions. Our theoretical and empirical results demonstrate that ComFedSV significantly improves fairness and data quality assessment in horizontal FL.

Introduction: The Challenge of Fair Valuation

In Federated Learning, multiple clients contribute local data to train a global model. To incentivize participation, it is essential to reward clients based on the "value" of their data. The Shapley Value is the gold standard for this, but its exact calculation is computationally prohibitive in FL settings.

To address this, Federated Shapley Value (FedSV) was introduced to approximate contributions round-by-round. However, in large-scale FL, servers typically select only a small subset of clients per round. FedSV assigns zero value to unselected clients, creating a "luck-of-the-draw" unfairness where identical data owners receive vastly different valuations based on random selection.

Methods: ComFedSV and the Low-Rank Insight

We introduce ComFedSV, which frames data valuation as a missing data problem. The core of our approach is the construction of a Utility Matrix, where rows represent training rounds and columns represent client subsets. Since only a fraction of subsets are observed in each round, the matrix is sparse.

The breakthrough insight of this work is that this utility matrix is approximately low-rank. Because model updates change smoothly and similar data produces similar utilities, the singular values of the matrix decay rapidly across various datasets.

Singular value decay across Synthetic, MNIST, and FMNIST datasets, demonstrating the approximately low-rank nature of the utility matrix.

By applying matrix completion techniques, we can "fill in the blanks" for unselected clients. This restores the symmetry property of fairness: if two clients provide identical data, their completed valuations will converge, regardless of which rounds they were selected for.

Key Results

Our evaluation across Synthetic, MNIST, Fashion MNIST, and CIFAR-10 datasets reveals several key advantages:

  1. Restored Fairness: In tests with identical clients, FedSV showed a relative valuation difference exceeding 0.5 in most trials. ComFedSV virtually eliminated this gap, ensuring that "equal data gets equal pay."
  2. Robust Noise Detection: ComFedSV excels at identifying low-quality or noisy data. Using Spearman’s rank correlation, our method outperformed FedSV in correctly ranking clients by data quality, closely matching the theoretical ground truth.
  3. Scalability: Despite the added complexity of matrix completion, the computational overhead remains manageable, scaling at $O(TN^2 \log N)$, making it suitable for practical FL deployments.

Limitations and Future Work

While ComFedSV offers a significant step forward, it introduces a dependency on the rank parameter ($r$). As shown in our sensitivity analysis, the choice of $r$ is critical; an improper value can lead to under-modeling or overfitting of the utility estimates.

Impact of the rank parameter r on the relative difference in valuation, highlighting the need for careful hyperparameter tuning.

Future research will focus on automating the selection of $r$ in decentralized environments and extending these fairness principles to Vertical Federated Learning, where clients hold different features for the same set of data points.

Conclusion

ComFedSV addresses a critical fairness gap in federated data valuation. By treating unselected client rounds as missing data and leveraging the low-rank structure of model utilities, we provide a more equitable and accurate measure of contribution, fostering a more sustainable ecosystem for collaborative machine learning.

Summary updated

BibTeX
@inproceedings{fan2022improving,
  author = {Zhenan Fan and Huang Fang and Zirui Zhou and Jian Pei and Michael P. Friedlander and Changxin Liu and Yong Zhang},
  title = {{Improving Fairness for Data Valuation in Horizontal Federated Learning}},
  booktitle = {ICDE},
  year = {2022},
  url = {https://openreview.net/forum?id=rBYmgg5IEn},
}
Figure