arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2301.13096cs.CVcs.AIcs.LG

面向零样本对抗鲁棒性的语言驱动锚点

Language-Driven Anchors for Zero-Shot Adversarial Robustness

Tsinghua University(清华大学);Harbin Institute of Technology(哈尔滨工业大学);Chinese Institute for Brain Research(中国脑科学研究院)

Xiao Li, Wei Zhang, Yining Liu, Zhanhao Hu, Bo Zhang, Xiaolin Hu

AI总结:

针对零样本对抗鲁棒性研究空白,提出语言驱动的基于锚点的对抗训练策略LAAT,通过文本编码器类别特征作锚点训练,结合扩展算法与对齐交叉熵损失解决特征相似度高的问题,显著提升零样本对抗鲁棒性,适用于无标注数据场景。

摘要:

深度神经网络(DNNs)易受对抗攻击的影响已是公认事实。以往研究主要聚焦于提升全监督场景下的对抗鲁棒性,而零样本对抗鲁棒性这一极具挑战性的领域仍是待解的开放问题。本研究借助CLIP等大型视觉-语言模型的最新进展,对该领域展开探究,为DNNs引入零样本对抗鲁棒性。我们提出了LAAT(语言驱动、基于锚点的对抗训练策略):LAAT将文本编码器提取的每个类别特征作为对应类别的固定锚点(归一化特征嵌入),再将其用于对抗训练。依托文本编码器的语义一致性,LAAT旨在提升图像模型在新类别上的对抗鲁棒性。然而,直接使用文本编码器会导致效果不佳,经分析我们发现问题源于文本编码器特征间的余弦相似度过高,为此设计了一种扩展算法和对齐交叉熵损失来缓解该问题。实验结果表明,LAAT的零样本对抗鲁棒性较现有最优方法有显著提升,尤其适用于训练阶段无标注数据的场景,具备借助大规模多模态模型增强对抗鲁棒性的潜力。

英文摘要:

Deep Neural Networks (DNNs) are known to be susceptible to adversarial attacks. Previous researches mainly focus on improving adversarial robustness in the fully supervised setting, leaving the challenging domain of zero-shot adversarial robustness an open question. In this work, we investigate this domain by leveraging the recent advances in large vision-language models, such as CLIP, to introduce zero-shot adversarial robustness to DNNs. We propose LAAT, a Language-driven, Anchor-based Adversarial Training strategy. LAAT utilizes the features of a text encoder for each category as fixed anchors (normalized feature embeddings) for each category, which are then employed for adversarial training. By leveraging the semantic consistency of the text encoders, LAAT aims to enhance the adversarial robustness of the image model on novel categories. However, naively using text encoders leads to poor results. Through analysis, we identified the issue to be the high cosine similarity between text encoders. We then design an expansion algorithm and an alignment cross-entropy loss to alleviate the problem. Our experimental results demonstrated that LAAT significantly improves zero-shot adversarial robustness over state-of-the-art methods. LAAT has the potential to enhance adversarial robustness by large-scale multimodal models, especially when labeled data is unavailable during training.

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

↑