Toward Understanding the Influence of Individual Clients in Federated Learning

Yihao Xue, Chaoyue Niu, Zhenzhe Zheng, Shaojie Tang, Chengfei Lyu, Fan Wu, Guihai Chen

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models on decentralized data while maintaining user privacy. However, the inability to inspect raw client data creates a significant challenge: transparency. Without knowing how individual clients contribute to the global model, it is difficult to identify malicious actors, debug performance issues, or ensure fair reward distribution. This paper introduces Fed-Influence, a framework designed to quantify the influence of individual clients on the global model without compromising privacy or requiring expensive retraining.

The Challenge of Quantifying Influence

In traditional centralized learning, influence functions estimate the impact of a single data point. Translating this to FL is non-trivial due to several constraints:

  1. Privacy: The server cannot access raw data.
  2. Communication Efficiency: Clients are often offline, and communication rounds are limited.
  3. Complexity: A "leave-one-out" approach—retraining the model for every client—is computationally prohibitive in large-scale systems.

The Fed-Influence Framework

The authors define Fed-Influence on Parameter (FIP) as the difference between a global model trained with all clients and one trained without a specific client $c$. To estimate this efficiently, the framework employs three key techniques:

1. Basic Estimator

The framework uses first-order Taylor approximations to track sequential influence (how a client's absence alters others' local updates) and combinatorial influence (how it changes the final model aggregation).

2. Layer-Wise Examination and Truncation (LWET)

Deep neural networks are highly non-convex, which can cause influence estimates to explode. The authors observed that this instability is often localized to specific layers. LWET monitors layer-wise error and truncates sequential influence for unstable layers, ensuring a stable estimate.

3. Low-Cost Hessian Approximation

Calculating the Hessian matrix is typically the bottleneck for influence functions. Fed-Influence approximates the Hessian using Fisher Information derived from gradients, utilizing a recursive computation trick to maintain linear complexity relative to the model size.

Experimental Validation

The researchers evaluated Fed-Influence on synthetic and real-world datasets (FEMNIST). A critical metric for success is the correlation between the estimated influence and the "ground truth" obtained through actual leave-one-out retraining.

The proposed estimator shows a strong correlation between estimated and actual influence on the loss function, validating its accuracy in non-convex settings.

In convex settings, the Pearson correlation coefficient reached as high as 0.98. Even in challenging non-convex scenarios, the estimator maintained a respectable correlation (e.g., 0.62), demonstrating its robustness in tracking the trajectory of model updates.

Practical Application: Client Cleansing

One of the most impactful applications of Fed-Influence is "client cleansing." The authors discovered that not all clients contribute positively; some have a "negative influence," meaning the global model would perform better without them. By identifying and removing these low-value or harmful clients, the overall performance of the federated model can be significantly improved.

Removing clients identified as having low or negative influence leads to a decrease in global loss and an increase in model accuracy.

For instance, in one experimental setup, removing the bottom 30% of clients based on their influence scores increased model accuracy from 53.86% to 55.66%. This demonstrates that Fed-Influence can serve as a powerful tool for improving model quality in heterogeneous environments.

Conclusion

Fed-Influence provides a scalable and privacy-preserving method for understanding client contributions in Federated Learning. By bridging the gap between privacy and transparency, this framework opens new doors for model debugging, adversarial defense, and fair incentive mechanisms in decentralized AI. While approximation biases remain a topic for future research, the current results demonstrate that effective client-level influence estimation is both possible and practical.

Summary updated

BibTeX
@inproceedings{xue2021toward,
  author = {Yihao Xue and Chaoyue Niu and Zhenzhe Zheng and Shaojie Tang and Chengfei Lyu and Fan Wu and Guihai Chen},
  title = {{Toward Understanding the Influence of Individual Clients in Federated Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i12.17263},
}
Figure