用大模型生成可解释文本,实现低成本黑盒图注入攻击
Navigating the Black Box: Leveraging LLMs for Effective Text-Level Graph Injection Attacks
- 用大语言模型生成可解释的文本属性,替代传统不可解释的嵌入扰动
- 在真实数据集上以极低训练成本实现攻击,成功率显著高于现有方法
- 适合研究图神经网络安全性的研究人员,或需要测试系统鲁棒性的工程师
文本属性图(TAGs)将文本数据与图结构结合,在社交网络分析和推荐系统中具有重要价值。图神经网络(GNN)虽能有效捕捉拓扑结构与文本信息,但易受对抗攻击影响。现有图注入攻击(GIA)方法通常假设攻击者可直接操控嵌入层,生成不可解释的节点嵌入,且依赖高成本的代理模型。本文提出ATAG-LLM,一种专为TAGs设计的新型黑盒GIA框架。该方法利用大语言模型(LLMs)直接生成可解释的文本级节点属性,确保攻击在真实场景中的可行性。我们设计了平衡探索与可靠性的LLM提示策略,并提出相似性评估方法,用于衡量攻击文本对图同质性破坏的效果。该方法在严格黑盒设置下,以极低训练成本高效扰动目标节点,实现文本级图注入攻击。在真实世界TAG数据集上的实验表明,ATAG-LLM在性能上优于现有顶尖的嵌入级与文本级攻击方法。
原文摘要 · Abstract (English)
Text-attributed graphs (TAGs) integrate textual data with graph structures, providing valuable insights in applications such as social network analysis and recommendation systems. Graph Neural Networks (GNNs) effectively capture both topological structure and textual information in TAGs but are vulnerable to adversarial attacks. Existing graph injection attack (GIA) methods assume that attackers can directly manipulate the embedding layer, producing non-explainable node embeddings. Furthermore, the effectiveness of these attacks often relies on surrogate models with high training costs. Thus, this paper introduces ATAG-LLM, a novel black-box GIA framework tailored for TAGs. Our approach leverages large language models (LLMs) to generate interpretable text-level node attributes directly, ensuring attacks remain feasible in real-world scenarios. We design strategies for LLM prompting that balance exploration and reliability to guide text generation, and propose a similarity assessment method to evaluate attack text effectiveness in disrupting graph homophily. This method efficiently perturbs the target node with minimal training costs in a strict black-box setting, ensuring a text-level graph injection attack for TAGs. Experiments on real-world TAG datasets validate the superior performance of ATAG-LLM compared to state-of-the-art embedding-level and text-level attack methods.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。