TL;DR
S-GAP introduces a unified "Graph Attack Primitive" (GAP) to coordinate textual and structural changes in adversarial attacks against Graph Large Language Models (GraphLLMs). By using a multi-agent framework to iteratively refine these attacks through natural language feedback, S-GAP achieves a 7.02% average improvement in attack success while remaining significantly more "stealthy" and semantically plausible than previous methods.
What Problem Does This Paper Address?
GraphLLMs have revolutionized how we reason over Text-Attributed Graphs (TAGs)—networks like citation webs or product catalogs where nodes contain rich text and edges represent relationships. However, these models inherit a "coupled vulnerability": they rely on both text and structure to make decisions.
Existing adversarial attacks typically perturb text and graph structure in separate stages. The authors call this attack-intent fragmentation. For example, an attack might change a node's text to a new topic but connect it to edges that don't make sense for that topic. Because GraphLLMs are designed for deep semantic reasoning, they can often spot these "incoherent" perturbations and simply ignore them, rendering the attack ineffective. The challenge is creating an attack that is both powerful enough to flip a model's prediction and "stealthy" enough to look like a legitimate part of the graph.
Methods
The core innovation is the Graph Attack Primitive (GAP), an atomic semantic representation that unifies text and structure under a single coherent intent. Instead of picking edges and words separately, the attacker defines a target anchor (the topic to preserve) and adversarial semantics (the "poison" to introduce).
To optimize these primitives, the authors propose S-GAP, a multi-agent framework:
- Main Agent: The conductor. It maintains the attack state and decides whether to continue refining the plan or execute the attack.
- Planner Agent: Uses an LLM to propose or refine a GAP based on the target's context and previous feedback.
- Attack Agent: Realizes the GAP into concrete actions—either Graph Injection (GIA) (adding new nodes) or Graph Modification (GMA) (editing existing ones). It evaluates the attack's effectiveness using a "surrogate" Graph Neural Network (GNN) to provide a confidence-drop score.
The system operates in a loop: the Attack Agent provides execution results, and the Main Agent generates natural language feedback (e.g., "The first primitive was insufficient; explore a stronger theoretical direction") to guide the Planner Agent's next iteration.
Datasets
The researchers evaluated S-GAP across four diverse TAG datasets:
- Cora & PubMed: Standard citation networks where nodes are papers and edges are citations.
- OGBN-Arxiv: A massive citation network from the Open Graph Benchmark.
- OGBN-Products: A co-purchase network where nodes are products and edges represent items bought together.
They tested against three state-of-the-art GraphLLMs: LLaGA, RGLM, and TEA-GLM.
Key Insights and Ideas
- Semantic Coherence is Stealth: Traditional attacks like Nettack or PRBCD focus on numerical features or topology. While they can flip predictions, they produce "low-plausibility" relations that look like obvious junk to a reasoning model. S-GAP proves that maintaining a "High Plausibility" profile (matching the original graph's distribution) is essential for attacking LLM-based systems.
- The Power of Feedback: By using an LLM to "critique" the attack in natural language, S-GAP can navigate the complex search space of "text + structure" much more effectively than gradient-based methods.
- Unified Interface: Because the GAP is an abstract semantic intent, the same framework works seamlessly for both injecting new malicious nodes and modifying existing ones.
Key Results
- Superior Effectiveness: S-GAP achieved the highest Attack Success Rate (ASR) in all 24 tested scenarios. On average, it outperformed the strongest baselines by 12.78 percentage points in modification attacks and 1.25 points in injection attacks.
- Unmatched Stealth: In human-like plausibility assessments (scored 1-6 by an independent LLM), S-GAP's induced edges were rated as "High Plausibility" at rates nearly identical to the original clean graph. In contrast, some baselines saw their high-plausibility ratings drop to near zero.
- Robustness to Filtering: When the authors applied a "plausibility filter" to remove suspicious-looking edges, baseline attacks collapsed, while S-GAP retained over 85% of its effectiveness. This suggests S-GAP's success comes from genuine semantic manipulation rather than "relational shortcuts."
Limitations and Future Work
- Surrogate Gap: S-GAP relies on a surrogate GNN to estimate attack success. While Figure 4 shows a strong correlation between surrogate scores and actual success on GraphLLMs, a significant "prediction gap" remains.
- Computational Cost: The iterative multi-agent process requires multiple LLM calls, making it more computationally expensive than one-shot heuristic attacks.
- Defense Development: The paper primarily focuses on the attack side to expose vulnerabilities. The authors note that their findings should motivate the development of more robust defenses that specifically look for these types of coordinated semantic-structural perturbations.
Summary updated