Ranked by Position: Order Sensitivity as an Exploitable Attack Surface in LLM Listwise Recommenders
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- solely by reordering candidates, without changing item content, labels, or model parameters. We introduce to quantify this vulnerability, measuring the fraction of label-0 targets that can be elevated into top- rankings via permutation. Evaluating across three domains (MovieLens, Amazon Books, and Amazon Fashion), reaches up to 0.57 at an attack budget of = 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.
Create a lesson
Metadata
- Categories
- cs.IR, cs.CL, cs.LG
- Comments
- 13 pages, 6 figures, 11 tables. Code and data available at https://github.com/geoz-lab/position_bias_attack
Related papers
MARS: Multi-Agent Re-ranking for Repeat-Order Food Delivery Recommendation
Shared title terminologycs.IRJiahao Tian, Zhenkai Wang
Position: Recommender Systems Should Move Beyond Platform-Centric Ranking toward Personal Agent-Mediated Recommendation
Shared title terminologycs.IRHaohan Yuan, Peng He, Dan Zhang et al.
LazUnirec: Unifying Retrieval and Ranking in Multi-scenario Industrial Recommendation
Shared title terminologycs.IRXiaodong Li, Junfeng Zhang, Shichao Nie et al.
RACE: Ranking-Uncertainty Aware Capacity-Adaptive Customization for Efficient Sequential Recommendation
Shared title terminologycs.IRTianqi Liu, Kaipu Sun, Kairui Fu et al.
SurvEval: Listwise Re-Ranking Evaluator via Survival-Based Exposure and Multi-Objective Value Modeling
Shared title terminologycs.IRYaChen Yan, Liubo Li
Exploiting Feature-invariant Scaling Laws for Efficient A/B Experimentation in Recommendation Systems
Shared title terminologycs.IRZhiliang Chen, Sammy Nammari, Jiahao Su et al.