arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.03077cs.LGcs.CR
收藏

非参数两样本检验的对抗攻击与防御

Adversarial Attack and Defense for Non-Parametric Two-Sample Tests

National University of Singapore(新加坡国立大学);RIKEN Center for Advanced Intelligence Project (AIP)(理化学研究所先进智能项目中心);The University of Melbourne(墨尔本大学);The University of Tokyo(东京大学)

Xilie Xu, Jingfeng Zhang, Feng Liu, Masashi Sugiyama, Mohan Kankanhalli

摘要:

非参数双样本检验(TSTs)用于判断两组样本是否来自同一个分布,已广泛应用于临界数据的分析。人们倾向于使用TST作为可信赖的基本工具,很少怀疑它们的可靠性。本文系统地揭示了非参数TST在对抗攻击下的失效模式,并提出了相应的防御策略。首先,我们从理论上表明,对手可以上界的分布转移,保证攻击的不可见性。此外,我们从理论上发现,对手也可以降低TST的测试功率的下限,这使我们能够迭代地最小化测试标准,以搜索对抗对。为了使TST不可知的攻击,我们提出了一个合奏攻击(EA)框架,共同最大限度地减少不同类型的测试标准。其次,为了增强TST的鲁棒性,我们提出了一种最大-最小优化方法,该方法迭代生成对抗对来训练深度内核。在模拟和真实数据集上进行的大量实验验证了非参数TST的对抗性漏洞和我们提出的防御方法的有效性。源代码可在https://github.com/GodXuxilie/Robust-TST.git上获得。

英文摘要:

Non-parametric two-sample tests (TSTs) that judge whether two sets of samples are drawn from the same distribution, have been widely used in the analysis of critical data. People tend to employ TSTs as trusted basic tools and rarely have any doubt about their reliability. This paper systematically uncovers the failure mode of non-parametric TSTs through adversarial attacks and then proposes corresponding defense strategies. First, we theoretically show that an adversary can upper-bound the distributional shift which guarantees the attack's invisibility. Furthermore, we theoretically find that the adversary can also degrade the lower bound of a TST's test power, which enables us to iteratively minimize the test criterion in order to search for adversarial pairs. To enable TST-agnostic attacks, we propose an ensemble attack (EA) framework that jointly minimizes the different types of test criteria. Second, to robustify TSTs, we propose a max-min optimization that iteratively generates adversarial pairs to train the deep kernels. Extensive experiments on both simulated and real-world datasets validate the adversarial vulnerabilities of non-parametric TSTs and the effectiveness of our proposed defense. Source code is available at https://github.com/GodXuxilie/Robust-TST.git.

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

↑