Towards Trustworthy Federated Learning with Untrusted Participants

Youssef Allouah, Rachid Guerraoui, John Stephan

TL;DR

This paper introduces CAFCOR, a federated learning algorithm that achieves both data privacy and Byzantine robustness without relying on a trusted central server. By leveraging a weak assumption—that pairs of participants share a secret randomness seed—CAFCOR delivers the high utility of central differential privacy while maintaining the strict security of local privacy models.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple participants to collaboratively train a machine learning model without sharing their raw data. However, deploying FL in the real world exposes it to two major vulnerabilities: privacy leaks (where an untrusted central server or curious participants reverse-engineer sensitive data from gradient updates) and Byzantine attacks (where malicious participants send corrupted gradients to sabotage the model).

Simultaneously solving both problems usually requires a catch-22. To maintain high model accuracy (utility) while protecting privacy, standard approaches rely on Central Differential Privacy (CDP), which assumes the central server is completely trustworthy. If the server cannot be trusted, researchers turn to Local Differential Privacy (LDP), but LDP injects so much noise that it severely degrades model performance, especially when combined with robust aggregation techniques designed to filter out malicious updates. This paper addresses this gap: How can we achieve both robust defense against malicious actors and strong privacy guarantees when the central server itself is untrusted?

Methods

The authors propose CAFCOR (Covariance-bound Agnostic Filter with Correlated noise injection), which operates under an intermediate threat model called Secret-based Local Differential Privacy (SecLDP).

CAFCOR relies on two core components:

  1. Correlated Noise Injection: Before training begins, workers perform a one-time pairwise setup to share secret randomness seeds. During each training round, workers inject pairwise-canceling Gaussian noise into their gradients. If the updates are aggregated honestly, this noise perfectly cancels out. If malicious workers collude with the server and reveal their secrets, the remaining uncompromised secrets still act as a protective noise barrier for honest workers.
  2. Covariance-bound Agnostic Filter (CAF): Because the injected noise can obscure honest updates and confuse standard robust aggregators, the authors designed a novel filtering mechanism. CAF iteratively downweights updates based on their variance along the worst-case direction (the maximum eigenvalue of the empirical covariance matrix). Unlike prior robust estimators, CAF does not require a known bound on the covariance of honest inputs, making it highly practical and computationally efficient.

Datasets

The algorithm was evaluated using two standard image classification benchmarks: MNIST and Fashion-MNIST. To simulate realistic, challenging environments, the authors introduced data heterogeneity using a Dirichlet distribution and subjected the system to four state-of-the-art Byzantine attacks: Fall of Empires (FOE), A Little is Enough (ALIE), Label Flipping (LF), and Sign Flipping (SF).

Key Insights and Ideas

  • The Power of Pairwise Secrets: Shifting from a completely trustless setup (LDP) to one where participants merely share a pairwise seed bridges the massive utility gap between local and central differential privacy.
  • Granular Threat Modeling: Instead of assuming an all-or-nothing collusion scenario, the authors analyze a spectrum where $q$ malicious workers collude with the server. They show that privacy degrades gracefully rather than catastrophically.
  • Beating the Dimensionality Curse: Standard robust aggregators (like trimmed mean or median) suffer a heavy utility penalty proportional to the model dimension ($d$) when dealing with private gradients. CAF avoids this by focusing on the maximum eigenvalue rather than the matrix trace, making it uniquely suited for high-dimensional deep learning models.

Key Results

  • Near-Optimal Utility: Theoretical analysis shows CAFCOR achieves a privacy-utility trade-off of $\tilde{O}(\frac{(f+1)d}{n^2\varepsilon^2})$. As the number of malicious workers ($f$) decreases, this rate converges directly to the gold standard of Central DP.
  • Empirical Performance: In experiments on MNIST and Fashion-MNIST under the ALIE attack, CAFCOR matched the final test accuracy of an adversary-free baseline under Central DP (achieving 83% accuracy on MNIST and 72% on Fashion-MNIST with 5 malicious workers).
  • Computational Efficiency: Compared to SMEA (a prior state-of-the-art robust aggregator), CAF drastically reduces runtime. For a model with 10 million parameters, CAF was thousands of times faster than SMEA while maintaining identical accuracy guarantees.
Figure 1: Comparison of CAFCOR and DSGD under four privacy threat models on (Fashion-)MNIST. There are n = 100 workers, including f = 5 and 10 malicious workers executing ALIE (Baruch et al., 2019). A homogeneous data distribution is considered among honest workers. User-level DP is used and privacy budgets for MNIST are ε = 26.4 and 27.8 for f = 10 and f = 5, respectively. For Fashion-MNIST, the privacy budget is ε = 39.6. Throughout, we set δ = 10−4.

Limitations and Future Work

  • Initial Setup Overhead: Exchanging seeds requires a one-time quadratic communication complexity ($O(n^2)$) among workers before training starts. While negligible for static networks, this could pose challenges in highly dynamic cross-device federated learning settings where clients frequently drop in and out.
  • Open Theoretical Questions: While CAFCOR demonstrates strong empirical and theoretical bounds, the authors note that the absolute lower bound for utility under the SecLDP framework remains an open question.

Summary updated

Abstract

Resilience against malicious participants and data privacy are essential for trustworthy federated learning, yet achieving both with good utility typically requires the strong assumption of a trusted central server. This paper shows that a significantly weaker assumption suffices: each pair of participants shares a randomness seed unknown to others. In a setting where malicious participants may collude with an untrusted server, we propose CafCor, an algorithm that integrates robust gradient aggregation with correlated noise injection, using shared randomness between participants. We prove that CafCor achieves strong privacy-utility trade-offs, significantly outperforming local differential privacy (DP) methods, which do not make any trust assumption, while approaching central DP utility, where the server is fully trusted. Empirical results on standard benchmarks validate CafCor's practicality, showing that privacy and robustness can coexist in distributed systems without sacrificing utility or trusting the server.
BibTeX
@inproceedings{allouah2025towards,
  author = {Youssef Allouah and Rachid Guerraoui and John Stephan},
  title = {{Towards Trustworthy Federated Learning with Untrusted Participants}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=PjadKnUson},
}
Figure