TL;DR
This paper introduces AugMP, a novel method for manipulating federated large language models (LLMs) during fine-tuning. AugMP uses graph representation learning to craft malicious model updates that are statistically indistinguishable from benign ones, effectively bypassing common defenses and significantly degrading LLM performance.
What Problem Does This Paper Address?
Federated fine-tuning (FFT) is a promising approach for adapting large language models (LLMs) across distributed devices while preserving data privacy. However, this decentralized training paradigm is vulnerable to "model manipulation" or "poisoning" attacks. In such attacks, malicious participants inject corrupted model updates into the aggregation process, aiming to degrade the performance of the global LLM. Existing defenses often rely on detecting statistical anomalies or geometric inconsistencies in these updates. This paper addresses the challenge of creating manipulation attacks that are stealthy enough to evade these defenses, particularly in the context of LLMs fine-tuned using parameter-efficient methods like LoRA.
Methods
The core of AugMP lies in its novel approach to generating malicious updates:
- Graph Representation Learning (GRL) Framework: AugMP constructs a graph where nodes represent benign LLM updates and edges capture feature correlations between them. This graph is fed into a Variational Graph Autoencoder (VGAE) to learn latent representations that encode the underlying structure of benign updates.
- Graph Spectral Transformation (GST): The learned latent representations from the VGAE are then used in a GST module. This module transforms the graph signals into a spectral domain, allowing for the generation of malicious updates that mimic the characteristics of benign ones.
- Augmented Lagrangian Dual Formulation: To optimize the malicious updates, AugMP employs an iterative algorithm based on an augmented Lagrangian dual formulation. This method balances maximizing the adversarial objective (degrading global LLM performance) with preserving geometric stealth constraints (making updates look benign). This approach helps to embed adversarial objectives while maintaining benign-like parameter characteristics.
Datasets
The paper evaluates AugMP on two widely used text-classification benchmarks:
- AG News dataset: Contains four topic categories with 120,000 training samples and 7,600 test samples.
- Yahoo! Answers dataset: A larger dataset with 10 categories, 1.4 million training samples, and 60,000 test samples.
The authors do not introduce new benchmarks but use these standard datasets to demonstrate the effectiveness of their attack against LLMs.
Key Insights and Ideas
- Stealth is Key: The most significant insight is that by understanding and mimicking the correlations between benign updates (rather than just their individual properties), an adversary can create malicious updates that are virtually indistinguishable from legitimate ones. This is a departure from many previous attacks that introduce obvious statistical deviations.
- Graph Structure as a Weakness: The paper highlights that the inherent structure and correlations within benign model updates, when modeled as a graph, can be exploited to generate highly effective adversarial examples.
- Iterative Refinement for Stealth and Impact: The augmented Lagrangian approach is crucial. It allows for a trade-off between maximizing the damage caused by the malicious update and ensuring it remains undetected, iteratively refining the update to achieve both goals.
- Propagation in Federated Systems: The experiments demonstrate how a single poisoned global model, once created, can propagate its negative effects to all participating local agents, highlighting the systemic risk in federated learning.
Key Results
- High Manipulation Effectiveness: AugMP significantly degrades the global LLM accuracy, reducing it by up to 26% on the AG News dataset and up to 13% on the Yahoo! Answers dataset across different LLM backbones.
- Local Agent Impact: The average accuracy of benign local LLM agents is also degraded, by up to 22% on AG News and up to 7.2% on Yahoo! Answers, demonstrating the widespread impact of the attack.
- Superior Stealthiness: Compared to baselines like ALIE and RMP, AugMP's malicious updates exhibit Euclidean distances and cosine similarities that closely overlap with benign updates. This makes them significantly harder to detect by conventional distance- and similarity-based defenses.
- LLM Backbone Agnostic: The method is shown to be effective across three different LLM backbones: DistilBERT, Pythia, and Qwen2.5, indicating its general applicability.
Limitations and Future Work
- LoRA Configuration Impact: The paper notes that the effectiveness of AugMP can vary depending on the LoRA configuration (rank and scaling factor), which affects the number of trainable parameters. While they explore this, further research could delve deeper into optimal configurations for attacks.
- Ablation Studies: The authors perform ablation studies, showing that both the augmented Lagrangian penalty and the GRL framework are crucial for AugMP's effectiveness and stealthiness. Removing either component significantly reduces the attack's performance or makes it more detectable.
- Future Directions: The paper implicitly suggests that future defense mechanisms will need to move beyond simple distance and similarity metrics to detect such sophisticated, graph-aware attacks. Developing more robust defenses against GRL-based manipulation remains an open area.
Summary updated