arXiv:2602.11204cs.LGcs.AI2026-02

无需微调即可防御通用对抗样本,同时保持模型原有效果。

Zero-Sacrifice Persistent-Robustness Adversarial Defense for Pre-Trained Encoders

  • 设计双分支结构,分别强化抗干扰能力与保留正常性能。
  • 单次训练可抵御多种下游任务的对抗攻击,提升鲁棒性73.86%。
  • 无需额外训练识别对抗样本,适合实际部署场景。

自监督学习中广泛使用的预训练编码器存在关键漏洞:易受下游无关对抗样本(DAEs)攻击,这类样本不依赖下游任务信息,却能误导下游模型。现有防御方法多依赖任务特定的对抗微调,导致泛化性差、灾难性遗忘并损害正常性能。本文提出更严格的防御目标:仅需一次微调,即可在多种下游任务中防御DAEs并保持良好性能。为此,提出零牺牲持久鲁棒性对抗防御(ZePAD),其双分支结构包含多模式对抗增强分支(MPAE-Branch),利用两个对抗微调的编码器提升抗扰能力;以及良性性能保全分支(BMP-Branch),通过局部数据训练确保正常性能不受损。令人惊讶的是,仅通过分支置信度评估即可直接检测DAEs,无需额外训练识别任务。通过丰富特征多样性,单次对抗微调即可实现跨任务持久鲁棒性。在11种SSL方法和6个数据集上的实验验证其有效性,某些情况下良性性能提升29.20%,对抗鲁棒性提升73.86%,充分展现零牺牲特性。

原文摘要 · Abstract (English)

The widespread use of publicly available pre-trained encoders from self-supervised learning (SSL) has exposed a critical vulnerability: their susceptibility to downstream-agnostic adversarial examples (DAEs), which are crafted without knowledge of the downstream tasks but capable of misleading downstream models. While several defense methods have been explored recently, they rely primarily on task-specific adversarial fine-tuning, which inevitably limits generalizability and causes catastrophic forgetting and deteriorates benign performance. Different with previous works, we propose a more rigorous defense goal that requires only a single tuning for diverse downstream tasks to defend against DAEs and preserve benign performance. To achieve this defense goal, we introduce Zero-Sacrifice Persistent-Robustness Adversarial Defense (ZePAD), which is inspired by the inherent sensitivity of neural networks to data characteristics. Specifically, ZePAD is a dual-branch structure, which consists of a Multi-Pattern Adversarial Enhancement Branch (MPAE-Branch) that uses two adversarially fine-tuned encoders to strengthen adversarial resistance. The Benign Memory Preservation Branch (BMP-Branch) is trained on local data to ensure adversarial robustness does not compromise benign performance. Surprisingly, we find that ZePAD can directly detect DAEs by evaluating branch confidence, without introducing any adversarial exsample identification task during training. Notably, by enriching feature diversity, our method enables a single adversarial fine-tuning to defend against DAEs across downstream tasks, thereby achieving persistent robustness. Extensive experiments on 11 SSL methods and 6 datasets validate its effectiveness. In certain cases, it achieves a 29.20% improvement in benign performance and a 73.86% gain in adversarial robustness, highlighting its zero-sacrifice property.

对抗防御预训练模型鲁棒性双分支

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