LLM Whisperer: An Inconspicuous Attack to Bias LLM Responses
Weiran Lin, Anna Gerchanovsky, Omer Akgul, Lujo Bauer, Matt Fredrikson, Zifan Wang
TL;DR
The paper investigates how inconspicuous perturbations to prompts issued by third-party providers can bias LLM outputs toward a target concept without altering the model. It develops two attack modalities—paraphrasing and synonym replacement—demonstrating just how sensitive LLMs can be to small linguistic shifts, with substantial increases in the likelihood of mentioning specific brands or societal concepts. A rigorous open-source model evaluation plus a large-scale user study show that these perturbations are largely indistinguishable to humans yet can meaningfully influence user perception and choices, highlighting risks to user autonomy in deployed chatbot systems. The work further discusses defenses, including warnings, model robustness, new bias metrics, and continuous audits, and offers an economic analysis of attack feasibility, underscoring the need for multi-pronged safeguards in prompt-based AI services.
Abstract
Writing effective prompts for large language models (LLM) can be unintuitive and burdensome. In response, services that optimize or suggest prompts have emerged. While such services can reduce user effort, they also introduce a risk: the prompt provider can subtly manipulate prompts to produce heavily biased LLM responses. In this work, we show that subtle synonym replacements in prompts can increase the likelihood (by a difference up to 78%) that LLMs mention a target concept (e.g., a brand, political party, nation). We substantiate our observations through a user study, showing that our adversarially perturbed prompts 1) are indistinguishable from unaltered prompts by humans, 2) push LLMs to recommend target concepts more often, and 3) make users more likely to notice target concepts, all without arousing suspicion. The practicality of this attack has the potential to undermine user autonomy. Among other measures, we recommend implementing warnings against using prompts from untrusted parties.
