Graph Representation-based Model Poisoning on Federated Large Language Models

Hanlin Cai, Haofan Dong, Houtianfu Wang, Kai Li, Özgür B. AkanarXiv 2025 · DOI

TL;DR

This paper introduces GRMP, a novel graph representation-based model poisoning attack that cleverly exploits higher-order correlations in federated large language models (FedLLMs). GRMP crafts malicious updates that are statistically indistinguishable from legitimate ones, effectively bypassing current defenses and significantly degrading model performance. This highlights a critical vulnerability in FedLLMs and calls for new, graph-aware security mechanisms.

What Problem Does This Paper Address?

Federated Large Language Models (FedLLMs) are revolutionizing applications like smart healthcare and autonomous driving by enabling collaborative model training across distributed devices while preserving data privacy. However, these models are susceptible to "model poisoning attacks," where malicious participants inject corrupted updates to manipulate the global model. Existing defenses, often called "DiSim-defense mechanisms," rely on detecting statistical outliers in model updates using distance or similarity metrics. The problem is that these defenses assume malicious updates will have obvious statistical anomalies. This paper addresses the critical gap where advanced adversaries can craft subtle, yet highly effective, malicious updates that mimic legitimate patterns, rendering current defenses useless. This is particularly challenging with billion-parameter LLMs, which offer a vast parameter space for attackers to hide their malicious intent.

Methods

The core innovation is the Graph Representation-based Model Poisoning (GRMP) attack. Here's how it works:

  1. Graph Formulation: The attacker first collects benign model updates from legitimate clients. These updates are then transformed into a graph representation. Each update becomes a node, and edges connect nodes based on their pairwise similarity (e.g., cosine similarity). This captures the "relational structure" and "higher-order correlations" among benign updates.
  2. Generative Model Training (VGAE): A Variational Graph Autoencoder (VGAE) is trained on this graph structure. The VGAE learns to encode and decode the graph, effectively understanding the underlying distribution and statistical properties of legitimate updates.
  3. Adversarial Training: The VGAE is trained adversarially to maximize reconstruction loss. This forces the model to generate outputs that are structurally plausible but contain subtle perturbations.
  4. Lagrange Dual Problem and Graph Signal Processing (GSP): To craft the actual malicious update, the attacker uses a Lagrange dual optimization to balance poisoning impact with stealth. A GSP module then takes the learned graph structure and combines it with genuine feature signals from benign updates. This process synthesizes a malicious update that mimics legitimate characteristics while embedding the attacker's payload, making it nearly impossible to detect.

This approach moves beyond simple statistical outlier detection to structural mimicry, exploiting the inherent relationships between model updates.

Datasets

  • AG News dataset: Used for training and evaluating the FedLLMs in text classification tasks. This dataset is described as a widely-recognized benchmark containing news articles across four categories: world, sports, business, and science, with 120,000 training samples and 7,600 test samples.

Key Insights and Ideas

  • Beyond Statistical Outliers: The fundamental assumption of current defenses (that malicious updates are statistical anomalies) is flawed. Adaptive adversaries can learn and mimic legitimate patterns, rendering these defenses ineffective.
  • Exploiting Higher-Order Correlations: GRMP's strength lies in its ability to capture and exploit the complex, higher-order relationships between model updates, which are invisible to traditional DiSim-defense mechanisms.
  • Structural Mimicry is the New Threat: The paper highlights a shift from simple poisoning attacks to sophisticated ones that structurally mimic benign behavior, posing a significant challenge for existing security paradigms.
  • Non-IID Data as a Vulnerability: While intended for better generalization, non-IID (non-independently and identically distributed) data in federated learning can create opportunities for attackers to conceal malicious activity within natural variations.
  • FedLLMs are Susceptible to "Semantic" Attacks: Attacks can now target the core intelligence and reasoning of LLMs, leading to subtle but catastrophic failures in critical applications like healthcare or autonomous driving.

Key Results

  • High Attack Success Rate (ASR): GRMP achieved a 60% attack success rate on targeted business articles, successfully misclassifying them as sports news.
  • Stealthy Evasion: The attack completely bypassed detection by DiSim-defense mechanisms, with attacker updates consistently staying above the dynamic defense threshold.
  • Preserved System Performance: The global model maintained an accuracy of around 83%, demonstrating GRMP's ability to preserve overall system performance while selectively corrupting targeted behaviors, crucial for attack sustainability.
  • Mimicking Natural Similarity Decline: Attacker updates mimicked the natural decline in cosine similarity observed in legitimate participants over communication rounds, further enhancing stealth.

Limitations and Future Work

  • Limitations: The paper acknowledges that the GRMP attack is designed to bypass DiSim-defense mechanisms, which are the current mainstream approaches. Its effectiveness against future, more advanced defenses is not explicitly detailed. The study focuses on text classification; its impact on other FedLLM applications (e.g., code generation, dialogue systems) might differ.
  • Future Work: The authors propose a research roadmap emphasizing:
  • Graph-aware secure aggregation methods: Developing aggregation techniques that explicitly consider graph structures.
  • Specialized vulnerability metrics: Creating metrics tailored to the unique characteristics of FedLLMs.
  • Evaluation frameworks: Enhancing robustness testing for federated language models.
  • Dual Semantic and Structural Auditing: Future defenses should move beyond statistical checks to:
  • Semantic Auditing: Using Explainable AI (XAI) techniques (like GradCAM) to verify the internal reasoning and behavioral intent of model updates.
  • Structural Auditing: Employing graph-based techniques to analyze the collective relational structure of client updates and identify suspicious substructures (e.g., cliques of malicious clients).

Summary updated

BibTeX
@misc{cai2025graph,
  author = {Hanlin Cai and Haofan Dong and Houtianfu Wang and Kai Li and Özgür B. Akan},
  title = {{Graph Representation-based Model Poisoning on Federated Large Language Models}},
  year = {2025},
  eprint = {2507.01694},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.01694},
}
Figure