Skip to content

CSDD: Class-wise Shapley Contribution Dispersion for Free-Rider Defense in Federated Classification

Xiaodong Guo, Ruiyun Zheng, Yinan Sun, Zihan Zhang, Yanwen Mao

cs.LG

Abstract

Federated learning relies on its contribution evaluation mechanism to incentivize participants to contribute local data for model training. However, it is subject to free-rider attacks in which malicious clients bypass this mechanism to obtain rewards while submitting uninformative or fabricated model updates. Existing approaches based on mathematical heuristics exhibit a critical limitation: carefully forged updates can mimic legitimate update statistics, training traces, or parameter similarities, making free riders difficult to identify. Meanwhile, neural-network-based approaches require a trustworthy bootstrapping process to train the detector and become less reliable as the proportion of attackers increases. To overcome these limitations, we propose CSDD, a knowledge-structure-aware contribution evaluation method that characterizes each client's contribution as the expansion or stabilization of class-specific knowledge rather than aggregate loss reduction. In detail, each client's marginal effect on every class is quantified using Shapley values, yielding a fine-grained contribution vector. Accordingly, free-riders exhibit near-zero positive contributions across classes, whereas honest clients contribute positively to at least some classes. Extensive experiments demonstrate the effectiveness of CSDD, including its ability to distinguish advanced free-rider attackers from honest clients and reliably evaluate client contributions under heterogeneous data distributions.

Create a lesson

Metadata

Comments
24 pages, 7 figures, 6 tables. The source code for CSDD is available at https://github.com/cyanpromise521/CSDD