Skip to main content
QUICK REVIEW

[Paper Review] Who's Afraid of Adversarial Queries? The Impact of Image Modifications on Content-based Image Retrieval

Zhuoran Liu, Zhengyu Zhao|arXiv (Cornell University)|Jan 29, 2019
Adversarial Robustness in Machine LearningComputer Science40 references5 citations
TL;DR

This paper introduces PIRE (Perturbations for Image Retrieval Error), a novel unsupervised neural perturbation method that generates adversarial queries to disrupt content-based image retrieval (CBIR) systems without requiring labeled data. PIRE effectively blocks CBIR using neural, local, and global features, reducing mAP by up to 80% on Oxford5k and Paris6k datasets, demonstrating strong adversarial impact across feature types.

ABSTRACT

An adversarial query is an image that has been modified to disrupt content-based image retrieval (CBIR) while appearing nearly untouched to the human eye. This paper presents an analysis of adversarial queries for CBIR based on neural, local, and global features. We introduce an innovative neural image perturbation approach, called Perturbations for Image Retrieval Error (PIRE), that is capable of blocking neural-feature-based CBIR. PIRE differs significantly from existing approaches that create images adversarial with respect to CNN classifiers because it is unsupervised, i.e., it needs no labelled data from the data set to which it is applied. Our experimental analysis demonstrates the surprising effectiveness of PIRE in blocking CBIR, and also covers aspects of PIRE that must be taken into account in practical settings, including saving images, image quality and leaking adversarial queries into the background collection. Our experiments also compare PIRE (a neural approach) with existing keypoint removal and injection approaches (which modify local features). Finally, we discuss the challenges that face multimedia researchers in the future study of adversarial queries.

Motivation & Objective

  • To investigate the feasibility and impact of adversarial queries in content-based image retrieval (CBIR), where images are visually indistinguishable to humans but fail to retrieve relevant results.
  • To develop a method for generating adversarial queries that does not require labeled data or relevance judgments from the target dataset, addressing the lack of decision boundary information in CBIR.
  • To evaluate the effectiveness of neural perturbations (PIRE) against CBIR systems using neural, local (SIFT), and global (CEDD/GIST) features.
  • To analyze practical challenges such as image quality, visual fidelity, and the risk of adversarial perturbations leaking into background collections.
  • To explore the dual role of adversarial queries—as threats to be defended against and as tools for privacy protection in multimedia systems.

Proposed method

  • PIRE is an unsupervised neural perturbation method that generates adversarial queries by optimizing pixel-level perturbations to minimize retrieval performance, without using labels or relevance annotations from the target dataset.
  • The method uses a deep neural network to compute gradients with respect to input image pixels, enabling targeted perturbations that degrade retrieval accuracy while preserving visual similarity.
  • PIRE is trained using a contrastive loss objective that encourages the perturbed query to be ranked poorly relative to the original query in CBIR systems.
  • The approach is evaluated across multiple CBIR systems: those based on deep neural features (e.g., VGG), local SIFT features, and global CEDD/GIST features.
  • PIRE is compared against baseline methods such as Gaussian noise and keypoint removal/injection (KR&I) techniques to assess relative effectiveness.
  • Experiments are conducted on standard benchmarks Oxford5k and Paris6k using both whole-image and bounding-box queries to assess robustness across query types.

Experimental results

Research questions

  • RQ1Can adversarial queries be generated for CBIR systems without requiring labeled data or relevance judgments from the target dataset?
  • RQ2How effective is PIRE in degrading retrieval performance across different CBIR feature types: neural, local (SIFT), and global (CEDD/GIST)?
  • RQ3What are the practical limitations of adversarial queries, including visual quality degradation and the risk of perturbations propagating into background collections?
  • RQ4How does PIRE compare in effectiveness to traditional methods such as keypoint removal and injection (KR&I) and Gaussian noise?
  • RQ5To what extent do adversarial perturbations remain effective after image editing or compression?

Key findings

  • PIRE reduces mAP on Oxford5k from 74.42 to 2.54 for neural features (T=500), demonstrating a drastic 80% performance drop in retrieval accuracy.
  • For global features (CEDD/GIST), PIRE reduces mAP from 19.29 to 14.71 on Oxford5k and from 18.30 to 12.11 on Paris6k, showing strong blocking capability.
  • Compared to Gaussian noise, which only reduces mAP by 2.97 points on Oxford5k, PIRE’s impact is significantly more severe, confirming its targeted adversarial nature.
  • PIRE’s effectiveness is reduced after image editing (e.g., cropping, resizing), indicating that adversarial queries may lose potency under real-world transformations.
  • Keypoint removal and injection (KR&I) methods show more robustness to image edits than PIRE, suggesting a trade-off between attack strength and resilience.
  • The study reveals that even modest performance degradation in CBIR (e.g., 20-30% mAP drop) could deter malicious use, highlighting the privacy protection potential of adversarial queries.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.