Backdoor Attack on Hash-based Image Retrieval via Clean-label Data Poisoning

Kuofeng Gao, Jiawang Bai, Bin Chen, Dongxian Wu, Shu-Tao Xia

TL;DR

This paper introduces CIBA, a novel clean-label backdoor attack specifically designed for deep hashing-based image retrieval systems. CIBA achieves high attack success rates while remaining stealthy by employing "confusing perturbations" to disrupt hashing code learning and a targeted adversarial patch as a trigger. This work highlights a significant security vulnerability in image retrieval systems that was previously underexplored.

What Problem Does This Paper Address?

Deep neural networks (DNNs) have revolutionized image retrieval, enabling efficient similarity searches. However, these powerful models are susceptible to backdoor attacks, where malicious behavior is injected during training. While backdoor attacks have been extensively studied for image classification, their impact on image retrieval, particularly deep hashing-based retrieval, remains less understood. Existing clean-label attacks, which are stealthier than poison-label attacks, struggle to effectively manipulate deep hashing models because they don't sufficiently force the model to learn the trigger. This paper addresses this gap by proposing a new clean-label backdoor attack tailored for deep hashing, aiming to achieve high attack performance without compromising the model's normal retrieval capabilities when the trigger is absent.

Methods

The core of the CIBA attack lies in two novel components:

  • Confusing Perturbations: Instead of relying solely on adversarial perturbations that can degrade retrieval performance, CIBA introduces "confusing perturbations." These perturbations are designed to disrupt the learning of hashing codes by maximizing intra-class dispersion (making images of the same class less similar in the Hamming space) and inter-class shift (making images of different classes more distinct). This forces the hashing model to rely more heavily on the trigger to correctly classify images.
  • Targeted Adversarial Patch Trigger: To further enhance attack effectiveness, CIBA uses a targeted adversarial patch as the trigger. This patch is optimized to mislead the hashing model towards a specific target label when present.

The poisoned images are crafted by combining these confusing perturbations with the targeted adversarial patch. The overall attack pipeline involves generating these poisoned images, training the deep hashing model with a mix of clean and poisoned data, and then demonstrating the backdoor's effect during retrieval.

Datasets

The authors evaluate their proposed attack on three widely-used image retrieval datasets:

  • ImageNet: A large-scale dataset for visual recognition.
  • Places365: A dataset for scene recognition.
  • MS-COCO: A large-scale object detection, segmentation, and captioning dataset.

Key Insights and Ideas

  • Confusing Perturbations are Key for Hashing: Adversarial perturbations, effective in classification, are insufficient for deep hashing because they don't adequately force the model to learn the trigger. Confusing perturbations, by specifically targeting intra- and inter-class relationships in the Hamming space, are crucial for making the model dependent on the trigger.
  • Clean-Label Attacks are Stealthier: By not altering image labels, clean-label attacks are harder to detect, making them a more concerning threat in real-world scenarios.
  • Targeted Adversarial Patches Enhance Effectiveness: Combining confusing perturbations with a well-crafted adversarial patch trigger significantly boosts the attack's success rate.
  • CIBA Outperforms Baselines: CIBA consistently achieves higher attack performance (measured by t-MAP) compared to existing methods, even those using adversarial perturbations, across various datasets and model architectures.
  • Stealthiness is Maintained: Despite the strong attack performance, CIBA maintains good retrieval performance on clean queries, with minimal degradation in MAP compared to clean-trained models.

Key Results

  • CIBA achieves significantly higher t-MAP scores compared to baseline attacks like "Tri+Adv" (adversarial perturbations) across ImageNet, Places365, and MS-COCO datasets. For instance, average t-MAP improvements of 8.1%, 9.4%, and 4.6% were observed on these datasets, respectively.
  • The attack demonstrates strong performance even against advanced deep hashing methods like HashNet and DCH, achieving t-MAP improvements of 6.0% and 4.4% over "Tri+Adv."
  • CIBA shows robustness to variations in the number of poisoned images and trigger size, consistently outperforming other methods.
  • The proposed confusing perturbations are visually imperceptible, with low MSE and high PSNR/SSIM values between original and perturbed images.
  • CIBA exhibits resistance to some existing defense mechanisms, though it's noted that these defenses were primarily designed for classification tasks.

Limitations and Future Work

  • Defense Applicability: The paper acknowledges that the defenses tested (pruning-based, differential privacy, unlearning) were designed for classification and their inapplicability to retrieval might explain CIBA's robustness. The authors suggest that defenses specifically tailored for retrieval tasks need to be developed.
  • Trigger Visibility: While the confusing perturbations are imperceptible, the trigger itself can still be visible, especially at larger sizes. The paper explores blend strategies to reduce trigger visibility, but further work on more stealthy triggers is implied.
  • Transferability: While CIBA shows good transferability across different hashing approaches and code lengths, further investigation into transferability across unknown network architectures is explored, suggesting this is an important area for future research.
  • Robustness to Defenses: The paper demonstrates CIBA's resistance to current defenses but acknowledges that future work should focus on developing more robust defenses against such attacks in retrieval systems.

Summary updated

BibTeX
@inproceedings{gao2023backdoor,
  author = {Kuofeng Gao and Jiawang Bai and Bin Chen and Dongxian Wu and Shu-Tao Xia},
  title = {{Backdoor Attack on Hash-based Image Retrieval via Clean-label Data Poisoning}},
  booktitle = {BMVC},
  year = {2023},
  url = {https://openreview.net/forum?id=AOV9COAWwMv},
}
Figure