Reproduce “Attack-in-the-Chain: Bootstrapping Large Language Models for Attacks Against Black-box Neural Ranking Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yu-An Liu, Ruqing Zhang, Jiafeng Guo, Maarten de Rijke, Yixing Fan, Xueqi Cheng

AttChain is a black-box ranking attack that edits target documents using higher-ranked documents as anchors. Across five rounds, an LLM proposes edits and ranked-list feedback selects which candidate continues, without access to model internals or a trained surrogate. On hard targets with BERT on MS MARCO, average rank improvement is 91.2 versus IDEM’s 69.6; this benchmark result does not establish performance on other search systems.

Key insights

  • LLMs can be effectively bootstrapped through an iterative, Chain-of-Thought inspired process to perform sophisticated multi-step adversarial ranking attacks against black-box NRMs.
  • Dynamic selection of anchor documents and discrepancy-oriented perturbation are crucial for enhancing attack effectiveness, efficiency, and the naturalness of generated adversarial examples.
  • Larger LLMs exhibit superior reasoning and generative capabilities, leading to more potent and nuanced attacks against NRMs compared to smaller LLMs.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.