Lune

ICLR2025Top-tier venue

Adversarial Search Engine Optimization for Large Language Models

Fredrik Nestaas, Edoardo Debenedetti, Florian Tramèr

Abstract

Large Language Models (LLMs) are increasingly used in applications where the model selects from competing third-party content, such as in LLM-powered search engines or chatbot plugins. In this paper, we introduce Preference Manipulation Attacks, a new class of attacks that manipulate an LLM's selections to favor the attacker. We demonstrate that carefully crafted website content or plugin documentations can trick an LLM to promote the attacker products and discredit competitors, thereby increasing user traffic and monetization. We show this can lead to a prisoner's dilemma, where all parties are incentivized to launch attacks, but this collectively degrades the LLM's outputs for everyone. We demonstrate our attacks on production LLM search engines (Bing and Perplexity) and plugin APIs (for GPT-4 and Claude). As LLMs are increasingly used to rank third-party content, we expect Preference Manipulation Attacks to emerge as a significant threat.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documents cites StruQ: Defending Against Prompt Injection with Structured Queries
  • SAGEO Arena: A Realistic Environment for Evaluating Search-Augmented Generative Engine Optimization cites What Generative Search Engines Like and How to Optimize Web Content Cooperatively
  • SAGEO Arena: A Realistic Environment for Evaluating Search-Augmented Generative Engine Optimization cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • ReliabilityRAG: Effective and Provably Robust Defense for RAG-based Web-Search cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. ReliabilityRAG: Effective and Provably Robust Defense for RAG-based Web-SearchZeyu Shen, Basileal Imana, Tong Wu, Chong Xiang et al.NeurIPS 2025 · 26 citations
  2. What Generative Search Engines Like and How to Optimize Web Content CooperativelyYujiang Wu, Shanshan Zhong, Yubin Kim, Chenyan XiongICLR 2026 · 19 citations
  3. SAGEO Arena: A Realistic Environment for Evaluating Search-Augmented Generative Engine OptimizationSunghwan Kim, Wooseok Jeong, Serin Kim, Sangam Lee et al.KDD 2026 · 8 citations
  4. Look-Ahead Reasoning on Learning PlatformsHaiqing Zhu, Tijana Zrnic, Celestine Mendler-DünnerNeurIPS 2025 · 5 citations
  5. Incentive-Aligned Multi-Source LLM SummariesYanchen Jiang, Zhe Feng, Aranyak MehtaICLR 2026 · 2 citations

Builds on6

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
  2. Toolformer: Language Models Can Teach Themselves to Use ToolsTimo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu et al.NeurIPS 2023 · 5,989 citations
  3. Are aligned neural networks adversarially aligned?Nicholas Carlini, Milad Nasr, Christopher A. Choquette-Choo, Matthew Jagielski et al.NeurIPS 2023 · 412 citations
  4. Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker DocumentsAvital Shafran, Roei Schuster, Vitaly ShmatikovUSENIX Security 2025
  5. StruQ: Defending Against Prompt Injection with Structured QueriesSizhe Chen, Julien Piet, Chawin Sitawarin, David A. WagnerUSENIX Security 2025

Related papers

  1. Ranking Manipulation for Conversational Search EnginesSamuel Pfrommer, Yatong Bai, Tanmay Gautam, Somayeh SojoudiEMNLP 2024 · 4 citations
  2. LLM Whisperer: An Inconspicuous Attack to Bias LLM ResponsesWeiran Lin, Anna Gerchanovsky, Omer Akgul, Lujo Bauer et al.CHI 2025 · 23 citations
  3. When AI Meets the Web: Prompt Injection Risks in Third-Party AI Chatbot PluginsYigitcan Kaya, Anton Landerer, Stijn Pletinckx, Michelle Zimmermann et al.S&P 2026 · 12 citations
  4. Unveiling the Resilience of LLM-Enhanced Search Engines against Black-Hat SEO ManipulationPei Chen, Geng Hong, Xinyi Wu, Mengying Wu et al.WWW 2026
  5. Phi: Preference Hijacking in Multi-modal Large Language Models at Inference TimeYifan Lan, Yuanpu Cao, Weitong Zhang, Lu Lin et al.EMNLP 2025
Dusk over the sea between two cliffs drawn in fine vertical lines