arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.04894cs.CRcs.AIcs.SI
收藏

针对图感知大型语言模型(LLMs)的对抗攻击与防御

Adversarial Attacks and Defenses on Graph-aware Large Language Models (LLMs)

Iyiola E. Olatunji, Franziska Boenisch, Jing Xu, Adam Dziedzic

AI总结:

本研究首次系统探索图感知LLMs在节点分类中的对抗鲁棒性,发现LLAGA的节点序列模板和GRAPHPROMPTER的GNN编码器存在不同脆弱性,并提出端到端防御框架GALGUARD,结合LLM特征校正与GNN防御以抵御特征和结构攻击。

摘要:

大型语言模型(LLMs)正越来越多地与图结构数据集成,用于节点分类等任务,而这一领域传统上由图神经网络(GNNs)主导。虽然这种集成利用了丰富的关联信息来提升任务性能,但其对抗攻击下的鲁棒性仍未得到探索。我们迈出第一步,通过利用现有的针对基于图的模型设计的对抗攻击方法,包括投毒攻击(训练时攻击)和逃避攻击(测试时攻击),对两个代表性模型——LLAGA(Chen等人,2024)和GRAPHPROMPTER(Liu等人,2024)——来探索图感知LLMs的脆弱性。此外,我们发现了LLAGA的一个新攻击面,攻击者可以将恶意节点作为占位符注入节点序列模板中,从而严重降低其性能。我们的系统性分析揭示,图编码中的某些设计选择可以增强攻击成功率,具体发现包括:(1)LLAGA中的节点序列模板增加了其脆弱性;(2)GRAPHPROMPTER中使用的GNN编码器表现出更强的鲁棒性;(3)两种方法都仍然容易受到不可察觉的特征扰动攻击。最后,我们提出了一个端到端的防御框架GALGUARD,该框架结合了基于LLM的特征校正模块以缓解特征级扰动,并采用改编的GNN防御来抵御结构攻击。

英文摘要:

Large Language Models (LLMs) are increasingly integrated with graph-structured data for tasks like node classification, a domain traditionally dominated by Graph Neural Networks (GNNs). While this integration leverages rich relational information to improve task performance, their robustness against adversarial attacks remains unexplored. We take the first step to explore the vulnerabilities of graph-aware LLMs by leveraging existing adversarial attack methods tailored for graph-based models, including those for poisoning (training-time attacks) and evasion (test-time attacks), on two representative models, LLAGA (Chen et al. 2024) and GRAPHPROMPTER (Liu et al. 2024). Additionally, we discover a new attack surface for LLAGA where an attacker can inject malicious nodes as placeholders into the node sequence template to severely degrade its performance. Our systematic analysis reveals that certain design choices in graph encoding can enhance attack success, with specific findings that: (1) the node sequence template in LLAGA increases its vulnerability; (2) the GNN encoder used in GRAPHPROMPTER demonstrates greater robustness; and (3) both approaches remain susceptible to imperceptible feature perturbation attacks. Finally, we propose an end-to-end defense framework GALGUARD, that combines an LLM-based feature correction module to mitigate feature-level perturbations and adapted GNN defenses to protect against structural attacks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑