DBA-DFL: Towards Distributed Backdoor Attacks with Network Detection in Decentralized Federated Learning

Bohan Liu, Yang Xiao, Ruimeng Ye, Zinan Ling, Xiaolong Ma, Bo Hui

TL;DR

This paper introduces a novel method for distributed backdoor attacks (DBA) in decentralized federated learning (DFL) that overcomes the limitations of previous approaches. By first detecting the network topology and attacker locations, and then strategically clustering attackers and distributing local attack patterns, the proposed method achieves significantly higher attack success rates compared to existing DBA and centralized attacks in DFL settings.

What Problem Does This Paper Address?

Federated learning (FL) allows for collaborative training of machine learning models across distributed devices without centralizing data, preserving privacy. FL can be broadly categorized into centralized FL (with a central server) and decentralized FL (where clients communicate directly). While distributed backdoor attacks (DBA) have proven effective in centralized FL by distributing parts of a global attack pattern across multiple malicious clients, their effectiveness in decentralized FL (DFL) has been largely unexplored. A key challenge in DFL is that the attack's success is highly dependent on the network topology and the distribution of attackers. If attackers are not strategically positioned, their influence can be diluted by the decentralized communication structure, leading to a significant drop in attack success rate. This paper aims to address this gap by developing a DBA strategy that is robust to attacker location and network architecture in DFL.

Methods

The proposed method, DBA-DFL, employs a two-step strategy:

  1. Network Detection and Distance Prediction: The core innovation here is to detect the network topology and, more importantly, estimate the distances between adversarial clients. This is achieved by observing that the "poison accuracy" (the model's accuracy on poisoned data) forms a sequence that varies differently across clients based on their distance from an attacker. A pre-trained LSTM model is used to predict these distances from these sequences.
  2. Clustered Distributed Backdoor Attack: Once the distances are estimated, a clustering algorithm is used to group attackers into clusters, where attackers within a cluster are close to each other. A global trigger pattern is then decomposed into local patterns. These local patterns are dynamically assigned to attackers within each cluster for each training round. This dynamic distribution aims to maximize the impact of the attack by ensuring that even small local triggers can propagate effectively within their respective clusters and influence the global model.

Datasets

The paper evaluates its methods on the following standard datasets:

  • CIFAR-10
  • MNIST

Key Insights and Ideas

  • DFL's Unique Vulnerability: Unlike centralized FL, the decentralized nature of DFL, with its peer-to-peer communication, makes DBA's effectiveness highly sensitive to the spatial distribution of attackers. A non-uniform distribution can significantly weaken the attack.
  • Topology as an Attack Vector: The paper cleverly turns the network topology into an exploitable feature. By analyzing how attack signals propagate and weaken with distance, they can infer attacker locations.
  • Clustering for Enhanced Impact: Grouping attackers into clusters and distributing local patterns within these clusters is crucial. This allows for more targeted and potent attacks, as local patterns can be more insidious and less likely to be diluted by normal client updates within their cluster.
  • Dynamic Local Pattern Assignment: Randomly assigning decomposed local triggers to attackers within a cluster in each round further enhances the attack's robustness and effectiveness, ensuring that each local pattern gets a chance to influence the model from various positions.

Key Results

  • Superior Attack Success Rate (ASR): The proposed DBA-DFL method consistently achieves a higher attack success rate compared to both naive DBA and centralized backdoor attacks across various decentralized FL frameworks (DSGD, Swift) and datasets (CIFAR-10, MNIST).
  • Effective Distance Prediction: The LSTM-based distance prediction method demonstrates accuracy in estimating distances between attackers, even with increasing distances and varying network topologies (Ring, Grid).
  • Robustness to Topology: The method is shown to be effective across different network topologies, indicating its adaptability.
  • Defense Mitigation: Even when faced with defensive mechanisms, DBA-DFL shows a notable advantage over existing attacks, suggesting its potential to challenge current defenses in DFL.

Limitations and Future Work

  • Computational Overhead: While the paper claims the overhead is ignorable, the computational cost of clustering and distance prediction is an additional factor compared to standard DBA. The paper notes that the training cost on DFL itself is the dominant factor.
  • Accuracy of Distance Prediction: The paper acknowledges that as the ground truth distance increases, the prediction error also increases, which can slightly impact the attack success rate. However, even with these errors, the proposed method still outperforms DBA.
  • Future Work: The paper suggests further exploring the impact of different defensive mechanisms and more complex real-world topologies. Investigating the optimal number of clusters (K) for different scenarios is also a potential area for future research.

Summary updated

BibTeX
@inproceedings{liu2025dba,
  author = {Bohan Liu and Yang Xiao and Ruimeng Ye and Zinan Ling and Xiaolong Ma and Bo Hui},
  title = {{DBA-DFL: Towards Distributed Backdoor Attacks with Network Detection in Decentralized Federated Learning}},
  booktitle = {CFAgentic @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=VHzX06shmB},
}
Figure