Controlling Output Rankings in Generative Engines for LLM-based Search
Haibo Jin, Ruoxi Chen, Peiyan Zhang, Yifeng Luo, Huimin Zeng, Man Luo, Haohan Wang
TL;DR
This work addresses the vulnerability of LLM-based search to upstream retrieval biases by introducing CORE, an optimization framework that controls output rankings through content appended to retrieved items in black-box settings. It presents two solution paradigms—shadow-model and query-based—along with three optimization content types (string, reasoning, and review) and a large-scale benchmark, ProductBench, to evaluate ranking manipulation in realistic product-search scenarios. Across four diverse LLMs, CORE achieves high promotion rates (e.g., PSR@Top-5 ≈ 91%, PSR@Top-3 ≈ 87%, PSR@Top-1 ≈ 80%), demonstrating both effectiveness and limitations under model transfer and defense mechanisms. The work highlights significant implications for visibility, model robustness, and the need for mitigations in LLM-driven search systems, while offering a formal analysis of the ranking dynamics and practical guidance for defense strategies.
Abstract
The way customers search for and choose products is changing with the rise of large language models (LLMs). LLM-based search, or generative engines, provides direct product recommendations to users, rather than traditional online search results that require users to explore options themselves. However, these recommendations are strongly influenced by the initial retrieval order of LLMs, which disadvantages small businesses and independent creators by limiting their visibility. In this work, we propose CORE, an optimization method that \textbf{C}ontrols \textbf{O}utput \textbf{R}ankings in g\textbf{E}nerative Engines for LLM-based search. Since the LLM's interactions with the search engine are black-box, CORE targets the content returned by search engines as the primary means of influencing output rankings. Specifically, CORE optimizes retrieved content by appending strategically designed optimization content to steer the ranking of outputs. We introduce three types of optimization content: string-based, reasoning-based, and review-based, demonstrating their effectiveness in shaping output rankings. To evaluate CORE in realistic settings, we introduce ProductBench, a large-scale benchmark with 15 product categories and 200 products per category, where each product is associated with its top-10 recommendations collected from Amazon's search interface. Extensive experiments on four LLMs with search capabilities (GPT-4o, Gemini-2.5, Claude-4, and Grok-3) demonstrate that CORE achieves an average Promotion Success Rate of \textbf{91.4\% @Top-5}, \textbf{86.6\% @Top-3}, and \textbf{80.3\% @Top-1}, across 15 product categories, outperforming existing ranking manipulation methods while preserving the fluency of optimized content.
