English

Ranked by Position: Order Sensitivity as an Exploitable Attack Surface in LLM Listwise Recommenders

Information Retrieval 2026-07-26 v1 Computation and Language Machine Learning

Abstract

Large language models (LLMs) used as listwise rerankers in recommendation systems suffer from position bias when serializing candidate sets into prompts. We show this order sensitivity creates an exploitable attack surface: an attacker can promote a label-0 target into the top-kk solely by reordering candidates, without changing item content, labels, or model parameters. We introduce promo@k\mathrm{promo}@k to quantify this vulnerability, measuring the fraction of label-0 targets that can be elevated into top-kk rankings via permutation. Evaluating across three domains (MovieLens, Amazon Books, and Amazon Fashion), promo@5\mathrm{promo}@5 reaches up to 0.57 at an attack budget of RR = 50 orderings. Furthermore, ordinary permutation stability predicts vulnerability without running the attack. While a bidirectional T5 encoder scorer reduces exposure, permutation-consistency regularization and architectural invariance effectively mitigate it. Pointwise scoring avoids the bias issue but degrades ranking quality. These results demonstrate that input candidate order in listwise LLM reranking is a security-relevant attack vector. Code and data are available at https://github.com/geoz-lab/position_bias_attack.

Cite

@article{arxiv.2607.24869,
  title  = {Ranked by Position: Order Sensitivity as an Exploitable Attack Surface in LLM Listwise Recommenders},
  author = {Ge Zhang and Jingru Cheng and Huiyuan Chen},
  journal= {arXiv preprint arXiv:2607.24869},
  year   = {2026}
}

Comments

13 pages, 6 figures, 11 tables. Code and data available at https://github.com/geoz-lab/position_bias_attack