FedGraph: Defending Federated Large Language Model Fine-Tuning Against Backdoor Attacks via Graph-Based Aggregation
Xi Chen, Chunyi Zhou, Rui Zeng, Xiaogang Xu, Zhe Liu, Shouling Ji
Abstract
Federated fine-tuning of large language models (LLMs) allows multiple clients to collaboratively adapt models without sharing raw data, offering strong privacy benefits. However, this setting is highly vulnerable to backdoor attacks, in which malicious clients manipulate their updates to induce targeted behaviors while maintaining normal performance on benign inputs. In this work, we make a key observation specific to federated LLM fine-tuning: malicious clients tend to exhibit strong consistency in their model updates, whereas benign clients produce more diverse and dispersed updates. This structural difference is not well captured by existing defense methods, which typically rely on direct anomaly detection in high-dimensional parameter space and therefore struggle in the presence of entangled LLM updates. Motivated by this observation, we propose FedGraph, a graph-based aggregation framework that explicitly models relationships among client updates. By representing clients as nodes in a dynamically constructed graph and extracting structural features that characterize their relative positions and interactions, FedGraph derives compact client representations that effectively separate malicious and benign behaviors. These representations are then used to identify and suppress malicious contributions during aggregation. Extensive experiments demonstrate that FedGraph significantly improves backdoor defense. It consistently reduces attack success rates to below 10% while achieving high detection accuracy (95.5% on average) and a low false positive rate (2.33%), substantially outperforming existing federated learning defenses.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI
- Comments
- Accepted at the ICLR 2026 Workshop on Principled Design for Trustworthy AI. This is an author-owned preprint, not the official proceedings version
Related papers
SoK: Splitting the Trigger or Adding Attackers? Disentangling Distributed Backdoor Attacks in Federated Learning
Shared title terminologycs.CRZhuotao Lian, Qingkui Zeng, Weiyu Wang
Felid: A Flexible and Efficient Design for Transformer Fine-Tuning over Encrypted Data
Shared title terminologycs.CRLinru Zhang, Jun Jie Sim, Xiangning Wang et al.
Erased but Recoverable: On the Fragility of Concept Erasure Under Fine-Tuning
Shared title terminologycs.CRJun Li, Lizhi Xiong, Ziqiang Li et al.
Defending Against Dormant Poisoning Attacks Across Language and Multimodal Agents
Shared title terminologycs.CRWonjun Lee, Vaidehi Patil, Zaid Khan et al.
Under the Skin: Backdoor Infection in Multimodal Large Language Models
Shared title terminologycs.CRJiawen Wang, Ruo Yang, Haoran Dai et al.
AutoSec-RAN: Specification-Grounded LLM Fine-Tuning for Automated Security Analysis of O-RAN
Shared title terminologycs.CRAnoop Mishra, Joshua Moore, Aly Sabri Abdalla et al.