arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.10779cs.CVcs.AIcs.CRcs.LG
收藏

CgAT:中心引导的基于深度哈希的检索对抗训练

CgAT: Center-Guided Adversarial Training for Deep Hashing-Based Retrieval

The Hong Kong University of Science and Technology(香港科技大学);The Hong Kong University of Science and Technology Shenzhen Research Institute(香港科技大学深圳研究院)

Xunguang Wang, Yiqun Lin, Xiaomeng Li

摘要:

深度哈希算法由于其高效性和有效性,在海量图像检索中得到了广泛的应用。然而,深度哈希模型容易受到对抗性示例的攻击,因此开发对抗性防御方法用于图像检索至关重要。现有的解决方案实现了有限的防御性能,因为使用弱对抗性样本进行训练,并且缺乏区分性优化目标来学习鲁棒特征。在本文中,我们提出了一种基于最小-最大值的中心引导对抗训练,即CgAT,通过最差的对抗示例来提高深度哈希网络的鲁棒性。具体来说,我们首先制定的中心代码作为一个语义的歧视性代表的输入图像内容,它保留了语义相似性与积极的样本和不相似性与消极的例子。我们证明了一个数学公式可以立即计算出中心码。在深度哈希网络的每次优化迭代中获得中心码后,采用它们来指导对抗训练过程。一方面,CgAT通过最大化对抗样本的哈希码与中心码之间的汉明距离来生成最差的对抗样本作为增强数据。另一方面,CgAT通过最小化到中心码的汉明距离来学习减轻对抗样本的影响。在基准数据集上的大量实验证明了我们的对抗性训练算法在防御基于深度哈希的检索的对抗攻击方面的有效性。在FLICKR-25 K、NUS-WIDE和MS-COCO上,与当前最先进的防御方法相比,防御性能平均提高了18.61%、12.35%和11.56%。该代码可在https://github.com/xunguangwang/CgAT上获得。

英文摘要:

Deep hashing has been extensively utilized in massive image retrieval because of its efficiency and effectiveness. However, deep hashing models are vulnerable to adversarial examples, making it essential to develop adversarial defense methods for image retrieval. Existing solutions achieved limited defense performance because of using weak adversarial samples for training and lacking discriminative optimization objectives to learn robust features. In this paper, we present a min-max based Center-guided Adversarial Training, namely CgAT, to improve the robustness of deep hashing networks through worst adversarial examples. Specifically, we first formulate the center code as a semantically-discriminative representative of the input image content, which preserves the semantic similarity with positive samples and dissimilarity with negative examples. We prove that a mathematical formula can calculate the center code immediately. After obtaining the center codes in each optimization iteration of the deep hashing network, they are adopted to guide the adversarial training process. On the one hand, CgAT generates the worst adversarial examples as augmented data by maximizing the Hamming distance between the hash codes of the adversarial examples and the center codes. On the other hand, CgAT learns to mitigate the effects of adversarial samples by minimizing the Hamming distance to the center codes. Extensive experiments on the benchmark datasets demonstrate the effectiveness of our adversarial training algorithm in defending against adversarial attacks for deep hashing-based retrieval. Compared with the current state-of-the-art defense method, we significantly improve the defense performance by an average of 18.61\%, 12.35\%, and 11.56\% on FLICKR-25K, NUS-WIDE, and MS-COCO, respectively. The code is available at https://github.com/xunguangwang/CgAT.

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

↑