统一在线检测对抗样本与后门攻击,一次防护双重威胁。
Kill Two Birds with One Stone! Trajectory enabled Unified Online Detection of Adversarial Examples and Backdoor Attacks
- 通过分析模型前向传播轨迹差异,实时识别对抗样本和后门样本。
- 在图像、文本、音频多模态上均优于现有最先进方法,覆盖多种攻击类型。
- 适合需要同时防御对抗攻击与后门攻击的部署场景,如智能系统安全监控。
提出的UniGuard是首个能统一在线检测对抗样本与后门攻击的框架。该框架基于两个核心洞察:其一,对抗样本与后门攻击均需破坏推理阶段,因此可在运行时同步检测;其二,对抗输入(无论是扰动样本还是含触发器的样本)在深度模型各层前向传播中表现出与正常样本不同的轨迹特征,偏离即意味着攻击生效。由于轨迹差异细微,UniGuard将传播轨迹视为时间序列信号,结合LSTM与频谱变换,放大时间域中难以察觉的差异。在图像、文本、音频等多种模态及分类、回归任务中,针对多种模型架构与攻击策略(包括部分后门、动态触发器),验证了其卓越的效率与有效性。相比当前最优方法(ContraNet用于对抗检测,TED用于后门检测),即便在各自专精领域,传统方法仍存在漏洞,而UniGuard对所有攻击策略均有效。
原文摘要 · Abstract (English)
The proposed UniGuard is the first unified online detection framework capable of simultaneously addressing adversarial examples and backdoor attacks. UniGuard builds upon two key insights: first, both AE and backdoor attacks have to compromise the inference phase, making it possible to tackle them simultaneously during run-time via online detection. Second, an adversarial input, whether a perturbed sample in AE attacks or a trigger-carrying sample in backdoor attacks, exhibits distinctive trajectory signatures from a benign sample as it propagates through the layers of a DL model in forward inference. The propagation trajectory of the adversarial sample must deviate from that of its benign counterpart; otherwise, the adversarial objective cannot be fulfilled. Detecting these trajectory signatures is inherently challenging due to their subtlety; UniGuard overcomes this by treating the propagation trajectory as a time-series signal, leveraging LSTM and spectrum transformation to amplify differences between adversarial and benign trajectories that are subtle in the time domain. UniGuard exceptional efficiency and effectiveness have been extensively validated across various modalities (image, text, and audio) and tasks (classification and regression), ranging from diverse model architectures against a wide range of AE attacks and backdoor attacks, including challenging partial backdoors and dynamic triggers. When compared to SOTA methods, including ContraNet (NDSS 22) specific for AE detection and TED (IEEE SP 24) specific for backdoor detection, UniGuard consistently demonstrates superior performance, even when matched against each method's strengths in addressing their respective threats-each SOTA fails to parts of attack strategies while UniGuard succeeds for all.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。