Skip to main content
QUICK REVIEW

[Paper Review] Topic-oriented Adversarial Attacks against Black-box Neural Ranking Models

Yuan Liu, Ruqing Zhang|arXiv (Cornell University)|Apr 28, 2023
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper proposes a novel topic-oriented adversarial attack (TARA) framework for black-box neural ranking models, using reinforcement learning with a surrogate model to generate semantic-preserving perturbations that boost a target document across multiple queries of the same topic. The method significantly outperforms existing attacks, achieving an average rank improvement of 18.3 vs. 31.6 on MS MARCO under black-box settings.

ABSTRACT

Neural ranking models (NRMs) have attracted considerable attention in information retrieval. Unfortunately, NRMs may inherit the adversarial vulnerabilities of general neural networks, which might be leveraged by black-hat search engine optimization practitioners. Recently, adversarial attacks against NRMs have been explored in the paired attack setting, generating an adversarial perturbation to a target document for a specific query. In this paper, we focus on a more general type of perturbation and introduce the topic-oriented adversarial ranking attack task against NRMs, which aims to find an imperceptible perturbation that can promote a target document in ranking for a group of queries with the same topic. We define both static and dynamic settings for the task and focus on decision-based black-box attacks. We propose a novel framework to improve topic-oriented attack performance based on a surrogate ranking model. The attack problem is formalized as a Markov decision process (MDP) and addressed using reinforcement learning. Specifically, a topic-oriented reward function guides the policy to find a successful adversarial example that can be promoted in rankings to as many queries as possible in a group. Experimental results demonstrate that the proposed framework can significantly outperform existing attack strategies, and we conclude by re-iterating that there exist potential risks for applying NRMs in the real world.

Motivation & Objective

  • To address the gap in adversarial attacks targeting neural ranking models beyond single-query pairs, by introducing a more realistic topic-oriented attack scenario.
  • To develop a decision-based black-box attack framework that operates without model gradients, relying only on hard-label feedback from the target model.
  • To improve attack effectiveness by modeling the attack as a Markov decision process guided by topic-aware rewards.
  • To evaluate both static and dynamic settings, simulating real-world deployment scenarios where models may be updated over time.
  • To demonstrate the vulnerability of neural ranking models to general-purpose, topic-wide perturbations that are imperceptible yet highly effective.

Proposed method

  • Formalizes the topic-oriented attack as a Markov decision process (MDP), where the agent learns to generate perturbations that maximize ranking improvement across a query group.
  • Employs a surrogate ranking model to simulate the target model’s behavior and guide the policy network in the reinforcement learning process.
  • Designs a topic-oriented reward function that encourages the attack to promote the target document in rankings for as many queries in a topic group as possible.
  • Uses a policy gradient method (e.g., PPO) to optimize the attack policy, with perturbations applied via trigger insertion or word substitution.
  • Supports both static and dynamic settings: in dynamic mode, the attack adapts to model updates by retraining the policy using new feedback.
  • Applies trigger injection at different document positions (beginning, middle, end) and varies the number of substituted words to study trade-offs between effectiveness and imperceptibility.

Experimental results

Research questions

  • RQ1Can adversarial perturbations be designed to promote a target document across a group of queries sharing the same topic, rather than just a single query?
  • RQ2How effective is a reinforcement learning-based approach in generating such topic-wide adversarial examples under a decision-based black-box setting?
  • RQ3Does using a surrogate model enable effective attack transfer to the real target model despite limited access to its internal parameters?
  • RQ4How do different perturbation strategies—such as trigger insertion at various document positions or word substitution—impact attack success and detectability?
  • RQ5Can the attack remain effective even when the target model is updated over time, simulating real-world dynamic deployment?

Key findings

  • The proposed RELEVANT framework achieves an average rank of 18.3 for adversarial documents on the MS MARCO dataset, significantly outperforming the baseline PAT method (31.6).
  • Trigger generation at the beginning of the document yields the best attack performance, indicating that early tokens play a crucial role in query-document matching.
  • Increasing the number of substituted words improves attack success, but also raises the risk of detection, highlighting a trade-off between effectiveness and imperceptibility.
  • The black-box attack achieves performance comparable to white-box attacks, demonstrating that the surrogate model effectively mimics the target model’s behavior.
  • The method generalizes across both static and dynamic settings, showing robustness to model updates during the attack process.
  • The attack is effective even with minimal access—only hard-label feedback from the target model is required—confirming its feasibility in real-world black-box scenarios.

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.