Introduction
Federated Learning (FL) has emerged as a vital paradigm for training machine learning models across decentralized data silos—such as hospitals, banks, or mobile devices—without requiring the exchange of raw data. While FL addresses privacy concerns, it introduces a significant challenge regarding ecosystem sustainability: fairness. To incentivize participation, it is essential to compensate contributors based on the actual utility of their data.
This paper addresses the problem of data valuation using the Shapley Value (SV), a concept from cooperative game theory that provides a unique, fair distribution of total gains among players. However, calculating the exact SV in an FL context is computationally prohibitive, requiring the training of $2^n$ model combinations for $n$ participants. This work introduces Importance-Pruned Stratified Sampling (IPSS), an algorithm that leverages specific properties of FL utility functions to achieve high-accuracy approximations with a fraction of the computational cost.
The Computational Bottleneck of Fairness
The Shapley Value is the gold standard for data valuation because it satisfies critical axioms like symmetry and the "no-free-rider" property. Despite its theoretical appeal, its practical application is limited by its combinatorial complexity. For a network of 20 participants, calculating the exact SV would require over a million training cycles, which is unfeasible for modern deep learning models.
Existing approximation methods generally fall into two categories: gradient-based methods, which are fast but often lack accuracy guarantees, and sampling-based methods. While sampling is more flexible, standard approaches often ignore the specific behavior of FL utility functions (such as model accuracy), leading to high variance and slow convergence. This paper seeks to bridge that gap by optimizing sampling strategies specifically for FL environments.
Methodology: Importance-Pruned Stratified Sampling (IPSS)
The authors propose a three-pronged approach to make sampling-based valuation practical for large-scale FL:
1. Unified Stratified Sampling
Rather than sampling subsets of participants uniformly, the researchers group combinations by size (strata). By sampling within these strata, the algorithm ensures that the approximation is not biased toward very small or very large subsets, providing a more balanced view of participant contributions.
2. Variance Reduction via MC-SV
The paper provides a theoretical comparison between two equivalent forms of the Shapley Value: Marginal-Contribution-based (MC-SV) and Complementary-Contribution-based (CC-SV). The authors prove that in the context of FL linear regression, MC-SV yields significantly lower variance. This theoretical insight justifies the use of MC-SV as the foundation for their sampling strategy, ensuring faster convergence.
3. The IPSS Algorithm and the "Key Combinations" Phenomenon
The core innovation of the paper is the identification of the "key combinations" phenomenon. The authors observed that as the size of a dataset combination increases, the marginal utility of adding an additional client typically decreases (diminishing returns). Furthermore, the combinatorial weights in the SV formula are smallest for mid-sized combinations.
By focusing computational resources on small subsets of clients—the "key combinations"—the IPSS algorithm strategically prunes the high-cardinality tail of the distribution. This allows the algorithm to capture the most informative data points while ignoring combinations that contribute minimally to the final valuation.
Experimental Evaluation
The researchers evaluated IPSS across several synthetic and real-world benchmarks, including:
- Synthetic MNIST: Used to test robustness against noisy labels and varying data distributions.
- FEMNIST: A standard FL benchmark with over 800,000 image samples from 3,500+ users.
- Adult Dataset: A tabular dataset used to simulate vertical FL scenarios.
- Sent-140: A text-based sentiment analysis dataset for natural language processing tasks.
Key Results
- Efficiency: In scenarios with 10 clients, IPSS achieved a 99% reduction in computational overhead compared to exact MC-Shapley. It also demonstrated a 3.4x to 9.0x speedup over state-of-the-art samplers like CC-Shapley and GTG-Shapley.
- Accuracy: Despite the aggressive pruning, IPSS maintained a relative error of less than 1% in most tests, consistently outperforming gradient-based methods in accuracy.
- Scalability: The algorithm was tested with up to 100 clients. While exact calculation is impossible at this scale, IPSS successfully identified "free-riders" (participants with noisy or empty data) with high stability.
Discussion and Limitations
While IPSS represents a significant step forward, the authors note several areas for future research. Some theoretical proofs regarding variance reduction currently rely on the assumption of linear regression models; extending these proofs to non-convex deep learning models remains an open challenge. Additionally, while IPSS reduces computational costs (model training), the communication overhead of training multiple subset models in cross-device FL (e.g., mobile environments) could still be a bottleneck. Finally, the current framework is designed for static datasets, and future iterations could explore dynamic valuation as clients join or leave the network.
Conclusion
IPSS offers a powerful solution for fair data valuation in Federated Learning. By combining stratified sampling with strategic pruning based on the "key combinations" phenomenon, the authors demonstrate that it is possible to achieve near-exact Shapley Values with minimal computational expenditure, paving the way for more sustainable and equitable FL ecosystems.
Summary updated