Improving Fairness for Data Valuation in Federated Learning

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

TL;DR

This paper addresses the fairness issue in federated learning data valuation, where existing methods like Federated Shapley Value (FedSV) can unfairly reward data owners with identical data. The authors propose "Completed Federated Shapley Value" (ComFedSV), a novel approach that leverages low-rank matrix completion to more accurately estimate data owner contributions, ensuring fairer rewards.

What Problem Does This Paper Address?

Federated learning (FL) enables collaborative model training across multiple data owners without centralizing data, preserving privacy. A critical aspect of FL's success is motivating data owners to participate. This motivation hinges on fairly evaluating their data's quality and their contribution to the final model, which then informs rewards. While Shapley value is a theoretically sound fairness metric, its direct application in FL is computationally prohibitive. Federated Shapley Value (FedSV) was proposed as a more practical alternative, but it suffers from a significant fairness flaw: due to random client selection in each training round, data owners with identical data can receive vastly different valuations. This paper aims to rectify this unfairness by developing a more robust data valuation method.

Methods

The core of the proposed solution, ComFedSV, lies in addressing the "missing" contribution information in FedSV. The authors introduce the concept of a utility matrix, which captures the contribution of every possible subset of clients across all training rounds. They then leverage the insight that this utility matrix is approximately low-rank, especially when local objectives are Lipschitz continuous and smooth. This low-rank property allows them to employ low-rank matrix completion techniques to estimate the unobserved entries of the utility matrix. By solving a factorization-based optimization problem, they reconstruct a more complete utility matrix. ComFedSV is then computed using this completed matrix, ensuring that clients with identical data receive similar valuations. To handle the computational complexity of large utility matrices, they also propose a Monte-Carlo sampling method for efficient estimation.

Datasets

The paper evaluates their proposed method on a variety of datasets:

  • Synthetic data: Used to model IID and non-IID distributions.
  • Real-world datasets:
    • MNIST
    • Fashion MNIST
    • CIFAR10

These datasets are used to train different models (logistic regression, fully connected neural networks, convolutional neural networks) to test the generality of their approach.

Key Insights and Ideas

  • The "missing information" problem in FedSV: Random client selection in FL rounds inherently leads to incomplete observation of client contributions, causing unfairness for clients with similar data.
  • Utility matrix as a comprehensive view: Conceptualizing all possible client subset contributions as a matrix provides a complete picture of data value.
  • Low-rank property of the utility matrix: The key theoretical insight is that this utility matrix is approximately low-rank, enabling efficient completion using matrix factorization techniques. This property stems from the Lipschitz and smooth nature of typical loss functions in FL.
  • Matrix completion for fairness: By filling in the "missing" entries of the utility matrix, ComFedSV can recover the fairness properties that FedSV loses due to its reliance on incomplete observations.
  • Adaptability to FL algorithms: The proposed method is designed to work with existing FL algorithms, requiring only access to uploaded local models.

Key Results

  • Theoretical Fairness Guarantees: ComFedSV is shown to satisfy e-Symmetry and e-Zero element properties, meaning clients with identical data receive similar valuations, and zero contribution results in zero value, within a controlled tolerance.
  • Empirical Fairness Improvement: Experiments demonstrate that ComFedSV significantly reduces the relative difference in valuations between clients with identical data compared to FedSV, as visualized in Figure 5.
  • Data Quality Detection: ComFedSV shows strong performance in detecting noisy data and noisy labels, often outperforming FedSV and closely matching ground truth rankings (Figure 6 and 7).
  • Computational Efficiency: While ComFedSV has a higher theoretical complexity than FedSV, the Monte-Carlo estimation method makes it practical. The empirical results show that the ratio of computing time between FedSV and ComFedSV is close to the client participation rate, indicating reasonable scalability (Figure 8).

Limitations and Future Work

  • Assumption of "Everyone Being Heard": The theoretical framework relies on the assumption that the central server selects all clients in at least one round. While the authors argue this is a low-cost assumption, it might not always hold in practice.
  • Generalization to Vertical FL: The current work focuses on horizontal federated learning. Extending the methodology to vertical federated learning is suggested as a future direction.
  • Exploring Other Fairness Notions: The paper focuses on Shapley fairness. Future work could explore other fairness properties relevant to federated learning beyond those covered by Shapley value.
  • Impact of Rank Parameter: While the paper discusses the impact of the rank parameter in matrix completion (Example 3), further research could refine methods for automatically selecting the optimal rank.

Summary updated

Abstract

Federated learning is an emerging decentralized machine learning scheme that allows multiple data owners to work collaboratively while ensuring data privacy. The success of federated learning depends largely on the participation of data owners. To sustain and encourage data owners' participation, it is crucial to fairly evaluate the quality of the data provided by the data owners and reward them correspondingly. Federated Shapley value, recently proposed by Wang et al. [Federated Learning, 2020], is a measure for data value under the framework of federated learning that satisfies many desired properties for data valuation. However, there are still factors of potential unfairness in the design of federated Shapley value because two data owners with the same local data may not receive the same evaluation. We propose a new measure called completed federated Shapley value to improve the fairness of federated Shapley value. The design depends on completing a matrix consisting of all the possible contributions by different subsets of the data owners. It is shown under mild conditions that this matrix is approximately low-rank by leveraging concepts and tools from optimization. Both theoretical analysis and empirical evaluation verify that the proposed measure does improve fairness in many circumstances.
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 Federated Learning}},
  booktitle = {ICDE},
  year = {2022},
  url = {https://openreview.net/forum?id=rBYmgg5IEn},
}
Figure