发现对抗样本的时序痕迹,用傅里叶变换实现高精度检测
From Pixels to Trajectory: Universal Adversarial Example Detection via Temporal Imprints
- 通过损失值的时序特征捕捉对抗样本痕迹,不依赖攻击先验
- 跨模态、任务与模型检测准确率超97%,误拒率仅1%
- 适用于图像、文本、音频等多场景,对自适应攻击仍有效
首次揭示对抗样本攻击产生的可辨识时序(历史)轨迹印记。与以往聚焦于目标模型空间(静态)痕迹的研究不同,本文提出全新的时序视角理解攻击机制。关键发现是:这些印记可被单一损失指标涵盖,且在分类、回归等任务及图像、文本、音频等多种模态中具有普适性。基于对抗样本与正常样本在损失上的差异,提出TRAIT(TRaceable Adversarial temporal trajectory ImprinTs)方法,无需攻击先验知识,将检测问题建模为一分类问题。面对输入无真实标签导致合成损失重叠的问题,TRAIT通过快速傅里叶变换将合成损失转化为频谱特征,凸显时序差异,借鉴时间序列信号特性。在12种对抗攻击(含SMACK,USENIX Sec'2023)下,覆盖多种任务、数据集和模型架构,均表现优异:检测准确率普遍超过97%,常达99%,误拒率保持在1%。在强自适应攻击设定下仍具有效性。
原文摘要 · Abstract (English)
For the first time, we unveil discernible temporal (or historical) trajectory imprints resulting from adversarial example (AE) attacks. Standing in contrast to existing studies all focusing on spatial (or static) imprints within the targeted underlying victim models, we present a fresh temporal paradigm for understanding these attacks. Of paramount discovery is that these imprints are encapsulated within a single loss metric, spanning universally across diverse tasks such as classification and regression, and modalities including image, text, and audio. Recognizing the distinct nature of loss between adversarial and clean examples, we exploit this temporal imprint for AE detection by proposing TRAIT (TRaceable Adversarial temporal trajectory ImprinTs). TRAIT operates under minimal assumptions without prior knowledge of attacks, thereby framing the detection challenge as a one-class classification problem. However, detecting AEs is still challenged by significant overlaps between the constructed synthetic losses of adversarial and clean examples due to the absence of ground truth for incoming inputs. TRAIT addresses this challenge by converting the synthetic loss into a spectrum signature, using the technique of Fast Fourier Transform to highlight the discrepancies, drawing inspiration from the temporal nature of the imprints, analogous to time-series signals. Across 12 AE attacks including SMACK (USENIX Sec'2023), TRAIT demonstrates consistent outstanding performance across comprehensively evaluated modalities, tasks, datasets, and model architectures. In all scenarios, TRAIT achieves an AE detection accuracy exceeding 97%, often around 99%, while maintaining a false rejection rate of 1%. TRAIT remains effective under the formulated strong adaptive attacks.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。