arXiv:2509.22393cs.CV2025-09被引 1

新方法让文本攻击适应动态输出,单次查询成功率超50%。

Text Adversarial Attacks with Dynamic Outputs

  • 用聚类把动态标签转为静态输出,降低攻击复杂度。
  • 单次查询下最高攻击成功率达50.81%,静态场景达82.68%。
  • 适用于大模型对抗攻击,也拓展至生成任务如翻译。

现有文本对抗攻击多针对固定输出标签空间,依赖大量查询。本文提出文本动态输出攻击(TDOA),通过聚类训练代理模型,将动态输出问题转化为静态单输出问题。提出最远标签定向攻击策略,选择与模型粗粒度标签差异最大的扰动向量以最大化破坏效果。在四个数据集和八种受害者模型(如ChatGPT-4o、ChatGPT-4.1)上评估,TDOA仅需单次查询即达最高50.81%攻击成功率。此外,在传统静态输出场景中,最大攻击成功率达82.68%。进一步将翻译任务视为无界输出空间的分类问题,将TDOA扩展至生成场景,性能超越前人工作,最高提升0.64 RDBLEU和0.62 RDchrF。

原文摘要 · Abstract (English)

Text adversarial attack methods are typically designed for static scenarios with fixed numbers of output labels and a predefined label space, relying on extensive querying of the victim model (query-based attacks) or the surrogate model (transfer-based attacks). To address this gap, we introduce the Textual Dynamic Outputs Attack (TDOA) method, which employs a clustering-based surrogate model training approach to convert the dynamic-output scenario into a static single-output scenario. To improve attack effectiveness, we propose the farthest-label targeted attack strategy, which selects adversarial vectors that deviate most from the model's coarse-grained labels, thereby maximizing disruption. We extensively evaluate TDOA on four datasets and eight victim models (e.g., ChatGPT-4o, ChatGPT-4.1), showing its effectiveness in crafting adversarial examples and its strong potential to compromise large language models with limited access. With a single query per text, TDOA achieves a maximum attack success rate of 50.81\%. Additionally, we find that TDOA also achieves state-of-the-art performance in conventional static output scenarios, reaching a maximum ASR of 82.68\%. Meanwhile, by conceptualizing translation tasks as classification problems with unbounded output spaces, we extend the TDOA framework to generative settings, surpassing prior results by up to 0.64 RDBLEU and 0.62 RDchrF.

对抗攻击大模型安全动态输出生成攻击

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。