arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.12752cs.LG
收藏

KoALA:基于标签一致性的KL-L0对抗检测器

KoALA: KL-L0 Adversarial Detector via Label Agreement

Department of Electrical Engineering(电气工程系);Computer Science, University of California, Irvine, Irvine, USA(计算机科学系,加州大学伊维德分校,伊维德,美国)

Siqi Li, Yasser Shoukry

AI总结:

KoALA是一种无需修改架构或重新训练的语义无关对抗检测器,通过两种互补相似性度量的预测不一致来检测对抗攻击,利用KL散度和L0相似性检测不同类型的扰动,实验验证其有效性。

摘要:

深度神经网络对对抗攻击高度敏感,对安全和安全关键应用构成重大风险。我们提出了KoALA(通过标签一致性进行KL-L0对抗检测),一种新颖的、无语义的对抗检测器,无需架构更改或对抗再训练。KoALA基于简单原理:当两种互补相似性度量的类别预测不一致时检测对抗攻击。这些度量——KL散度和基于L0的相似性——专门用于检测不同类型扰动。KL散度对密集、低幅度位移敏感,而基于L0的相似性设计用于稀疏、高影响变化。我们为该方法提供了正式的正确性证明。唯一需要的训练是使用干净图像对预训练图像编码器进行简单的微调步骤,以确保嵌入与两种度量良好对齐。这使KoALA成为现有模型和各种数据模态的轻量级、即插即用解决方案。我们在ResNet/CIFAR-10和CLIP/Tiny-ImageNet上进行了广泛的实验,证实了我们的理论主张。当定理条件得到满足时,KoALA始终能够有效检测对抗示例。在完整测试集上,KoALA在ResNet/CIFAR-10上达到精度0.96和召回率0.97,在CLIP/Tiny-ImageNet上达到精度0.71和召回率0.94。

英文摘要:

Deep neural networks are highly susceptible to adversarial attacks, which pose significant risks to security- and safety-critical applications. We present KoALA (KL-L0 Adversarial detection via Label Agreement), a novel, semantics-free adversarial detector that requires no architectural changes or adversarial retraining. KoALA operates on a simple principle: it detects an adversarial attack when class predictions from two complementary similarity metrics disagree. These metrics - KL divergence and an L0-based similarity - are specifically chosen to detect different types of perturbations. The KL divergence metric is sensitive to dense, low-amplitude shifts, while the L0-based similarity is designed for sparse, high-impact changes. We provide a formal proof of correctness for our approach. The only training required is a simple fine-tuning step on a pre-trained image encoder using clean images to ensure the embeddings align well with both metrics. This makes KoALA a lightweight, plug-and-play solution for existing models and various data modalities. Our extensive experiments on ResNet/CIFAR-10 and CLIP/Tiny-ImageNet confirm our theoretical claims. When the theorem's conditions are met, KoALA consistently and effectively detects adversarial examples. On the full test sets, KoALA achieves a precision of 0.96 and a recall of 0.97 on ResNet/CIFAR-10, and a precision of 0.71 and a recall of 0.94 on CLIP/Tiny-ImageNet.

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

↑