[Paper Review] Unsupervised Adversarial Attacks on Deep Feature-based Retrieval with GAN
This paper proposes UAA-GAN, an unsupervised generative adversarial network that creates imperceptible, query-specific adversarial perturbations to attack deep feature-based image retrieval systems. By training on unlabeled data, UAA-GAN generates subtle, realistic perturbations that drastically reduce retrieval performance—e.g., dropping mAP below 0.01 on ResNet50—while preserving visual similarity to the original query images.
Studies show that Deep Neural Network (DNN)-based image classification models are vulnerable to maliciously constructed adversarial examples. However, little effort has been made to investigate how DNN-based image retrieval models are affected by such attacks. In this paper, we introduce Unsupervised Adversarial Attacks with Generative Adversarial Networks (UAA-GAN) to attack deep feature-based image retrieval systems. UAA-GAN is an unsupervised learning model that requires only a small amount of unlabeled data for training. Once trained, it produces query-specific perturbations for query images to form adversarial queries. The core idea is to ensure that the attached perturbation is barely perceptible to human yet effective in pushing the query away from its original position in the deep feature space. UAA-GAN works with various application scenarios that are based on deep features, including image retrieval, person Re-ID and face search. Empirical results show that UAA-GAN cripples retrieval performance without significant visual changes in the query images. UAA-GAN generated adversarial examples are less distinguishable because they tend to incorporate subtle perturbations in textured or salient areas of the images, such as key body parts of human, dominant structural patterns/textures or edges, rather than in visually insignificant areas (e.g., background and sky). Such tendency indicates that the model indeed learned how to toy with both image retrieval systems and human eyes.
Motivation & Objective
- To investigate the vulnerability of deep feature-based image retrieval systems to adversarial attacks, despite their robustness to local perturbations.
- To develop an unsupervised method that generates effective adversarial examples without requiring labeled data or gradient access to the target retrieval model.
- To ensure that generated adversarial perturbations are visually imperceptible yet highly effective in disrupting retrieval performance.
- To evaluate transferability of adversarial examples across different deep feature extractors and pooling mechanisms.
- To analyze how the discriminator in the GAN architecture improves the realism and perceptual quality of the perturbations.
Proposed method
- UAA-GAN employs a conditional GAN framework where a generator produces query-specific perturbations using only unlabeled images for training.
- The generator is trained to minimize the distance between the deep feature representation of the perturbed query and a target feature space, pushing it away from its original neighbors.
- A discriminator is used to enforce perceptual realism, encouraging perturbations to be applied in salient or textured regions (e.g., human body parts, edges) rather than background areas.
- The method is trained end-to-end using a combination of adversarial loss and feature-space contrastive loss to ensure both imperceptibility and attack effectiveness.
- The generator produces perturbations that are tailored to each input query, enabling application to any query image without retraining.
- The approach is evaluated across multiple retrieval tasks: image retrieval (Oxford5k, Paris), person Re-ID (Market1501, DukeMTMC-ReID), and face search (FaceScrub).
Experimental results
Research questions
- RQ1Can adversarial attacks be effectively applied to deep feature-based image retrieval systems, which are more robust than classification models due to global pooling and invariant representations?
- RQ2Can an unsupervised method generate adversarial examples for retrieval systems without requiring access to model gradients or class labels?
- RQ3Do the generated adversarial examples exhibit transferability across different deep feature extractors and pooling functions?
- RQ4How does the inclusion of a discriminator in the GAN architecture affect the perceptual quality and realism of the perturbations?
- RQ5To what extent do the perturbations exploit human perception by focusing on salient image regions rather than visually insignificant areas?
Key findings
- UAA-GAN significantly degrades retrieval performance: mAP on ResNet50 drops to below 0.010 on Market1501 and DukeMTMC-ReID, indicating near-total system failure.
- Even on the more robust MGN model, mAP drops to 0.116 on Market1501 and 0.045 on DukeMTMC-ReID, demonstrating the attack's effectiveness across architectures.
- On face search, SphereFace’s Rank-1 accuracy drops from 0.713 to 0.215, and Rank-10 accuracy falls below 0.5, showing near-total failure in retrieval.
- The discriminator in UAA-GAN improves perturbation quality by focusing perturbations on salient regions (e.g., body parts, edges), reducing visual abruptness compared to a GAN without a discriminator.
- Transferability of adversarial examples is strong within the same network architecture (e.g., VGG-MAC to VGG-RMAC), with mAP dropping from 0.788 to 0.515.
- Transferability across different architectures (e.g., VGG to ResNet) is weaker but still effective, with mAP dropping from 0.860 to 0.449 on VGG-GeM when attacking ResNet-based models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.