[Paper Review] Universal Perturbation Attack Against Image Retrieval
This paper proposes the first universal adversarial perturbation (UAP) attack against image retrieval systems, targeting the corruption of neighborhood relationships in feature space to degrade retrieval performance. By leveraging multi-scale random resizing and ranking distillation, the method achieves significant mAP and mP@10 drops across multiple datasets and successfully fools real-world systems like Google Images.
Universal adversarial perturbations (UAPs), a.k.a. input-agnostic perturbations, has been proved to exist and be able to fool cutting-edge deep learning models on most of the data samples. Existing UAP methods mainly focus on attacking image classification models. Nevertheless, little attention has been paid to attacking image retrieval systems. In this paper, we make the first attempt in attacking image retrieval systems. Concretely, image retrieval attack is to make the retrieval system return irrelevant images to the query at the top ranking list. It plays an important role to corrupt the neighbourhood relationships among features in image retrieval attack. To this end, we propose a novel method to generate retrieval-against UAP to break the neighbourhood relationships of image features via degrading the corresponding ranking metric. To expand the attack method to scenarios with varying input sizes or untouchable network parameters, a multi-scale random resizing scheme and a ranking distillation strategy are proposed. We evaluate the proposed method on four widely-used image retrieval datasets, and report a significant performance drop in terms of different metrics, such as mAP and mP@10. Finally, we test our attack methods on the real-world visual search engine, i.e., Google Images, which demonstrates the practical potentials of our methods.
Motivation & Objective
- To address the lack of universal adversarial attacks targeting image retrieval systems, which are fundamentally different from image classification in data format, objectives, input size variability, and model output structure.
- To develop a UAP that disrupts point-wise, pair-wise, and list-wise neighborhood relationships in deep feature space to degrade retrieval ranking quality.
- To ensure robustness against input size variations and black-box scenarios where model parameters are inaccessible.
- To evaluate the attack on real-world systems like Google Images to demonstrate practical feasibility and impact.
Proposed method
- Proposes a universal perturbation generation framework that corrupts neighborhood relationships by manipulating similarity structures in feature space using tuple-based construction of nearest and farthest groups.
- Introduces a multi-scale random resizing strategy to enhance transferability and robustness against variable input sizes common in real-world retrieval systems.
- Employs a coarse-to-fine ranking distillation strategy to enable black-box attacks when network parameters are unaccessible, using surrogate models to guide perturbation optimization.
- Uses gradient-based optimization on the perturbation only, while the input image is resized dynamically during forward pass to simulate real-world variability.
- Designs a loss function that minimizes the similarity between positive samples and maximizes it between negative samples in the feature space, effectively degrading ranking performance.
- Applies the perturbation to clean images and evaluates the resulting feature shifts to measure degradation in retrieval metrics such as mAP and mP@10.
Experimental results
Research questions
- RQ1Can universal adversarial perturbations be effectively applied to image retrieval systems, which rely on ranking and similarity relationships rather than classification labels?
- RQ2How can a universal perturbation be made robust to input size variations commonly found in real-world image retrieval systems?
- RQ3What strategies can enable effective black-box attacks on image retrieval models when model parameters are not available?
- RQ4To what extent can such perturbations degrade retrieval performance on standard benchmarks like Oxford5k and Paris6K?
- RQ5Can the proposed attack successfully fool real-world visual search engines such as Google Images?
Key findings
- The proposed method achieves a significant drop in mAP and mP@10 across multiple models and datasets, including 51.41% mAP on A-GeM and 55.02% on V-GeM for the Paris6K dataset.
- The multi-scale random resizing strategy improves attack success rate compared to fixed-size resizing, with optimal performance observed at a balanced range of scales.
- The attack achieves a 62.85% absent rate in retrieval results on Google Images, indicating that 62.85% of the top-100 retrieved images from clean queries are absent in the corrupted query results.
- Perturbations trained on different models (e.g., MAC vs. GeM pooling) show distinct appearances, but those from the same model type share visual similarities, suggesting transferability across models.
- The attack is effective across all three relationship types—point-wise, pair-wise, and list-wise—demonstrating that neighborhood structure corruption is a viable attack vector.
- The ranking distillation strategy enables effective black-box attacks, showing that surrogate models can guide perturbation generation even without access to the target model’s parameters.
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.