Abstract
Edge device participation in federating learning (FL) is typically studied through the lens of device-server communication (e.g., device dropout) and assumes an undying desire from edge devices to participate in FL. As a result, current FL frameworks are flawed when implemented in realistic settings, with many encountering the free-rider dilemma. In a step to push FL towards realistic settings, we propose RealFM: the first federated mechanism that (1) realistically models device utility, (2) incentivizes data contribution and device participation, (3) provably removes the free-rider dilemma, and (4) relaxes assumptions on data homogeneity and data sharing. Compared to previous FL mechanisms, RealFM allows for a non-linear relationship between model accuracy and utility, which improves the utility gained by the server and participating devices. On real-world data, RealFM improves device and server utility, as well as data contribution, by over 3 and 4 magnitudes respectively compared to baselines.
Introduction
Standard Federated Learning (FL) research often focuses on the technical challenges of training models across distributed devices like smartphones and sensors. However, these frameworks frequently overlook a fundamental economic reality: participation is not free. Edge devices incur significant costs related to data collection, local computation, and network communication.
This oversight leads to two critical failures in real-world deployments:
- Lack of Participation Incentives (C1): Rational devices will not join the network if the operational costs exceed the perceived benefit of the resulting global model.
- The Free-Rider Dilemma (C2): Devices may join to obtain the high-performing global model while contributing little to no data, thereby saving on local costs while benefiting from others' efforts.
Previous incentive mechanisms often relied on simplistic "linear utility" models—assuming, for instance, that a 1% accuracy gain is equally valuable at 50% as it is at 99%. Furthermore, many required devices to share raw data samples for valuation, which directly contradicts the privacy-preserving goals of FL.
The REALFM Mechanism
To address these challenges, we introduce REALFM (Realistic Federated Mechanism). REALFM models FL as a game-theoretic problem designed to reach a Nash Equilibrium, where no participant can improve their utility by unilaterally changing their contribution level.
As shown in the figure above, the mechanism operates in three distinct phases:
- Participation Phase: Devices evaluate their potential utility based on their payoff functions $\phi_i$ and marginal costs $c_i$ before deciding to opt-in.
- Federated Training Phase: Standard FL training occurs, where devices exchange model updates with the server.
- Reward Distribution Phase: The server distributes rewards based on a novel protocol. This includes Accuracy Shaping, where the server provides a boosted model version to high contributors and a degraded version to low contributors, and Monetary Rewards, where a portion of the server's profit is distributed back to devices proportional to their data contribution.
Crucially, REALFM utilizes a Non-Linear Utility Model. It recognizes that in competitive industries, the jump from 98% to 99% accuracy is often worth far more than the jump from 50% to 51%. By using a convex payoff function, REALFM creates powerful incentives for high-quality contributions while provably eliminating the free-rider incentive.
Experimental Evaluation
We evaluated REALFM using image classification benchmarks (CIFAR-10 and MNIST) under realistic, non-IID (heterogeneous) data distributions created via Dirichlet distributions. This setup simulates "messy" real-world conditions where data quality and quantity vary significantly across devices.
The results demonstrate that REALFM is a substantial advancement over existing linear mechanisms. As illustrated in the utility comparison, REALFM improves both device and server utility by 3 to 5 orders of magnitude. Because rewards are strictly tied to data quantity ($m_i$), devices are incentivized to contribute significantly more data than they would for purely local training. The mechanism remains robust across various data distributions and marginal cost profiles.
Discussion and Future Work
While REALFM provides a robust framework for realistic FL incentives, several avenues for future research remain. Currently, the model assumes devices report their data quantities honestly. While techniques like model scaling (providing smaller models for smaller reported contributions) can mitigate this, formal defenses against sophisticated sybil attacks are needed.
Additionally, REALFM currently rewards based on data quantity. Future iterations could integrate Federated Shapley Values to reward based on data quality or uniqueness. Finally, extending the model to account for dynamic marginal costs—where the cost of data collection might change over time—would further enhance its applicability to real-world edge computing environments.
Summary updated