When Optimization Becomes Manipulation: Defending Generative Search against Malicious Generative Engine Optimization
Organizations: University of the Chinese Academy of Sciences · Zhongguancun Laboratory
Abstract
This paper focuses on defending generative search engines against malicious Generative Engine Optimization (GEO), which rewrites web documents to match engines' citation preferences and thereby manipulates generated answers. Recent GEO methods have advanced from hand-crafted rewriting to automated and agentic optimization, substantially increasing the visibility of target documents in generated answers. However, defending against such manipulation poses two major challenges: attack documents remain factually consistent with their originals, rendering fact verification and perplexity filtering ineffective, and the features they amplify equally characterize high-quality benign content. To address these limitations, we propose GEO Defender, a two-stage defense aligned with the attack chain that requires no fine-tuning of the target LLM. GEO Defender consists of Shield Reranker and Training-Free Shield Generation (TFSG). Specifically, Shield Reranker learns a preference-based defensive residual over a frozen base reranker, demoting GEO-rewritten documents while preserving relevance judgments, and TFSG distills defense outcomes into a natural-language experience library that guides the target LLM's source use at inference. Experiments on two state-of-the-art closed-source LLMs and three open-source LLMs across seven GEO attacks demonstrate that GEO Defender reduces the average attack success rate from 50.32% to 6.20%, retains 94.12% of benign-evidence use, preserves answer quality, and generalizes to unseen attacks from construction instances.
Figures & tables
| Non-Defense | PPL-Filter | Static Safety Prompt | GEO Defender (Ours) | |||||||||
| Target LLM | ASR | ASI | BER | ASR | ASI | BER | ASR | ASI | BER | ASR | ASI | BER |
| Closed-source LLMs | ||||||||||||
| GPT-5.5 | 45.45 | 31.13 | 89.66 | 43.67 | 29.42 | 87.44 | 36.36 | 20.86 | 71.67 | 5.03 | 3.13 | 86.68 |
| Claude Opus 4.8 | 52.92 | 38.72 | 88.75 | 53.08 | 39.81 | 88.03 | 48.38 | 34.86 | 87.91 | 5.52 | 3.08 | 105.25 |
| Open-source LLMs | ||||||||||||
| DeepSeek-V4-Pro | 49.35 | 33.32 | 86.16 | 48.86 | 33.48 | 86.12 | 49.03 | 33.00 | 84.78 | 5.19 | 2.88 | 87.19 |
| Method | ASR | ASI | BER |
| Non-Defense | 45.45 | 31.13 | 89.66 |
| Shield Reranker only | 10.06 | 6.57 | 98.79 |
| TFSG only | 10.39 | 5.28 | 77.99 |
| GEO Defender | 5.03 | 3.13 | 86.68 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Component | Setting |
| Base reranker | Qwen3-Reranker-0.6B |
| Parameter-efficient adaptation | LoRA |
| LoRA rank / scaling / dropout | / / |
| LoRA target modules | query, key, value, and output projections; gate, up, and down projections |
| Quantized loading | 4-bit |
| Internal construction split | 80% optimization / 20% monitoring |
| Field | Meaning |
| rule_id | Stable identifier used for attribution and updates. |
| rule_type | One of attack_pattern , fp_guard , decision_boundary , or coverage_policy . |
| description | Concise natural-language source-use principle. |
| trigger_signals | Visible signals supporting cautious or restrictive source use. |
| benign_counter_signals | Visible counter-evidence that protects benign sources from over-filtering. |
| apply_when , avoid_when | Applicability conditions and explicit boundaries. |
| Epoch | Input library | Cases | Output library |
| 0 | Empty state | – | |
| 1 | 6 controlled contrast cases | ||
| 2 | 10 cases | ||
| 3 | 10 cases | ||
| 4 | 10 cases |
| Split | Query groups | GEO methods | Attack-injected instances |
| Construction | 12 | 3 | 36 |
| Test | 88 | 7 | 616 |
| Total | 100 | 7 | 652 |
| Statistic | Value |
| Test instances | 616 |
| Attack documents in the base-reranker Top-5 | 345 |
| Attack documents flagged by PPL | 15 |
| Attack documents in the PPL-Filter Top-5 | 341 |
| Attack documents removed from the Top-5 | 8 |
| Attack documents newly introduced into the Top-5 | 4 |
| Target LLM | Mean change | 95% CI | Comparable or better (%) | Better (%) |
| GPT-5.5 | 74.03 | 15.26 | ||
| Claude Opus 4.8 | 76.62 | 23.05 | ||
| DeepSeek-V4-Pro | 76.79 | 32.63 | ||
| Kimi K2.7 Code | 70.45 | 24.84 | ||
| GLM-5.2 | 76.46 | 30.36 | ||
| Macro average | – | 74.87 | 25.23 |
Generative Engine Optimization
Generative Engine Optimization studies how to make web content visible, cited, and accurately represented in AI-generated search answers.
See all 40 papers