arXiv:2609.02964cs.CRSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.02964

When Optimization Becomes Manipulation: Defending Generative Search against Malicious Generative Engine Optimization

Haozhang Li, Yangguang Shao, Xinjie Lin, Zhong Guan, Mi Zhou, Junzheng Shi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

Introduction

Generative search engines answer user queries with synthesized, citation-grounded responses in place of ranked lists of links (Liu, Zhang, and Liang 2023). In a typical pipeline, given a user query, a search engine retrieves candidate documents, a reranker selects a compact evidence set, and a large language model (LLM) synthesizes a citation-grounded answer from the selected sources (Lewis et al. 2020; Aggarwal et al. 2024). Because each answer cites only a few documents, admission to the evidence set largely determines the visibility of a document. This selection pressure creates strong economic incentives to optimize web content, and Generative Engine Optimization (GEO) emerged in response. Aggarwal et al. (2024) demonstrated that rewriting a document, for

Figure

Figure 1: Overview of generative search and malicious GEO manipulation, where an attacker optimizes a selected document to increase its citation exposure and influence on the generated answer.

instance by adding citations and statistics, substantially increases its visibility in generated answers. Subsequent studies have developed automated and agentic optimizers that learn engine preferences, coordinate rewrites across queries, and exploit document structure (Wu et al. 2026b; Chen et al. 2025; Zhou et al. 2026; Yuan et al. 2026; Wu et al. 2026a; Yu et al. 2026a). These advances steadily reduce the cost of applying GEO at scale.

The same optimization channel, however, admits abuse. Optimization and manipulation differ in intent rather than mechanism (Martinez 2026). As illustrated in Fig. 1, we define GEO attack as the malicious application of a GEO method to a web document, with the goal of increasing its likelihood of selection and citation by LLMs and influencing the generated answer. We refer to the resulting optimized document as a GEO attack document. Unlike knowledge poisoning or prompt injection, the rewritten document need not contain false statements or embedded instructions. It merely conforms more closely to the source preferences of the LLMs, so fact verification, perplexity filtering, and malicious-content detection provide little protection (Yu et al. 2026b). Measurements on deployed systems support this concern, showing that generator-targeted manipulation succeeds where classical black-hat SEO is filtered out (Chen et al. 2026). In addition, existing GEO studies typically place the optimized

∗^{*}These authors contributed equally.

†^{\dagger}Corresponding author.

document directly into the generation context and evaluate visibility gains (Kim et al. 2026). Provider-side defense along the full search-rerank-generate pipeline therefore remains largely unexplored.

We formulate this problem from the perspective of the engine provider under an asymmetric threat model. The attacker applies a GEO method to rewrite a single web document in the candidate pool but cannot control retrieval, reranking, generation, or the target LLM. The defender may adapt the reranker and the generation prompt, but leaves the target LLM's parameters unchanged. This restriction reflects the practical constraints of black-box and frequently updated commercial LLM services. The defense accordingly pursues two objectives. It must prevent attack documents from entering the evidence context, and it must mitigate the influence of those that remain while preserving benign evidence and answer quality.

Three properties render this problem challenging. First, GEO attack documents are semantically faithful to their originals. Defenses predicated on factual errors, injected instructions, or anomalous text therefore receive no reliable signal. Second, the features that GEO amplifies, including statistics, citations, and authoritative phrasing, equally characterize high-quality benign content. Filters keyed to such features consequently incur over-defense, whose cost to answer quality can rival that of the attack itself. Third, practical deployment demands low construction cost, compatibility with black-box target LLMs, and robustness to evolving attacks and models.

To address these challenges, we propose GEO Defender, a two-stage defense that protects both evidence selection and source use. At the selection stage, Shield Reranker learns a defensive correction over a frozen base reranker, demoting GEO attack documents while preserving benign ranking behavior. At the generation stage, TFSG iteratively converts outcome-relative feedback into an external natural-language experience library, which guides a black-box target LLM's source use without parameter updates. Together, the two stages reduce both attack exposure and the influence of residual attack documents. Code is available at https://github.com/Ccchi5ato/GEO-Defender.

Our contributions can be summarized as follows:

  • We formulate malicious GEO as a pipeline-level threat to generative search and propose GEO Defender, a two-stage defense framework that jointly protects evidence selection and source use under a realistic asymmetric threat model.

  • We introduce two complementary defense mechanisms. Shield Reranker learns a preference-based defensive residual over a frozen base reranker, suppressing GEO-rewritten documents while preserving benign ranking behavior. TFSG iteratively consolidates generation outcomes into a reusable natural-language experience library, enabling a black-box target LLM to regulate source use without parameter updates.

  • We conduct extensive experiments across seven GEO methods and five target LLMs. GEO Defender reduces the average attack success rate from 50.32% to 6.20% while retaining 94.12% of benign evidence use and caus-

ing negligible answer-quality change. It also generalizes to unseen attacks from only 36 construction instances and supports experience transfer across target LLMs.