arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.07258cs.CLcs.AI
收藏

无查询,无访问

No Query, No Access

Sun Yat-sen University, Guangzhou, China(中山大学);Lanzhou University, Gansu, China(兰州大学)

Wenqiang Wang, Siyuan Liang, Yangshijie Zhang, Xiaojun Jia, Hao Lin, Xiaochun Cao

AI总结:

提出仅基于受害者文本的对抗攻击VDBA,通过影子数据集和层次化替代模型实现零查询攻击,在Emotion和SST5上ASR提升52.08%,对LLM构成威胁。

摘要:

文本对抗攻击通过微妙地修改文本来误导NLP模型,包括大型语言模型(LLMs)。虽然现有攻击有效,但通常需要了解受害者模型、大量查询或访问训练数据,这限制了其在现实世界中的可行性。为了克服这些限制,我们引入了基于受害者数据的对抗攻击(VDBA),该攻击仅使用受害者文本进行操作。为了防止访问受害者模型,我们使用公开可用的预训练模型和聚类方法创建了一个影子数据集,作为开发替代模型的基础。为了解决由于信息反馈不足而导致的低攻击成功率(ASR),我们提出了层次化替代模型设计,生成替代模型以减轻单个替代模型在决策边界上的失败。同时,我们使用多样化的对抗样本生成,采用各种攻击方法来生成并选择具有更好相似性和攻击效果的对抗样本。在Emotion和SST5数据集上的实验表明,VDBA优于最先进的方法,实现了52.08%的ASR提升,同时将攻击查询显著减少到0。更重要的是,我们发现VDBA对Qwen2和GPT系列等LLM构成重大威胁,即使在没有API访问的情况下也达到了45.99%的最高ASR,证实了先进的NLP模型仍然面临严重的安全风险。我们的代码可在https://anonymous.4open.science/r/VDBA-Victim-Data-based-Adversarial-Attack-36EC/找到。

英文摘要:

Textual adversarial attacks mislead NLP models, including Large Language Models (LLMs), by subtly modifying text. While effective, existing attacks often require knowledge of the victim model, extensive queries, or access to training data, limiting real-world feasibility. To overcome these constraints, we introduce the \textbf{Victim Data-based Adversarial Attack (VDBA)}, which operates using only victim texts. To prevent access to the victim model, we create a shadow dataset with publicly available pre-trained models and clustering methods as a foundation for developing substitute models. To address the low attack success rate (ASR) due to insufficient information feedback, we propose the hierarchical substitution model design, generating substitute models to mitigate the failure of a single substitute model at the decision boundary. Concurrently, we use diverse adversarial example generation, employing various attack methods to generate and select the adversarial example with better similarity and attack effectiveness. Experiments on the Emotion and SST5 datasets show that VDBA outperforms state-of-the-art methods, achieving an ASR improvement of 52.08\% while significantly reducing attack queries to 0. More importantly, we discover that VDBA poses a significant threat to LLMs such as Qwen2 and the GPT family, and achieves the highest ASR of 45.99% even without access to the API, confirming that advanced NLP models still face serious security risks. Our codes can be found at https://anonymous.4open.science/r/VDBA-Victim-Data-based-Adversarial-Attack-36EC/

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

↑